Page 7 of 34

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Nov 10, 2020 11:17 pm
by jayn23
Kind of looking at the AMY file linked.
Haven't tried it with your Noesis stuff but it appears like a normal GR2 and opens fine in several versions of grannyviewer I have.
I even ran a CRC check on the files and they are correct.
(Some GR2 files report a bad CRC and will not open even in Grannyviewer! I broke that problem a long time ago!)
1st thought is that maybe some stuff is stored in different sections from the most common sections used.
I'll look closer in the next several days as I have some free time.
Its defiantly not a CRC error, you can see that in granny viewer and i am getting the same values as granny viewer.
I am getting the same error i got when i started using ctypes in python and i was sending the wrong parameters to the GrannyDecompressData@32 function (i was sending a bytesarray of the wrong size)

if my script were in C++ it would have been easier :P

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Nov 10, 2020 11:30 pm
by 05SpeedMaster
Line 3267 is the error I get.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Wed Nov 11, 2020 12:32 am
by mono24
I cant seem to load the smurfs sample, since is PS3 i wonder maybe due to endianness?
Can you please take a look if you have some time.
sample.zip

Code: Select all

Detected file type: GR2 Reader
Format not supported
Traceback (most recent call last):
  File "C:\noesis\plugins\python\fmt_GR2reader121.py", line 3267, in noepyLoadModel
    for model in Models:
TypeError: 'int' object is not iterable

Re: Granny .GR2 Reader plugin for Noesis

Posted: Wed Nov 11, 2020 9:45 am
by jayn23
Line 3267 is the error I get.
CODE: SELECT ALL

Detected file type: GR2 Reader
Format not supported
Traceback (most recent call last):
File "C:\noesis\plugins\python\fmt_GR2reader121.py", line 3267, in noepyLoadModel
for model in Models:
TypeError: 'int' object is not iterable
If you notice right under "Detected file type:..." it says Format not supported, when that happens it returns a 0 for the entire function and for model in Models becomes for 0 in models, ill fix it so that dosent happen again.

I will upload a debug version later today where everything is changed to big endian and all parameters are printed out, hopefully that will help pin point the issue.
I cant seem to load the smurfs sample, since is PS3 i wonder maybe due to endianness?
Can you please take a look if you have some time.
Its the exact same issue i am having with sample by Predator0000, first issue is that magic wasn't recognized by the script so it didnt know its a big endian format, but fixing it manually and adjusting my script to big endian didnt help because for some reason it crashes when it reaches the decompress function i am using from granny2.dll

Re: Granny .GR2 Reader plugin for Noesis

Posted: Wed Nov 11, 2020 10:36 am
by jayn23
Here is the debug version,
This currently does not work so no point in downloading unless you can help solve the issue, but any help is welcome :)

What i did :
Ignore missing magic number (for now its always set to big endian)
change from little endian to big endian.
Enabled Debug console for noesis
Printed out all variables until decompression function where it crashes.
Added in line 2732 a return command so all printed data can be viewed, if it reaches function on line 2733 noesis crashes in it wont continue.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Nov 12, 2020 2:09 am
by mono24
jayn23 wrote: Wed Nov 11, 2020 10:36 am...unless you can help solve the issue, but any help is welcome :)...
I am no reverser and all i can do is provide the output on many samples i tried, a lot of reversers here can help of course if they want to or if you contact them i guess? Someone like chrrox, Joschka or even Noesis developer himself can provide better assistance i think.

Code: Select all

Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 216772
crc32 4182555030
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 200824
decompressed_size 490904
alignment 4
first16bit 92760
first8bit 92760
relocations_offset 201684
relocations_count 721
marshallings_offset 210336
marshallings_count 4


Starting new section
compression 2
data_offset 201280
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 210400
relocations_count 0
marshallings_offset 210400
marshallings_count 0


Starting new section
compression 2
data_offset 201280
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 210400
relocations_count 0
marshallings_offset 210400
marshallings_count 0


Starting new section
compression 2
data_offset 201280
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 210400
relocations_count 0
marshallings_offset 210400
marshallings_count 0


Starting new section
compression 2
data_offset 201280
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 210400
relocations_count 0
marshallings_offset 210400
marshallings_count 0


