Hi.
I've written a launcher (for a game called Adom). Sadly the app is hit by the working directory bug  I know it's fixed in beta2 pr2. But is there any other way around it? I would like the launcher to be more universal and not limited to one prerelease version. Beside, where is that version available for download? Can't find a thread/download at sourceforge.
 I know it's fixed in beta2 pr2. But is there any other way around it? I would like the launcher to be more universal and not limited to one prerelease version. Beside, where is that version available for download? Can't find a thread/download at sourceforge.
Cheers.
 
      
 Visit the Community page
 Visit the Community page Join our forums
 Join our forums Subscribe to our email newsletter
 Subscribe to our email newsletter Subscribe with RSS
 Subscribe with RSS Follow us on BlueSky
 Follow us on BlueSky Follow us on Facebook
 Follow us on Facebook Follow us on LinkedIn
 Follow us on LinkedIn Follow us on Mastodon
 Follow us on Mastodon
In NSIS you could use $EXEDIR to get the directory the executable is in.
In AutoIt you use @ScriptDir.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
Not the launcher is affected by the working directory bug (it uses the $EXEDIR), but the game itself.
I've found a way around it though. I'm using a shortcut (.lnk) and can change the working folder property of that with NSIS. The launcher is working fine so far, I'll try to finish the installer tonight. It's a little tricky, as I can't distribute the launcher with the game included due to licence restrictions. I will try to have it downloaded or browsed to during the installer process. I just hope it will be ok to post the launcher here...
SetOutDir "$EXEDIR"or something like that.----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.
"If you're not part of the solution, you're part of the precipitate."
The command is SetOutPath and it's working perfectly, saves me the shortcut workaround. Thanks Ryan!
I'm trying to add it as a changeable parameter to a PortableApps i'm making, cause it works as the default save directory.
_____________________________
Wow, that signature totally got old.