Giter Site home page Giter Site logo

haloinfinitemoduleunpacker's People

Contributors

montaguem avatar soupstream avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

haloinfinitemoduleunpacker's Issues

does anything work anymore?

trying to extract files just throws up this error...

  File "B:\Github\HIMU_DozzaBB\unpacker.py", line 176, in <module>
    extract_all_modules()
  File "B:\Github\HIMU_DozzaBB\unpacker.py", line 168, in extract_all_modules
    extract_module(file.replace(".module", ""))
  File "B:\Github\HIMU_DozzaBB\unpacker.py", line 146, in extract_module
    decompressor = OodleDecompressor('I:/oo2core_8_win64.dll')
  File "B:\Github\HIMU_DozzaBB\unpacker.py", line 18, in __init__
    raise Exception("Could not open Oodle DLL, make sure it is configured correctly.")
Exception: Could not open Oodle DLL, make sure it is configured correctly.```

"Unsupported file version" error

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?

List of broken modules

These modules cannot be fully extracted as of now:

  • /any/globals/globals-rtx-new.module
  • /any/globals/multiplayer_r1-rtx-new.module
  • /any/globals/forge/forge_objects-rtx-new.module
  • /any/levels/multi/academy_weapon_drills/academy_weapon_drills-rtx-new.module
  • /any/levels/multi/btb_drydock/btb_drydock-rtx-new.module
  • /any/levels/multi/btb_fragmentation/btb_fragmentation-rtx-new.module
  • /any/levels/multi/btb_highpower/btb_highpower-rtx-new.module
  • /any/levels/multi/ctf_aquarius/ctf_aquarius-rtx-new.module
  • /any/globals/common-rtx-new.module
  • /any/levels/multi/ctf_bazaar/ctf_bazaar-rtx-new.module
  • /any/levels/multi/sgh_blueprint/sgh_blueprint-rtx-new.module
  • /any/levels/multi/sgh_streets/sgh_streets-rtx-new.module
  • /any/levels/multi/va_behemoth/va_behemoth-rtx-new.module
  • /any/levels/multi/va_launchsite/va_launchsite-rtx-new.module
  • /any/levels/ui/mainmenu/mainmenu-rtx-new.module
  • /pc/globals/common-rtx-new.module

The rest of the modules should extract fine

Receiving this error when trying to run.

if name == "main":
unpack_path = "C:/Users/kevin/Desktop/gmod related/GMOD Workshop/Halo Infinite/content"
deploy_path = "C:/SteamLibrary/steamapps/common/Halo Infinite/deploy/"
module_name = "pc/globals/common-rtx-new"
# extract_module(module_name)
extract_all_modules()

## pc/globals/forge/forge_objects-rtx-new.module is broken

= RESTART: C:\Users\kevin\Desktop\Programs and installers\Halo Infinite Model Ripper\HaloInfiniteModuleUnpacker-main\unpacker.py
any/globals/campaign-rtx-new.module
File count: 23296
any/globals/common-rtx-new.module
File count: 17631
Traceback (most recent call last):
File "C:\Users\kevin\Desktop\Programs and installers\Halo Infinite Model Ripper\HaloInfiniteModuleUnpacker-main\unpacker.py", line 226, in
extract_all_modules()
File "C:\Users\kevin\Desktop\Programs and installers\Halo Infinite Model Ripper\HaloInfiniteModuleUnpacker-main\unpacker.py", line 218, in extract_all_modules
extract_module(file.replace(".module", ""))
File "C:\Users\kevin\Desktop\Programs and installers\Halo Infinite Model Ripper\HaloInfiniteModuleUnpacker-main\unpacker.py", line 209, in extract_module
with open(t1e.save_path, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/kevin/Desktop/gmod related/GMOD Workshop/Halo Infinite/content__chore/gen__/compositions/narrative/mp/academy/nar_mp_academy_crowd_spartans_prepare/nar_mp_academy_crowd_spartans_prepare_01{trim}storm_masterchief_1-1232929242{v3}.model_animation_graph'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.