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

This Month's Specials

BCT Commander- Save $7.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 09:27 PM
BouquetOfFlowers's Avatar

BouquetOfFlowers BouquetOfFlowers is offline
Private
 
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
BouquetOfFlowers is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old May 25th, 2004, 10:22 PM
BouquetOfFlowers's Avatar

BouquetOfFlowers BouquetOfFlowers is offline
Private
 
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
BouquetOfFlowers is on a distinguished road
Default 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?
Reply With Quote
  #3  
Old May 25th, 2004, 10:31 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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...
I can send it to you. There is a linux command called "strings" which does wonders at this.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #4  
Old May 25th, 2004, 10:36 PM
BouquetOfFlowers's Avatar

BouquetOfFlowers BouquetOfFlowers is offline
Private
 
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
BouquetOfFlowers is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old May 25th, 2004, 11:50 PM
BouquetOfFlowers's Avatar

BouquetOfFlowers BouquetOfFlowers is offline
Private
 
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
BouquetOfFlowers is on a distinguished road
Default 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.
Reply With Quote
  #6  
Old May 26th, 2004, 12:37 AM
BouquetOfFlowers's Avatar

BouquetOfFlowers BouquetOfFlowers is offline
Private
 
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
BouquetOfFlowers is on a distinguished road
Default 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
Reply With Quote
  #7  
Old May 26th, 2004, 12:52 AM
Maltrease's Avatar

Maltrease Maltrease is offline
Second Lieutenant
 
Join Date: Apr 2004
Location: Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
Maltrease is on a distinguished road
Default 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 ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 10:57 PM.


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