Hi I'm trying to build a launcher for an open source game. The launcher seemed fairly easy to build because the game only leaves behind one setting file on the host computer and that's it, there's no registry settings. But I've hit a bit of a snag I don't know how i'd go about setting a path to the appdata folder since it's location is going to be different depending on the persons username. Is there any sort of wildcard function i could use? if not is there anyway to get around this? I'm trying to move the games setting directory into app data when the launcher starts and move it out when the game closes.
Also i've based this upon the portable application template which is very bulky with registry specific stuff. Would it be possible for someone to post something with just a splash screen so that i can just put my code in?
Thanks
The appdata variable in NSIS is:
$APPDATA
Whats the folders name?
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Thanks, the folders name is Wormux.
search?
Cause someone is already on it...
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
I've already seen that. But he said he probably won't start for weeks. So i thought i'd give it a try.
I'll take a look at the nsis part.
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
There's quite a lot of registry entries in the registry as well, and the registry entries point to the location of the executable.
______________________
Signature...What Signature?
The game itself only leaves behind registry entries when it's installed. If you get a copy of the game that dosent require install it leaves no registry entries whatsoever. However the multiple entries you may be referring to are only records of applications that have been launched these are created with every application you ever run, but I wasn't sure weather the other portable apps on this site removed these.
Yea, I wasn't sure, I just took a quick look at the whole thing one night. PortableApps apps don't clean up the MUI Cache or Windows Prefetch.
______________________
Signature...What Signature?