Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Looking for a program
Reply
 
Thread Tools
Audiophile
Surrealist


Member 16745

Level 22.01

Dec 2006


Reply With Quote
Old Jul 28, 2008, 04:52 PM Local time: Jul 28, 2008, 03:52 PM #1 of 6
Looking for a program

Hello all! If you haven't heard of it, there's this nifty game called 'N' where you run around as a ninja inside a physics simulator, collecting gold. It's fun, but the problem comes with the fact that the game stores all the save data and progress in a temp folder inside of Application Data. So when I reboot or clean my internet cache, it's gone. You can manually move this, but it's kind of an inconvenience to do so every time. What I'd like is a program that will automatically copy the file to the game's directory when it closes, and restore it to the correct temp folder when the game is started. Is there a way to do this with a scheduled task, or a .bat file? I'm not entirely sure how I'd go about programming those in, so any help would be appreciated. Thanks in advance!

Jam it back in, in the dark.
Audiophile
Surrealist


Member 16745

Level 22.01

Dec 2006


Reply With Quote
Old Jul 28, 2008, 09:00 PM Local time: Jul 28, 2008, 08:00 PM #2 of 6
This seems like it will work, except for one thing: the temporary save directory is named as a random string of numbers and letters each time it is created. Will a "*" work as a wildcard for a directory? E.g.,
Code:
xcopy "C:\Ngamebak" "C:\Documents and Settings\Audio Phile\Application Data\*\N.sav"
Thanks for all the help you've given already!

Edit: Actually, after a little thought, I figured it out. I just let it create its randomly named directory, then I copied the whole thing over to the save folder. When the batch file runs, it just copies the whole thing back, and even if the original directory was deleted, it still reads it just fine. Thanks!

Edit 2: Okay, just one more thing . This would really just be icing on the cake, but is there any way to suppress the command window when the batch file is running? It's not a huge deal, but it would be nice.

There's nowhere I can't reach.

Last edited by Audiophile; Jul 28, 2008 at 10:08 PM.
Audiophile
Surrealist


Member 16745

Level 22.01

Dec 2006


Reply With Quote
Old Jul 29, 2008, 11:32 AM Local time: Jul 29, 2008, 10:32 AM #3 of 6
It is a little hard to read up there, but I managed to work around the random save directory by just copying the entire directory. If the random directory is already there, the program has no trouble reading from it. The only issue was that if the directory wasn't there, it would make a new one.

And running the command window minimized will work great! Thanks so much!

This thing is sticky, and I don't like it. I don't appreciate it.
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Looking for a program

Forum Jump


All times are GMT -5. The time now is 04:27 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.