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

Game Road Rash installation leads to a Java error #1260

Open
Dadu042 opened this issue Jun 5, 2022 · 1 comment
Open

Game Road Rash installation leads to a Java error #1260

Dadu042 opened this issue Jun 5, 2022 · 1 comment

Comments

@Dadu042
Copy link
Contributor

Dadu042 commented Jun 5, 2022

Tested on Linux Xubuntu 22.04:

...
14:46:33.385 [INFO ] org.phoenicis.tools.archive.Zip (l.91) - Creating output file /home/dadu042/.Phoenicis/containers/wineprefix/Road Rash/drive_c/Road Rash/RoadRash/TEXT/ITA.DLL.
14:46:33.468 [ERROR] org.phoenicis.multithreading.ControlledThreadPoolExecutorService (l.64) - TypeError: com.oracle.truffle.api.interop.UnsupportedTypeException: Cannot convert '/home/dadu042/.Phoenicis/containers/wineprefix/Road Rash/drive_c/Road Rash/RoadRash/RASH.REG'(language: Java, type: java.io.File) to Java type 'java.lang.String': Unsupported target type.
	at <js> run(Unnamed:415:15806-15854)
	at <js> run(Unnamed:172:5961-6051)
	at <js> open(Unnamed:34:928-1001)
	at <js> :=>(Unnamed:20:705-743)
	at <js> go(Unnamed:82:2573-2608)
	at org.graalvm.truffle/com.oracle.truffle.polyglot.ObjectProxyHandler.invoke(HostInteropReflect.java:694)
	at com.sun.proxy.$Proxy60.go(Unknown Source)
	at [email protected]/org.phoenicis.javafx.components.application.skin.ApplicationInformationPanelSkin.lambda$installScript$7(ApplicationInformationPanelSkin.java:271)
	at [email protected]/org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35)
	at [email protected]/org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45)
	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)
@plata
Copy link
Collaborator

plata commented Jun 7, 2022

https://github.com/PhoenicisOrg/phoenicis/blob/466fa3a0e88720699e8f40c1926a98f839963d47/phoenicis-tools/src/main/java/org/phoenicis/tools/files/FileSearcher.java#L37 does indeed return a list of files.

Replacing

new Regedit(wine).open(registryFile[0]);

with

new Regedit(wine).open(registryFile[0].getAbsolutePath());

should work.

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

No branches or pull requests

2 participants