.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old May 29th, 2008, 01:25 PM
Herode's Avatar

Herode Herode is offline
Second Lieutenant
 
Join Date: Feb 2007
Location: Chambéry (France)
Posts: 511
Thanks: 47
Thanked 19 Times in 14 Posts
Herode is on a distinguished road
Default Re: pretenders .2h file specification

Ha, here is a screen of the mystery pretender editor.


Unfortunately, I can't find what are the missing dlls for you, Ich...
Reply With Quote
  #12  
Old May 29th, 2008, 04:17 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: pretenders .2h file specification

Ah, so it is a different program, but has the same functionality like the catgod program, plus editing and saving your pretender god. This is the first time I ever saw anything about this, though. It seems to me like you're the only person knowing it.

I guess there are a number of people that would be interested in a tool like this. To edit pretender gods is really a feature that the game is missing. Fun trivia: did you know that there's code inside the game to load and edit pretender gods that you already made? It's just not active. Maybe it's from Dom:PPP days and never got included again?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #13  
Old May 30th, 2008, 02:54 PM
QXel's Avatar

QXel QXel is offline
Corporal
 
Join Date: Dec 2006
Location: France, south
Posts: 100
Thanks: 1
Thanked 0 Times in 0 Posts
QXel is on a distinguished road
Default Re: pretenders .2h file specification

Hum ...

Made some tests ...

Apologies: catgod works perfectly, even with 3.17, at the only condition you use it as it must be used.
In others words: don't be AS DUMB AS ME and DON'T try to view 2h files in another directory than ...\savedgames\newlords, AS IT IS SAID!

In fact, I'll try to view pretenders files in a running game subdirectory, and THEN I have something completly different as output, like KJHKHG00000fdh etc. as name, no scale and insane magic: Fire 127 Water 159 and so!!!

Well, to bad: my intentionnaly main use of it was to view my unsaved-just-for-this-game created pretenders ...

Seems that file formats are differents.

Herode: this program looks cool. What its name exactly and where have you find it (i.e. the exact thread: I've made a research on the mod forum, but since the research function isn't very 'aware', I didn't find anything ...)?

QXel
__________________
QXel

The One Who Only Play Single Player Games For Fun, Who Is Not A Maniac of 'The Ultimate Tactic', The Negation of 'The Ugly But Very Efficient Micro-Management For Winning With Minimum Losses And Ascend All The Time'
Reply With Quote
  #14  
Old May 30th, 2008, 09:16 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 Re: pretenders .2h file specification

Quote:
QXel said:
In fact, I'll try to view pretenders files in a running game subdirectory, and THEN I have something completly different as output, like KJHKHG00000fdh etc. as name, no scale and insane magic: Fire 127 Water 159 and so!!!

Well, to bad: my intentionnaly main use of it was to view my unsaved-just-for-this-game created pretenders ...

Seems that file formats are differents.
Different file format for temporary pretenders? Well, now that's interesting. Thanks for finding this, QXel! [img]/threads/images/Graemlins/icon09.gif[/img]

In case anybody's curious, I think I'll have time to update catgod for Dom3.17 this weekend. Ich found and fixed some bugs, so I need to do a little more work than usual for a new version. I gotta merge in Ich's changes and check to see if there's anything else I missed.
__________________
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
  #15  
Old May 31st, 2008, 04:44 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: pretenders .2h file specification

Quote:
Evil Dave said:
Different file format for temporary pretenders? Well, now that's interesting. Thanks for finding this, QXel! [img]/threads/images/Graemlins/icon09.gif[/img]
He's talking about *.2h / *.trn files after the games have started. Then catgod attempts to read the files, but can't find the stuff because the pretender data is stored elsewhere.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #16  
Old June 3rd, 2008, 11:08 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Dom3 pretender viewer program

Quote:
Herode said:
Unfortunately, I can't find what are the missing dlls for you, Ich...
Okay, I took another stab at this. It turned out that the problem wasn't missing DLL files. That thing is just throwing around exceptions like crazy. And there is no failure recovery in it at all. I ran the program in Microsoft's CLR Debugger and the first thing I saw was that it tried to open the directory "\Program Files\Dominions3\savedgames\newlords". Since I don't have that directory, the execution failed. Since I didn't feel like renaming / moving my Dom3 installation folder, I hex-edited the program to point to my real game folder instead. Then I could use the program successfully. Another solution would have been to create the directory structure with empty dirs, then launch and try to use the "Change Dir" button to go to the real game dir. But that is restricted to your (localized) Program Files folder and if you abort, it crashes again. Hah! Not very user-friendly, that program.

First of all, this is no God Editor. Maybe it meant to become one, but this has only display functionality. It even is titled "Dom3 Pretender Viewer". The up/down buttons are non-functional, and from decompiling the MSIL code I could see that there is no code in it to save files. And the code to load files is kind of funny, too. Very... inventive.

Other things I learned: The programmer is named Tom, and his girlfriend is probably named Kel. Or those are siblings.

Still, this program doesn't have much more than what catgod has, besides the pretender cost calculation, and since it doesn't seem to be maintained anymore, you better use Evil Dave's catgod instead, which is still being updated (soon).
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #17  
Old June 4th, 2008, 01:34 AM

Frostmourne27 Frostmourne27 is offline
Sergeant
 
Join Date: Aug 2005
Posts: 299
Thanks: 0
Thanked 0 Times in 0 Posts
Frostmourne27 is on a distinguished road
Default Re: pretenders .2h file specification

Quote:
lch said:
Fun trivia: did you know that there's code inside the game to load and edit pretender gods that you already made? It's just not active. Maybe it's from Dom:PPP days and never got included again?
Well, since Dom3 has pretender saving and loading, if you use the pretender creator in game tools, I suspect that it probably isn't just latent code. Unless it pertains to editing pretenders mid-game, or something. But since the newlords files aren't checked after a game starts, that would seems pointless.
__________________
Qui tacet consentit
Reply With Quote
  #18  
Old June 4th, 2008, 04:49 AM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: pretenders .2h file specification

Quote:
Frostmourne27 said:
Quote:
lch said:
Fun trivia: did you know that there's code inside the game to load and edit pretender gods that you already made? It's just not active. Maybe it's from Dom:PPP days and never got included again?
Well, since Dom3 has pretender saving and loading, if you use the pretender creator in game tools, I suspect that it probably isn't just latent code. Unless it pertains to editing pretenders mid-game, or something. But since the newlords files aren't checked after a game starts, that would seems pointless.

Except that the Pretender Creator Tool only saves, you cannot load and modify a pretender file that you previously made through the tool.

I'd really like if you could modify saved pretenders..... Testing one and then finding you want to make ONE change, it's frustrating.
Reply With Quote
  #19  
Old June 4th, 2008, 10:33 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: pretenders .2h file specification

Quote:
JimMorrison said:
Except that the Pretender Creator Tool only saves, you cannot load and modify a pretender file that you previously made through the tool.

I'd really like if you could modify saved pretenders..... Testing one and then finding you want to make ONE change, it's frustrating.
As I wrote before: The functionality is already in there in the game. But the GUI offers no way of accessing it that way.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #20  
Old October 11th, 2008, 10:15 AM
Tifone's Avatar
Tifone Tifone is offline
Lieutenant Colonel
 
Join Date: Jun 2008
Location: Florence, Italy
Posts: 1,424
Thanks: 740
Thanked 112 Times in 63 Posts
Tifone is on a distinguished road
Default Re: pretenders .2h file specification

May I resurrect the thread to ask where to find Herode's so nice program??
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:34 AM.


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