Starting new section
compression 0
data_offset 201280
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 210400
relocations_count 0
marshallings_offset 210400
marshallings_count 0


Starting new section
compression 2
data_offset 201280
data_size 404
decompressed_size 16576
alignment 4
first16bit 16576
first8bit 16576
relocations_offset 210400
relocations_count 531
marshallings_offset 216772
marshallings_count 0


Starting new section
compression 2
data_offset 201684
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 216772
relocations_count 0
marshallings_offset 216772
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1208996
crc32 2354326072
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 1184516
decompressed_size 3014440
alignment 4
first16bit 503920
first8bit 503920
relocations_offset 1185376
relocations_count 1437
marshallings_offset 1202620
marshallings_count 4


Starting new section
compression 2
data_offset 1184972
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1202684
relocations_count 0
marshallings_offset 1202684
marshallings_count 0


Starting new section
compression 2
data_offset 1184972
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1202684
relocations_count 0
marshallings_offset 1202684
marshallings_count 0


Starting new section
compression 2
data_offset 1184972
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1202684
relocations_count 0
marshallings_offset 1202684
marshallings_count 0


Starting new section
compression 2
data_offset 1184972
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1202684
relocations_count 0
marshallings_offset 1202684
marshallings_count 0


Starting new section
compression 0
data_offset 1184972
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1202684
relocations_count 0
marshallings_offset 1202684
marshallings_count 0


Starting new section
compression 2
data_offset 1184972
data_size 404
decompressed_size 16448
alignment 4
first16bit 16448
first8bit 16448
relocations_offset 1202684
relocations_count 526
marshallings_offset 1208996
marshallings_count 0


Starting new section
compression 2
data_offset 1185376
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1208996
relocations_count 0
marshallings_offset 1208996
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 6106464
crc32 2352594078
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 1325480
decompressed_size 2305700
alignment 4
first16bit 54112
first8bit 54112
relocations_offset 6075524
relocations_count 2049
marshallings_offset 6100112
marshallings_count 4


Starting new section
compression 2
data_offset 1325936
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 6100176
relocations_count 0
marshallings_offset 6100176
marshallings_count 0


Starting new section
compression 2
data_offset 1325936
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6100176
relocations_count 0
marshallings_offset 6100176
marshallings_count 0


Starting new section
compression 2
data_offset 1325936
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 6100176
relocations_count 0
marshallings_offset 6100176
marshallings_count 0


Starting new section
compression 2
data_offset 1325936
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6100176
relocations_count 0
marshallings_offset 6100176
marshallings_count 0


Starting new section
compression 0
data_offset 1325936
data_size 4749192
decompressed_size 4749192
alignment 4
first16bit 0
first8bit 0
relocations_offset 6100176
relocations_count 0
marshallings_offset 6100176
marshallings_count 0


Starting new section
compression 2
data_offset 6075128
data_size 396
decompressed_size 16352
alignment 4
first16bit 16352
first8bit 16352
relocations_offset 6100176
relocations_count 524
marshallings_offset 6106464
marshallings_count 0


Starting new section
compression 2
data_offset 6075524
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6106464
relocations_count 0
marshallings_offset 6106464
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 199352
crc32 2977333219
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 12248
decompressed_size 39916
alignment 4
first16bit 13916
first8bit 13916
relocations_offset 187912
relocations_count 475
marshallings_offset 193612
marshallings_count 7


Starting new section
compression 2
data_offset 12704
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 193724
relocations_count 0
marshallings_offset 193724
marshallings_count 0


Starting new section
compression 2
data_offset 12704
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 193724
relocations_count 0
marshallings_offset 193724
marshallings_count 0


Starting new section
compression 2
data_offset 12704
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 193724
relocations_count 0
marshallings_offset 193724
marshallings_count 0


Starting new section
compression 2
data_offset 12704
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 193724
relocations_count 0
marshallings_offset 193724
marshallings_count 0


Starting new section
compression 0
data_offset 12704
data_size 174816
decompressed_size 174816
alignment 4
first16bit 0
first8bit 0
relocations_offset 193724
relocations_count 0
marshallings_offset 193724
marshallings_count 0


