News:

11 March 2016 - Forum Rules

Main Menu

[Solved]PSP Table of Contents

Started by yugisokubodai, January 04, 2017, 09:12:14 PM

Previous topic - Next topic

yugisokubodai

There's a TOC Changer for the PSX and PS2.
I used this on PSP's Iso but it doesn't work.
I wonder is there any software to change the PSP's TOC out there?

flame

By TOC you mean path and directory tables (ISO 9660 and extensions)?
I think you are looking for UMDgen.

http://www.romhacking.net/utilities/1218/

And what are the tools for PSX and PS2 BTW?

yugisokubodai

Quote from: flame on January 04, 2017, 09:22:22 PM
By TOC you mean path and directory tables (ISO 9660 and extensions)?
I think you are looking for UMDgen.

http://www.romhacking.net/utilities/1218/

And what are the tools for PSX and PS2 BTW?

For PSX and PS2, I use Toc changer by Phoenix.
UMD Gen can't change the TOC of PSP iso.
I want to extend a file in the ISO to larger size.

BlackDog61

Quote from: yugisokubodai on January 04, 2017, 09:47:10 PM
I want to extend a file in the ISO to larger size.
UMD Gen allows you to replace a file with another. So it doesn't handle the "creatinga larger file" part, but it will create a coherent ISO from a file you drag'n drop to the open ISO, then save uncompressed.
Do the PSX / PS2 tools also handle file modifications?

yugisokubodai

The TOC changer for PSX, PS2 works like this:

- Assume that your file locates on LBA 50~51
- This means your file is large as 2 LBA, 2048 x 2 = 4096 bytes virtually
- But actually your file is 3000 bytes only
- TOC changer allows you to expand the file to 4096 bytes
- That's all

I don't know is UMD Gen also allow this, but from what I've tried, I can see it has the relinker option only.

Mugi

you can use UMDGEN to change the toc by opening the iso, then exporting the filelist, then changing that filelist by hand to add more space anywhere you want and then rebuilding the iso using your new filelist.
In PSP we trust.

flame

The manual editing thing does work.

For your edit, you don't need to manually edit. You only need to manually edit if there's not enough space for your file. e.g. a 3 LBA file overtop a 2 LBA file with no empty LBAs after it.

Someone badly needed to write the UMDGen "replace file" tutorial, here it is: http://datacrystal.romhacking.net/wiki/UMDGen
It's not obvious at all.

See it also documented a different way (steps are the same): http://gbatemp.net/threads/brandish-the-dark-revenant-translation.364870/page-3#post-4985715

yugisokubodai

Thank you very much. UMDGEN works!  :P