~ 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
» fheroes2 General Announcements
Dealing with Game Resources Icon_minitimeby sirDranik 2024-05-24, 01:00

» The YouTube thread
Dealing with Game Resources Icon_minitimeby DanilaRud015 2024-05-19, 06:00

» Songs of Conquest
Dealing with Game Resources Icon_minitimeby Mefista 2024-05-16, 09:29

» ...to XP run...
Dealing with Game Resources Icon_minitimeby CATMAN 2024-03-30, 03:16

» WARNING - The dreaded moment is here: Heroes 6 servers shutting down
Dealing with Game Resources Icon_minitimeby Blake01 2024-03-29, 23:04

» Songs of Silence (HoMM like game)
Dealing with Game Resources Icon_minitimeby Blake01 2024-03-27, 16:52

» Heroes Orchestra's 5th Birthday concerts with Paul Romero
Dealing with Game Resources Icon_minitimeby rrravyn 2024-03-23, 22:45

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
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta

 

 Dealing with Game Resources

Go down 
AuthorMessage
Orzie
Master Modder
Master Modder
Orzie


Messages : 2163
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: