Cant run games, GUI cant find my files
Brought to you by:
fgerbig
Runing as usual... duble click on front and as i can see in logs
File 'a2/ARMAGED1_00407_02.zip' not found.
copyToTempDir '' to '/tmp/jgamebase'
java.io.FileNotFoundException: (No such file or directory)
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 jgamebase.tools.FileTools.copyToTempDir(FileTools.java:714)
at jgamebase.tools.FileTools.copyOrExtractToDir(FileTools.java:695)
at jgamebase.db.model.Game.play(Game.java:1192)
at jgamebase.db.model.Game.play(Game.java:1144)
at jgamebase.gui.GuiObjects.itemTable_MouseHandler(GuiObjects.java:2757)
at jgamebase.gui.GuiObjects.access$10(GuiObjects.java:2746)
at jgamebase.gui.GuiObjects$13.mouseClicked(GuiObjects.java:827)
Also few line later i have
FileToRun: ''.
Using Emulator: 'VICE x64 (fast)'.
BATCHSCRIPT
Executing game: '</home/test/.jgamebase/C64lite/Scripts/vice_x64.js> <>'
Setting work directory to '/home/test/.jgamebase/C64lite/Scripts'.
/home/test/.jgamebase/C64lite/Scripts/vice_x64.js: 1: //: Permission denied
/home/test/.jgamebase/C64lite/Scripts/vice_x64.js: 2: //: Permission denied
/home/test/.jgamebase/C64lite/Scripts/vice_x64.js: 3: Syntax error: "(" unexpected
Anonymous
Cant edit... and this may be relevant:
Hello ablaszczyk ,
Since Java version 15 the JavaScript engine has been removed - that is the reason for the errors reported in "vice_x64.js".
I bundled the GraalsJS engine from the GraalsVM and it now seems to be working with Java 8 to 16. I released jGameBase V71-1: please check and come back to me.
Best regards,
Frank
@fgerbig
Ok, some of platforms works perfectly fine (Amiga, SNES) - no more js issue.
Some of them stil throws java.io.FileNotFoundException: (No such file or directory). And i'm betting that i've messed up some things trying to deal with js issue. So this is my fault.
Than You for fix!!!