Starting new section
compression 2
data_offset 187520
data_size 392
decompressed_size 14496
alignment 4
first16bit 14496
first8bit 14496
relocations_offset 193724
relocations_count 469
marshallings_offset 199352
marshallings_count 0


Starting new section
compression 2
data_offset 187912
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 199352
relocations_count 0
marshallings_offset 199352
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 2776564
crc32 3391606108
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 873808
decompressed_size 2414928
alignment 4
first16bit 384540
first8bit 754192
relocations_offset 2272928
relocations_count 33273
marshallings_offset 2672204
marshallings_count 5966


Starting new section
compression 2
data_offset 874264
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 2767660
relocations_count 0
marshallings_offset 2767660
marshallings_count 0


Starting new section
compression 2
data_offset 874264
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 2767660
relocations_count 0
marshallings_offset 2767660
marshallings_count 0


Starting new section
compression 2
data_offset 874264
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 2767660
relocations_count 0
marshallings_offset 2767660
marshallings_count 0


Starting new section
compression 2
data_offset 874264
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 2767660
relocations_count 0
marshallings_offset 2767660
marshallings_count 0


Starting new section
compression 0
data_offset 874264
data_size 1398128
decompressed_size 1398128
alignment 4
first16bit 0
first8bit 0
relocations_offset 2767660
relocations_count 0
marshallings_offset 2767660
marshallings_count 0


Starting new section
compression 2
data_offset 2272392
data_size 536
decompressed_size 23424
alignment 4
first16bit 23424
first8bit 23424
relocations_offset 2767660
relocations_count 742
marshallings_offset 2776564
marshallings_count 0


Starting new section
compression 2
data_offset 2272928
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 2776564
relocations_count 0
marshallings_offset 2776564
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1976756
crc32 1386804283
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 523280
decompressed_size 1116632
alignment 4
first16bit 114168
first8bit 178532
relocations_offset 1922308
relocations_count 3413
marshallings_offset 1963264
marshallings_count 409


Starting new section
compression 2
data_offset 523736
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1969808
relocations_count 0
marshallings_offset 1969808
marshallings_count 0


Starting new section
compression 2
data_offset 523736
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1969808
relocations_count 0
marshallings_offset 1969808
marshallings_count 0


Starting new section
compression 2
data_offset 523736
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1969808
relocations_count 0
marshallings_offset 1969808
marshallings_count 0


Starting new section
compression 2
data_offset 523736
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1969808
relocations_count 0
marshallings_offset 1969808
marshallings_count 0


Starting new section
compression 0
data_offset 523736
data_size 1398128
decompressed_size 1398128
alignment 4
first16bit 0
first8bit 0
relocations_offset 1969808
relocations_count 0
marshallings_offset 1969808
marshallings_count 0


Starting new section
compression 2
data_offset 1921864
data_size 444
decompressed_size 17920
alignment 4
first16bit 17920
first8bit 17920
relocations_offset 1969808
relocations_count 579
marshallings_offset 1976756
marshallings_count 0


Starting new section
compression 2
data_offset 1922308
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1976756
relocations_count 0
marshallings_offset 1976756
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1447468
crc32 1082396615
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 139664
decompressed_size 497160
alignment 4
first16bit 188308
first8bit 227104
relocations_offset 1189280
relocations_count 16499
marshallings_offset 1387268
marshallings_count 3245


Starting new section
compression 2
data_offset 140120
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1439188
relocations_count 0
marshallings_offset 1439188
marshallings_count 0


Starting new section
compression 2
data_offset 140120
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1439188
relocations_count 0
marshallings_offset 1439188
marshallings_count 0


Starting new section
compression 2
data_offset 140120
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1439188
relocations_count 0
marshallings_offset 1439188
marshallings_count 0


Starting new section
compression 2
data_offset 140120
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1439188
relocations_count 0
marshallings_offset 1439188
marshallings_count 0


Starting new section
compression 0
data_offset 140120
data_size 1048656
decompressed_size 1048656
alignment 4
first16bit 0
first8bit 0
relocations_offset 1439188
relocations_count 0
marshallings_offset 1439188
marshallings_count 0


Starting new section
compression 2
data_offset 1188776
data_size 504
decompressed_size 21504
alignment 4
first16bit 21504
first8bit 21504
relocations_offset 1439188
relocations_count 690
marshallings_offset 1447468
marshallings_count 0


