.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Unit Viewer - Request for help (http://forum.shrapnelgames.com/showthread.php?t=19069)

Maltrease May 25th, 2004 08:59 PM

Re: Unit Viewer - Request for help
 
Anatoli11 just gave me 151-200.

It took him 15 minutes to do.

Are the unit descriptions in the same order. They won't need to be numbered if they are in the same order as the numbered list.

If they are not in the same order then it would make the most sense to just finish these files.

BouquetOfFlowers May 25th, 2004 09:27 PM

Re: Unit Viewer - Request for help
 
They are not in the same order. I am going to finish up my script just because it is interesting to me, and it might be useful to someone else in the future, but it looks like it might be easier/faster to carry on with the manual editing for this particular project.

BouquetOfFlowers May 25th, 2004 10:22 PM

Re: Unit Viewer - Request for help
 
Well, my script has helped find a mistake in the binary that is probably preventing the Longdead Archer flavor text from showing up. Is that a known bug?

Gandalf Parker May 25th, 2004 10:31 PM

Re: Unit Viewer - Request for help
 
Quote:

Originally posted by BouquetOfFlowers:
I found the part in dom2.exe where the flavor text is stored. If I can figure out how to extract it, that might be easier than having everyone go through it manually. Of course, given that there is a huge sticky thread with spelling/grammar errors...
http://forum.shrapnelgames.com/images/icons/icon12.gif

<font size="2" face="sans-serif, arial, verdana">I can send it to you. There is a linux command called "strings" which does wonders at this.

BouquetOfFlowers May 25th, 2004 10:36 PM

Re: Unit Viewer - Request for help
 
Thanks, Gandalf, but I am in pretty good shape. I'm just using perl regular expressions to parse the data after jumping to the start of the flavor text, which I uncovered using the power of Visual Studios binary file viewer and the find command. I actually parse a lot of binary data as part of my work, so this project is right up my alley. http://forum.shrapnelgames.com/images/icons/icon7.gif

BouquetOfFlowers May 25th, 2004 11:50 PM

Re: Unit Viewer - Request for help
 
Ok, I have the whole process almost totally automated. I'll grab the remaining files and put them up on my web space when I am done.

BouquetOfFlowers May 26th, 2004 12:37 AM

Re: Unit Viewer - Request for help
 
Tada! Units 1-1096 Flavor Text
This is in the format:
0 the Old Centurion
Centurions are the leaders of the Imperial legions. As a sign of their prominence and importance, they wear gilded plate cuirasses.
1 the Legionnaire
The standard troops of the Empire, Legionnaires are armed with light and efficient armor and either a spear or a shortsword. They also carry javelins into battle.

If you need the exits or weapons, etc, let me know and I'll see what I can do.

The following units are missing their text because it is missing in the game:
Could not find flavor text for 23 the Knight Commander
Could not find flavor text for 1038 the Capricorn
Could not find flavor text for 1039 the Capricorn
Could not find flavor text for 1040 the Bishop Fish
Could not find flavor text for 432 the Atlantian Scout

Maltrease May 26th, 2004 12:52 AM

Re: Unit Viewer - Request for help
 
Very nice.

You are missing a few such as 100,101,999.
And everything passed 1049.

But this is great! I'll fill in the few missing units manually after I import the data.

[ May 25, 2004, 23:57: Message edited by: Maltrease ]

BouquetOfFlowers May 26th, 2004 12:59 AM

Re: Unit Viewer - Request for help
 
And one Last edit with the file arranged in numerical order.
Added the missing units mentioned, although the end of the list has a lot of no description availables:
Could not find flavor text for 1054 the Siren
Could not find flavor text for 1055 the Siren
Could not find flavor text for 1058 the Hippocampus
Could not find flavor text for 1059 the Knight of the Deeps
Could not find flavor text for 1061 the Triton Prince
Could not find flavor text for 1062 the Sea Stag
Could not find flavor text for 1063 the Sea Lion
Could not find flavor text for 1064 the Sea Dog
Could not find flavor text for 1069 the Oceanian Captain
Could not find flavor text for 1086 the Troll Moose Knight
Could not find flavor text for 1087 the Giant Ant
Could not find flavor text for 1094 the Tomb Guard
Could not find flavor text for 1095 the Keeper of the Tombs
Could not find flavor text for 23 the Knight Commander
Could not find flavor text for 1038 the Capricorn
Could not find flavor text for 1039 the Capricorn
Could not find flavor text for 1040 the Bishop Fish
Could not find flavor text for 432 the Atlantian Scout

[ May 26, 2004, 00:13: Message edited by: BouquetOfFlowers ]

liga June 4th, 2004 11:03 AM

Re: Unit Viewer - Request for help
 
Some news about the unit viewers ?

Are you been able to put all the units stats ina dB ?

let me know any progress.

good luck
Liga


All times are GMT -4. The time now is 08:06 PM.

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