sahlberg / pop-fe

Python script to automate the process of fetching boxart and installing PS1 games (onto your PSP/VITA/PS2/PS3)
173 stars 15 forks source link

Fix eboot.pbp for CDDA Enable #44

Closed 64ghost closed 1 year ago

64ghost commented 1 year ago

Add lines to sources or create a Python file

fEBOOT=open('EBOOT.PBP','r+b') ; opening a file fEBOOT.seek(0x24) data = fEBOOT.read(4) PSAR=int.from_bytes(data,'little') ; obtaining a PSAR address fEBOOT.seek(PSAR+0x81b) fEBOOT.write(b'\x80\x00\x00') ; recording maximum CD disk size (80 min) fEBOOT.close()

sahlberg commented 1 year ago

Why do we need this? The eboot contains ATRAC3 audio so we don't even need the CDDA tracks.

64ghost commented 1 year ago

Some games even with ATRAC3 audio without this fix there was no sound.I don't remember the names of the games anymore. the games were PS1 with converted to PSVita with their own utilities.

sahlberg commented 1 year ago

ok, can you try to find a game that needs this so I can test with?

Goatman13 commented 1 year ago

I think this could be already fixed with: https://github.com/sahlberg/pop-fe/commit/51e24ec48f22f24f91b86a66220a827b0f083cfe Not tested, but it looks like similar issue with different outcome. Hard patching PMIN/PSEC/PFRAME on lead-out is a bad idea anyway.

sahlberg commented 1 year ago

Ah, yes, that bug fix matches what you saw so we possibly do not need this change. Let me know if there are other issues.

sahlberg commented 1 year ago

thanks for the report and double thanks for reading through the changelog to find a possible fix for it.

Thanks for using pop-fe. I love playing PS1 games on ps3 and psp and want as many others as well to enjoy the fantastic ps1 library.