Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gallium9 verb #854

Merged
merged 43 commits into from
Jun 26, 2019
Merged

Add gallium9 verb #854

merged 43 commits into from
Jun 26, 2019

Conversation

ImperatorS79
Copy link
Contributor

Merge Phoenicis/Scripts:master into ImperatorS79/Scripts:master
updated Hearthstone (download application directly) (PhoenicisOrg#383)
@plata
Copy link
Collaborator

plata commented Feb 2, 2019

Let us know when it is tested and ready for review.

@Zemogiter
Copy link
Contributor

Delete line 35 because Codacy dosen't like trailing spaces.

@Zemogiter
Copy link
Contributor

Zemogiter commented Feb 2, 2019

Tested it in Spore script. Upon the exe file step I get this error:

java.lang.RuntimeException: java.io.FileNotFoundException: /home/jonasz/.Phoenicis/containers/wineprefix/Spore/drive_c/windows/system32ninewinecfg.exe (Nie ma takiego pliku ani katalogu)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.linker.JavaAdapterServices.wrapThrowable(JavaAdapterServices.java:285)
	at jdk.nashorn.javaadapters.org_phoenicis_engines_Engine.run(Unknown Source)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$256$5007AAAAAA$\^eval\_$cu1$restOf.run([engines, wine, engine, object]:178)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$254$403$\^eval\_$cu1$restOf.gallium9([engines, wine, verbs, gallium9]:43)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$224$573AA$\^eval\_.run#L:18(<eval>:19)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$223$5556$\^eval\_$cu1$restOf.go([engines, wine, quick_script, steam_script]:141)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$61$246$\^eval\_.run(<eval>:10)
	at jdk.nashorn.javaadapters.org_phoenicis_scripts_Installer.run(Unknown Source)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$60$\^eval\_$cu1$restOf.:program(<eval>:28)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
	at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409)
	at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162)
	at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
	at org.phoenicis.scripts.nashorn.NashornEngine.eval(NashornEngine.java:50)
	at org.phoenicis.scripts.nashorn.NashornScriptInterpreter.runScript(NashornScriptInterpreter.java:35)
	at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$runScript$0(BackgroundScriptInterpreter.java:35)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.FileNotFoundException: /home/jonasz/.Phoenicis/containers/wineprefix/Spore/drive_c/windows/system32ninewinecfg.exe (Nie ma takiego pliku ani katalogu)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at org.phoenicis.tools.win32.ExeAnalyser.isArchitecture(ExeAnalyser.java:61)
	at org.phoenicis.tools.win32.ExeAnalyser.is64Bits(ExeAnalyser.java:46)
	at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$193$7115AAAZZA$\^eval\_.run([engines, wine, engine, implementation]:214)
	... 22 more

Add / before ninewinecfg.exe

UPDATE: The script hangs at extracting nine-install.sh

@ImperatorS79
Copy link
Contributor Author

@Zemogiter again I do not have any problem with archive extraction.

@ImperatorS79
Copy link
Contributor Author

Did you have cloned this PR and used the right include at the beginning of the file ?

@Kreyren
Copy link
Contributor

Kreyren commented Feb 22, 2019

@ImperatorS79 Nope you said that just using wine.gallium9() is sufficient o.o

What is the syntax for include?

@ImperatorS79
Copy link
Contributor Author

ImperatorS79 commented Feb 22, 2019

You have to use the content of this PR if you want to made this works. You can use a local git repo to do so:

git clone -b gallium9 http://github.com/ImperatorS79/scripts.git

The include at the beginning of the file should look like this:

include("engines.wine.verbs.gallium9");

EDIT: with new include mechanism.

@ImperatorS79
Copy link
Contributor Author

@Kreyren any ETA on this ?

@Kreyren
Copy link
Contributor

Kreyren commented Mar 2, 2019

@Kreyren any ETA on this ?

Didn't saw the instructions, testing asap

EDIT: blocked by #1875

@madoar
Copy link
Collaborator

madoar commented Jun 22, 2019

@ImperatorS79 any news on this PR?

@ImperatorS79
Copy link
Contributor Author

Should work, but if someone could test it that would be great.

Engines/Wine/Verbs/gallium9/script.js Outdated Show resolved Hide resolved
Engines/Wine/Verbs/gallium9/script.js Outdated Show resolved Hide resolved
Engines/Wine/Verbs/gallium9/script.js Outdated Show resolved Hide resolved
Engines/Wine/Verbs/gallium9/script.js Outdated Show resolved Hide resolved
@ImperatorS79 ImperatorS79 merged commit 8ea9388 into PhoenicisOrg:master Jun 26, 2019
@ImperatorS79 ImperatorS79 deleted the gallium9 branch August 24, 2019 16:34
petermetz pushed a commit to petermetz/scripts that referenced this pull request Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants