.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   pretenders .2h file specification (http://forum.shrapnelgames.com/showthread.php?t=38989)

Herode May 29th, 2008 01:25 PM

Re: pretenders .2h file specification
 
Ha, here is a screen of the mystery pretender editor.
http://www.hypothese.net/jeux/Dom3/pretenderV.png

Unfortunately, I can't find what are the missing dlls for you, Ich... http://forum.shrapnelgames.com/image...es/Injured.gif

lch May 29th, 2008 04:17 PM

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?

QXel May 30th, 2008 02:54 PM

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

Evil Dave May 30th, 2008 09:16 PM

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! http://forum.shrapnelgames.com/images/smilies/happy.gif [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.

lch May 31st, 2008 04:44 AM

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! http://forum.shrapnelgames.com/images/smilies/happy.gif [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.

lch June 3rd, 2008 11:08 PM

Dom3 pretender viewer program
 
Quote:

Herode said:
Unfortunately, I can't find what are the missing dlls for you, Ich... http://forum.shrapnelgames.com/image...es/Injured.gif

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. http://forum.shrapnelgames.com/images/smilies/happy.gif

Other things I learned: The programmer is named Tom, and his girlfriend is probably named Kel. Or those are siblings. http://forum.shrapnelgames.com/images/smilies/happy.gif

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).

Frostmourne27 June 4th, 2008 01:34 AM

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.

JimMorrison June 4th, 2008 04:49 AM

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. http://forum.shrapnelgames.com/image...ies/tongue.gif

lch June 4th, 2008 10:33 AM

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. http://forum.shrapnelgames.com/image...ies/tongue.gif

As I wrote before: The functionality is already in there in the game. But the GUI offers no way of accessing it that way.

Tifone October 11th, 2008 10:15 AM

Re: pretenders .2h file specification
 
May I resurrect the thread to ask where to find Herode's so nice program?? :happy:


All times are GMT -4. The time now is 04:37 AM.

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