Page 1 of 1

How to edit the TOAW font and date format and scenario strings, etc

Posted: Tue Jun 13, 2006 1:16 am
by ralphtricky
The below talks about editing the english.dll file to change to European date format. A similar process is used to edit the two font files. You can also do similar things to edit all the strings in a scenario, just save the DLL as graphics/Scenario Name/Scenario Name.DLL. The French scenario is an extreme example of this.

It can actually be done now by using a resource editor, copying the English.DLL to EuroDate.DLL and changing string table entry 17 from MDY to DMY. You can also change string table entry 18 from a / to a . if you want a different date separator.

The following steps are required.
Download XNResource(http://www.btinternet.com/~wilsoncpw/xn ... _setup.exe)
Run the setup program.
Run XNResource
Open c:\Matrix Game\The Operational Art of War III\English.DLL
Change the string table entry #17 from MDY to DMY
Change the string table entry #18 from / to .
Save the file as EuroDate.DLL
Close XNResource
Run TOAW
Select File/Choose Language and pick EuroDate.

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Thu Jun 15, 2006 8:15 pm
by PDiFolco
Fine, works like a charm !
But the instructions have an hole : what should be edited are ID 17 and 18 of the 2nd entry of the String Table, not the 17-18th entries as I understood when I read you... [:'(]

Anyway I think that just posting the file (attached zipped) is simpler ;) I've kept the "/" separator so I get D/M/Y format (usual here ... in France :)

And BTW how could one change the fonts ? I never liked the TOAW font ... [:-]

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Fri Jun 16, 2006 4:28 pm
by ralphtricky
ORIGINAL: PDiFolco

Fine, works like a charm !
But the instructions have an hole : what should be edited are ID 17 and 18 of the 2nd entry of the String Table, not the 17-18th entries as I understood when I read you... [:'(]

Anyway I think that just posting the file (attached zipped) is simpler ;) I've kept the "/" separator so I get D/M/Y format (usual here ... in France :)

And BTW how could one change the fonts ? I never liked the TOAW font ... [:-]
Thanks!

The font is in the same file, you should follow the same instructions, but replace the font files.

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Fri Jun 16, 2006 5:58 pm
by JMass
ORIGINAL: ralphtrick
The font is in the same file, you should follow the same instructions, but replace the font files.

Just done, thank you!

[:)]


RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Sat Jun 17, 2006 8:38 pm
by PDiFolco
There's 3 font entries in the editor - one "red", one "yellow", and one "blue". What are they for ? The modded fonts I got have 2 files only : toawfont and toawboldfont, which should be copied where ? [&:]

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Tue Jun 27, 2006 10:28 pm
by ralphtricky
ORIGINAL: PDiFolco

There's 3 font entries in the editor - one "red", one "yellow", and one "blue". What are they for ? The modded fonts I got have 2 files only : toawfont and toawboldfont, which should be copied where ? [&:]
What screen are those choices on?

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Wed Jun 28, 2006 8:34 pm
by PDiFolco
ORIGINAL: ralphtrick
ORIGINAL: PDiFolco

There's 3 font entries in the editor - one "red", one "yellow", and one "blue". What are they for ? The modded fonts I got have 2 files only : toawfont and toawboldfont, which should be copied where ? [&:]
What screen are those choices on?

That's what I see in the Resource Editor, in the entries TOAGFONT, TOAPFONT and TOAGFONT under Bitmaps.
I supposed we have to change them here as the game doesn't properly uses external "fonts" bmp ? [&:]

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Fri Mar 16, 2007 6:13 pm
by Silvanski
Ralph, can you give some more info on your plans with the "opart 3 fonts.ini" ?
I've been playing around with it... trying out the pre-alpha with Arial Rounded MT Bold in highlighted mode gives good results for me... up till now no apparent glitches.
 
 

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Wed Mar 21, 2007 8:21 pm
by markoid
ORIGINAL: ralphtrick

The below talks about editing the english.dll file to change to European date format. A similar process is used to edit the two font files. You can also do similar things to edit all the strings in a scenario, just save the DLL as graphics/Scenario Name/Scenario Name.DLL. The French scenario is an extreme example of this.

It can actually be done now by using a resource editor, copying the English.DLL to EuroDate.DLL and changing string table entry 17 from MDY to DMY. You can also change string table entry 18 from a / to a . if you want a different date separator.

The following steps are required.
Download XNResource(http://www.btinternet.com/~wilsoncpw/xn ... _setup.exe)
Run the setup program.
Run XNResource
Open c:\Matrix Game\The Operational Art of War III\English.DLL
Change the string table entry #17 from MDY to DMY
Change the string table entry #18 from / to .
Save the file as EuroDate.DLL
Close XNResource
Run TOAW
Select File/Choose Language and pick EuroDate.

What about map fonts Ralph?

M

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Thu Mar 22, 2007 2:08 am
by ralphtricky
ORIGINAL: markoid

ORIGINAL: ralphtrick

The below talks about editing the english.dll file to change to European date format. A similar process is used to edit the two font files. You can also do similar things to edit all the strings in a scenario, just save the DLL as graphics/Scenario Name/Scenario Name.DLL. The French scenario is an extreme example of this.

What about map fonts Ralph?

M
It's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.

That may change with the next release, though.

Out of curiosity, why do you want to try using alternate font files?

Thanks,
Ralph

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Thu Mar 22, 2007 8:19 pm
by markoid
Ralph,
 
I have issues with playing the game and being able to read the text late at night.  It is always useful to able to change fonts, text sizes etc.  I am involved in some work looking at IT and DDA (Disability Discrimination Act) issues.  Good to see that all though it is not built in, people have the ability to change the format - good job guys.
 
Oh yes, and it looks good on the AAR's! :)

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Sun Nov 04, 2007 11:05 pm
by ColinWright
.

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Tue Feb 05, 2008 8:31 am
by L`zard
ORIGINAL: ralphtrick
ORIGINAL: markoid
ORIGINAL: ralphtrick

What about map fonts Ralph?

M
It's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.

That may change with the next release, though.

Out of curiosity, why do you want to try using alternate font files?

Thanks,
Ralph

Ralph;

Majorically in order to change the fonts for specific hexes........Capitals, etc; Would be useful in order to 'pick out' particular points of interest on the map.

Perhaps a post concerning the whole editing, naming process would be useful, ???

RE: How to edit the TOAW font and date format and scenario strings, etc

Posted: Tue Feb 05, 2008 6:06 pm
by ColinWright
ORIGINAL: L`zard

ORIGINAL: ralphtrick
ORIGINAL: markoid


What about map fonts Ralph?

M
It's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.

That may change with the next release, though.

Out of curiosity, why do you want to try using alternate font files?

Thanks,
Ralph

Ralph;

Majorically in order to change the fonts for specific hexes........Capitals, etc; Would be useful in order to 'pick out' particular points of interest on the map...

Yeah -- hardly an imperative need, but this would be nice.