Starting new section
compression 2
data_offset 1189280
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1447468
relocations_count 0
marshallings_offset 1447468
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1587496
crc32 3695687553
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 119696
decompressed_size 275300
alignment 4
first16bit 86464
first8bit 119800
relocations_offset 1518816
relocations_count 4471
marshallings_offset 1572468
marshallings_count 517


Starting new section
compression 2
data_offset 120152
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1580740
relocations_count 0
marshallings_offset 1580740
marshallings_count 0


Starting new section
compression 2
data_offset 120152
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1580740
relocations_count 0
marshallings_offset 1580740
marshallings_count 0


Starting new section
compression 2
data_offset 120152
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1580740
relocations_count 0
marshallings_offset 1580740
marshallings_count 0


Starting new section
compression 2
data_offset 120152
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1580740
relocations_count 0
marshallings_offset 1580740
marshallings_count 0


Starting new section
compression 0
data_offset 120152
data_size 1398208
decompressed_size 1398208
alignment 4
first16bit 0
first8bit 0
relocations_offset 1580740
relocations_count 0
marshallings_offset 1580740
marshallings_count 0


Starting new section
compression 2
data_offset 1518360
data_size 456
decompressed_size 17472
alignment 4
first16bit 17472
first8bit 17472
relocations_offset 1580740
relocations_count 563
marshallings_offset 1587496
marshallings_count 0


Starting new section
compression 2
data_offset 1518816
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1587496
relocations_count 0
marshallings_offset 1587496
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 546632
crc32 1032698123
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 119924
decompressed_size 253540
alignment 4
first16bit 78216
first8bit 78216
relocations_offset 514116
relocations_count 2123
marshallings_offset 539592
marshallings_count 68


Starting new section
compression 2
data_offset 120380
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 540680
relocations_count 0
marshallings_offset 540680
marshallings_count 0


Starting new section
compression 2
data_offset 120380
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 540680
relocations_count 0
marshallings_offset 540680
marshallings_count 0


Starting new section
compression 2
data_offset 120380
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 540680
relocations_count 0
marshallings_offset 540680
marshallings_count 0


Starting new section
compression 2
data_offset 120380
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 540680
relocations_count 0
marshallings_offset 540680
marshallings_count 0


Starting new section
compression 0
data_offset 120380
data_size 393336
decompressed_size 393336
alignment 4
first16bit 0
first8bit 0
relocations_offset 540680
relocations_count 0
marshallings_offset 540680
marshallings_count 0


Starting new section
compression 2
data_offset 513716
data_size 400
decompressed_size 15424
alignment 4
first16bit 15424
first8bit 15424
relocations_offset 540680
relocations_count 496
marshallings_offset 546632
marshallings_count 0


Starting new section
compression 2
data_offset 514116
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 546632
relocations_count 0
marshallings_offset 546632
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 8312052
crc32 4744665
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 7523196
decompressed_size 13648148
alignment 4
first16bit 45020
first8bit 45020
relocations_offset 8273592
relocations_count 3004
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 2
data_offset 7523652
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 8309640
relocations_count 0
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 2
data_offset 7523652
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 8309640
relocations_count 0
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 2
data_offset 7523652
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 8309640
relocations_count 0
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 2
data_offset 7523652
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 8309640
relocations_count 0
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 0
data_offset 7523652
data_size 749712
decompressed_size 749712
alignment 4
first16bit 0
first8bit 0
relocations_offset 8309640
relocations_count 0
marshallings_offset 8309640
marshallings_count 0


Starting new section
compression 2
data_offset 8273364
data_size 228
decompressed_size 5824
alignment 4
first16bit 5824
first8bit 5824
relocations_offset 8309640
relocations_count 201
marshallings_offset 8312052
marshallings_count 0


Starting new section
compression 2
data_offset 8273592
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 8312052
relocations_count 0
marshallings_offset 8312052
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 412464
crc32 2590575078
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 388932
decompressed_size 987544
alignment 4
first16bit 207320
first8bit 207320
relocations_offset 389792
relocations_count 1353
marshallings_offset 406028
marshallings_count 4


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 0
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 404
decompressed_size 16576
alignment 4
first16bit 16576
first8bit 16576
relocations_offset 406092
relocations_count 531
marshallings_offset 412464
marshallings_count 0


