Files
REM-Mod/tools/README.md
NekuraMew 4bce9f6880 New REM client: drop the old plugins and hook leftovers, art sources to ART/UI
The native REM client replaces the dacom plugins (rem-essentials, jflp, numeric,
moors, ranks, shipclass, engclass, storyfactions, ...), the FLAR / ReShade /
DLSS renderer hooks and the Lua event scripts of the ClientHook (all empty or
unused); dacom.ini and dacomsrv.ini no longer load them. flserver.exe and
mysqlcppconn.dll belong to the server. The first-person camera zones are
deferred. The ClientHook's pictures move to ART/UI as the sources of the
generators in tools. REM/Audio and REM/Avatars stay.
2026-10-29 20:21:12 +01:00

20 lines
1.2 KiB
Markdown

# REM tools
Generators for the REM interface art (Python 3, no extra packages). Inputs are PNGs (8 or 16 bit),
the pictures of the old ClientHook are in `ART/UI`.
| Script | Makes |
|---|---|
| `make_icon_3db.py <in.png> <out.3db> <name> [--color]` | a NeuroNet-style icon (grey, tinted by the game), e.g. the REM bar icons in `DATA/INTERFACE/NEURONET/ICONS/rem_*.3db` |
| `make_image_3db.py <in.png> <out.3db> <name> [--size N] [--nocrop] [--crop x0,y0,x1,y1]` | a coloured picture for the REM windows (medals, row icons, banners) in `DATA/INTERFACE/REM/IMAGES` |
| `make_hud_txm.py <out.txm> <name>=<in.png> ...` | the HUD texture file `DATA/INTERFACE/REM/rem_hud.txm` (target marks) |
`<name>` must be unique per file: it becomes the material, texture and mesh names, and
Freelancer keys materials globally by the CRC of the name. `utf.py` (UTF files) and `flcrc.py`
(Freelancer's name CRC) are shared helpers.
Examples:
python tools/make_image_3db.py ART/UI/ICON/Cargo_icon.png DATA/INTERFACE/REM/IMAGES/icon_cargo.3db icon_cargo --size 128
python tools/make_image_3db.py ART/UI/CONTRACTS/combat_image.png DATA/INTERFACE/REM/IMAGES/contracts_banner.3db contracts_banner --size 512 --nocrop --crop 0,420,1600,1220