Skip to content

Jojo’s Bizarre Adventure USA PS1 does not boot from Tonyhax #160

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

Closed
SpyrooftheNight opened this issue Aug 19, 2024 · 70 comments
Closed

Jojo’s Bizarre Adventure USA PS1 does not boot from Tonyhax #160

SpyrooftheNight opened this issue Aug 19, 2024 · 70 comments
Labels
bug Something isn't working

Comments

@SpyrooftheNight
Copy link

SpyrooftheNight commented Aug 19, 2024

IMG_3182

tonyhax version: latest stable version
Installation method: using freemcboot on PS2 with ulaunchelf
Entry point game: Brunswick Circuit Pro Bowling
Console model: SCPH-39001 PS2
Integrity check: passed
BIOS version: v 5.0 02/07/02 A
Target game: Jojo’s Bizarre Adventure SLUS-01060

Bug explanation: game will not boot when I try to run it from Tonyhax I get
“missing TCB
Missing Event
Missing Stack
Missing BOOT”

“Open error 2”

then it asks me to swap CDs.

Tonyhax has worked for me for both Persona 2 and Castlevania SotN so far so i’d like to figure out the issue

@SpyrooftheNight SpyrooftheNight added the bug Something isn't working label Aug 19, 2024
@socram8888
Copy link
Owner

It seems like the console is unable to to read the SYSTEM.CNF file in the CD. Is it an original copy or a burned disc? Is the file present? If so, can you please attach it here?

@SpyrooftheNight
Copy link
Author

SpyrooftheNight commented Aug 19, 2024

I tried two different bin/cue files I found, the latest one I found was from

https://cdromance.org/psx-iso/jojos-bizarre-adventure-usa/

https://wowroms.com/en/isos/playstation/jojos-bizarre-adventure/31866.html

I would post them directly but github is telling me .7z and .bin/.cue are unacceptable file formats to post in comments

Neither worked and they both produced the exact same results I referenced above.

I'm burning them to discs with ImgBurn and now I have confirmation that Castlevania SotN, Persona 2, Digimon World 3, Metal Gear Solid all work doing this method. So it must be something with this particular game or the files I'm using

@alex-free
Copy link

What CD-R media? Have you tried different burn speeds and CD burners?

@SpyrooftheNight
Copy link
Author

The CD-Rs that I'm using are Verbatim 80 Min standard ones from Amazon, I only have access to one burner but its been working great for everything except this game. I have only tried doing it with AWS and MAX speeds but I didn't want to waste any more discs because I wasn't sure that was the issue. I've tried it with about 6-7 other games so far and was told that Persona 2 was a good barometer for how well the CDs are burning. I got the FMVs for Persona 2 running perfectly and everything and played about an hour in with no issues so I thought I was good to go on my method/burner/CD-Rs

@SpyrooftheNight
Copy link
Author

Also quick update as I've been burning CDs for a bit and testing them with other games: Street Fighter Alpha 3 will also not boot up and has the exact same error? Maybe it's some sort of Capcom fighting game issue? But in the same breath I should mention that Marvel vs Capcom 1 is working perfectly for me on a burned disc so idk.

@socram8888
Copy link
Owner

I tried two different bin/cue files I found, the latest one I found was from

https://cdromance.org/psx-iso/jojos-bizarre-adventure-usa/

https://wowroms.com/en/isos/playstation/jojos-bizarre-adventure/31866.html

I would post them directly but github is telling me .7z and .bin/.cue are unacceptable file formats to post in comments

Neither worked and they both produced the exact same results I referenced above.

I'm burning them to discs with ImgBurn and now I have confirmation that Castlevania SotN, Persona 2, Digimon World 3, Metal Gear Solid all work doing this method. So it must be something with this particular game or the files I'm using

I meant the SYSTEM.CNF file alone from the CD-R.

@SpyrooftheNight
Copy link
Author

SpyrooftheNight commented Aug 19, 2024

Plugged in the CD and found it in the root, it won't let me upload a .CNF file I guess but this is exactly what it says when I open it in Notepad

" BOOT = cdrom:\SLUS_010.60;1
TCB = 4
EVENT = 16
STACK = 801fff00
"

@socram8888
Copy link
Owner

Can you please ZIP the .CNF file and upload that? It could be that some encoding oddity only visible on an hex editor is causing the config file load process to fail.

@socram8888
Copy link
Owner

imagen
Alright I've checked and the file seems to be alright. So not sure what @alex-free would think about it, but it seems like a dying drive to me.

@alex-free
Copy link

imagen

Alright I've checked and the file seems to be alright. So not sure what @alex-free would think about it, but it seems like a dying drive to me.

The CD-Rs being used are the absolute worst quality, I have a chart on my findings here: https://alex-free.github.io/psx-cdr/#cd-r-media

I recommend CMC Pro powered by Taiyo Yuden technology, which are the best still made brand new to this day.

While playing around with different constant write burn speeds may make this work (or the vertical trick: https://alex-free.github.io/psx-cdr/), or even perhaps refurbishing the drive (https://alex-free.github.io/unofficial-ps1-cd-drive-service-manual/), I don't trust those CD-Rs at all. While one game may work, that doesn't mean all will with poor quality CD-Rs.

I'm pretty sure I've played at least one of the mentioned titles before. Unfortunately I'm not in a position to test real hardware for a bit.

Seriously, try flipping the console vertical like this: alex-free#28 (comment)

@socram8888 for testing the system cnf parsing emulation is definitely fine.

@socram8888
Copy link
Owner

I am wondering why FileRead isn't returning -1 as documented in the no$psx docs, if it's a true read error. I do check for that in the secondary.c code. Is it just returning all zeros or what?

@socram8888
Copy link
Owner

@SpyrooftheNight could you please try with this version that has some extra sanity checks? tonyhax-v1.4.6b.zip

@SpyrooftheNight
Copy link
Author

KK I'll try that version of tonyhax right now to see if it works, will take a second to flash my mem card and everything. Just to be sure, you don't need me to zip the CNF file anymore right?

@socram8888
Copy link
Owner

No no, thanks, no need for the ZIP file. To be clear, this version of tonyhax should not fix any issue - it just shows more information on screen about the failure mode (ie why the file could not be processed).

@SpyrooftheNight
Copy link
Author

OK I've installed the version you linked, and run into the same error. Do you want me to take a picture of the screen or is there a file I need to go look for now?

@alex-free
Copy link

OK I've installed the version you linked, and run into the same error. Do you want me to take a picture of the screen or is there a file I need to go look for now?

The same error code happens with his version? I think the idea is it should be more verbose/accurate and the text should be slightly different.

Did you try the vertical trick?

There is a slim chance that Tonyhax International may read the game since it handles disc reading a bit differently. In the past I've noticed it more reliably boots poor quality CD-Rs better then i.e UniROM. May be worth a try (https://github.com/alex-free/tonyhax?tab=readme-ov-file#downloads).

If possible order the CMC Pro CD-Rs (they are on Amazon) or try different burn speeds with your current Verbatim CD-R.

@SpyrooftheNight
Copy link
Author

IMG_3187

Seems like its the same info. The vertical trip is just to stand it up vertically right?

@alex-free
Copy link

IMG_3187

Seems like its the same info. The vertical trip is just to stand it up vertically right?

Indeed looks the same.

Vertical trick is indeed just standing the console on its side. Also try diagonal angles and upside down.

@SpyrooftheNight
Copy link
Author

I know it might not be helpful but in my googling I did come across someone on reddit talking about a similar error with Resident Evil 2 and referencing this issue thread: #24

I can't really decipher what's being said in the discussion but it seems like the guy found a fix eventually ?

CMC CDs are ordered and on the way but it'll take a few days to get them so probably going to do some trial and error with these ones and different writing speeds and the vertical trick I guess. Seems weird that the two I'm having issues with are both Capcom fighters but I guess thats just my luck.

@alex-free
Copy link

I know it might not be helpful but in my googling I did come across someone on reddit talking about a similar error with Resident Evil 2 and referencing this issue thread: #24

I can't really decipher what's being said in the discussion but it seems like the guy found a fix eventually ?

CMC CDs are ordered and on the way but it'll take a few days to get them so probably going to do some trial and error with these ones and different writing speeds and the vertical trick I guess. Seems weird that the two I'm having issues with are both Capcom fighters but I guess thats just my luck.

Huh, does Resident Evil 2 work on your console or do you get the same issue?

@SpyrooftheNight
Copy link
Author

I'll burn a copy and check now

@SpyrooftheNight
Copy link
Author

No I can't so that's now Resident Evil 2, Street Fighter Alpha 3 and Jojo's Bizarre Adventure that all givr the same exact errors where all my other games are working flawlessly without any issues when I play them

@alex-free
Copy link

No I can't so that's now Resident Evil 2, Street Fighter Alpha 3 and Jojo's Bizarre Adventure that all givr the same exact errors where all my other games are working flawlessly without any issues when I play them

Woah, really? Can you try patching the bin file with https://github.com/alex-free/psx80mp?tab=readme-ov-file#downloads and then burning another disc of the patched image?

@SpyrooftheNight
Copy link
Author

For Resident Evil 2 right?

@alex-free
Copy link

For Resident Evil 2 right?

Any of the above. If you patch any of the problematic games it might work.

@SpyrooftheNight
Copy link
Author

Ok So I'm patching ONLY track 1 for RE2 right? Leave track 2 bin alone? And I just drag the bin onto the .exe and its done?

@alex-free
Copy link

alex-free commented Aug 20, 2024

Ok So I'm patching ONLY track 1 for RE2 right? Leave track 2 bin alone? And I just drag the bin onto the .exe and its done?

Yes, thanks for checking! Try the other games too though.

@SpyrooftheNight
Copy link
Author

OK So Resident Evil 2 now works and boots flawlessly with that patch. Let me check Jojos and SFA3

@SpyrooftheNight
Copy link
Author

Yeah, so fresh rom, this time ONLY track 2 with ps26mp, gimme a few. And, well I have 100 more coming in a few days that are better quality so mind as well get rid of the shitty ones in a productive way haha.

@alex-free
Copy link

alex-free commented Aug 20, 2024

Yeah, so fresh rom, this time ONLY track 2 with ps26mp, gimme a few. And, well I have 100 more coming in a few days that are better quality so mind as well get rid of the shitty ones in a productive way haha.

Literally making my night testing out this theory! I'm in the middle of a move so I haven't been able to work on things like I'd like to.

If only patching track 2 with ps26mp works, could I also trouble you to try only track 2 patching with psx80mp?

See @socram8888 this is the only PSX game I have ever seen with 2 data tracks! Seriously, I have never seen a sync pattern in track 2. I thought any multi-track games would have 1 data track and then some audio tracks. Redump listed it as a data track too. From that log I sent it looks like it is reading some data off of it (towards the end of the track, great news for my theory!).

t2-1
t2-2

@SpyrooftheNight
Copy link
Author

OK so track 2 patched by ps26mp works and boots perfectly so far. Now I'll do a fresh rom and try to patch track 2 with psx80mp and let you know the results

@alex-free
Copy link

alex-free commented Aug 20, 2024

OK so track 2 patched by ps26mp works and boots perfectly so far. Now I'll do a fresh rom and try to patch track 2 with psx80mp and let you know the results

Incredible! YOU figured this out with track 2! I never would have thought that could have worked, because PS1 games don't usually work the way SFA3 does.

@SpyrooftheNight
Copy link
Author

Track 2 ONLY patched with psx80mp does NOT work. That's pretty cool, it was a lucky guess. Anything else you need me to test??

@alex-free
Copy link

Track 2 ONLY patched with psx80mp does NOT work. That's pretty cool, it was a lucky guess. Anything else you need me to test??

Yes, I think I can fix psx80mp to work with track 2 but I'll need to write some code. Can I ping you in a bit?

@SpyrooftheNight
Copy link
Author

Yeah of course, i'll be down to test it when you're ready.

@alex-free
Copy link

Yeah of course, i'll be down to test it when you're ready.

Excellent. Lets try this first. Only patch track 2 on a fresh SFA3 image using the attached patcher.

psx80mp-v2.0.1-BETA1-windows-x86_64.zip

@SpyrooftheNight
Copy link
Author

That way worked and booted up exactly as expected.

@alex-free
Copy link

That way worked and booted up exactly as expected.

BETA1 works as expected by only patching track 2?!

@SpyrooftheNight
Copy link
Author

Yep it went right into the SFA 3 image and then the FMV intro and just played a few matches!

@alex-free
Copy link

alex-free commented Aug 20, 2024

To Socram8888: You were right that the software fix could potentially fail after boot if the game exe itself tried to load data towards the edge of the written part of the CD-R. SFA3 is that prophetical edge-case. While we can seek in steps to guarantee loading of the SYSTEM.CNF and PSX-EXE, we can not do anything software-wise after booting the executable. So while the software-fix in Tonyhax International does get more games working, it is not 100% like the patcher appears to be with every problematic title we've found so far.

I guess this issue can be closed now then! I will push an update to PSX80MP to make it work with SFA3 and some other enhancements.

@alex-free
Copy link

Thank you so much for testing @SpyrooftheNight !

@SpyrooftheNight
Copy link
Author

Thanks for all the work you guys do, was glad to be of help!

@socram8888
Copy link
Owner

IMG_3187

Seems like its the same info. The vertical trip is just to stand it up vertically right?

I don't fully comprehend what is going on. The extra checks that are performed there are:
imagen
That means something is actually being read?

Anyway, glad you got it working now!

@alex-free
Copy link

IMG_3187

Seems like its the same info. The vertical trip is just to stand it up vertically right?

I don't fully comprehend what is going on. The extra checks that are performed there are:

imagen

That means something is actually being read?

Anyway, glad you got it working now!

Same hardware issue as #24 . PS2 can't recover after accidentally over-seeking and 'reading' Unburned area past lead-out in tightly wound 80 minute media. So the file exists in the directory table but on seek it fails. No issue with secondary.c code or additional handling needed (or possible from what I can tell).

@socram8888
Copy link
Owner

socram8888 commented Aug 20, 2024

Yeah but the weird thing is, if seek is failing, what on earth is it reading? If @SpyrooftheNight is up to, I'd like to send him another version that displays on screen what the buffer contains after FileRead returns.
It'd be nice to at least fail gracefully with an error if the drive overshoots.

@SpyrooftheNight
Copy link
Author

You can send me another version to test out but I won't be able to get around to it for a couple hours. I still have to reinstall the latest build of tonyhax from the one you told me to switch to anyway so I can just do that before I flash it back.

@socram8888
Copy link
Owner

socram8888 commented Aug 20, 2024

imagen
This version should show on the screen the contents of the SYSTEM.CNF being read. If you could take a photo that'd be really useful.
tonyhax-v1.4.6b.zip

@SpyrooftheNight
Copy link
Author

So you want me to try and use an unpatched fresh SFA3 on it to see what it returns? I'll be able to do it in a hour or so

@socram8888
Copy link
Owner

Yes, that is correct!

@SpyrooftheNight
Copy link
Author

Got held up with something but working on it now, just out of curiousity when I replace the Tonyhax on my memory card do I need to replace both the save for my exploitable game AND Tonyhax save or just the tonyhax one?

@socram8888
Copy link
Owner

Generally, no. The exploit files have remained the same since 1.2 I think.

@SpyrooftheNight
Copy link
Author

image

Here's what I got for ya!

@socram8888
Copy link
Owner

Alright, many thanks! I can't find anything on the entire game .bin file that matches that pattern, so I have genuinely no idea what is it reading.

@SpyrooftheNight
Copy link
Author

SpyrooftheNight commented Aug 20, 2024

¯\_(ツ)_/¯ I'm just glad we figured out a fix for whatever was going on. Let me know if you need any more testing done! Thanks again

@alex-free
Copy link

Alright, many thanks! I can't find anything on the entire game .bin file that matches that pattern, so I have genuinely no idea what is it reading.

I wonder if we are looking at post-lead-out?

@SpyrooftheNight
Copy link
Author

I found out another one that requires the patch is Final Fantasy IX. First disc wouldn't boot without patching so I applied the patch to all .bins/discs just in case and it works. If I run into any other games that require the patch I can update this comment. So far its:

-Jojo's Bizarre Adventure
-Street Fighter Alpha 3 (need to patch track 2 not 1)
-Resident Evil 2
-Final Fantasy IX

Just wanna make it as clear as possible for anyone that has this problem in the future thats a laymen like me.

@alex-free
Copy link

I found out another one that requires the patch is Final Fantasy IX. First disc wouldn't boot without patching so I applied the patch to all .bins/discs just in case and it works. If I run into any other games that require the patch I can update this comment. So far its:

-Jojo's Bizarre Adventure -Street Fighter Alpha 3 (need to patch track 2 not 1) -Resident Evil 2 -Final Fantasy IX

Just wanna make it as clear as possible for anyone that has this problem in the future thats a laymen like me.

Thank you for your findings. The PSX80MP v2.0.1 Update is out now, with better documentation and a list of every known game disc that needs to be patched. This list includes what track number to patch as well (1 or 2): https://github.com/alex-free/psx80mp?tab=readme-ov-file#confirmed-80-minute-sensitive-games

To further help others, please open an issue here https://github.com/alex-free/psx80mp/issues/new if you come across any more titles so they may be added to the list above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants