~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  

Share | 
 

 Dealing with Game Resources

View previous topic View next topic Go down 
AuthorMessage
Orzie
Master Modder
Master Modder
avatar

Messages : 1480
Quality Points : 622
Registration Date : 2014-12-12
Age : 25
Location : Tomsk, Russia

PostSubject: Dealing with Game Resources   2015-07-20, 19:02

(This is a crosspost from the Project Ironfist wiki, see link)

(You can also learn this by watching the video tutorial "Modding with an Iron Fist: Episode 3: Adding New Creatures")


Packaging Resources

Heroes II keeps all of its resource files (artwork, sounds, etc) in .agg (aggregate) files. .agg files are similar to .zip files, except that they have no compression. All original game files are placed into HEROES2.AGG, while all files for the Price of Loyalty expansion are in HEROES2X.AGG. Likewise, all files for Project Ironfist are placed in ironfist.agg.

You will need to install the game and download the Ironfist Tools. Find the file "ironfist.agg" in your Heroes II DATA folder. Unzip the Ironfist tools and find "H2AGGUnpack.exe" in the agg directory. Drag-and-drop "ironfist.agg" onto "H2AGGUnpack.exe" and it will create the folder "ironfist" in the DATA directory, containing all resources used by Project Ironfist.

Put whatever files you want in the "ironfist" folder. Drag-and-drop "ironfist.agg" (NOT the folder) onto "H2AGGPack.exe" to package them up into a new "ironfist.agg" file. Congratulations, the game can now find your new resources!

One cool thing is that the game will look for files in ironfist.agg first, meaning that you can replace any existing files by adding one with the same name. For example, you can alter the graphics for the pikeman simply by adding a different PIKEMAN.ICN file toironfist.agg.

One thing to keep in mind is that all filenames must be in the 8.3 filename format. 8.3 filenames have at most eight characters, optionally followed by a period "." and a filename extension of at most three characters. For example, "BLCKDRGN.ICN" and "roc.x" are both in the 8.3 format, but "BLACK_DRAGON.ICNX" is not.

________________________
In case someone cares for my music:
Mylinks_profile_page
Back to top Go down
 
Dealing with Game Resources
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 8 MỌI THỨ VỀ GAME POKEMON
» National Resources Mobilization Act - Casualty
» iOS Game: Star Wars Force Collection
» Shogi Flash game
» Roleplay Game

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Modding and Mapmaking-
Jump to: