The rules have been updated, read them now: Rules!
Search found 61 matches
- Sun Jan 03, 2021 9:43 pm
- Forum: Game Archive
- Topic: Wargame Airland Battle
- Replies: 10
- Views: 1891
Re: Wargame Airland Battle
I do not quite understand what exactly you do not understand. replace "path_to_dat" with the name of the required file, instead of "output_dir" - the name of the directory for unpacking.
- Fri Dec 18, 2020 5:38 pm
- Forum: Game Archive
- Topic: Rebel Galaxy Outlaw PAK files
- Replies: 4
- Views: 956
Re: Rebel Galaxy Outlaw PAK files
Code: Select all
usage:
lua unpack.lua <INPUT.PAK> [OUTPUT_DIR [FILTER]]
- Fri Nov 27, 2020 4:18 pm
- Forum: Game Archive
- Topic: Wargame Airland Battle
- Replies: 10
- Views: 1891
Re: Wargame Airland Battle
Click on the above link, you will be taken to github site. Read the instructions and follow them.
- Sat Jan 11, 2020 10:37 am
- Forum: Game Archive
- Topic: Rebel Galaxy Outlaw PAK files
- Replies: 4
- Views: 956
- Tue Mar 20, 2018 5:30 pm
- Forum: Game Archive
- Topic: Surviving Mars .hpk
- Replies: 1
- Views: 1232
Surviving Mars .hpk
hpk format: // header, 36 bytes char magick[4]; // "BPUL" uint unk1; // 36 (header size or data offset??) uint unk2[5]; // 1, -1, 0, 0, 1 uint entry_offset; // absolute uint entry_size; // entry_offset + entry_size = EOF // data char filedata[xxx]; // file desc struct dir_entry[xxx] { uint ptr; // e...
- Tue Jul 07, 2015 12:24 am
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
Your Lua does not support goto statement.Alianin wrote:Code: Select all
lua: unpack_textures.lua:109: '=' expected near 'skip'
- Sun Jun 07, 2015 1:42 am
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
1) viewtopic.php?p=106145#p106145NuclearTester wrote:Unfortunately, I don't know how to unpack/repack
2) https://github.com/hhrhhr/Lua-utils-for-Witcher-3
3) lua unpack_textures.lua texture.cache output_dir
4) profit
- Thu May 21, 2015 3:44 pm
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
"unpacker" is quite simple, but the decoder - not yet. and yes, strings are not just xored.
- Wed May 20, 2015 3:35 am
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
just in case, to inform you that I have no crystal ball to guess the desire and the contents of incorrect files.
- Wed May 20, 2015 2:04 am
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
use "<I4" instead of "<L".
> I[n]: an unsigned int with n bytes (default is native size)
> I[n]: an unsigned int with n bytes (default is native size)
- Tue May 19, 2015 11:01 pm
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
I can only advise to try all conversion options from here (http://www.lua.org/manual/5.3/manual.html#6.4.2) with string "DXT1", for example, find inoperative and inform maintainer of lua package.
- Tue May 19, 2015 10:08 pm
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
"<L " means "native sized little endian unsigned long". maybe you are using a big endian or/and 16-bit platform?
let's try one byte:
let's try one byte:
Code: Select all
lua -e "print(string.unpack('B', '\xFF'))
255 2
- Tue May 19, 2015 9:24 pm
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
I think that you are using the wrong Lua. try to test:
Code: Select all
> lua -e "print(_VERSION)"
Lua 5.3
> lua -e "print(string.unpack('<L', '\xD2\x02\x96\x49'))"
1234567890 5
- Tue May 19, 2015 8:50 pm
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
String files came with the release of the game. Anyone has any info on how to approach the new w3strings format? I think that the files are very simple, but the contents is just xor-ed. look at any br.w3strings , inside there is almost clean text (UTF16 with some html tags). Getting an error when I...
- Sat May 16, 2015 3:34 am
- Forum: Game Archive
- Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
- Replies: 54
- Views: 23122
Re: The Witcher 3 Wild Hunt (*.cache*.bundle)
almost all .xbm files contain only a small preview image. the rest textures are in content?\texture.cache . here are a couple of scripts to extract the data — https://github.com/hhrhhr/Lua-utils-for-Witcher-3 , needed Lua 5.3 and lua-zlib. some maps from game (extracted, merged from tiles, cropped a...