Starting new section
compression 2
data_offset 389792
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 412464
relocations_count 0
marshallings_offset 412464
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1033760
crc32 4148269757
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 291220
decompressed_size 864980
alignment 4
first16bit 174368
first8bit 579676
relocations_offset 816472
relocations_count 13954
marshallings_offset 983920
marshallings_count 2689


Starting new section
compression 2
data_offset 291676
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1026944
relocations_count 0
marshallings_offset 1026944
marshallings_count 0


Starting new section
compression 2
data_offset 291676
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1026944
relocations_count 0
marshallings_offset 1026944
marshallings_count 0


Starting new section
compression 2
data_offset 291676
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1026944
relocations_count 0
marshallings_offset 1026944
marshallings_count 0


Starting new section
compression 2
data_offset 291676
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1026944
relocations_count 0
marshallings_offset 1026944
marshallings_count 0


Starting new section
compression 0
data_offset 291676
data_size 524328
decompressed_size 524328
alignment 4
first16bit 0
first8bit 0
relocations_offset 1026944
relocations_count 0
marshallings_offset 1026944
marshallings_count 0


Starting new section
compression 2
data_offset 816004
data_size 468
decompressed_size 17632
alignment 4
first16bit 17632
first8bit 17632
relocations_offset 1026944
relocations_count 568
marshallings_offset 1033760
marshallings_count 0


Starting new section
compression 2
data_offset 816472
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1033760
relocations_count 0
marshallings_offset 1033760
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 978008
crc32 1158797737
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 268156
decompressed_size 794044
alignment 4
first16bit 166008
first8bit 470420
relocations_offset 793420
relocations_count 11779
marshallings_offset 934768
marshallings_count 2269


Starting new section
compression 2
data_offset 268612
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 971072
relocations_count 0
marshallings_offset 971072
marshallings_count 0


Starting new section
compression 2
data_offset 268612
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 971072
relocations_count 0
marshallings_offset 971072
marshallings_count 0


Starting new section
compression 2
data_offset 268612
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 971072
relocations_count 0
marshallings_offset 971072
marshallings_count 0


Starting new section
compression 2
data_offset 268612
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 971072
relocations_count 0
marshallings_offset 971072
marshallings_count 0


Starting new section
compression 0
data_offset 268612
data_size 524328
decompressed_size 524328
alignment 4
first16bit 0
first8bit 0
relocations_offset 971072
relocations_count 0
marshallings_offset 971072
marshallings_count 0


Starting new section
compression 2
data_offset 792940
data_size 480
decompressed_size 17984
alignment 4
first16bit 17984
first8bit 17984
relocations_offset 971072
relocations_count 578
marshallings_offset 978008
marshallings_count 0


Starting new section
compression 2
data_offset 793420
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 978008
relocations_count 0
marshallings_offset 978008
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 1220900
crc32 2670510535
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 331604
decompressed_size 806452
alignment 4
first16bit 242504
first8bit 460756
relocations_offset 856864
relocations_count 23709
marshallings_offset 1141372
marshallings_count 4543


Starting new section
compression 2
data_offset 332060
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1214060
relocations_count 0
marshallings_offset 1214060
marshallings_count 0


Starting new section
compression 2
data_offset 332060
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1214060
relocations_count 0
marshallings_offset 1214060
marshallings_count 0


Starting new section
compression 2
data_offset 332060
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 1214060
relocations_count 0
marshallings_offset 1214060
marshallings_count 0


Starting new section
compression 2
data_offset 332060
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1214060
relocations_count 0
marshallings_offset 1214060
marshallings_count 0


Starting new section
compression 0
data_offset 332060
data_size 524328
decompressed_size 524328
alignment 4
first16bit 0
first8bit 0
relocations_offset 1214060
relocations_count 0
marshallings_offset 1214060
marshallings_count 0


Starting new section
compression 2
data_offset 856388
data_size 476
decompressed_size 17760
alignment 4
first16bit 17760
first8bit 17760
relocations_offset 1214060
relocations_count 570
marshallings_offset 1220900
marshallings_count 0


