Hammerite wrote:
Fixed the remaining error by removing assert.cpp from DRODUtil. DRODUtil now links. Still don't have added text though, even after linking DRODUtil and DROD in succession. That's quite minor though. DROD compiles, so I can start playing.
Great progress, Hammerite!
What you need to do in order to add new texts into the main .dat file is to run your built DRODUtil from the command line with the following parameters (iirc):
drodutil delete
drodutil create
drodutil import
The first one will delete your drod3_0.dat file. You can perform this step on your own, of course -- it can be used in conjunction with an automated process (e.g. batch file or bash script), if you want to set one up. The next rebuilds an empty .dat file. The third command option imports all the text MIDs listed in the .uni files into the .dat file. Also, with this command, a new DRODLib/TextMessages.h will be auto-generated, so you can now rebuild DROD, adding the new MID constants into the code. You might also need to specify "
-t <
path>
"
for the import step -- I can't recall off the top of my head.
Note that this procedure will give you a bare-bones .dat file -- you can't use it to augment the ones that come pre-built with the demo or registered versions of the game that already have game media embedded in them.
[Last edited by mrimer at 01-29-2010 08:31 PM]