PDA

View Full Version : Why would anyone use this code??


blutach
17th January 2005, 02:15
FP PGC
[78 00 00 06 00 02 00 00] 1 Set gprm(6) ?=(rnd) 2
[74 00 00 06 00 01 00 00] 2 Set gprm(6) -=(sub) 1
[71 00 00 04 00 01 00 00] 3 Set gprm(4) =(mov) 1
[30 06 00 02 00 C0 00 00] 4 (JumpSS) Jump to VMGM PGC 2
PGC2
[20 A7 00 06 00 01 00 02] 1 if ( gprm(6) == 1 ) then { LinkCN Cell 2 }
Cells 1 and 2 look identical (although they have different VC IDs) - they are language selection menus.

http://img146.exs.cx/img146/8158/untitled8rz.png

And what is "rnd"? Generate a (non-zero) random number up to 2?

This just looks dopey!

Regards and TIA

blutach
17th January 2005, 03:16
Crazy but true!

It's done for variety's sake - there are 2 menus (for each menu language)!!!

Cute, but not needed, IMHO.

jeanl
17th January 2005, 04:30
what a riot!
Jeanl

dragongodz
17th January 2005, 07:09
my brother-in-law got StarWars boxset R4, each of the dvds has 3 or 4(i think it was 4) complete menu systems(main, language, subs etc) and thats just for english. 1 is picked at random when you put the dvd in. you want to talk about a BIG waste of space.

blutach
17th January 2005, 07:11
This was The Alamo R4.

I eventually got the menu down to 30Mb (without shrinking) from 235Mb! How's that?

Sir Didymus
17th January 2005, 09:38
I got something similar in Balto_3: there is a nice bonus [a children game], where the player should help Balto find his path home. For the game to play differently in each session, in order for it not becoming annoying soon, the RND command is used...

I found it very nice [and useful in this situation]...

Cheers,
SD

r0lZ
17th January 2005, 18:57
Some Disney DVDs are using a similar trick to randomly display the same menu, but with a different background music.

jeanl
17th January 2005, 19:02
Interesting thread! I was wondering who would be using the rnd command. Now I know! Thanks guys...
Jeanl

blutach
18th January 2005, 05:01
Thanks to all who responded. Very much appreciated. For me, just doing DVD-VIDEO, 1 menu is fine :)

Regards to all