News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: [Solved]PSP Table of Contents  (Read 1872 times)

yugisokubodai

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • Assembly
[Solved]PSP Table of Contents
« on: January 04, 2017, 09:12:14 pm »
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?
« Last Edit: January 06, 2017, 10:57:01 am by yugisokubodai »

flame

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: PSP Table of Contents
« Reply #1 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?

yugisokubodai

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • Assembly
Re: PSP Table of Contents
« Reply #2 on: January 04, 2017, 09:47:10 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

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: PSP Table of Contents
« Reply #3 on: January 05, 2017, 05:14:19 am »
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

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • Assembly
Re: PSP Table of Contents
« Reply #4 on: January 05, 2017, 05:22:58 am »
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

  • Sr. Member
  • ****
  • Posts: 297
  • Personal text
    • View Profile
    • Blacklabel-translations
Re: PSP Table of Contents
« Reply #5 on: January 05, 2017, 06:50:56 am »
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

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: PSP Table of Contents
« Reply #6 on: January 05, 2017, 01:18:39 pm »
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

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • Assembly
Re: PSP Table of Contents
« Reply #7 on: January 06, 2017, 09:50:07 am »
Thank you very much. UMDGEN works!  :P