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

Error parsing 'SYSTEM.CNF' for a BOOT2 value. #55

Closed
ghost opened this issue May 29, 2015 · 10 comments
Closed

Error parsing 'SYSTEM.CNF' for a BOOT2 value. #55

ghost opened this issue May 29, 2015 · 10 comments
Labels

Comments

@ghost
Copy link

ghost commented May 29, 2015

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:

screenshot_2015-05-29-17-27-57

I made sure the .ISO is fine and tried with PCSX2 and the game starts/works, and the checksum is fine too.

@jpd002
Copy link
Owner

jpd002 commented Jun 1, 2015

Thanks for the report. Gonna get the game and see what's going on.

@jpd002 jpd002 added the bug label Jun 1, 2015
@jpd002
Copy link
Owner

jpd002 commented Jun 3, 2015

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.

@ghost
Copy link
Author

ghost commented Jun 3, 2015

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.

@jpd002
Copy link
Owner

jpd002 commented Jun 3, 2015

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.

@jpd002
Copy link
Owner

jpd002 commented Jun 3, 2015

Ok, I got to reproduce the issue on Android. The same disk image works on Windows for some reason.

@jpd002
Copy link
Owner

jpd002 commented Jun 3, 2015

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.

@ghost
Copy link
Author

ghost commented Jun 3, 2015

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.

@jpd002
Copy link
Owner

jpd002 commented Jun 3, 2015

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.

@jpd002
Copy link
Owner

jpd002 commented Jun 4, 2015

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.

@ghost
Copy link
Author

ghost commented Jun 5, 2015

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.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant