H3EK and H3ODSTEK tag_data_resize failed Import Failure Fix

⭐ — (5 endorsements) 📥 158 downloads 📌 v1.0 📅 4/25/2022
⚪ Last updated 2023

By PepperMan and num005 and Krevil · Utilities

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 6/30/2023 📅 Created: 4/25/2022

🔍 Analysis

  • 🏆 #11 of 18 Utilities mods in this game by downloads

📋 About This Mod

If you export a JMS or ASS file from blender that is larger than ~100-120MB, you will run into the "-ERROR- failed to add import info - tag_data_resize() failed" error, which completely prevents you from importing the model/map. This is a

DEPRECATED - The Editing Kits have been patched to avoid this issue as of 12th July 2023

Credit to num005 for making the original version of this patch, and Krevil for fixing bugs/and making the python script

I have simply found the new offsets for the latest version of tool.exe, as the old patch no longer worked due to updates

MAKE A BACKUP OF TOOL. EXE IF YOU PATCH IT MANUALLY, JUST IN CASE (the python script automatically makes backups)

This patch will cease to work if and when tool.exe is updated in the future, if I have time I will try to update this

This patch comes with version of both H3EK tool.exe and H3ODSTEK tool.exe. These are not interchangeable, make sure you pick the right version!

Info on what this patch does/how it works:

The editing kit's tool.exe attempts to write "import info" into any tag it makes from JMS or ASS files. This is so that you can use the "tool extract-import-info" command to re-extract the JMS/ASS file from the model, in case you need to (say, in case you deleted the original files). However, tool.exe fails to write import info for files larger than ~100-120MB due to size limitations imposed by the original devs. Without the source code for tool.exe, we cannot really remove the size limitation. However, what we can do is simply bypass the code that tells tool.exe to crash and prevent importing when it fails to add import info. This way, you can successfully import essentially unlimited file sizes (there is probably a hard limit somewhere, but its is probably above ~1GB).

Bare in mind that with this patch, if your file is over the original size limit, it will now import, but import info will not be included in the tag! This means you need to very careful about keeping the source files safe, as if you lose them, you can't simply extract the source info back from the tag like usual.

Any files under the original size limit will be completely unaffected by this patch, and will contain import info as normal.

Installation:

You have two options - if you have python installed on your machine, it will be quickest and easiest to download the python files. If not, you can manually edit the exe with a hex editor like HxD.

Python installation method:

1. Download the right python file for your version (either Halo 3, or Halo 3 ODST)

2. Place the python script in the root directory of your editing kit, either H3EK or H3ODSTEK

3. Click the address bar at the top of Explorer, type CMD, and hit enter to start a command prompt in this folder

4. Type either of the following commands, depending on which game version this is for:

"python h3_tool_patch.py" for H3, or "python odst_tool_patch.py[

📊 Mod Details

Game
Halothemasterchiefcollection Mods
Author
PepperMan and num005 and Krevil
Version
1.0
Downloads
158
Endorsements
5
Category
Utilities
Created
4/25/2022
Updated
6/30/2023

🔧 How to Install Halo: The Master Chief Co Mods

Download from Nexus Mods.

📖 Full step-by-step install guide for Halo: The Master Chief Co →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Halo: The Master Chief Co commands, item IDs, and more.

Keep browsing — more Halo: The Master Chief Co mods await

📋 All Halo: The Master Chief Co Mods 🏆 Top 25 📂 More Utilities 👤 More by PepperMan and num005 and Krevil 🔎 Similar Mods 🌐 Best Utilities (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods