View Single Post
  #1  
Old April 15th, 2007, 11:49 PM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Announcing catgod, a pretender file viewer

Catgod is a command-line program to display Dom3's pretender god files. For example:

>catgod /Users/evil/dominions3/savedgames/newlords/early_arcoscephale_0.2h
Fred, the Earth Monster, Lord of Courage, God of Mountains
Arcoscephale, Early Era
Cyclops (Body 156, 91 hits)
Magic: Earth 9
Dominion 5
Scales: Order 1 Productivity 1 Fortune 1 Magic 1
Dormant


Catgod understands wildcards like you'd expect:


>catgod /Users/evil/dominions3/savedgames/newlords/early_arcoscephale_?.2h

----/Users/evil/dominions3/savedgames/newlords/early_arcoscephale_0.2h----

Fred, the Earth Monster, Lord of Courage, God of Mountains
Arcoscephale, Early Era
Cyclops (Body 156, 91 hits)
Magic: Earth 9
Dominion 5
Scales: Order 1 Productivity 1 Fortune 1 Magic 1
Dormant

----/Users/evil/dominions3/savedgames/newlords/early_arcoscephale_1.2h----

Jane, Mother of Fishes, Goddess of Rivers
Arcoscephale, Early Era
Mother of Rivers (Body 1342, 95 hits)
Magic: Water 9
Dominion 5
Scales: Order 2 Productivity 2 Fortune 2 Magic 1
Imprisoned

Binaries are available for Linux/Intel and Macintosh OS X/PPC.

Download catgod for Linux/Intel.

Download catgod for Macintosh OS X/PPC.

(If you click one of those links and your browser shows a page of random characters, back up, and download it with right-click "Save as...", or whatever your browser uses.)

I don't have the tools or the inclination to port catgod to Windows. If somebody wants to, send me a PM. Porting it shouldn't be hard; it's a short C program. Likewise if somebody wants to recompile it for Mac OS/Intel.


Installation and Usage Example

Download catgod into any convenient directory. Start a shell (Terminal in Mac OS), cd to that directory, and

chmod +x catgod

in case it didn't download as executable. If you used the default Dominions installation, your pretender files will be in

/your home directory/dominions3/savedgames/newlords

so,

./catgod /your home directory/dominions3/savedgames/newlords/*.2h

will display all your pretenders. If this doesn't make sense to you, ask your local computer geek for help.

A copy of this documentation (such as it is) lives at http://www.omskivar.org/evil/dom3/catgod.html, the catgod home page.



Thanks to Gandalf Parker for testing catgod.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
Reply With Quote