~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [H3SW v0.8.2] Witch Hunt
Dealing with Game Resources Icon_minitimeby GodRage Yesterday at 22:56

» 5Kings1Ring
Dealing with Game Resources Icon_minitimeby GodRage Yesterday at 22:54

» Polskie powitanie
Dealing with Game Resources Icon_minitimeby rrravyn 2024-11-15, 09:53

» loading simplification
Dealing with Game Resources Icon_minitimeby badtoper 2024-11-15, 04:37

» Easier Troop Management Between Garrison and Hero in Town
Dealing with Game Resources Icon_minitimeby badtoper 2024-11-15, 04:05

» Improvements for Hero Management and Turn Confirmation
Dealing with Game Resources Icon_minitimeby badtoper 2024-11-15, 01:57

» [H3SW v0.8.2] Desert Isle
Dealing with Game Resources Icon_minitimeby Sir Albe 2024-10-31, 07:56

Poll
Global announcements should be:
Everlasting, 1 for each project.
Dealing with Game Resources Redbar110%Dealing with Game Resources Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Dealing with Game Resources Redbar11100%Dealing with Game Resources Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Dealing with Game Resources Redbar110%Dealing with Game Resources Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
The Floody Land
Forum Admins Feed
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.2 Beta

 

 Dealing with Game Resources

Go down 
AuthorMessage
Orzie
Master Modder
Master Modder
Orzie


Messages : 2166
Quality Points : 843
Registration Date : 2014-12-12
Age : 32
Location : Turkey

Dealing with Game Resources Empty
PostSubject: Dealing with Game Resources   Dealing with Game Resources Icon_minitime2015-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.

________________________
Dealing with Game Resources L18zg1M
Back to top Go down
 
Dealing with Game Resources
Back to top 
Page 1 of 1
 Similar topics
-
» Get the resources when vanquishing an enemy
» [Feature request] Spells can cost resources other than spell points.
» Changes to the game's graphics
» Heroes (Game Boy)
» [1.3] Game not launching

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: