Note to the devs: This is a new version going in a completely different direction from the the other thread. So, if you want to do anything regarding the two threads, I'd probably request that the other be deleted and this be renamed to take its place, or just for the other one to be deleted. If anything, please don't merge them as the end result (chatlog backup) is the only similarity, the posts will have little relevance with eachother otherwise.
Alright, first I want to thank Steelclaw for a post of his that showed me a DOS command that did exactly what I was doing with C++. This allowed me to redesign my program to better and more effectively accomplish the goals I had hoped to achieve with the first design.
I'd also like to thank Hraefn, Raptress and Starstilanx for helping me test everything and Raptress for hosting the files.
Anyway, onto the program.
------
What this program does is generate a batch file that will, when run, copy your chat logs from Istaria's \logs folder into a specified backup folder, and then start the launcher.
Links:
Istaria Chatlog Backup (Program)
Istaria Chatlog Backup (Source code) : You don't need this, it's just for the programmers out there.
Contained within you should find 3 files:
Batch Generator.exe
config.txt
Readme.txt
You should have all you need in the Readme file to get things working. But your basic steps are:
1) Set up information in config.txt
Istaria Directory: Path to the install folder (istaria.exe should reside in here).
Backup Directory: Path to a folder where your chatlogs will be copied to. (This can be anywhere.)
Istaria Launcher Name: File name of the launcher (Likely launcher.exe or launcher.jar).
2) Run Batch Generator.exe
3) Use ChatlogBackup.bat as your new shortcut to run Istaria.
Most of the errors that can be encountered with the Batch Generator should give you useful enough feedback to solve them (Such as a missing config variable).
If the batch file its self doesn't work, check to make sure your file paths and launcher name are correct. If it still doesn't work, then you've encountered something I haven't. Make a post about it and I'll try and figure out the problem.
Feel free to throw out any suggestions or questions.