script unnmlrda.bms
Spoiler # Anno 2070/2205 (script 0.1.2)
# script for QuickBMS http://quickbms.aluigi.org
quickbmsver "0.7.0"
getdstring SIGN 32
if SIGN & "Resource File V2.2"
goto 0x310
get FIRST_NEXT long
math RES_FILE_TYPE = 2
else
set SIGN unicode SIGN
if SIGN & "Resource File" # "Resource File V2.0"
math FIRST_NEXT = 0x404
math RES_FILE_TYPE = 1
else
print "Error: no magic signature found"
cleanexit
endif
endif
get FULLS endif get FULLS asize
for NEXT_OFF = FIRST_NEXT <FULLSIZE
goto NEXT_OFF
math OFFSET = NEXT_OFF
get TYPE long
get FILES long
if RES_FILE_TYPE <= 1
get ZSIZE long
get SIZE long
get NEXT_OFF long
else
get ZSIZE longlong
get SIZE longlong
get NEXT_OFF longlong
endif
math OFFSET - = ZSIZE
savepos BACKUP_OFFSET
# type & 4 uses a compressed container
files
# instead of MEMORY_FILE table of information
# MEMORY_FILE2 decompressed file system
if SIZE! = 0
if TYPE & 4
math OFFSET - = 8
endif
# copy & paste except for the target file
callfunction SET_ENCRYPTION 1
if TYPE & 1
clog MEMORY_FILE OFFSET ZSIZE SIZE
else
log MEMORY_FILE OFFSET ZSIZE
endif
encryption "" ""
if TYPE & 4
math TMP = OFFSET
math TMP + = ZSIZE
goto TMP
if RES_FILE_TYPE <= 1
get ZSIZE long
get SIZE long
else
get ZSIZE longlong
get SIZE longlong
endif
math OFFSET function -
call SET_ENCRYPTION 1
if TYPE & 1
clog MEMORY_FILE2 OFFSET ZSIZE SIZE
else
log MEMORY_FILE2 OFFSET ZSIZE
endif
encryption "" ""
endif
for i = 0 <FILES
getdstring NAME 0x208 MEMORY_FILE
set NAME unicode NAME
if RES_FILE_TYPE= 1
get OFFSET long MEMORY_FILE
get ZSIZE long MEMORY_FILE
get SIZE long MEMORY_FILE
get CRC long MEMORY_FILE
get ZERO long MEMORY_FILE
else
get OFFSET longlong MEMORY_FILE
get ZSIZE longlong MEMORY_FILE
get SIZE longlong MEMORY_FILE
get CRC long MEMORY_FILE
get ZERO long MEMORY_FILE
get ZERO long MEMORY_FILE
get ZERO long MEMORY_FILE
endif
if TYPE & 4
log NAME OFFSET ZSIZE MEMORY_FILE2
else
callfunction SET_ENCRYPTION 1
if TYPE & 1
clog NAME OFFSET ZSIZE SIZE
else
log NAME OFFSET ZSIZE
endif
encryption "" ""
endif
next i
goto BACKUP_OFFSET
endif
next
startfunction SET_ENCRYPTION
# Crypt "34AT9fdY33uT16m7" is used for signature in 2070
if TYPE & 2
if RES_FILE_TYPE> = 2
print "Alert: Encrypted TYPE 2 not supported yet on V2, I continue with the other files"
math FILES = 0
else
# encryption random "5 666666" 16 # not valid because needs >> 16 on xor!
math KEY = 666666
putvarchr MEMORY_FILE3 ZSIZE 0 short
log MEMORY_FILE3 0 0
math TMPSZ = ZSIZE
math TMPSZ / 2
math TMPSZ * 2
for x = 0 <TMPSZ
math KEY * 0x000343fd
math KEY + 0x00269ec3
math TMP = KEY
math TMP >> 16
math TMP & 0x7fff
putvarchr MEMORY_FILE3 x TMP short
next x + 2
putvarchr MEMORY_FILE3 x 0 short # padding
getdstring XOR_KEY ZSIZE MEMORY_FILE3 # wastes some memory
encryption xor XOR_KEY "" 0 ZSIZE
endif
endif
endfunction
may come in handy =)
Spoiler http: //.com/failer. factors204800.html
Gentlemen, modders, the question is - is it possible to make your own map, or at least add to existing mines / coastal zones for the construction of various buildings?
Alas, Yubisoft completely squeezed us, we can't get out of standard cards (
Update RDA Explorer 1.2.1.0 Beta
Bugfixes
Fix an issue where files were not read correctly from the RDA container. This should fix issues when loading data13.rda from Anno 2205.
it looks like they made an update for patch 1.4, since there is no data13.rda in patch 1.3,
you can download it here
Spoiler https://github.com/lysannschlegel/RDAExplorer/releases
WladV, you wrote ... (partially quoting)
Spoiler ...
Increased All warehouses to 1,000,000
...
Increased warehouse and ...
Increased the number of operational modules at all enterprises to 20
... The
question is, which files should you look for ? (if anyone else knows the answer, please)
Before that I just didn't pick the Anno series, I scared the amount of code ... and also the numbers are strange (maybe I looked at it)
file
\ data10 data config game asset objects objects .xml a
piece of code, as I understood, one building (questions opposite the bold text)
Spoiler
http://i11.pixs.ru/storage/6/9/9/pl1jpg_2730983_21435699.jpg
But even I didn't see here
- basic characteristics Produced resource ID, qty)
- requirements for workers, energy
- and the number of possible modules, this is also interesting
Tell me please, who knows.
=========================== =================
The same code snippet, incomprehensible numbers how to translate them into human =)
Spoiler
http://i11.pixs.ru/storage/7/0/9/pl2jpg_3064295_21435709.jpg
I report =)
I assumed everything correctly on the screenshots.
Well, in the end, I corrected something, like I made a freebie. Due to the size of the rule code, only production modules.
The file is the same that was parsed.
The principle of installation (the campaign is the same for such structures, I met on Witcher 3) the "mod" of the resulting - edited the last one by number dataXX.rda, opening RDAExplorer, replaced the file in the archive with his own, then saved it under the same name in the game folder. The game ate, changes were immediately visible on the save.
By the way, in The Witcher it was possible (similarly) to add your own, for example, data99.rda with all blackjack and whores, so that further updates of the game would not interfere, it would not work here, I did not find any list of which dataXX.rda the game eats (to add there). If anyone knows, tell me.
Also, if anyone knows that I'm wrong, please let me know.
I can lay out the file, if necessary, the essence is that production modules give 3 times (relative to the current) performance increase, the costs with improvement increase by half, the resource consumption with improvement is twice as large (against three times higher productivity). I think not necessary, but if necessary, throw 5 pluses to the xD message
A question.
I would like to change the service distance of buildings such as Infodrome, Police Station.
the file is the same swarm, buildings.xml, there is a Public group in each type of planets, well, there are 4 levels of buildings.
Found the Capacity value everywhere 40960, apparently 10 in our opinion ...
But the distance - did not find = (Who knows how to change? Visually - this is the blue-blue coverage area of ​​these buildings, if you select them.
And second, export count is that? =)
Infodrome
Exported
2
I found such things in the code. To completely edit all the parameters, we had to simultaneously change the parameters in the data12.rda, data11.rda, data10.rda files. To increase production, we are looking for the following lines (examples): Looking for the first two lines. The Type parameter is, respectively, the product that is produced. Amount - the amount of the product produced, to increase production, for example, twice, simply multiply this number by two and change it.
Now about the buildings of the Infodrom type. They don't have a zone of influence like Anno 2070, they "generate" information like a factory. Accordingly, in order to provide more houses, you just need to increase production, the following lines are responsible for this in Infodrom:
Increase or decrease the Capacity parameter as it was done with factories.
merlin86, Thanks.
I'll try your option later =)
Although, of course, judging by the feelings from the game, there is some kind of "metric" for the consumption of these needs (infa, for example, because the nearest houses are provided first)
EXAMPLE. In the game, as I noticed it: You build 2 districts, you can even at 2 different locations of the same type, well, for example, 10 houses, and an information center in each district, only at different distances from housing, for example "x" and "3 * x". And then the overall provision of info in the second case will be lower, which means its consumption by the same number of houses is higher, and since the difference is only in distance, which means that consumption is considered something like this: <information consumption> = <base value> *. I have such a conviction, but I didn't have enough strength to get to the bottom of it myself =)