1 - Download haven-res.jar http://www.havenandhearth.com/java/haven-res.jar
2 - Download the haven res tool http://haven-client.googlecode.com/files/havenResUtil_v5.jar
= Steps for Extracting Images =
3 - Unzip the haven-res.jar (use 7zip) to the same folder your exporter util is (after exporting you should have a folder called res)
4 - Execute the exporter util. Some OSes will let you just double click it, others will need you to run java -jar exportHavenRes_allplatforms.jar
5 - Select "extract" and hit ok
= OPTIONAL BUT HIGHLY RECOMMENDED =
6 - Create a new folder structure that matches the new one that has been created under ./out call it ./mod, you should not have ./out ./res and ./mod that all look identical in terms of folder structure but have slightly different contents.
7 - If you want to edit a png, copy it to the new folder structure, edit and save it there
8 - when you are ready to encode your changes copy the contents of the ./mod folder on top of the ./out folder
= Steps for Encoding Images =
9 - Execute the eporter util (see step 4)
10 - select "encode" and hit ok
Your changes should now be encoded int the ./res folder. You can use an archiving program (like 7zip) to replace the ./res folder in the haven-res.jar file or create your own jar file if you're savvy I don't care.
This version of the res tool has been almost completely untested. I made sure it executes, but have no idea whether the .res files it produces are valid or not yet.
WARNING: I bear no liability for the behavior of this software. It may kill your wife, rape your dog and subscribe you to mailing lists for horrible myspace goth poetry anthologies. Use at your own risk. Src available from http://haven-client.googlecode.com/files/havenrestool_v5_src.zip I should apologize for how hideous it is, but I'm not going to.
=======Mod Edit by Phades=====
Additional Tools:
EnderWiggin wrote:Here you can get version of extractor modded (and used) by me - it extracts and encodes resources using relative paths in metadata. It needs res folder in same place as this jar file. and will decode all resources found into out/res/ folder. Encoding occurs in reverse - takes from out/res/ and encodes to res/ folder.
=============================