How to edit the TOAW font and date format and scenario strings, etc
Moderators: JAMiAM, ralphtricky
- ralphtricky
- Posts: 6675
- Joined: Sun Jul 27, 2003 4:05 am
- Location: Colorado Springs
- Contact:
How to edit the TOAW font and date format and scenario strings, etc
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.
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.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
RE: How to edit the TOAW font and date format and scenario strings, etc
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 ... [:-]
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 ... [:-]
- Attachments
-
- EuroDate.zip
- (102.74 KiB) Downloaded 69 times
PDF
- ralphtricky
- Posts: 6675
- Joined: Sun Jul 27, 2003 4:05 am
- Location: Colorado Springs
- Contact:
RE: How to edit the TOAW font and date format and scenario strings, etc
Thanks!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 ... [:-]
The font is in the same file, you should follow the same instructions, but replace the font files.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
RE: How to edit the TOAW font and date format and scenario strings, etc
ORIGINAL: ralphtrick
The font is in the same file, you should follow the same instructions, but replace the font files.
Just done, thank you!
[:)]
"Klotzen, nicht Kleckern!"Generaloberst Heinz Wilhelm Guderian
My boardgames collection: http://www.boardgamegeek.com/collection ... dgame&ff=1
My boardgames collection: http://www.boardgamegeek.com/collection ... dgame&ff=1
RE: How to edit the TOAW font and date format and scenario strings, etc
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 ? [&:]
PDF
- ralphtricky
- Posts: 6675
- Joined: Sun Jul 27, 2003 4:05 am
- Location: Colorado Springs
- Contact:
RE: How to edit the TOAW font and date format and scenario strings, etc
What screen are those choices on?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 ? [&:]
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
RE: How to edit the TOAW font and date format and scenario strings, etc
ORIGINAL: ralphtrick
What screen are those choices on?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 ? [&:]
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 ? [&:]
PDF
RE: How to edit the TOAW font and date format and scenario strings, etc
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.
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.
The TOAW Redux Dude
RE: How to edit the TOAW font and date format and scenario strings, etc
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
- ralphtricky
- Posts: 6675
- Joined: Sun Jul 27, 2003 4:05 am
- Location: Colorado Springs
- Contact:
RE: How to edit the TOAW font and date format and scenario strings, etc
It's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.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
That may change with the next release, though.
Out of curiosity, why do you want to try using alternate font files?
Thanks,
Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
RE: How to edit the TOAW font and date format and scenario strings, etc
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!
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!
-
- Posts: 2604
- Joined: Thu Oct 13, 2005 6:28 pm
RE: How to edit the TOAW font and date format and scenario strings, etc
ORIGINAL: ralphtrickIt's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.ORIGINAL: markoidORIGINAL: ralphtrick
What about map fonts Ralph?
M
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, ???
"I have the brain of a genius, and the heart of a little child! I keep them in a jar under my bed."
-
- Posts: 2604
- Joined: Thu Oct 13, 2005 6:28 pm
RE: How to edit the TOAW font and date format and scenario strings, etc
ORIGINAL: L`zard
ORIGINAL: ralphtrickIt's very similar to the way it's done for the surodate stuff, except that the changes are to the two font files.ORIGINAL: markoid
What about map fonts Ralph?
M
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.
I am not Charlie Hebdo