Hammerwatch Forum

Custom mapping and Mods => Resources => Topic started by: joedf on October 18, 2014, 02:07:12 AM

Title: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: joedf on October 18, 2014, 02:07:12 AM
HWMod - Modify Hammerwatch on a whole new level


(https://github.com/joedf/HWSEdit/raw/master/screenshots/2014-10-17_205525.png) (https://github.com/joedf/HWSEdit/raw/master/screenshots/2014-10-17_205534.png)

I present to you, 2 simple scripts I wrote to Unpack+Pack the "assets.bin" file found in your Hammerwatch installation folder. I believe that with this tool, we can now use Hammerwatch like an RPG engine but without limitation to just levels. For example:  changing how the main menu looks like, The language files (translate the game), etc. This tool goes well with Hammersprite (http://hammerwatch.com/forum/index.php?topic=2081.0) to generate the xml for replacing some of the original sprites with new ones. Simply put, this is for modifying Hammerwatch the game, itself. Hammerwatch is awesome.

HW-Extract.exe - A simple tool extract the "assets.bin"
HW-Pack.exe - This goes with HW-Extract.exe, to Pack it back to "assets.bin"

Revision Date : 2014/10/17
Source on GitHub : https://github.com/joedf/HWSEdit/tree/master/HWMod
Prebuilt Binary Download (HW-Extract tool) : https://github.com/joedf/HWSEdit/raw/master/dist/HW-Extract.exe
Prebuilt Binary Download (HW-Pack tool) : https://github.com/joedf/HWSEdit/raw/master/dist/HW-Pack.exe
Released under the MIT License (http://opensource.org/licenses/MIT)
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: Kashlavor on October 18, 2014, 03:49:23 AM
So what precisely does it do above and beyond the ResourceExtractor?

Lets you re-pack the assets.bin so that you can change the main menu?
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: joedf on October 18, 2014, 04:06:15 AM
Changes the graphics, the classes, the sounds, the music, add New classes, the language/translation, etc.
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: Hipshot on October 18, 2014, 09:43:53 AM
Nice, but there's no need for it? You can just extract all files now and you don't need to pack them into the bin to edit and see the changes?
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: joedf on October 18, 2014, 09:45:51 AM
Really ? Poop... It's ok then. :P
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: Hipshot on October 18, 2014, 10:59:02 AM
Well, it's good if you wanna distribute your own binfile I guess, but the only need to do that is if you wanna do pre-level load menu changes I think.
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: CrusaderDeleters on October 19, 2014, 05:24:12 PM
Bringing Hammerwatch to a whole new level? Nah. To a whole new Hammer. Or Watch, whichever you prefer.
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: Dai Tou Zai on October 19, 2014, 06:59:12 PM
Bringing Hammerwatch to a whole new level? Nah. To a whole new Hammer. Or Watch, whichever you prefer.
Damn somebody beat me to the bad joke  :'(
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: joedf on October 19, 2014, 07:09:17 PM
 ;)
Title: Re: [Tool] HWMod - Modify Hammerwatch on a whole new level
Post by: CrusaderDeleters on October 19, 2014, 08:12:36 PM
Bringing Hammerwatch to a whole new level? Nah. To a whole new Hammer. Or Watch, whichever you prefer.
Damn somebody beat me to the bad joke  :'(
It's what I do! :D