(04-12-2023, 01:19 PM)tetTris Wrote: Load the first LOD only is on by default, having the parameter enabled or not does not make a difference and still fails to load the .mdls either way.
I can provide sample files if that will help with identifying the problem, perhaps the method I used to extract the contents of the .grps has produced slightly different results to yours.
I used the QuickBMS script below to extract the .grp files.
Unfortunately it does not work correctly on some .grp files (I have got zero filled files!).
# Dagor Engine GRP2 Archives: War Thunder, Crossout
# script for QuickBMS
http://quickbms.aluigi.org
Comtype ZSTD
IDString "GRP2"
Get grp2Size Asize
Get dataHeaderSize Long
Get dataHeaderSize Long
Get dataSize Long
Get offsetStrings Long
Get numStrings Long
Get unknown Long
Get unknown Long
Get offsetTables Long
Get numTables Long
Get unknown Long
Get unknown Long
Get offsetTables2 Long
Get numTables2 Long
Get unknown Long
Get unknown Long
For I = 1 to numStrings
GoTo offsetStrings
Get offsetName Long
SavePos offsetStrings
GoTo offsetName
Get nameFile String
PutArray 0 I nameFile
Next I
GoTo offsetTables
For I = 1 to numTables
Get unknown Short
Get unknown Short
Get offset Long
Get nameId Short
Get unknown Short
Math nameId + 1
PutArray 1 I offset
PutArray 2 I nameId
Next I
For I = 1 to numTables
GetArray offset 1 I
GetArray nameId 2 I
GetArray nameFile 0 nameId
if I < numTables
XMath nextTableId "I + 1"
GetArray nextOffset 1 nextTableId
XMath size "nextOffset - offset"
else
XMath size "grp2Size - offset"
endif
Log MEMORY_FILE offset size
Get sign Long MEMORY_FILE
if sign == 0xFD2FB528
Log nameFile 0 size MEMORY_FILE
else
Log nameFile 0 size MEMORY_FILE
endif
Next I