Starting new section
compression 2
data_offset 856864
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 1220900
relocations_count 0
marshallings_offset 1220900
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 811108
crc32 1070289332
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 246332
decompressed_size 565860
alignment 4
first16bit 171768
first8bit 301304
relocations_offset 596800
relocations_count 13708
marshallings_offset 761296
marshallings_count 2688


Starting new section
compression 2
data_offset 246788
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 804304
relocations_count 0
marshallings_offset 804304
marshallings_count 0


Starting new section
compression 2
data_offset 246788
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 804304
relocations_count 0
marshallings_offset 804304
marshallings_count 0


Starting new section
compression 2
data_offset 246788
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 804304
relocations_count 0
marshallings_offset 804304
marshallings_count 0


Starting new section
compression 2
data_offset 246788
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 804304
relocations_count 0
marshallings_offset 804304
marshallings_count 0


Starting new section
compression 0
data_offset 246788
data_size 349552
decompressed_size 349552
alignment 4
first16bit 0
first8bit 0
relocations_offset 804304
relocations_count 0
marshallings_offset 804304
marshallings_count 0


Starting new section
compression 2
data_offset 596340
data_size 460
decompressed_size 17568
alignment 4
first16bit 17568
first8bit 17568
relocations_offset 804304
relocations_count 567
marshallings_offset 811108
marshallings_count 0


Starting new section
compression 2
data_offset 596800
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 811108
relocations_count 0
marshallings_offset 811108
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 4347236
crc32 3039442099
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 3361624
decompressed_size 5041416
alignment 4
first16bit 9356
first8bit 9356
relocations_offset 4337276
relocations_count 629
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 2
data_offset 3362080
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4344824
relocations_count 0
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 2
data_offset 3362080
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4344824
relocations_count 0
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 2
data_offset 3362080
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4344824
relocations_count 0
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 2
data_offset 3362080
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4344824
relocations_count 0
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 0
data_offset 3362080
data_size 974968
decompressed_size 974968
alignment 4
first16bit 0
first8bit 0
relocations_offset 4344824
relocations_count 0
marshallings_offset 4344824
marshallings_count 0


Starting new section
compression 2
data_offset 4337048
data_size 228
decompressed_size 5824
alignment 4
first16bit 5824
first8bit 5824
relocations_offset 4344824
relocations_count 201
marshallings_offset 4347236
marshallings_count 0


Starting new section
compression 2
data_offset 4337276
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4347236
relocations_count 0
marshallings_offset 4347236
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 412464
crc32 2590575078
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 388932
decompressed_size 987544
alignment 4
first16bit 207320
first8bit 207320
relocations_offset 389792
relocations_count 1353
marshallings_offset 406028
marshallings_count 4


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 0
data_offset 389388
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 406092
relocations_count 0
marshallings_offset 406092
marshallings_count 0


Starting new section
compression 2
data_offset 389388
data_size 404
decompressed_size 16576
alignment 4
first16bit 16576
first8bit 16576
relocations_offset 406092
relocations_count 531
marshallings_offset 412464
marshallings_count 0


Starting new section
compression 2
data_offset 389792
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 412464
relocations_count 0
marshallings_offset 412464
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 4409668
crc32 1030689437
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 3617172
decompressed_size 6388380
alignment 4
first16bit 36068
first8bit 36068
relocations_offset 4378504
relocations_count 2396
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 2
data_offset 3617628
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4407256
relocations_count 0
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 2
data_offset 3617628
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4407256
relocations_count 0
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 2
data_offset 3617628
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4407256
relocations_count 0
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 2
data_offset 3617628
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4407256
relocations_count 0
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 0
data_offset 3617628
data_size 760648
decompressed_size 760648
alignment 4
first16bit 0
first8bit 0
relocations_offset 4407256
relocations_count 0
marshallings_offset 4407256
marshallings_count 0


Starting new section
compression 2
data_offset 4378276
data_size 228
decompressed_size 5824
alignment 4
first16bit 5824
first8bit 5824
relocations_offset 4407256
relocations_count 201
marshallings_offset 4409668
marshallings_count 0


