Resinball
September 8th, 2013, 01:00 AM
http://www.h2mt.org/repository/images/logo/H2MT_large.gif
PRESENTS
H2v: take my globals.globals you dirty whore
by Kills Alone of the H2MT Crew
0fknyE88Am8
shared.map
I used a Hex Editor (http://www.h2mt.org/tools/etc/HEX/HxD/HxD.exe) to null out all references to globals.globals and its contents inside of the original H2EK shared.map; that is I set all of the lines to 0.
First I nulled out the globals location.
To replace the globals tag, back up your shared.map, and then open your current shared.map in a hex editor. Go to offset 0x94d6200. Change the text to any gibberish of your choosing, as long as it's the same size or less.
That forces it to include the globals tag during compilation.
-adolif2
Link: http://forum.halomaps.org/index.cfm?page=topic&topicID=39309
Then I went back in and searched for the text string ui\screen, there is only one reference so you will know you are in the right location. Overwrite all of the following with 0's:
multiplayer ui globals
singleplayer ui globals
mainmenu ui globals
interface goo map3
interface goo map2
interface goo map1
motion sensor blip bitmap
hud digits definition
multiplayer hud bitmap
motion sensor sweep bitmap mask
motion sensor sweep bitmap
hud globals
dialog color table
editor color table
hud color table
screen color table
shared.map - All Globals Removed SPPF (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/shared.map_-_All_Globals_Removed_SPPF.exe)
6.76KBs compressed (2MBs extracted)
UPDATE: Later I could not seem to duplicate this, so to make sure it will work I suggest the following:
Null (as in set to zero) Offset 094A9A01 through 095156D4.
Engine Version
Custom maps are labeled with a newer engine number then the original maps were. I cannot confirm it, but this engine number may be related to restrictions on custom content.
11081.07.04.30.0934.main - H2 Vista - default\resource map - OLDER ENGINE
11122.07.08.24.1808.main - H2 Vista - non-default\custom map - NEWER ENGINE
tool debug pc 11122.07.08.24.1808.main Aug 24 2007 18:10:17
02.09.27.09809 - H2 Xbox
Hex Header (http://dl.dropboxusercontent.com/u/43157158/halo2xboxmap.PNG)
02.06.28.07902 - H2 Xbox Beta
Hex Header (http://dl.dropboxusercontent.com/u/43157158/halo2betaxboxmap.PNG)
*If this number is set to all 0's the game will pause for a second then shutdown without an error.
H2Tool.exe
Then I went into H2Tool.exe (that has already been resource scenario fixed by adolif2) with the Hex editor.
I searched and found two instances of 11122.07.08.24.1808 (New Engine Label) which I overwrote with 11081.07.04.30.0934 (Old Engine Label).
H2Tool.exe - Engine UNLOCKED (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/H2Tool.exe_-_Engine_UNLOCKED.exe)
2.67MBs compressed (19.9MBs extracted)
This has the extra advantage of now letting you view/edit your custom H2v maps with Assembly 1.0.4817.30869 (http://www.h2mt.org/tools/2_Vista/Assembly/Assembly_1.0.4817.30869.exe).
H2EK "bin" folder
The bin folder contents were recreated by viewing the top of the original resource map files with the Hex editor and comparing them to the only headers that were included with the H2EK. Take note; I am not sure if they are all labeled correctly.
bin - Resource Header and Database files (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/bin_Resource_Header_Database.exe)
431KBs
startup.exe
I found that you can Hex edit startup.exe, search for mainmenu, you should see this:
<File Name="maps\mainmenu.map" Priority="0" Size="61063680">
You can change the size to that of the new custom mainmenu.map, get this size by right clicking on the map, going to properties, and then looking at the Size.
Unfortunately the game will still start without startup.exe, so the check must be in the main executable.
http://www.h2mt.org/repository/images/logo/RESIN_glitch_00.png
H2EK Unlocked - Enhanced Edition
An updated version of the Unlocked Halo 2 Editing Kit.
H2EK Unlocked - Enhanced Edition
by Kills Alone of the H2MT Crew
Released - June 26th, 2013
Updated - September 8th, 2013
-----------
ABOUT:
The Halo 2 Editing Kit (H2EK) allows people to create their own custom content for Halo 2 Vista. This powerful set of tools, source material and tutorials provides users with an unprecedented amount of freedom in the development of new game content. The Halo 2 Editing Kit requires that you have Halo 2 Vista installed.
There is a tutorial that comes with the H2EK that is installed along with everything else. Please LOOK at this tutorial before going to the forums and/or spamming the admin's.
This versions of H2EK has been completely unlocked. You can now create all tags and edit all tags with this version.
This H2EK was unlocked by the e3po of the WMClan, Kornman00, adolif2, and Kills Alone.
-----------
UPDATES (September 8th, 2013):
-I have included an SPPF for a version of shared.map that has all globals references removed, you will need to back up your original shared.map and rename it before using it.
At a minimum you will need [DATA+TAGS] The Essential Collection to make use of the updated shared.map.
-AGAIN, ALWAYS BACK UP YOUR ORIGINAL MAP FILES!-
-There is now a version of H2Tool.exe that labels all the custom maps it makes as the older Engine Version. So what was 11122.07.08.24.1808.main (non-default\custom map - NEWER ENGINE) is now 11081.07.04.30.0934.main (default\resource map - OLDER ENGINE).
-The "bin" folder has been updated and there are now templates for both Engine Versions.
UPDATES (June 26th, 2013):
-This version has been further enhanced with the addition of an Unlocked H2Tool.exe by adolif2. This allows the compilation of other scenario types then just multi-player.
-The GBX Model Upgrader 1.0 public beta by Jahrain is included so that you can make your own custom render models.
-The Halo Bitmap Extractor 1.0 by FireScythe.
-The H2MT Halo 2 Map Editor Launcher BETA by ZeroErrors.
-The H2V Scripting Maker 1.1 by Kantanomo for creating longer scripts then normally allowed.
-Further scripting resources are included as well.
-3DS Max importers, exporters, and scripts.
-Extended directory structure.
-This version is compressed as a 7-Zip self extracting executable archive which offers superior compression to that of .rar or .zip.
-To reduce file-size I have removed two large files that are only necessary for reverse engineering. These files are still available here:
H2EK Reverse Engineering (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/reverse_engineering.exe)
13.3MBs
Visit Us:
www.halo2vista.com (http://www.halo2vista.com)
www.h2mt.org (http://www.h2mt.org)
www.h2pc.org (http://www.h2pc.org)
www.h3pc.org (http://www.h3pc.org)
H2EK Unlocked - Enhanced Edition (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/H2MT_H2EK_Unlocked_-_Enhanced_Edition.exe)
17.29MBs compressed (115MBs extracted)
Custom Content Restriction Remover
Allows custom maps with restricted content to be added to the custom menu. It forces newly added maps to be detected; so no more bothering with maps that do not show up. We refer to this type of restricted custom content as H2.5 or Halo 2.5.
Custom Map Restriction Remover (http://www.h2mt.org/maps/H2.5/Custom_Map_Restriction_Remover.exe)
7.3MBs
Data + Tags
The team has been repairing the missing H2EK tags for awhile now. When I make more progress I will release the updated Essential Collection and tools. H2MT is a team and community driven effort and I would not have made it to this point without everyone's help.
H2MT's [DATA+TAGS] The Essential Collection (https://skydrive.live.com/#cid=A730CFEAB2760675&id=A730CFEAB2760675!245)
Alternate Link (http://www.mediafire.com/?ahe3cduht4cv9)
3.87GBs Compressed
UI - User Interface
Current release of the updated UI Data & Tags
UI Data (http://www.h2mt.org/killsalone/data/ui-SAFE_BACKUP.exe)
~76.3MBs Compressed (~426MBs extracted)
UI Tags (http://www.h2mt.org/killsalone/tags/ui-SAFE_BACKUP.exe)
~49MBs Compressed (~304MBs extracted)
Modified UI HUD Alpha Tests (by Kirby_422)
http://img850.imageshack.us/img850/9493/ykx6.png
http://img43.imageshack.us/img43/4558/o3wx.png
http://img34.imageshack.us/img34/7740/3m8v.png
http://img11.imageshack.us/img11/7281/c7zi.png
http://img194.imageshack.us/img194/728/jkdf.png
http://img191.imageshack.us/img191/5852/j5rf.png
Results
Now when I package a custom scenario H2Tool.exe includes my custom tags, and all my globals such as default weapons and vehicles! One map went from ~90MBs to ~275MBs!
I also found you can force multiple scenarios, though I am not sure if they can all be accessed (in-game) just yet. The following quote about Cache files (http://nikon.bungie.org/misc/gdc2005_mnoguchi/) makes me think they can:
The fact that our editing build runs from multiple single files is an implementation detail; it is not a necessary component of the tag system itself.
So I should be able to make a hybrid map that contains a custom Main Menu, all of the scenarios, and the entirety of their shared resources.
rVUFKGQLffo
When I load my mainmenu.map by starting H2v the games starts and the map actually works! It plays the intro video and then shows my map, the map name and H2MT cutscene text kick in...and now it works, see the video below in my next post.
Custom Single Player maps no longer crash! But AI is not shooting at the player or each-other yet.
Custom Multi-Player maps load and the Start Menu is now working, still trying to find all the correct string labels.
Globals and UI are still being repaired and need extensive work. I am seeking any help with repairing the UI tags.
PRESENTS
H2v: take my globals.globals you dirty whore
by Kills Alone of the H2MT Crew
0fknyE88Am8
shared.map
I used a Hex Editor (http://www.h2mt.org/tools/etc/HEX/HxD/HxD.exe) to null out all references to globals.globals and its contents inside of the original H2EK shared.map; that is I set all of the lines to 0.
First I nulled out the globals location.
To replace the globals tag, back up your shared.map, and then open your current shared.map in a hex editor. Go to offset 0x94d6200. Change the text to any gibberish of your choosing, as long as it's the same size or less.
That forces it to include the globals tag during compilation.
-adolif2
Link: http://forum.halomaps.org/index.cfm?page=topic&topicID=39309
Then I went back in and searched for the text string ui\screen, there is only one reference so you will know you are in the right location. Overwrite all of the following with 0's:
multiplayer ui globals
singleplayer ui globals
mainmenu ui globals
interface goo map3
interface goo map2
interface goo map1
motion sensor blip bitmap
hud digits definition
multiplayer hud bitmap
motion sensor sweep bitmap mask
motion sensor sweep bitmap
hud globals
dialog color table
editor color table
hud color table
screen color table
shared.map - All Globals Removed SPPF (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/shared.map_-_All_Globals_Removed_SPPF.exe)
6.76KBs compressed (2MBs extracted)
UPDATE: Later I could not seem to duplicate this, so to make sure it will work I suggest the following:
Null (as in set to zero) Offset 094A9A01 through 095156D4.
Engine Version
Custom maps are labeled with a newer engine number then the original maps were. I cannot confirm it, but this engine number may be related to restrictions on custom content.
11081.07.04.30.0934.main - H2 Vista - default\resource map - OLDER ENGINE
11122.07.08.24.1808.main - H2 Vista - non-default\custom map - NEWER ENGINE
tool debug pc 11122.07.08.24.1808.main Aug 24 2007 18:10:17
02.09.27.09809 - H2 Xbox
Hex Header (http://dl.dropboxusercontent.com/u/43157158/halo2xboxmap.PNG)
02.06.28.07902 - H2 Xbox Beta
Hex Header (http://dl.dropboxusercontent.com/u/43157158/halo2betaxboxmap.PNG)
*If this number is set to all 0's the game will pause for a second then shutdown without an error.
H2Tool.exe
Then I went into H2Tool.exe (that has already been resource scenario fixed by adolif2) with the Hex editor.
I searched and found two instances of 11122.07.08.24.1808 (New Engine Label) which I overwrote with 11081.07.04.30.0934 (Old Engine Label).
H2Tool.exe - Engine UNLOCKED (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/H2Tool.exe_-_Engine_UNLOCKED.exe)
2.67MBs compressed (19.9MBs extracted)
This has the extra advantage of now letting you view/edit your custom H2v maps with Assembly 1.0.4817.30869 (http://www.h2mt.org/tools/2_Vista/Assembly/Assembly_1.0.4817.30869.exe).
H2EK "bin" folder
The bin folder contents were recreated by viewing the top of the original resource map files with the Hex editor and comparing them to the only headers that were included with the H2EK. Take note; I am not sure if they are all labeled correctly.
bin - Resource Header and Database files (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/bin_Resource_Header_Database.exe)
431KBs
startup.exe
I found that you can Hex edit startup.exe, search for mainmenu, you should see this:
<File Name="maps\mainmenu.map" Priority="0" Size="61063680">
You can change the size to that of the new custom mainmenu.map, get this size by right clicking on the map, going to properties, and then looking at the Size.
Unfortunately the game will still start without startup.exe, so the check must be in the main executable.
http://www.h2mt.org/repository/images/logo/RESIN_glitch_00.png
H2EK Unlocked - Enhanced Edition
An updated version of the Unlocked Halo 2 Editing Kit.
H2EK Unlocked - Enhanced Edition
by Kills Alone of the H2MT Crew
Released - June 26th, 2013
Updated - September 8th, 2013
-----------
ABOUT:
The Halo 2 Editing Kit (H2EK) allows people to create their own custom content for Halo 2 Vista. This powerful set of tools, source material and tutorials provides users with an unprecedented amount of freedom in the development of new game content. The Halo 2 Editing Kit requires that you have Halo 2 Vista installed.
There is a tutorial that comes with the H2EK that is installed along with everything else. Please LOOK at this tutorial before going to the forums and/or spamming the admin's.
This versions of H2EK has been completely unlocked. You can now create all tags and edit all tags with this version.
This H2EK was unlocked by the e3po of the WMClan, Kornman00, adolif2, and Kills Alone.
-----------
UPDATES (September 8th, 2013):
-I have included an SPPF for a version of shared.map that has all globals references removed, you will need to back up your original shared.map and rename it before using it.
At a minimum you will need [DATA+TAGS] The Essential Collection to make use of the updated shared.map.
-AGAIN, ALWAYS BACK UP YOUR ORIGINAL MAP FILES!-
-There is now a version of H2Tool.exe that labels all the custom maps it makes as the older Engine Version. So what was 11122.07.08.24.1808.main (non-default\custom map - NEWER ENGINE) is now 11081.07.04.30.0934.main (default\resource map - OLDER ENGINE).
-The "bin" folder has been updated and there are now templates for both Engine Versions.
UPDATES (June 26th, 2013):
-This version has been further enhanced with the addition of an Unlocked H2Tool.exe by adolif2. This allows the compilation of other scenario types then just multi-player.
-The GBX Model Upgrader 1.0 public beta by Jahrain is included so that you can make your own custom render models.
-The Halo Bitmap Extractor 1.0 by FireScythe.
-The H2MT Halo 2 Map Editor Launcher BETA by ZeroErrors.
-The H2V Scripting Maker 1.1 by Kantanomo for creating longer scripts then normally allowed.
-Further scripting resources are included as well.
-3DS Max importers, exporters, and scripts.
-Extended directory structure.
-This version is compressed as a 7-Zip self extracting executable archive which offers superior compression to that of .rar or .zip.
-To reduce file-size I have removed two large files that are only necessary for reverse engineering. These files are still available here:
H2EK Reverse Engineering (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/reverse_engineering.exe)
13.3MBs
Visit Us:
www.halo2vista.com (http://www.halo2vista.com)
www.h2mt.org (http://www.h2mt.org)
www.h2pc.org (http://www.h2pc.org)
www.h3pc.org (http://www.h3pc.org)
H2EK Unlocked - Enhanced Edition (http://www.h2mt.org/tools/2_Vista/H2EK_Unlocked/H2MT_H2EK_Unlocked_-_Enhanced_Edition.exe)
17.29MBs compressed (115MBs extracted)
Custom Content Restriction Remover
Allows custom maps with restricted content to be added to the custom menu. It forces newly added maps to be detected; so no more bothering with maps that do not show up. We refer to this type of restricted custom content as H2.5 or Halo 2.5.
Custom Map Restriction Remover (http://www.h2mt.org/maps/H2.5/Custom_Map_Restriction_Remover.exe)
7.3MBs
Data + Tags
The team has been repairing the missing H2EK tags for awhile now. When I make more progress I will release the updated Essential Collection and tools. H2MT is a team and community driven effort and I would not have made it to this point without everyone's help.
H2MT's [DATA+TAGS] The Essential Collection (https://skydrive.live.com/#cid=A730CFEAB2760675&id=A730CFEAB2760675!245)
Alternate Link (http://www.mediafire.com/?ahe3cduht4cv9)
3.87GBs Compressed
UI - User Interface
Current release of the updated UI Data & Tags
UI Data (http://www.h2mt.org/killsalone/data/ui-SAFE_BACKUP.exe)
~76.3MBs Compressed (~426MBs extracted)
UI Tags (http://www.h2mt.org/killsalone/tags/ui-SAFE_BACKUP.exe)
~49MBs Compressed (~304MBs extracted)
Modified UI HUD Alpha Tests (by Kirby_422)
http://img850.imageshack.us/img850/9493/ykx6.png
http://img43.imageshack.us/img43/4558/o3wx.png
http://img34.imageshack.us/img34/7740/3m8v.png
http://img11.imageshack.us/img11/7281/c7zi.png
http://img194.imageshack.us/img194/728/jkdf.png
http://img191.imageshack.us/img191/5852/j5rf.png
Results
Now when I package a custom scenario H2Tool.exe includes my custom tags, and all my globals such as default weapons and vehicles! One map went from ~90MBs to ~275MBs!
I also found you can force multiple scenarios, though I am not sure if they can all be accessed (in-game) just yet. The following quote about Cache files (http://nikon.bungie.org/misc/gdc2005_mnoguchi/) makes me think they can:
The fact that our editing build runs from multiple single files is an implementation detail; it is not a necessary component of the tag system itself.
So I should be able to make a hybrid map that contains a custom Main Menu, all of the scenarios, and the entirety of their shared resources.
rVUFKGQLffo
When I load my mainmenu.map by starting H2v the games starts and the map actually works! It plays the intro video and then shows my map, the map name and H2MT cutscene text kick in...and now it works, see the video below in my next post.
Custom Single Player maps no longer crash! But AI is not shooting at the player or each-other yet.
Custom Multi-Player maps load and the Start Menu is now working, still trying to find all the correct string labels.
Globals and UI are still being repaired and need extensive work. I am seeking any help with repairing the UI tags.