PDA

View Full Version : Language selection dialog



Mavryk
07-26-2004, 10:36 AM
Is there a way to keep the selected language by the end user for the next time when he will reload the autorun ?

Presently, at each time you insert the CD disk, the end user must choose at each time the language before to play the game.

JoannaG
07-29-2004, 09:37 AM
Hello,

The selected language is available in a system variable called Global.SelectedLanguage. The only way to save the language code for a subsequent launch is by passing the language code as a command line parameter to the Player such as:

Demo32.exe –lENU demo.dbd

You can use both these features along with the Send To Action to save this to a batch file (.BAT) that you can then use to launch the demo.

I have attached a sample demo for you to see how this can be set up. A bug was introduced in the last service pack and there seems to be an issue launching a demo from a batch file with this type of command line parameter. When this version is used, the demo opens but is the incorrect size. You can use the 7.52 version of the DemoShield Player (see attached) and the demo should open as expected.