3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
H
Haktar 23.12.19 09:27 pm

Modding and Tuning Empire: Total War (Empire: Total War)

Start modding in Empire: Total War

Article from Fox from Targowisko

Unpacking from Alpaca and Sinople:
To unpack managed with ease in the screenshot trappers are fighting on the side of the British (also known as loyalists) :
http://radikal.ru/F/s39.radikal.ru/i084/0902/1a/7a35a7a33451.jpg.html
Link to unpacker - http://imperialtw.narod.ru/moding/Emp_unpacker.zip
To open a file archiver (Lis: I vinrar 3.5, opened easily)
To use:
1.To move the unpacker in the data folder, start the .bat file.
2. Everything is unpacked in the folder will be unpacked
*Requires Python (Lis: library language, you can take - http://www.python.org/ftp/python/3.0.1/python-3.0.1.msi

Tested for performance.
Should:
1. To Install Python. The link above.
2. To transfer files unpacker at (I) C:\Program Files\Steam\steamapps\common\empire total war demo\data
3. To open a file emp_unpacker.py by clicking on it right mouse button and selecting Edit with IDLE.
Two Windows will be opened. Python Shell do not touch. From the second window, erase everything and replacing it with:

import struct, os, sys, re

# For easy file reading and writing interactions
def readLong(fhandle):
return struct.unpack('l', fhandle.read(4))[0]
def readShort(fhandle):
return struct.unpack('h', fhandle.read(2))[0]
def readByte(fhandle):
return struct.unpack('B', fhandle.read(1))[0]
def readBool(fhandle):
val = fhandle.read(1)
if val == 00:
return False
else:
return True
   
def writeLong(fhandle, value):
fhandle.write(struct.pack('l',value))
def writeShort(fhandle, value):
fhandle.write(struct.pack('h',value))
def writeByte(fhandle, value):
fhandle.write(struct.pack('B',value))
def writeBool(fhandle, value):
if value:
fhandle.write('\x01')
else:
fhandle.write('\x00')
       
def removeDir(path):
# remove all files in a folder
if not (os.path.isdir(path)):
return True

files = os.listdir(path)

for x in files:
fullpath=os.path.join(path, x)
if os.path.isfile(fullpath):
os.remove(fullpath)
elif os.path.isdir(fullpath):
removeDir(fullpath)
os.rmdir(path)

def parseArgs(args):
pack = packFile('demo1.pack','unpacked')

# create argument tree
argtree = []
for arg in args[1:]:
if arg.startswith('-'):
argtree.append([arg,[]])
else:
argtree[-1][1].append(arg)

# wander the tree, top level always has hyphenated arguments
for arg in argtree:
# case 1: list
if arg[0] == '-l':
if len(arg[1]) > 0:
for file in arg[1]:
pack.printEyeCandy(str(file))
else:
pack.printEyeCandy('./list.txt')
# case 2: unpack
elif arg[0] == '-u':
for file in arg[1]:
if file == 'all':
for i in range(len(pack.files)):
pack.exportFile(i)
else:
pack.exportFile(file)
# case 3: unpack (regexp)
elif arg[0] == '-ur':
for file in arg[1]:
pack.exportFile(file, True)
# case 4: change pack
elif arg[0] == '-p':
for file in arg[1]:
print()
print('Changing pack to'+file)
print()
pack.newPack(file,pack.outputdir)
# case 5: change output directory
elif arg[0] == '-o':
for file in arg[1]:
print()
print('Changing output directory to'+file)
print()
pack.changeOutputDir(file)


class packFile:
def __init__(self, path='', outputdir=None):
self.handle = None
if outputdir:
removeDir(outputdir)
self.newPack(path,outputdir)

def newPack(self,path,outputdir=None):
# safely open new pack
if self.handle:
self.handle.close()
self.handle = None
self.files = []
selfnumFiles = 0
self.arr = 0
self.outputdir = outputdir
self.defLength = 0
self.path = path
self.readPackDefinition()

def changeOutputDir(self,path):
self.outputdir = path
if self.outputdir != None:
removeDir(self.outputdir)

def packOpen(self):
if not self.handle:
self.handle = open(self.pathrb)
return self.handle
  
def packClose(self):
self.handle.close()
 
def readPackDefinition(self):
pack = self.packOpen()
 
# skip empty bytes and stuff at the start
pack.seek(16)
self.defLength += 16

# read number of files
self.numFiles = readLong(pack)
self.defLength += 4
 
# read ??
self.arr = readLong(pack)
self.defLength += 4
 
# store the offset of a certain file
offset = 0
# read file metadata
for i in range(self.numFiles):
 
# read length of file
length = readLong(pack)
self.defLength += 4
  
# read file name
char = ''
filename = ''
while char != b'\x00':
char = pack.read(1)
if (char != b'\x00'):
filename += char.decode()
self.defLength += 1
self.files.append((filename,length,offset))
offset += length
  
def exportFile(self, arg, regexp = False):
try:
arg = int(arg)
# option a: arg is an index
list = [self.files[arg]]
except:
# option b: arg is a string
if regexp:
list = filter(lambda x: re.search(str(arg),x[0]),self.files)
else:
list = filter(lambda x: arg in x[0],self.files)
for (path,length,offset) in list:
print('Exporting '+path+', length: '+str(length)+', at offset: '+str(offset))
  
# create output directory
dir = os.path.split(os.path.join(self.outputdir,path))[0]
if not os.path.isdir(dir):
os.makedirs(dir)
output = open(os.path.join(self.outputdir,path),'wb')
  
# open pack and go to offset
pack = self.packOpen()
pack.seek(self.defLength+offset)
# copy content
i = 0
# read MB-sized chunks as long as possible
j = length//(2**20)
while i < j:
output.write(pack.read(2**20))
i+=1
i = 0
j = (length%(2**20))//(2**10)
# read KB-sized chunks
while i < j:
output.write(pack.read(2**10))
i+=1
i = 0
j = length%(2**10)
# read byte-sized chunks
while i < j:
output.write(pack.read(1))
i+=1
output.close()
return True
 
 

def printEyeCandy(self, outfile):
output = open(outfile,'w')
for (path,length,offset) in self.files:
output.write(str(path)+'\r\n')
output.close()
 

# main
parseArgs(sys.argv)
4. Save, run the bat-file emp_unpacker.py -u all.bat

After unpacking, don't forget to rename demo1.pack demo1.pack_backup, then transfer the files to the root directory, here you will be able to modify them.

A slight modification of the game:

Infantry shoots three rows:
http://s49.radikal.ru/i125/0902/a3/7c88c6c90928t.jpg

Find the unit you want to change







fire_volley

Change to:







rank_fire
You do not have two letters, as rank_fire shorter than fire_volley. It is recommended to add two letters to the name of the General. (Fox: how to do it you will understand further)

To change the number of soldiers in the unit:
Find:

and replace


Then find:

William Howe
and replace

William How

The experience of detachment:
Find:






rank_fire
square_formation
ring_bayonets



Zero change in 3. No other changes are required.

Adding ships to the game:
This is done in the file battle_of_lagos.xml
Manual no, apparently it is simple copy and paste.
britain









With all the questions on this post here: Modding and Tuning for ETW, Share experiences, tutorials, tips - http://imperiall.1bb.ru/index.php?showtopic=3802

Drugiye instructions for modding Empire: Total War: a Manual for ETW Modder, Instructions for the novice Modder - http://imperiall.1bb.ru/index.php?showtopic=3805
169 Comments
Sort by:
s
spaike 23.12.19

I advise everyone to look at internetwars.ru

http://internetwars.ru/forum/viewtopic.php?t=1927 - Modding ETW: a practical discussion, questions and answers

http://internetwars.ru/forum/viewtopic.php?t=1926 - Modding ETW: information and tutorials

Komrad there PTS have tried and moved Patti - that all the possibilities of modding the demo)

