Select Game File Not Working
Brought to you by:
fgerbig
In the Game Selector Dialog Window, Box 3 (Select Contents) no matter which file is selected it always defaults to what ever file is listed first as the file to run. Selecting a different archive (box 2) works fine. Attached screenshot shows DESKTOP.INF selected but fileToRun is BMD. (terminal). I am seeing this in other GameBases. (C64, PET, etc). Running macOS 11.4. Tried downgrading jGameBase and using different Java versions (8, 11, 16) but problem persists.
Chad
Anonymous
This is using the Dragon GameBase. I tried selecting the Moonmist file in box 3 and then hit test game. The terminal output shows that initially fileToRun is set correctly however once it extracts it to the temp folder it changes the fileToRun to the first file...ENGINE.VDK. I believe this all happens prior to my script getting executed so I don't think it is an problem with my script.
Hello Chad,
I had a look and could reproduce the problem:
When a game in an archive is started the archive is extracted and the file_to_run is searched in the extracted files. The error was that the extracted files are absolute paths and the file_to_run is only the filename (so the file_to_run could never be found). At this point a fallback kicked in and selected the first suitable file found in the extracted files as file_to_run.
Please find attached a new jar-file. Simply copy it over the existing file and try again. Please come back to me if that fixes the problem.
Best regards,
Frank
Works perfectly. Thanks for your help.
Perfect! Works great. Thanks for your help.
Thanks for the feedback, will be part of the next release.
Best, Frank