Jump to content
  • Advertisement
Sign in to follow this  
lordcorm

Game Launcher Help...

This topic is 3990 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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....

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!