s
spaike 23.12.19

http://rapidshar*.com/files/206751194/Empire_Total_War_UNLOCKER.rar (*-e)
http://torrent*.ru/forum/viewtopic.php?t=1625795 (*-s)

Mod Empire Total War
All exclusive units + all the races.

To open all the units included Special Forces Edition and a set of pre-order (which in the licensed version of the game activated via Steam):

3 unit version pre-order:

1. Warship USS Constitution: this unit is available when playing as USA and a rather high level of development of your technology in the game. It can also be captured by enemy troops.
2. Hussars "death's head": this unit is available when playing as Prussia and relatively high level of development of your technology in the game. Prussia must also withhold Brandenburg.
3. Dahomey Amazons: this unit is available when holding territory in North Africa.

6 forces version of Special Forces:

1. Rogers ' Rangers — a squad selected and well-trained light infantry, specializing in reconnaissance and sabotage. They are able to quickly navigate even the most challenging terrain.
2. Ottoman organ gun — field gun exceptional power, able to cause the enemy army devastating damage. It is a clear proof of the progress of the Ottoman Empire in the field of firearms.
3. The Gurkha — disciplined, strong and brave Nepalese warriors, armed with deadly two-foot knives-kukri. The Gurkha motto: "Better to die than to be coward".
4. Balcali regiment — the regiment of Irish mercenaries in the service of France, famous for its incredible durability. He has earned a reputation as a versatile and reliable unit.
5. The flagship of the Royal Navy "Victoria" — 104-gun battleship first rank, the pride of the British Royal Navy. The flagship of Admiral Nelson, he is considered the most heavily armed ship of the XVIII century.
6. Guerillas "Corso terrestre" — independent partisan detachment of light infantry, specialized in ambushes and surprise attacks. Worked out the tactics of sudden attacks it compensates for his small size and not the best equipment.

Instructions for unlocking bonus units:

1. To make a backup of the file \data\main.pack
2. Start etw_unpacker3.exe
3. Click the Browse button and specify the file \data\main.pack
4. In the Patch Extraction window, choose the folder \data in the game directory
5. Click Extract All. The contents of the file main.pack will be deployed in the specified directory.
6. Remove from directory \data file main.pack (or rename it to main.pack-backup). Note: if you just change the name of the file (for example, on main2.pack), without changing the extension, the mod will not work.
7. In the directory \data\db\units_to_special_editions_juncs_tables\ delete the file units_to_special_editions_juncs
8. All the special units unlocked and available for selection in a single battle, and in the campaign (subject to certain conditions). Read more about the bonus units and the availability of their campaign, read the official FAQ from SoftClub: http://www.softclub.ru/empire/steam-faq.aspx

Open to all races (including units of these races) for selection in single battles:
1. To make a backup of the file \data\patch.pack Note: if you just change the name of the file (e.g. patch2.pack), without changing the extension, the mod will not work.
2. Replace this file on the modified patch.pack of All_Factions.rar

If you open all the races they will be only for battles and multiplayer battles)

G
Gendalf-golkiper 23.12.19

additional units will be in the campaign, if you run spec. conditions(improvement, that is).who already tried?

s
spaike 23.12.19

now you can play all the factions - http://www.twcenter.net/forums/showthread.php?t=234251
From the bottom of the first post has a link)

EMPIRE_INSTALL_DIRECTORY/data/campaigns/main - copy startpos.esf and to hide him somewhere just in) and drop the downloaded trial)

G
Gendalf-golkiper 23.12.19

YAY!done!:)

V
Vovan Helsing 23.12.19

> aaaaaaaaaaaaaaaaaa my prayers have been voices heard

V
Vovan Helsing 23.12.19

The first bug... when opening all factions, it is impossible to choose the ones which go behind the screen(( and Kull)))))
(The list is large, it turns out)

V
Vovan Helsing 23.12.19

Waiting for a mod to play it longer..
So over the course of the years smaller

G
Gendalf-golkiper 23.12.19

I need a mod to the characters not aging as fast and that is only six months, and for them this year.need
mod that for the last year was the year

s
spaike 23.12.19

Haktar
wanted panaretovtsi, and you have already started your mod Komrad? And how do you think how much we will wait until the mods class of Europe, barbarorum, stainless Steele?

G
Gendalf-golkiper 23.12.19

O_o!the increase in the number of the squad!floor well))and you can put 1,5 ; 1,2?

[
[Alex] The Great 23.12.19

who knows, please make a mod to remove this stupid restriction on the moves on the strategic map

D
Dimon NEW 23.12.19

2Gendalf-golkiper
well cha and so one of the cores is why you have a squad even more? OO

G
Gendalf-golkiper 23.12.19

Dimon NEW
just when the squad of 80 people, it looks neochen + suddenly there is a patch or still that the thread will be released and I will earn the 2nd core, then it would be useful.

PS I made a mistake, writing that the six months for the characters this year.

a
adv_BRAVO 23.12.19

anyone!!!
(if you use epiceram...)
how are the files where you can otredaktirovat:
The MORAL is, the number of moves for a year, characteristics,(know it already) the units in the squad, that the arrows shot at real (and not in one operation).
please detail!!!
and scar, if possible...
thank you.

D
Dilord86 23.12.19

Characteristics of units(morale, accuracy, pressure,...), I changed PackFileManager 1.6 or LandUnitEditor

a
adv_BRAVO 23.12.19

Dilord86
help?
links skins.

a
adv_BRAVO 23.12.19

help!
you need to improve the intellect of all the soldiers... how to do it?
by the way, I can't unlock those files sposobomi that here you suggest...
the only thing that works for me is Apacer.
and yet, how to make arrows was shot several rows instead of one..???
please tell me how to do it...

G
Gendalf-golkiper 23.12.19

BRAVO_13
improvement there is

D
Dilord86 23.12.19

Bravo_13
Certainly helped !!!