Act of Aggression .dlc
-
- Posts: 36
- Joined: Sun Jan 18, 2015 11:22 pm
Re: Act of Aggression .dlc
Code: Select all
magic char[4] = "TRAD";
int count;
// header
{
int id;
int zero;
int off; // absolute offset
int len; // (len*2) UTF-16 LE chars
} // count-1 times
// last item
int id = 0;
int zero = -2147483648
int off = 0;
int len = 0;
// strings
// ...
the last line is more like some kind of checksum. lang.dic for example ([[id]] = [[string]]):
Code: Select all
[[868]] = [[Čeština]]
[[1052]] = [[Français]]
[[1183]] = [[Magyar]]
[[1823]] = [[Русский]]
[[1933]] = [[中文]]
[[2013]] = [[English]]
[[58336]] = [[Dev language]]
[[70620]] = [[Deutsch]]
[[79755]] = [[Italiano]]
[[83608]] = [[日本語]]
[[87644]] = [[Korean]]
[[108118]] = [[Polski]]
[[120459]] = [[Español]]
[[3717007]] = [[%m/%d/%y]]
[[3728626839]] = [[%m/%d/%y %I:%M%p]]
[[3492672926]] = [[Default language]]
[[3766024030]] = [[Test language]]
[[3611186327]] = [[%I:%M%p]]
[[3482658269]] = [[%I:%M:%S%p]]
[[3849926095]] = [[%m/%d/%y %I:%M:%S%p]]
[[1280914965]] = [[Test (flashing)]]
[[1312609884]] = [[Test (decoration)]]
[[0]] = [[aneslti goIM%pruy:dhDm/TcE)fS(šFçČР中й日本語KPикñсvу文k]]
p.s.
Lua 5.3 script for strings export.
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: Act of Aggression .dlc
hhrhhr
Thanks a lot.
Обратный конверт сможешь написать?
lua dic_import.lua path_to_file?
Thanks a lot.
Обратный конверт сможешь написать?
lua dic_import.lua path_to_file?
-
- Posts: 233
- Joined: Sun Aug 24, 2014 5:26 pm
Re: Act of Aggression .dlc
Попробуй, должно работать.
Unpack: AoA_Text_Tool.exe -u file.dic file.txt
Pack: AoA_Text_Tool.exe -p file.txt file.dic
Unpack: AoA_Text_Tool.exe -u file.dic file.txt
Pack: AoA_Text_Tool.exe -p file.txt file.dic
-
- Posts: 24
- Joined: Wed Sep 02, 2015 6:56 pm
Re: Act of Aggression .dlc
spider91 wrote:Попробуй, должно работать.
Unpack: AoA_Text_Tool.exe -u file.dic file.txt
Pack: AoA_Text_Tool.exe -p file.txt file.dic
Спасибо, всё работает!
Thanks, it work.
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: Act of Aggression .dlc
spider91 wrote:Попробуй, должно работать.
Unpack: AoA_Text_Tool.exe -u file.dic file.txt
Pack: AoA_Text_Tool.exe -p file.txt file.dic
Аwesome! Thx spider91
-
- Posts: 49
- Joined: Thu Sep 04, 2014 9:34 pm
Re: Act of Aggression .dlc
By the way, where did you find those text files? I only see a lot of .dat files in my game directory.
Is the game translateable?
Is the game translateable?
-
- Posts: 24
- Joined: Wed Sep 02, 2015 6:56 pm
Re: Act of Aggression .dlc
lostprophet wrote:By the way, where did you find those text files? I only see a lot of .dat files in my game directory.
Is the game translateable?
.dat files - is archives
-
- Posts: 49
- Joined: Thu Sep 04, 2014 9:34 pm
Re: Act of Aggression .dlc
What did you use to open those .dat files?
-
- Posts: 13
- Joined: Tue Mar 01, 2016 11:30 am
Re: Act of Aggression .dlc
.dat decompression method for this localization file?
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: Act of Aggression .dlc
xiaohuang wrote:.dat decompression method for this localization file?
Use Modding Suite Tool.