HK-42 Posted November 27, 2008 Share Posted November 27, 2008 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 More sharing options...
Stream Posted November 28, 2008 Share Posted November 28, 2008 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 More sharing options...
HK-42 Posted November 28, 2008 Author Share Posted November 28, 2008 What I always get when replacing the image is: The background image cannot be located. Please restore or reinstall the game. Link to comment Share on other sites More sharing options...
Star Admiral Posted November 28, 2008 Share Posted November 28, 2008 Did you name the background image as swlauncher.bmp? - Star Admiral Link to comment Share on other sites More sharing options...
HK-42 Posted November 29, 2008 Author Share Posted November 29, 2008 Did you name the background image as swlauncher.bmp? - Star Admiral yeah. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.