Game Launcher Help...

Started by
4 comments, last by lordcorm 16 years, 8 months ago
Hi im making a launcher, and ive got it to work for the most part, but the only problem is that when i click on the launcher button it starts to launcher, but it thinks that im using the directory im using the launcher in for my media. How do it tell it to use the directory my game is in....
Advertisement
What language are you using, and on what platform?
im using Windows and C++.

Thanks for the reply.
OK. I'd recommend you write a registry value when the application is installed, and the read it into the launcher. I assume the launcher will be on a CD or something similar?

You can then use the CRT function _chdir() to change the working directory, and then execute the application, or just execute it using it's fully-qualified path name.

I hope that was helpful.
I wouldn't bother writing to the registry.

Just include a settings.ini with the proper directory in it which you can write to from the program, or easily edit in any text editor.
Thanks a bunch, that worked perfectly! :D

This topic is closed to new replies.

Advertisement