-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Error parsing 'SYSTEM.CNF' for a BOOT2 value. #55
Comments
Thanks for the report. Gonna get the game and see what's going on. |
Does booting the disk image on the Windows version of the emulator give the same error message? Also, what's the game ID? I got SCUS97401 on my side and couldn't reproduce the issue. |
Sorry can't try Windows, I only have a Linux machine setup ATM, but I got SCUS-97401 on my side too. Is it possible that it's a bad ISO dump or something? I dumped it from the DVD-ROM and sent it to my device. I mean it works on PCSX2 but maybe something went wrong when moving it to my device? I have no clue... What is a "BOOT2" value supposed to mean/do? I guess I'll just re-transfer it and give it another shot. |
The BOOT2 value is supposed to tell which executable to load from the disk. It's possible that something might have gone wrong while copying the disk image, but I think it's unlikely. I'll do some more tests on my side. |
Ok, I got to reproduce the issue on Android. The same disk image works on Windows for some reason. |
Alright, basically, this boils down to stdio not supporting large files on Android. IO system calls (open/read/write/lseek64) seems to work properly though, so, I'll make the necessary changes to make disk image readers use those functions instead (using a custom stream class). This is quite major and probably causes bad things in all games that have big image files. |
Large files? Funny because even larger ones I tried don't show any errors (Final Fantasy X is over 4 GB). I don't understand anyways, so I can't really comment on why the specific error is shown in particular, but I guess fixing the issue would help I suppose. I just don't get why this game specifically shows it. |
The SYSTEM.CNF file happens to be near the end of the disk for Hot Shots (after the 2GB limit), so, when the emulator tries to read its contents after seeking to its location, it fails. |
49c41ce fixes the issue, it will be in the next weekly. Hot Shots unfortunately doesn't show anything for now (same as Windows), but the fix does help with other games such as DQ8 which now boots on Android. |
No problem, I am sure one day it will work. Good job and I guess my issue report served a bigger deal than I had thought. I guess I'll close this since the next weekly will fix the issue. |
So I tried loading Hot Shots Golf Fore! on my device with KitKat, and I'm getting an error message that says "Error parsing 'SYSTEM.CNF' for a BOOT2 value." I realize some developers may not have the game to reproduce, but I was thinking it was possible to check and see why this error may be given with this game?
Like, in the code of Play to see what would trigger such an error and what it means? Here's a screenshot:
I made sure the .ISO is fine and tried with PCSX2 and the game starts/works, and the checksum is fine too.
The text was updated successfully, but these errors were encountered: