Heroes V texts[]
General information[]
All text data is found in <game folder>/data/texts.pak archive. Changing any in-game text means that one or more files in that archive have to be modified. To translate the game into different language the contents of all files of this archive should be translated.
Once the changes are made, archive them into a .PAK[1] file.
Note: Text files must be stored in UCS-2 LE BOM encoding otherwise the game engine cannot read them.
Text locations[]
Type | Location |
---|---|
Creatures | Text\Game\Creatures\<Town>\<Creature>.txt
Text\Game\Creatures\<Town>\<Creature>Description.txt |
Heroes | Text\Game\Heroes\Persons\<Town>\<Hero>\Name.txt
Text\Game\Heroes\Persons\<Town>\<Hero>\Bio.txt |
Hero Specializations | Text\Game\Heroes\Specializations\<Town>\<Specialization>\Name.txt
Text\Game\Heroes\Specializations\<Town>\<Specialization>\Description.txt |
Creature abilities | Text\Game\Creatures\<Town>\<Creature>Abilities.txt
Text\Game\Spells\Creature_Abilities\<Town>\Name.txt Text\Game\Spells\Creature_Abilities\<Town>\Description.txt |
Artifacts | Text\Game\Artifacts\<Artifact>\Name.txt
Text\Game\Artifacts\<Artifact>\Description.txt |
Combat spells | Text\Game\Spells\Combat\<Spell>\Name.txt
Text\Game\Spells\Combat\<Spell>\Long_Description.txt Text\Game\Spells\Combat\<Spell>\SpellBookPrediction.txt |
Adventure spells | Text\Game\Spells\Adventure\<Spell>\Name.txt
Text\Game\Spells\Adventure\<Spell>\Long_Description.txt Text\Game\Spells\Adventure\<Spell>\SpellBookPrediction.txt |
Towns | Text\Game\Towns\<Town>\<Random/Script>\<Name>\Name.txt
Text\Game\Towns\<Town>\<Random/Script>\<Name>\BIography.txt |
Town
special building effects |
Text\Game\Spells\TownEffects\<Building>\Name.txt
Text\Game\Spells\TownEffects\<Building>\Description.txt |
Spell prediction values | Text\Game\Spells\SpellBookPredictions\<Prediction type>.txt |
Hero special abilities | Text\Game\Spells\Hero_Special_Abilities\<Ability>\Name.txt
Text\Game\Spells\Hero_Special_Abilities\<Ability>\Description.txt Text\Game\Spells\Hero_Special_Abilities\<Ability>\Long_Description.txt Text\Game\Spells\Hero_Special_Abilities\<Ability>\SpellBookPrediction.txt |
Adventure map sites | Text\Game\Buildings\<Site name>\Name.txt
Text\Game\Buildings\<Site name>\Description.txt Text\Game\Buildings\<Site name>\FirstVisit.txt |
Tavern Rumors | Text\Game\Rumours\<Rumor>.txt |
Mines | \Text\Game\Mines\<Mine>\Name.txt
\Text\Game\Mines\<Mine>\Description.txt \Text\Game\Mines\<Mine>\Flyby.txt |