socram8888 / tonyhax

PS1 savegame exploit
Do What The F*ck You Want To Public License
437 stars 24 forks source link

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

Closed SpyrooftheNight closed 2 months ago

SpyrooftheNight commented 2 months ago

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

alex-free commented 2 months ago

That way worked and booted up exactly as expected.

BETA1 works as expected by only patching track 2?!

SpyrooftheNight commented 2 months ago

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

alex-free commented 2 months ago

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 commented 2 months ago

Thank you so much for testing @SpyrooftheNight !

SpyrooftheNight commented 2 months ago

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

socram8888 commented 2 months ago

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 commented 2 months ago

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 https://github.com/socram8888/tonyhax/issues/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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

Yes, that is correct!

SpyrooftheNight commented 2 months ago

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 commented 2 months ago

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

SpyrooftheNight commented 2 months ago

image

Here's what I got for ya!

socram8888 commented 2 months ago

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 commented 2 months ago

¯\_(ツ)_/¯ 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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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.