|
|
|
 |

May 25th, 2004, 08:48 PM
|
 |
Second Lieutenant
|
|
Join Date: Apr 2004
Location: Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Unit Viewer - Request for help
How long do you think it would take to extract the data? We are probably only looking at about 5 hours of work to finish up these.
If you want to give it a shot then we should hold off on this method for a little while.
Let us know.
|

May 25th, 2004, 08:55 PM
|
 |
Private
|
|
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Unit Viewer - Request for help
I actually think I will my extractor script done by the end of the day (Oregon time). The only problem I can see for your work is that the flavor text is only indexed by unit name. Someone would have to do some more work to get the names to match up with the numbers and stats you already have.
[ May 25, 2004, 19:56: Message edited by: BouquetOfFlowers ]
|

May 25th, 2004, 08:59 PM
|
 |
Second Lieutenant
|
|
Join Date: Apr 2004
Location: Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 25th, 2004, 09:27 PM
|
 |
Private
|
|
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 25th, 2004, 10:22 PM
|
 |
Private
|
|
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

May 25th, 2004, 10:31 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|

May 25th, 2004, 10:36 PM
|
 |
Private
|
|
Join Date: Mar 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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. 
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|