Open snake-biscuits opened 1 year ago
We will need test maps w/ signatures for each BspClass
The only compilers I know of which leave signatures are Radiant & it's forks
BspClass | Editor | Compiler |
---|---|---|
id_software.IdTechBsp |
GtkRadiant |
q3map2 |
respawn.RespawnBsp |
MRVN-Radiant |
remap |
The only compilers I know of which leave signatures are Radiant & it's forks
Could check MegaTest bsps for signatures & do something with those generated statistics
Capturing IdTechBsp signatures revealed a header for LUMP_ADVERTISMENTS
[^ads]
This appears to be a Quake Live (IBSP v47
) feature[^struct], but appears in tests/maps/Quake 3 Arena/mp_lobby.bsp
(v46
)
[^ads]: TTimo/GtkRadiant on GitHub: q3map2/bspfile_ibsp.c
[^struct]: TTimo/GtkRadiant on GitHub: q3map2/q3map2.h
Would be nice to see the Compiler Signatures left behind by some compilers This can provide us with useful information about a
.bsp
's specific quirks Being able to sign our own edits would also be usefulAll the signatures I have seen are placed immediately after lump headers Implementation would have to be per
BspClass._preload
method Capturing other hidden information placed between lumps would be niceTies into #15, since we capture more of the raw bytes to save back into the new copy Might also be relevant to
XBSP
extensions toQuakeBsp
which include extra lumps on the tail of the.bsp
BspClasses with signature capture:
id_software.QuakeBsp
id_software.ReMakeQuakeBsp
id_software.IdTechBsp
id_software.D3DBsp
ritual.RitualBsp
valve.ValveBsp
respawn.RespawnBsp