β¨Dvurechenskyβ¨
Note
This project is part of the Lizerium ecosystem and belongs to the following direction:
If you are looking for related engineering and supporting tools, start there.
-
Generates a
FLResourcesexport targeting.NET 3.5, compatible withUnity -
Main access class when integrating the library into a project:
ResControlIt provides the following API:
-
Dictionary<string, int> LoadIds(int ids)
β Input: numeric value from INI (ids_nameorids_info)
β Output: DLL file name + string index -
StatusHandle GetData(string nameResources, int id)
β Input: RESX resource name embedded in DLL
(OfferBribeResources_name, NameResources_name, EquipResources_name, SBM3_name, SBM2_name, SBM_name, SBM_info, EquipResources_info, MiscTextInfo2_info, InfoCards_info, MiscText_info, SBM3_info)
β Output: resource value by key from initialized RESX
-
-
FLGenerateLibrarygenerates.resxfiles forFLResourcesusing data extracted from Win32.dllfiles ofFreelancer (2003)Data is ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ extracted using
Resource Hacker.
Extraction steps are described below.
FLEDIdβ a utility for quick conversion betweenids_name/ids_infoand the numeric values stored inside resource DLLs- Works independently of
freelancer.inistructure - Can also resolve INI ID from DLL name + numeric identifier
- Works independently of
π Extracting files from dll using Resource Hacker π
-
Open a
.dllinResource Hacker, e.g.equipresources.dll- Select
String Table - Save
.rcfile into theINPUTfolder (located near the.exe) - Rename
.rcβdata.txt - Remove line:
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
[!NOTE] You have now created a file for resolving
ids_namefields. - Select
-
If the DLL contains an
HTMLsection:- Select
HTML - Save
.rcintoINPUT\HTML - Delete the
.rcfile (we only need the generated.txtfiles for each.html)
[!NOTE] You have now created files for resolving
ids_infofields. - Select
- Final structure should look like:
-
Command
g [filename.ini] [field]
β Finds unique values of a field inside an INI file located in theAnalisfolder[filename.ini]β must exist inAnalis[field]β field name to analyze
Example:
g example.ini progres_field
-
Command
c [path/to/file.resx]orclear [path/to/file.resx]β Clears all resources inside a.resxfileExample:
c path/to/file.resx
-
Command
st [path/to/file.resx] [path/to/data.txt]β Generates.resxentries from TXT dataExample:
st path/to/file.resx path/to/data.txt
-
Command
st [path/to/file.resx] [path/to/html]β Generates.resxentries from HTML TXT filesExample:
st path/to/file.resx path/to/html
-
Command
importoriβ Copies test data intoINPUTfolderExample:
import
-
Command
alloraβ Generates resource files fromINPUTintoOUTPUTExample:
all
- Command
rhtmlβ Outputs processed HTML text formatted forUnity TextMeshPro
- Command
exit/e/qβ Exit application
- Command starting with
::textβ Searches for matching text inside embedded data inFLResources.dll
- Command starting with
::489β Searches for matching identifiers inside embedded data
β¨Dvurechenskyβ¨








