Skip to content

"Unsupported file version" error #7

@HarbingerDawn

Description

@HarbingerDawn

Using either extract_all or extract_module I get an "Unsupported file version" error:

Traceback (most recent call last):
  File "I:\Games\SteamLibrary\steamapps\common\Halo Infinite\HaloInfiniteModuleUnpacker-main\unpacker.py", line 225, in <module>
    extract_module(module_name)

  File "I:\Games\SteamLibrary\steamapps\common\Halo Infinite\HaloInfiniteModuleUnpacker-main\unpacker.py", line 53, in extract_module
    assert version == 51, "Unsupported file version"

AssertionError: Unsupported file version

I commented out line 53 to see the effect, resulting in the error "Offset given is not string offset, infinite parse detected":

Traceback (most recent call last):
  File "I:\Games\SteamLibrary\steamapps\common\Halo Infinite\HaloInfiniteModuleUnpacker-main\unpacker.py", line 225, in <module>
    extract_module(module_name)

  File "I:\Games\SteamLibrary\steamapps\common\Halo Infinite\HaloInfiniteModuleUnpacker-main\unpacker.py", line 117, in extract_module
    t1e.string = gf.offset_to_string(fb, string_table_offset+t1e.string_offset)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "I:\Games\SteamLibrary\steamapps\common\Halo Infinite\HaloInfiniteModuleUnpacker-main\gf.py", line 122, in offset_to_string
    raise TypeError('Offset given is not string offset, infinite parse detected')

TypeError: Offset given is not string offset, infinite parse detected

Any thoughts @MontagueM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions