View Full Version : Add PGC with IfoEdit
NetPirate
2nd March 2003, 10:10
Hey there, i've looked around extensively for an answer to this one. Essentially, i was wondering if there was a way to add a PGC to an existing IFO?
A little background, i'm trying to merge a dvdxcopy'd title. I've already done this with one such title, but that one only had 1 PGC and therefore was infinitely easier. With this one, i've merged the two pieces of VTS_01 and created a new IFO using IfoEdit so all my cells are all in there. Then, i merged the menus back in. It all works great except i need to add 3 more PGCs to make it happy so it doesn't crash when something tries to link to PGCs 2-4.
Anyone have any ideas for me? Thanks!
NetPirate
2nd March 2003, 20:02
I should mention that i tried going into the VTS_PGCITI and just incrementing the number of PGCs, but that seems to make IfoEdit crash. You can decrement it, but not increment it. I'm assuming that has something to do with not modifying the end byte of the VTS_PGCI_SRP table. ie, if you're adding a PGC, the table would need to be larger i would think.
Derrow
3rd March 2003, 01:11
I guess the easiest way to do that would be to implement an option into IfoEdit.
I'll try to do that.
NetPirate
3rd March 2003, 04:57
Hey, thanks for the response, Derrow. An option to do that would be great! I did find a workaround for now though.
Using a little dummy vob file i had, i made 3 copies of it (since i needed 3 extra PGCs). Then using VobEdit, i changed the navigation pack in each of my copies to be vobids 2, 3, and 4. Then, when i was merging the cells in vobid 1 back together, i also threw in the 3 dummy vobs. Then, i had IfoEdit generate IFOs using the option to create a PGC for each vobid. That got me an IFO with 4 PGCs. After i was done modifying the PGCs to point to the correct cells, i just stripped vobids 2-4 out of the set.
Yeah, it might be hokey but it worked! :)
Derrow
3rd March 2003, 07:59
Tricky solution. Not bad :-)
NetPirate
4th March 2003, 04:16
Thanks! Like i said, hokey but it works.
As long as you're taking requests, could you also make it so it's possible to change the TTN given to a PGC? Right now, it sets them all to 1 and i can't find a way to change it besides opening it in a hex editor and hacking! Thanks again!
NetPirate
5th March 2003, 03:54
Nevermind, figured it out!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.