Freelancer Resource Compiler
-
I am finally pleased to announce the release of the Freelancer Resource Compiler (FRC), along with the resources using it. Hopefully you will find this the ideal way to create new names and infocards.
As a simple example, this (where newlines are significant)
AMENITIES: \crCLASSIFIED\C POPULATION: \crCLASSIFIED \b>>>HIGH SECURITY<<< ```will become this (newlines just for display; compiled directly into a DLL)
<rdl><push><text>AMENITIES:</text> <tra color=“#FF0000”><text>CLASSIFIED</text> <tra color=“default”><para><text>POPULATION:</text> <tra color=“#FF0000”><text>CLASSIFIED</text> <para><para><tra bold=“true”><text><<<HIGH SECURITY>>></text> <para></para></tra></para></para></tra></para></tra></tra></push></rdl>
-
Hi Adoxa, I find some problem about the tools:
When I use it to convert the DLL file to FRC, if my DLL file include Chinese, then the FRC file will be random change some Chinese like “>??.s”, and when I fix those mistake then use it to recompiler the FRC to DLL file, then I use the FLEd-ids to edit the DLL file, FLEd-ids will show the “run-time error ‘6’ overflow”.
How to fix that? thanks for your help.
-
It seemed okay when I converted the Chinese resources I have, but not having a Chinese codepage, I just got lots of \x sequences (presumably you would get double-byte characters). You might have better luck writing directly as Unicode - [c]res2frc -u *.dll[/c]. Don’t think there’s much to be done about FLEd-ids - perhaps try flidref instead.