Hi guys. Who can help unpack and repack archives pkg. They are text.
I will be glad of any help.
Order of War. pkg file
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Order of War. pkg file
The script was already available in my collection:
http://aluigi.org/papers/bms/order_of_war.bms
http://aluigi.org/papers/bms/order_of_war.bms
-
- Posts: 124
- Joined: Fri Oct 24, 2014 2:55 pm
Re: Order of War. pkg file
aluigi wrote:The script was already available in my collection:
http://aluigi.org/papers/bms/order_of_war.bms
Thank you for your script. Archives it decompresses fine. But how do I back importing text. After translation of a few lines of text and importing back into the archive.The game does not start. Is it possible to somehow create a new archive????
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Order of War. pkg file
Try this test, re-extract the text file you want to edit and then just replace a character with a different one in a string you want to edit.
Or maybe be sure at 100% that your new file has the same size of the old one, you can just fill it with spaces to reach the original size.
Or maybe be sure at 100% that your new file has the same size of the old one, you can just fill it with spaces to reach the original size.
-
- Posts: 124
- Joined: Fri Oct 24, 2014 2:55 pm
Re: Order of War. pkg file
New file a few kb larger than the original.
-
- Posts: 124
- Joined: Fri Oct 24, 2014 2:55 pm
Re: Order of War. pkg file
It seems you can not import translated text.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Order of War. pkg file
Come on they are just 2 bytes more, can't you cut some useless spaces? After all it's just xml so plenty of ways to improve the space.
-
- Posts: 124
- Joined: Fri Oct 24, 2014 2:55 pm
Re: Order of War. pkg file
aluigi wrote:Come on they are just 2 bytes more, can't you cut some useless spaces? After all it's just xml so plenty of ways to improve the space.
In the text there that removed. So why translate to remove half of the text. I see no other way but to remove the text.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Order of War. pkg file
You must cut the tabs/spaces used for the xml tags, not the text.
For example before the first "<rating>" there are 3 tabs so if you remove 2 of them you reach the exact original size.
For example before the first "<rating>" there are 3 tabs so if you remove 2 of them you reach the exact original size.