zeddidragon / sgott

SGO Transformation Tool
20 stars 5 forks source link

edf6 some object Transformation fail #25

Open sonying opened 1 month ago

sonying commented 1 month ago

D:\tt\unc\OBJECT>sgott.exe -v sgott 1.12.0 SGO Transformation Tool, SGO to JSON and back.

D:\tt\unc\OBJECT>sgott.exe DAMAGE_TEST.SGO undefined:0

TypeError: object is not a function at decompileSgo (C:\snapshot\sgott\converters\sgo\to-json.js) at Extra (C:\snapshot\sgott\converters\sgo\to-json.js) at Deref (C:\snapshot\sgott\converters\decompiler.js) at Array.StructDef (C:\snapshot\sgott\converters\decompiler.js) at UnionDef (C:\snapshot\sgott\converters\decompiler.js) at C:\snapshot\sgott\converters\sgo\to-json.js at C:\snapshot\sgott\converters\decompiler.js at Array.map () at CollectionDef (C:\snapshot\sgott\converters\decompiler.js) at Deref (C:\snapshot\sgott\converters\decompiler.js)

D:\tt\unc\OBJECT>sgott.exe DRAGONSMALL401.SGO undefined:0

TypeError: object is not a function at decompileSgo (C:\snapshot\sgott\converters\sgo\to-json.js) at Extra (C:\snapshot\sgott\converters\sgo\to-json.js) at Deref (C:\snapshot\sgott\converters\decompiler.js) at Array.StructDef (C:\snapshot\sgott\converters\decompiler.js) at UnionDef (C:\snapshot\sgott\converters\decompiler.js) at C:\snapshot\sgott\converters\sgo\to-json.js at C:\snapshot\sgott\converters\decompiler.js at Array.map () at CollectionDef (C:\snapshot\sgott\converters\decompiler.js) at Deref (C:\snapshot\sgott\converters\decompiler.js)

D:\tt\unc\OBJECT>sgott.exe E517_ANTHILL.SGO undefined:0

TypeError: object is not a function at decompileSgo (C:\snapshot\sgott\converters\sgo\to-json.js) at Extra (C:\snapshot\sgott\converters\sgo\to-json.js) at Deref (C:\snapshot\sgott\converters\decompiler.js) at Array.StructDef (C:\snapshot\sgott\converters\decompiler.js) at UnionDef (C:\snapshot\sgott\converters\decompiler.js) at C:\snapshot\sgott\converters\sgo\to-json.js at C:\snapshot\sgott\converters\decompiler.js at Array.map () at CollectionDef (C:\snapshot\sgott\converters\decompiler.js) at Deref (C:\snapshot\sgott\converters\decompiler.js)

D:\tt\unc\OBJECT>sgott.exe E602_BERSERKER_LARGE_PUNCH.SGO Cursor 0x10 (LE) 00000000: 4453 474f 1000 0000 0602 0000 1000 0000 00000010: 6020 0000 0000 0000 0300 0000 0000 0000 00000020: b021 0000 0000 0000 0300 0000 0000 0000 00000030: b821 0000 0000 0000 0300 0000 0000 0000 undefined:0

Error: Type definition missing: 4 at DUnionDef (C:\snapshot\sgott\converters\dsgo\to-json.js) at C:\snapshot\sgott\converters\decompiler.js at Array.map () at CollectionDef (C:\snapshot\sgott\converters\decompiler.js) at Deref (C:\snapshot\sgott\converters\decompiler.js) at StructDef (C:\snapshot\sgott\converters\decompiler.js) at decompile (C:\snapshot\sgott\converters\decompiler.js) at decompileDsgo (C:\snapshot\sgott\converters\dsgo\to-json.js) at Object.dsgo (C:\snapshot\sgott\sgott.js) at handle (C:\snapshot\sgott\sgott.js)

D:\tt\unc\OBJECT>sgott.exe E614_GRANDMOTHER_CANNON01.SGO Cursor 0x10 (LE) 00000000: 4453 474f 1000 0000 8500 0000 1000 0000 00000010: 5008 0000 0000 0000 0300 0000 0000 0000 00000020: f008 0000 0000 0000 0300 0000 0000 0000 00000030: 0000 0000 0000 f03f 0000 0000 0000 0000 undefined:0

Error: Type definition missing: 4 at DUnionDef (C:\snapshot\sgott\converters\dsgo\to-json.js) at C:\snapshot\sgott\converters\decompiler.js at Array.map () at CollectionDef (C:\snapshot\sgott\converters\decompiler.js) at Deref (C:\snapshot\sgott\converters\decompiler.js) at StructDef (C:\snapshot\sgott\converters\decompiler.js) at decompile (C:\snapshot\sgott\converters\decompiler.js) at decompileDsgo (C:\snapshot\sgott\converters\dsgo\to-json.js) at Object.dsgo (C:\snapshot\sgott\sgott.js) at handle (C:\snapshot\sgott\sgott.js)

AUK233 commented 1 week ago

If it uses a node of type 4, it will convert failure. Now sgott does not support parse type 4. Because it is a complex arithmetic function.