Starting new section
compression 2
data_offset 4378504
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4409668
relocations_count 0
marshallings_offset 4409668
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 4980408
crc32 3801495534
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 3081652
decompressed_size 6472816
alignment 4
first16bit 33800
first8bit 33800
relocations_offset 4951008
relocations_count 2249
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 2
data_offset 3082108
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4977996
relocations_count 0
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 2
data_offset 3082108
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4977996
relocations_count 0
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 2
data_offset 3082108
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 4977996
relocations_count 0
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 2
data_offset 3082108
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4977996
relocations_count 0
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 0
data_offset 3082108
data_size 1868672
decompressed_size 1868672
alignment 4
first16bit 0
first8bit 0
relocations_offset 4977996
relocations_count 0
marshallings_offset 4977996
marshallings_count 0


Starting new section
compression 2
data_offset 4950780
data_size 228
decompressed_size 5824
alignment 4
first16bit 5824
first8bit 5824
relocations_offset 4977996
relocations_count 201
marshallings_offset 4980408
marshallings_count 0


Starting new section
compression 2
data_offset 4951008
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 4980408
relocations_count 0
marshallings_offset 4980408
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 35756
crc32 4264538520
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 23912
decompressed_size 71940
alignment 4
first16bit 16624
first8bit 16624
relocations_offset 24772
relocations_count 379
marshallings_offset 29320
marshallings_count 4


Starting new section
compression 2
data_offset 24368
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 29384
relocations_count 0
marshallings_offset 29384
marshallings_count 0


Starting new section
compression 2
data_offset 24368
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 29384
relocations_count 0
marshallings_offset 29384
marshallings_count 0


Starting new section
compression 2
data_offset 24368
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 29384
relocations_count 0
marshallings_offset 29384
marshallings_count 0


Starting new section
compression 2
data_offset 24368
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 29384
relocations_count 0
marshallings_offset 29384
marshallings_count 0


Starting new section
compression 0
data_offset 24368
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 29384
relocations_count 0
marshallings_offset 29384
marshallings_count 0


Starting new section
compression 2
data_offset 24368
data_size 404
decompressed_size 16576
alignment 4
first16bit 16576
first8bit 16576
relocations_offset 29384
relocations_count 531
marshallings_offset 35756
marshallings_count 0


Starting new section
compression 2
data_offset 24772
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 35756
relocations_count 0
marshallings_offset 35756
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Detected file type: GR2 Reader
header size 456
header.format 0
version 7
file_size 6096444
crc32 2655721302
sections_offset 72
sections_count 8
type_section 6
type_offset 0
root_section 0
root_offset 0
Starting new section
compression 2
data_offset 456
data_size 5315004
decompressed_size 8801516
alignment 4
first16bit 35768
first8bit 35768
relocations_offset 6065400
relocations_count 2386
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 2
data_offset 5315460
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 6094032
relocations_count 0
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 2
data_offset 5315460
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6094032
relocations_count 0
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 2
data_offset 5315460
data_size 0
decompressed_size 0
alignment 32
first16bit 0
first8bit 0
relocations_offset 6094032
relocations_count 0
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 2
data_offset 5315460
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6094032
relocations_count 0
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 0
data_offset 5315460
data_size 749712
decompressed_size 749712
alignment 4
first16bit 0
first8bit 0
relocations_offset 6094032
relocations_count 0
marshallings_offset 6094032
marshallings_count 0


Starting new section
compression 2
data_offset 6065172
data_size 228
decompressed_size 5824
alignment 4
first16bit 5824
first8bit 5824
relocations_offset 6094032
relocations_count 201
marshallings_offset 6096444
marshallings_count 0


Starting new section
compression 2
data_offset 6065400
data_size 0
decompressed_size 0
alignment 4
first16bit 0
first8bit 0
relocations_offset 6096444
relocations_count 0
marshallings_offset 6096444
marshallings_count 0


Traceback (most recent call last):
  File "C:\noesis\plugins\python\Debug_GR2readerBig.py", line 3297, in noepyLoadModel
    for model in Models:
TypeError: 'NoneType' object is not iterable
Noesis doesn't crashes at all btw, only output above is shown in debug window, that's it.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Nov 12, 2020 7:05 am
by jayn23
I am no reverser and all i can do is provide the output on many samples i tried, a lot of reversers here can help of course if they want to or if you contact them i guess? Someone like chrrox, Joschka or even Noesis developer himself can provide better assistance i think.
Thanks for trying to help I appreciate it.
the reason its not crashing for you is because i added a return command 1 line above where it crashes so we can view the debug output,
If i would let it continue noesis would crash and we wouldn't be able to see any of the debug output.

I am going to try today one of the other .gr2 tools found on the web, if they work it will help figure out my problem.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Nov 12, 2020 3:17 pm
by jayn23
It just hit me that while i am sending all the correct parameters to the decompress function, it itself is reading all the compressed data in little endian and that's why its crashing, there is no way for me to tell the function to do it otherwise.

If anyone can send a granny2.dll used with a PS3 that would be great, if PS3 embedd granny in .exe file it might be a problem
Only other solution would be if you had a source and could build it while its defined to read big endian.


Edit:
My knowledge in C++ is very limited but i assume you define endianness within the function? globally? or do use some kind of swap function?

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Nov 12, 2020 3:39 pm
by Joschka
Maybe you could endian swap the compressed data before sending it to the decompressing function.

Code: Select all

compressedBytes = rapi.swapEndianArray(compressedBytes, 4)

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Nov 12, 2020 3:47 pm
by jayn23
Maybe you could endian swap the compressed data before sending it to the decompressing function.
Thanks a lot just might work :D

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Nov 13, 2020 9:26 am
by jayn23
Maybe you could endian swap the compressed data before sending it to the decompressing function.
CODE: SELECT ALL

compressedBytes = rapi.swapEndianArray(compressedBytes, 4)
Still crashing unfortunately,
Joschka, correct me if i am wrong but the 4 means it takes a chunk of 4 bytes each and swaps the order correct?
but if some of the parameters are shorts for example that would mess up the function, its only a guess but its my best one as to why i am still crashing.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Nov 13, 2020 10:43 am
by Joschka
Exactly, that was a dumb idea indeed as that compressed stream probably has short or bitpacked fields that would need to be swapped accordingly.
So unless you swap the whole stream manually (you probably don't want to do that unless the layout is very simple) I think you'll probably need to find a big endian decompressing function as you said.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Nov 13, 2020 3:54 pm
by Pepsee
Hello! I am really loving this plugin so far. Was curious if support for Mechassault 2: Lone Wolf for the Original Xbox will be added? I attached some sample files and even a script that was used on files from Oddworld: Stranger's Wrath.
The reason I attached the script is because unlike most of the .GR2 files here that also include a mesh, these .GR2 files contain solely animation/skeleton data. In the case of Stranger's Wrath the meshes were found in .geo.meshinfo files and for Mechassault 2, the meshes are in .MGModel files (just mesh data).


Here are the animation samples from Mechassault 2: Lone Wolf.
Blender249[Oddworld Stranger's Wrath][PC][SMD][2016-06-04].7z
If you need any more information regarding this I'd be happy to help!

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Nov 13, 2020 8:34 pm
by 05SpeedMaster
Concerning the AMY files:
I see a DiffuseColor0 thrown in the PrimaryVertexData info
Could that be a stumble point?

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Nov 14, 2020 6:27 pm
by jayn23
Concerning the AMY files:
I see a DiffuseColor0 thrown in the PrimaryVertexData info
Could that be a stumble point?
It defiantly was the big endian thing, started looking a decompression function and noticed there is a bytes-reversed option there when i swapped the 0 to 1 is worked no more crashing, should have looked at the functions more closely from the start, this is what happens when you dont touch something for a few months i guess [roll]

any way the code still has issues but i am confident i can fix them
Hello! I am really loving this plugin so far. Was curious if support for Mechassault 2: Lone Wolf for the Original Xbox will be added? I attached some sample files and even a script that was used on files from Oddworld: Stranger's Wrath.
The reason I attached the script is because unlike most of the .GR2 files here that also include a mesh, these .GR2 files contain solely animation/skeleton data. In the case of Stranger's Wrath the meshes were found in .geo.meshinfo files and for Mechassault 2, the meshes are in .MGModel files (just mesh data).
I am currently working on adding support for console versions once thats done most games should work, many games use granny only for skeleton/animation data - that's supported by script.