View Full Version : Strip Menu Languages With PGCEdit, How ??
Master Yoda
13th June 2007, 18:03
Is it possible to strip unwanted languages from menus with PGCEdit ?? I know how to do it with ifoedit but would like to do it with this save using loads of programs.
The menu is 320mb with 3 languages after stripping 2 with ifoedit its down to around 100mb.
bigotti5
13th June 2007, 18:37
If I am correct you want to remove LUs?
Use Vobblanker to remove redundant LUs
Calimari
13th June 2007, 21:32
If you are about to remove language units, here's how.
If the dvd uses different language codes for each menu language, it can be done in both PgcEdit and VobBlanker very easy.
In PgcEdit, in the menu domain(s), you'll see the language codes between brackets, like (en) or (it). Use the context menu to remove unwanted units: select a PGC in the LU, right-click and select "Remove LU". Nice to know is, that PgcEdit will warn you when it's not safe to do this, eg. when different language units use different commands. Now, when you're finished with this (and possibly other editing jobs) don't forget to run VobBlanker on your dvd to clean the unwanted (deleted) stuff out of your VOB's (or you won't regain any space).
However, a lot of dvd's actually use different menu languages without using different language codes (eg. all PGC's are marked as "en"). This is more difficult, as you have to follow the navigation (use trace mode) to see what happens if the user select his favorite menu language during playback. This is not easy. The point is, change the navigation commands so that the unwanted PGC's become uncalled. Once they're uncalled, remove them with PgcEdit's "Delete uncalled PGC's" function, then run VobBlanker to regain space.
blutach
14th June 2007, 00:15
Where menus are in different LUs, it's easy, as Calimari has said (why don't they author things this way in the first place? That is what an LU is for!!!)
For separate language menus in the same VTS, what I do is also use PgcEdit. In the PGC Editor, I substitute the cells of the kept language for those of the one to be discarded. It's a matter of clicking the Vob/Cell ID and changing it to the corresponding English one.
In both cases, I tend to reclaim space afterwards by calling Tools-FixVTS (current domain).
This way, it does not matter how your player is set up for its default languages - they will always play your desired menu with no need to change the navigation one iota.
Regards
r0lZ
14th June 2007, 11:36
Last tip: to remove the cells of a specific menu (such as a Bonus sub-menu, or an intro or transition) with PgcEdit, you can Kill Playback of the menu. If the menu has buttons, you will have to select the menu button to simulate. Usually, you have to select the button that returns to the main menu.
In summary, I use Calimari's method to remove the useless LUs, Blutach's method to reuse the english (or french) cells in the foreign menus when they are not authored in different LUs, and the method explained above to remove useless menu cells, when, for example I have removed or blanked the bonuses.
Finally, I use FixVTS or VobBlanker to regain the disc space. (Personally, I prefer FixVTS with its "In place" option, as it is a lot faster than VobBlanker.)
linx05
18th June 2007, 11:13
Is there a way to set a LU to another language? I am doing a DVD at the moment and all the menus are set as EN. I came up with the idea to go through them, find out which ones aren't EN and change them to the right one. But PgcEdit doesn't have this function. Or does it?
Once I set them, I can easily select one and remove them all at once instead of going through each one and clicking Kill playback.
r0lZ
18th June 2007, 11:29
Use the LU plugin.
You will have to duplicate the current english LU (and you will be prompted to enter a new language code for the new LU), and then remove the useless PGCs or cells in each LU. You will also have to edit the VM commands to remove the conditional jumps to PGCs or Cells belonging to the other language.
Take care: it's not easy. Don't forget to do a backup first.
blutach
18th June 2007, 23:06
Setting a LU to another language generally won't help if there are mixed language menus in the LU. All you would be doing is making a mismatch for SPRM(0) and your player (which would not matter if there was only 1 LU). You can't make PGCs within a LU a different LU. Easiest is to find the conditional tests to the offending PGCs and remove these commands (as r0lZ suggested). Then delete uncalled PGCs and watch them vanish. Finally, FixVTS to reclaim space. No need to duplicate LUs.
Regards
r0lZ
18th June 2007, 23:19
Right. If you want to remove the non-english cells, it is useless to create a new LU.
To regain the disc space, it is also easy to change the VOB/Cell IDs of all foreign cells by the VOB/Cell IDs of the equivalent english cells. Finally, remove the unreferenced cells with FixVTS or VobBlanker.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.