.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Utility: New version of catgod for Dom3.20 (http://forum.shrapnelgames.com/showthread.php?t=41029)

Evil Dave October 26th, 2008 04:41 PM

New version of catgod for Dom3.20
 
I've finally updated <a href = "http://www.omskivar.org/evil/dom3/catgod.html">catgod</a>, the world's best pretender file viewer, for the new version of Dominions.

Download catgod for <a href = "http://www.omskivar.org/evil/dom3/windows-intel/catgod.zip">Windows</a>, <a href = "http://www.omskivar.org/evil/dom3/osx-ppc/catgod">Mac OS</a> and <a href = "http://www.omskivar.org/evil/dom3/linux-intel/catgod">Linux</a> . Catgod is still command-line only, however, Arralen has written a GUI for it. See <a href = "http://forum.shrapnelgames.com//showpost.php?p=527972&postcount=6">this post</a> for details.

Once you've downloaded catgod, change to your pretender directory (usually dominions3/savedgames/newlords), and start looking at files. For example,
<tt>catgod *.2h</tt>
will show them all.

Many thanks to Ich for finding a bunch of bugs and for building the Windows version!

Dedas October 26th, 2008 05:34 PM

Re: New version of catgod for Dom3.20
 
You're not evil! :)

Tifone October 26th, 2008 06:34 PM

Re: New version of catgod for Dom3.20
 
Absolutely interesting tool.

Gandalf Parker May 9th, 2010 02:42 PM

Re: New version of catgod for Dom3.20
 
I had a request on another forum. Well actually, a complaint. Someone had loaded a cbm god to a non-cbm game generating a discussion of whether or not to roll everyone back or just tell him to try with the default he got. His complaint was "Its too bad the game doesnt check that" which of course I took as a challenge. :)

OK I figured out a way to check gods prior to game start by starting a second game and running it thru one hosting then reading the messages. But thats kindof klunky.

Can CatGod see mods used? That would be a much cleaner method.

Evil Dave May 10th, 2010 10:30 PM

Re: New version of catgod for Dom3.20
 
Quote:

Originally Posted by Gandalf Parker (Post 745086)
Can CatGod see mods used? That would be a much cleaner method.

That's an excellent question! There's a bunch of information in the pretender files I never quite figured out, including some long strings of zeros. Since I did all my testing with pretenders generated with the base game, it's posssible mods in use are indeed recorded there and I can change catgod to report them.

Lemme take a look. I'm all but overwhelmed this week, so I'm not gonna have a chance before the weekend at least.

Gandalf Parker May 10th, 2010 11:09 PM

Re: New version of catgod for Dom3.20
 
Great. That would be highly appreciated.

Oh Im also supposed to ask if we can get a command switch to only print the nation and the points left over. Thats for the auction crowd. They want to be able to check all the pretenders in a game without actually seeing the information other than point left over

Edi May 11th, 2010 04:03 PM

Re: New version of catgod for Dom3.20
 
If you can get a new version that allows viewing also modded gods, that would be super excellent. Unfortunately I already added to your reputation, so I won't be able to do that again in a while.

Gandalf Parker May 11th, 2010 04:14 PM

Re: New version of catgod for Dom3.20
 
The version I have does that kindof. I just used it to check a heavily modded game that included Mytheology. The mytheology gods all showed up as "Bogus" with stats. Im not sure if that was something particular to that mod or if all modded gods would show up that way.

Evil Dave May 15th, 2010 09:54 PM

Re: New version of catgod for Dom3.20
 
Quote:

Originally Posted by Evil Dave (Post 745219)
Quote:

Originally Posted by Gandalf Parker (Post 745086)
Can CatGod see mods used? That would be a much cleaner method.

That's an excellent question! There's a bunch of information in the pretender files I never quite figured out, including some long strings of zeros. Since I did all my testing with pretenders generated with the base game, it's posssible mods in use are indeed recorded there and I can change catgod to report them.

Sorry, gents. The pretender files don't contain any mod information nor anything saying how many design points are left. :(

Evil Dave May 15th, 2010 10:00 PM

Re: New version of catgod for Dom3.20
 
Quote:

Originally Posted by Gandalf Parker (Post 745306)
The version I have does that kindof. I just used it to check a heavily modded game that included Mytheology. The mytheology gods all showed up as "Bogus" with stats. Im not sure if that was something particular to that mod or if all modded gods would show up that way.

If you mean a message like "Bogus body number ###", it's working as designed. Catgod contains a list of the unit names I extracted from the game file. If the body number is greater than the number of names on the list, catgod says it's bogus. It's better than crashing with a bad array lookup. :)

To get the names of any mod'ed unit, I'd need to know which mods are in use, and then I'd have to read and understand the mod files. I'm sure the game squirrels away the list of mods in use somewhere, but parsing the mod files looks like a lot of work.


All times are GMT -4. The time now is 09:43 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.