Ripfire wrote:So far I understand it, but where should I edit?
tl;dr where 5c 2e is edit to whatever LBA you want.depending on what you want the lba to be at.
where 5c 2e is 8 spots from left of CD00 this is for 11702 LBA.if you want 45000 lba it is 6e b0 for 0 lba it is a6 00. but you could edit it to whatever you wanted. lets say you are adding cdda to an iso you would need to know what the first session audio ending sector is. then you would edit the second session lba to that. or if you are making some disk with bleem and retail games together etc..you would do same thing. i always zero out any hex after the lba unless it is in MAIGO bin or similar because it has odd hex after the LBA..basically anytime you find cd00 in a bin file 90 percent of the time you can edit lba, i say 90 percent of the time because sometimes bins have cd00 listed and it is not related to anything but what seems to be when the image itself was created..if you view a bin in hex editor and it lists cd00 multiple times usually this is a bin that you cant edit lba...
so follow this method if you see cd00 and it only appears once, always go 8 spots from left of cd00 and edit lba to whatever you want.*if you're making an audio/data 11702 or 45000 data/data iso then you choose to edit all lba's in each bin where cd00 can be found to the type of iso you want to make..
example:
if you were using this script you would edit LBA 8 spots from left of cd00 to
5c 2e (11702)mkisofs -C 0,
11702 -V DREAMAPP -G ip.bin -r -J -l -hide 0.0 -o data.iso data
if you are using bootdreams then edit to
11702 (5c 2e)Common LBA's used for dc isos (not custom stuff i.e cdda, multidisks, etc.):
5C 2E (11702) <--audio/data
6E B0 (45000) <--data/data
A6 00 (0) <--sd isos-----------------------------------
Common Protections you might try to edit if game does not boot:
Change CD E4 43 6A TO 09 00 09 00
Change 10 32 0D 8B TO 08 00 0D 8B
Change 5E B0 00 00 TO 96 00 00 00