View Full Version : Changing default menu? (Star Wars)
Kwark
26th September 2004, 12:11
I'm trying to change the menu structure of my copy of the Star Wars Trilogy (PAL).
There is 1 Menu Unit, but it contains 2 versions of the menu: English and French.
The English version seems to be chosen when the language settings of the DVD is set to English, and French in all other cases.
My DVD is set to dutch, and plays the French menu instead of the English menu.
DVD play in IfoEdit plays the French version too.
I want to change the structure to have English as default, and French when the language settings are set to French only.
Does anyone know how to do that?
Or if that's not possible, how do I butcher it to play the english menu only? Never the french..
PGC-Menu_12 is English, PGC-Menu_13 is French, and the branching seems to happen in PGC-Menu_11:
[71 00 00 00 00 01 00 00] 1 Set gprm(0) =(mov) 1 ".."
[71 20 0A 06 00 09 00 00] 2 if ( gprm(10) == gprm(0) ) then { Set gprm(6) =(mov) 9 ".." }
[71 00 00 00 00 00 00 00] 3 Set gprm(0) =(mov) 0 ".."
[00 21 00 04 00 00 00 08] 4 if ( gprm(4) == gprm(0) ) then { Goto line 8 }
[71 00 00 00 27 0F 00 00] 5 Set gprm(0) =(mov) 9999 "'."
[20 24 00 06 00 00 00 0C] 6 if ( gprm(6) == gprm(0) ) then { LinkPGCN PGC 12 }
[20 04 00 00 00 00 00 0F] 7 LinkPGCN PGC 15
[71 00 00 00 27 0F 00 00] 8 Set gprm(0) =(mov) 9999 "'."
[20 24 00 06 00 00 00 0D] 9 if ( gprm(6) == gprm(0) ) then { LinkPGCN PGC 13 }
[20 04 00 00 00 00 00 36] 10 LinkPGCN PGC 54 (the commands are copied from PgcEdit, didn't feel like copying the IfoEdit commands by hand)
My knowledge of those commands is pretty limited, but the branching seems to happen here.
MackemX
26th September 2004, 12:47
you could change line 9 to this so it goes to the English language
9 if ( gprm(6) == gprm(0) ) then { LinkPGCN PGC 12 }
I doubt that would fix it though as it will probably have language checks elsewhere and the audio/subs may also be incorrect. Without the IFO's to check, I can't really say as I don't have the DVD's handy. I'm sure someone like 2COOL will soon offer a solution though ;)
MackemX
26th September 2004, 14:01
had a look at the IFO's and it may be rather simple to fix
in PGCedit, goto PGC 6 in VTS _01 and look at the commands and change lines 7,8 and 9 from the preffered settings to English. This way it's not using the players settings as you are already defining the setting you want. To change the command double click it and the select the value button and input 25966 and click OK
you should also be able to blank out the French PGC's as they should never really get accessed
[71 00 00 04 00 00 00 00] 1 Set gprm(4) =(mov) 0 ".."
[71 00 00 03 00 00 00 00] 2 Set gprm(3) =(mov) 0 ".."
[78 00 00 05 00 03 00 00] 3 Set gprm(5) ?=(rnd) 3 ".."
[71 00 00 06 27 0F 00 00] 4 Set gprm(6) =(mov) 9999 "'."
[71 00 00 01 00 01 00 00] 5 Set gprm(1) =(mov) 1 ".."
[71 00 00 02 00 48 00 00] 6 Set gprm(2) =(mov) 72 ".H"
[61 00 00 00 00 80 00 00] 7 Set gprm(0) =(mov) sprm(0:preferred menu language)
[61 00 00 0E 00 90 00 00] 8 Set gprm(14) =(mov) sprm(16:preferred audio language)
[61 00 00 0F 00 92 00 00] 9 Set gprm(15) =(mov) sprm(18:preferred sub-picture language)
[71 A0 00 02 00 47 65 6E] 10 if ( gprm(0) == 25966 "en" ) then { Set gprm(2) =(mov) 71 ".G" }
[71 A0 00 02 00 48 66 72] 11 if ( gprm(0) == 26226 "fr" ) then { Set gprm(2) =(mov) 72 ".H" }
[71 A0 0E 02 00 47 65 6E] 12 if ( gprm(14) == 25966 "en" ) then { Set gprm(2) =(mov) 71 ".G" }
[71 A0 0E 02 00 48 66 72] 13 if ( gprm(14) == 26226 "fr" ) then { Set gprm(2) =(mov) 72 ".H" }
[71 A0 0F 02 00 40 65 6E] 14 if ( gprm(15) == 25966 "en" ) then { Set gprm(2) =(mov) 64 ".@" }
[71 00 00 04 00 00 00 00] 1 Set gprm(4) =(mov) 0 ".."
[71 00 00 03 00 00 00 00] 2 Set gprm(3) =(mov) 0 ".."
[78 00 00 05 00 03 00 00] 3 Set gprm(5) ?=(rnd) 3 ".."
[71 00 00 06 27 0F 00 00] 4 Set gprm(6) =(mov) 9999 "'."
[71 00 00 01 00 01 00 00] 5 Set gprm(1) =(mov) 1 ".."
[71 00 00 02 00 48 00 00] 6 Set gprm(2) =(mov) 72 ".H"
[71 00 00 00 65 6E 00 00] 7 Set gprm(0) =(mov) 25966 "en"
[b][71 00 00 0E 65 6E 00 00] 8 Set gprm(14) =(mov) 25966 "en"
[b][71 00 00 0F 65 6E 00 00] 9 Set gprm(15) =(mov) 25966 "en"
[71 A0 00 02 00 47 65 6E] 10 if ( gprm(0) == 25966 "en" ) then { Set gprm(2) =(mov) 71 ".G" }
[71 A0 00 02 00 48 66 72] 11 if ( gprm(0) == 26226 "fr" ) then { Set gprm(2) =(mov) 72 ".H" }
[71 A0 0E 02 00 47 65 6E] 12 if ( gprm(14) == 25966 "en" ) then { Set gprm(2) =(mov) 71 ".G" }
[71 A0 0E 02 00 48 66 72] 13 if ( gprm(14) == 26226 "fr" ) then { Set gprm(2) =(mov) 72 ".H" }
[71 A0 0F 02 00 40 65 6E] 14 if ( gprm(15) == 25966 "en" ) then { Set gprm(2) =(mov) 64 ".@" }
[71 A0 0F 02 00 41 66 72] 15 if ( gprm(15) == 26226 "fr" ) then { Set gprm(2) =(mov) 65 ".A" }
Kwark
26th September 2004, 14:08
Great work! Thanks for the help, this is what I was looking for.
Just curious though, is it possible have english as default, except for when the preferred setting is set to french? ;)
MackemX
26th September 2004, 14:12
yes I guess it's possible
I would set them to English as above but then have an extra command checking the values of the preffered language. If it returned a value that was French then I would get it to change the values to French instead ;)
MackemX
26th September 2004, 14:21
I don't know if this would work but it's what I would try. Basically it sets the language to English for menu/audio/subs but then checks afterwards whether French is the preferred language and changes them to French of it is
********** pre commands:
[71 00 00 04 00 00 00 00] 1 Set gprm(4) =(mov) 0 ".."
[71 00 00 03 00 00 00 00] 2 Set gprm(3) =(mov) 0 ".."
[78 00 00 05 00 03 00 00] 3 Set gprm(5) ?=(rnd) 3 ".."
[71 00 00 06 27 0F 00 00] 4 Set gprm(6) =(mov) 9999 "'."
[71 00 00 01 00 01 00 00] 5 Set gprm(1) =(mov) 1 ".."
[71 00 00 02 00 48 00 00] 6 Set gprm(2) =(mov) 72 ".H"
[71 00 00 00 65 6E 00 00] 7 Set gprm(0) =(mov) 25966 "en"
[71 00 00 0E 65 6E 00 00] 8 Set gprm(14) =(mov) 25966 "en"
[71 00 00 0F 65 6E 00 00] 9 Set gprm(15) =(mov) 25966 "en"
[71 90 80 00 66 72 66 72] 10 if ( sprm(0:preferred menu language) & 26226 "fr" ) then { Set gprm(0) =(mov) 26226 "fr" }
[71 90 90 0E 66 72 66 72] 11 if ( sprm(16:preferred audio language) & 26226 "fr" ) then { Set gprm(14) =(mov) 26226 "fr" }
[71 90 92 0F 66 72 66 72] 12 if ( sprm(18:preferred sub-picture language) & 26226 "fr" ) then { Set gprm(15) =(mov) 26226 "fr" }
[71 A0 0E 02 00 47 65 6E] 13 if ( gprm(14) == 25966 "en" ) then { Set gprm(2) =(mov) 71 ".G" }
[71 A0 0E 02 00 48 66 72] 14 if ( gprm(14) == 26226 "fr" ) then { Set gprm(2) =(mov) 72 ".H" }
[71 A0 0F 02 00 40 65 6E] 15 if ( gprm(15) == 25966 "en" ) then { Set gprm(2) =(mov) 64 ".@" }
[71 A0 0F 02 00 41 66 72] 16 if ( gprm(15) == 26226 "fr" ) then { Set gprm(2) =(mov) 65 ".A" }
Kwark
26th September 2004, 14:23
Yeah I was toying with the same thing, but when I add those 3 commands the other goto statements point to the wrong lines..
Can those be automatically updated, or do I have to do that manually?
[edit]
Nevermind, found an option that does that for me.
MackemX
26th September 2004, 14:29
if you add 3 lines, highlight the remaining lines onwards and then hold CTRL and SHIFT and press the '+' key 3 times to add 3 to the subsequent goto's
there's probably an easier way but I don't use PGCEdit so I can't really say :(
:edit: lol, I see you found it :)
Kwark
26th September 2004, 14:51
A last question, why do you use the binary compare (&) instead of the equals (==) ?
Comparisons with values is done bitwise?
MackemX
26th September 2004, 14:58
pass :), I actually edited the commands with DVDRemake as it's easier to follow and just imported into PGCEdit. I just copied the original commands and then edited them
to tell you the truth I don't fully understand what is what yet with those & ==signs :D but I find I can edit/add/delete commands rather easily anyway
2COOL
26th September 2004, 22:25
<removed>
MackemX
26th September 2004, 22:45
@2COOL, isn't that what I suggested above but I just missed the other references in the PGC's? I didn't think about using the search feature ;)
I also suggested that he change the subs and audio as you wouldn't want French audio/subs with English menu's?
it shows 'en' in PGCedit for me by the way
p.s. I love the term 'butcher' and consider myself a Master Butcher :D
:Edit:, lol, I got sidetracked a while back and forgot to post this and when I did you have removed your post :)
2COOL
26th September 2004, 23:48
@MackemX
Originally posted by MackemX
@2COOL, isn't that what I suggested above but I just missed the other references in the PGC's? Partially yes as I suggested to edit only one type of command.
:Edit:, lol, I got sidetracked a while back and forgot to post this and when I did you have removed your post :) I was hoping no one was reading it while it was there for a brief time. Now you got me paranoid now, Mr. invisible mode! :p:p
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.