Godus
 This topic has been pinned, so it's probably important
vv [FuMM] 27 Nov, 2014 @ 4:52am
Diagnostics collecting Batchfile for windows error reports for godus.
Note: After using this batch file you should follow: https://steamhost.cn/steamcommunity_com/app/232810/discussions/2/558755530464728670/

and send 22cans a bug report.

Here is my batch file which helps to collect diagnostics info for 22cans godus error reports.

For people who want a fairly easy way to grab all the files that 22cans support want (including the minidump file) then use the following windows batch file found on paste bin:

v2.4.3b - added manual setting of godusdir.
http://pastebin.com/7bFxTN1Z

Direct download link (this will save it as a .bat file) : http://pastebin.com/download.php?i=7bFxTN1Z

Copy the above batch file from pastebin into notepad or similar and save as somthing like "GodusDump.bat" and then double click it or run from a cmd.exe window.

This is my new version of this support tool I made for 22cans ages ago. I now think it's good enough to release as it's fairly dumb proof.

This batch file has no required paramaters but you need to know which drive you've installed the game to.

It will:


1. Just work if you run it from the godus.exe directory or:
1a. If you set the path to the godusdir manually in the batch file it will skip searching for the .exe on your computer.
1b. if you haven't manually set the path it will use the /godusdir [godus.exe path] command line or
1c. it will prompt you for the drive that godus.exe is installed on and search the drive for it.
2. Collects dxdiag info.
3. Collects minidump if it's created.
4. Collects any crash log files.
5. Collects Save game files.
6. Collects any verbose files.
7. Collects Balance File config files.
8. Creates a simple "index" file for verbose files for 22cans.
9. Puts all of the collected files into a directory on your desktop called Godusinfo.

I suggest you use 7zip or similar to compress the directory so you can send it to 22cans. I've found that lzma2 or ppmd are the best compression methods so far. 22cans will tell you how to send it to them.

--- change log ---
v2.4.3b - The "Only 58.312% finished!" edition! I added the command lines of /h and /godusdir
v2.4.2b - internal release.. I decided I should make a version that has a command line option as well just as I was adding this one to paste bin.
v2.4.1b - Added verbose_index.txt for 22cans. It is a dumb index file that shows all the LOG_STARTS in the verbose files. Godd to quickly see what versions are being run and how many times per log etc.

old versions:
v2.4.1b - http://pastebin.com/pzQ0gDW4
v2.4.0b - http://pastebin.com/nieUayJ2 - Added balance modifier files to files collected.
v2.3.8b - http://pastebin.com/09j9RStR
Last edited by vv [FuMM]; 13 Sep, 2015 @ 11:11am
< >
Showing 1-3 of 3 comments
vv [FuMM] 27 Nov, 2014 @ 4:55am 
Q and A for the above.

Q. Why do I need to cut and paste from pastebin?
A. Any one running 3rd party utilitys should know what they are running. Having it available in source code will help to stop any naughty malware like things from happening. Also if you can't copy and paste and save a file to your computer then you may have issues sending the collected files via email or what ever method you want to use in the first place.

Q. Wait.. what's this actually doing?!
A. This batch file creates a new directory on your desktop called Godusinfo. That Directory holds the files that 22cans will want to look at. Crash reports and that kind of stuff. I've just changed the batch file so that you can hardcode the godus directory and skip the automagic stuff that it'll do to try and find the Godus.exe for you. If you don't set the godusdir manually in the batch file then it will automagicly try and find it with some minimal input from the user. Once it finds the godus.exe file it will use that location as the place to gether the info from as that's where it's stored. You may want about 100mb to about 1gb of storage on where ever your desktop is located to be safe when using this tool.

Q. What if I don't want to save godusinfo to the desktop or I don't like the name godusinfo for the save directory?
A. If you have a look at the top of the batch file you'll find some variables near the top. These 5 variables (shown below) are used in the batch file for various things.

set GodusSaveDir=GodusInfo
set Desktop=%USERPROFILE%\Desktop
set DiagDir=%Desktop%\%GodusSaveDir%
set GodusDir=
set i=

The above lines of code set the default variables and clear out some important ones.
Change GodusSaveDir to what you want to call the directory instead of GodusInfo.
Change Desktop or ignore it and instead change DiagDir to the base path before GodusInfo.
GodusDir is used to set the location of where the Godus.exe file is. As of v2.4.2b you can now hardcode this variable so that the automagic searching for godus.exe is skipped. Otherwise this variable is set in the batch code automagicly.
The i variable is used as a temp variable.
Last edited by vv [FuMM]; 13 Sep, 2015 @ 11:15am
DK75 13 Sep, 2015 @ 9:31am 
Sorry, but add the possibility of entering the correct path to the godus directory.
It takes to long to find the directory.
___
DK
vv [FuMM] 13 Sep, 2015 @ 11:17am 
Originally posted by DK75:
Sorry, but add the possibility of entering the correct path to the godus directory.
It takes to long to find the directory.
___
DK

I just did as you requested. It should work. Try either hardcoding the path in the batch file or use the /godusdir [path] command line option. (obviously you don't use [path] and instead replace it with something like c:\steamlibrary\steamapps etc).
< >
Showing 1-3 of 3 comments
Per page: 1530 50