Jump to content

Home

Launchers


HK-42

Recommended Posts

Alright I decided because im bored to make a launcher. With the launcher I know I need to edit the launcher.ini to some different numbers/functions. However I dont really know what to change it to and what they do. Is there any tutorial(i couldnt find 1) or what each field does and how I could change it accordingly.

 

Thanks!

Link to comment
Share on other sites

As long as you're overwriting the images/sounds in the launcher folder and don't change their names, you really only need to worry about the button fields in launcher.ini

 

[button1]
x=209
y=208
down=mousedown.bmp
over=mouseover.bmp
up=mouseup.bmp
label=126498

Obviously the x & y lines are the 2D position on the main swlauncher.bmp image where you want the buttons to appear.

 

The down, over and up lines let you tell the launcher which image to use when the mouse is used, usually you can leave these as they are and just replace the images already in the launcher folder.

 

The label line tells the launcher what text to display for each button, the numbers are StrRef's of dialog.tlk - You can replace these numbers with your own text so you don't have to edit dialog.tlk itself, for example button 1's label is 126498 which displays 'Game' you could then remove the StrRef and put 'Launch Game'

 

The Messages near the beginning of launcher.ini also have references to dialog.tlk

 

Here's a list of all the StrRef's used by the launcher;

 

126489: Star Wars: Knights of the Old Republic II: The Sith Lords

126490: Please restore the installation or reinstall the game.

126491: The background image could not be located.

126492: No images specified for button.

126493: The game does not seem to be properly installed.

126494: Unable to run the configuration program.

126495: Unable to run the update program.

126496: The game must be configured prior to starting.

126497: Unable to start the game.

126498: Game

126499: Configure

126500: Update

126501: Exit

 

I may be wrong with this but leave the button numbers alone as I believe these are hard coded into launcher.exe and they tell the launcher what to do when clicked, you could change the label of button 1 to 126501/Exit but it will still launch the game.

 

--Stream

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...