Author
|
Topic: How to make PSP patches... (Read 2 times)
|
Majutsuko
Guest
|
 |
« on: April 02, 2008, 08:08:06 pm » |
|
I've 90% translated the Japanese version of Tales of Eternia for PSP, but I can't seem to find a working application to make a ppf patch for it. What program can I use on my XP computer???
PPFstudio doesn't work, nor does PPF-o-matic. I really hope there's another surefire way to make patches from PSP ISOs...
Can anyone help please?
|
|
« Last Edit: April 02, 2008, 09:07:56 pm by Majutsuko »
|
|
|
|
Ryusui
Guest
|
 |
« Reply #1 on: April 02, 2008, 08:09:32 pm » |
|
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #2 on: April 02, 2008, 08:15:48 pm » |
|
EDIT: Bah! UPS is no good!! It doesn't shrink the file size...My UPS patch is over 800MB!  This is the main reason why I need it to be in PPF format...to keep the file size light.
|
|
« Last Edit: April 02, 2008, 09:06:37 pm by Majutsuko »
|
|
|
|
akadewboy
Guest
|
 |
« Reply #3 on: April 02, 2008, 09:24:12 pm » |
|
What happens in PPF Studio when you try to make the patch? I might be able to help if you describe what happened, I've made a few PPF patches for the PSP game I'm working on.
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #4 on: April 02, 2008, 09:50:39 pm » |
|
PPF Studio says "ERROR! Files not equal in size!" 
|
|
|
|
akadewboy
Guest
|
 |
« Reply #5 on: April 02, 2008, 10:16:22 pm » |
|
Ok, I'm assuming you're using UMDGen to replace files in the ISO, then saving it as an ISO? What I need to know is if the files that you are replacing are they exactly the same size as the original Japanese ones? or are they slightly larger or slightly smaller than the Japanese ones?
For example, one file in my PSP game that I'm modifiying is BOOT.BIN it's exactly 1,191,620 bytes. What I do is open it up in a Hex editor and change some of the text, then save it. It's still exactly 1,191,620 bytes. Are you doing pretty much the same thing to your files by keeping them all the same size they originally were or have they increased/decreased in size?
|
|
« Last Edit: April 02, 2008, 10:31:36 pm by akadewboy »
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #6 on: April 02, 2008, 10:32:35 pm » |
|
The most notable thing I did was "dummy" out all the audio "face chat" files to reduce the ISO size by about 200MB. Changes to the text (Jpn->Eng) weren't altered using a hex editor, so there was bound to be slight differences in size there (what I did was copy and paste the script files from the English version of the ISO to the Japanese one). It plays perfectly on the PSP, but I can't seem to make a patch...
|
|
« Last Edit: April 03, 2008, 11:09:15 pm by Majutsuko »
|
|
|
|
akadewboy
Guest
|
 |
« Reply #7 on: April 02, 2008, 10:39:09 pm » |
|
Dummying the files will actually make your patch extremely large, I suggest you don't do that.
A patch is a list of hex differences in the ISO. If you dummy files, then it's going to make like a million zeros in the patch.
Can you check the file sizes of one of the files you copy and pasted? Right click on one of the english file and select properties and tell me what the "Size" is. (not the "Size on disk"). Then extract the japanese file equivalent and tell me what "size" for that one is.
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #8 on: April 02, 2008, 10:51:18 pm » |
|
I suppose I can always un-dummy those files. It's a little unfortunate, but if that'll allow me to make this work...
Anyway, here's some of the data you asked for:
Original Japanese ISO: b.d: 23.5 MB (24,734,468 bytes) m.d: 171 MB (179,771,392 bytes)
Modified ISO: b.d: 23.6 MB (24,827,148 bytes) m.d: 171 MB (179,777,536 bytes)
|
|
|
|
akadewboy
Guest
|
 |
« Reply #9 on: April 02, 2008, 11:12:36 pm » |
|
Ok I don't know if this is going to work, but it's worth a try. One of the reasons why it didn't wont work in a traditional way is because the english files you are going to insert will make the ISO bigger (In order to make a patch usually the two ISOs/ROMs have to be the exact same size so it can compare the hex differences).
So what we are going to have to do is expand the Japanese ISO so it matches the size of the Translated ISO. We can do this in UMD Gen by adjusting the LBA positions of each file in the Japanese ISO. Follow these steps for me:
1. Start UMDGen and open the Translated ISO. 2. Now we need to export the LBA positions. Go to File -> File List -> Export 3. Save this text file as "Trans LBA pos.txt" 4. Once that's done go ahead and close UMDGen
5. Now open UMDGen again and this time open the Japanese ISO. 6. Now we're going to adjust all the LBA positions with that text file we saved. Go to File -> File List -> Import 7. Select that text file and tell UMDGen to force all the files into their new LBA positions. 8. Now save as a new ISO.
Now check if this new Japanese ISO is the same size as the translated one. If it is, then let's create the PPF patch with PPF Studio:
1. Click on the "PPF File (Output)" button 2. Name it something.ppf (don't forget the .ppf part) 3. Type a patch description 4. No need for a File_ID.diz
5. Click on the "Original File" button 6. Select the Japanese ISO (the one that's the same size as the translated one) 7. Click on the "Patched File" button 8. Select your translated ISO
9. Hit "Create PPF-Patch" button and wait for it to finish 10. Once it's finished click on the "Quit PPF-Studio" button
Tell me if this worked, because in order for other people to apply it to their own Japanese ISO they'll have to follow some special instructions. That I'll explain if creating the patch worked.
|
|
« Last Edit: April 02, 2008, 11:27:12 pm by akadewboy »
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #10 on: April 02, 2008, 11:36:41 pm » |
|
Alright, I'll try that out and let you know how it goes tomorrow. Thank you so much for all the help so far! 
|
|
|
|
akadewboy
Guest
|
 |
« Reply #11 on: April 03, 2008, 12:18:24 am » |
|
I'm curious, Tales of Eternia for PSP was released in Europe in full english so why not just use that ISO? Is there something more favorable in the Japanese ISO? Like extra stuff that didn't get in the Europe version or is it just the Japanese voices that you favor?
|
|
|
|
Majutsuko
Guest
|
 |
« Reply #12 on: April 03, 2008, 03:05:23 pm » |
|
I'm not biased towards Japanese audio, but the English voices are painfully flat and don't compare to the level of voice work in the Japanese version of TOE, so that's why I did this. The script is 100% in English now and the audio is entirely Japanese. The only downside is that the menus aren't translated (which is no big deal even if you can't read Kana (which barely takes a month for anyone to learn)).
At any rate, your original suggestion didn't work; it said:
"Error! Next available LBA position is 53 but LBA [\\PSP_GAME\\ICON1.PMF] position is 46!"
Actually the original Japanese ISO was already bigger than the translated one, so I tried importing the LBA positions from the original ISO into the translated one. That didn't work either, sadly. I just had the same kind of error but on a different file.
|
|
|
|
byuu
Guest
|
 |
« Reply #13 on: April 03, 2008, 05:02:36 pm » |
|
Forget PPF. Use UPS instead. No way, UPS isn't designed for space shifted files. As Majutsuko noted, it results in unbelievable patch sizes. I'm shocked that it was over 800MB -- that should technically be impossible. Absolute worst case scenario means the patch will be 3/2 (1.5) times bigger than the biggest file size. And it will compress to < 50% of the biggest file size because 2 of every 3 bytes are completely predictable. Anyway ... Dummying the files will actually make your patch extremely large, I suggest you don't do that. PPF cannot shift data points, either? Wow ... why do people use it, then? :/ Perhaps try xdelta or bsdiff? If both of those fail, not sure. Maybe it would be best to break apart the ISO and distribute patches for each file. Perhaps with a script to apply all patches in one shot.
|
|
|
|
Gemini
Guest
|
 |
« Reply #14 on: April 03, 2008, 05:16:12 pm » |
|
PPF cannot shift data points, either? Wow ... why do people use it, then? :/ Because it's more popular for CD/DVD patches and it works better than IPS.
|
|
|
|
|