Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Search found 8 matches

by designgears
Wed May 20, 2015 3:08 am
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote:use "<I4" instead of "<L".

> I[n]: an unsigned int with n bytes (default is native size)
This does work, but the files that come out aren't valid dds files.

edit---

Ahh, needed to change <L below too.
by designgears
Wed May 20, 2015 2:10 am
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote:use "<I4" instead of "<L".

> I[n]: an unsigned int with n bytes (default is native size)
Ahh, that seems to have done the trick!
by designgears
Wed May 20, 2015 1:38 am
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote: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.
Well, it even fails on their demo page.

http://www.lua.org/cgi-bin/demo

Very annoying.
by designgears
Tue May 19, 2015 10:48 pm
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote:"<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:

Code: Select all

lua -e "print(string.unpack('B', '\xFF'))
255     2
That works.

I am running Fedora 64bit on virtualbox.
by designgears
Tue May 19, 2015 9:33 pm
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote: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
Odd, I have 5.3 installed. I get the same error with your test.
by designgears
Tue May 19, 2015 8:56 pm
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

Re: The Witcher 3 Wild Hunt (*.cache*.bundle)

hhrhhr wrote:
designgears wrote:Getting an error when I try to unpack.
full command line?
lua ./unpack_textures.lua texture.cache unpack
by designgears
Tue May 19, 2015 8:36 pm
Forum: Game Archive
Topic: The Witcher 3 Wild Hunt (*.cache*.bundle)
Replies: 54
Views: 31608

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 ...
by designgears
Fri Dec 19, 2014 5:45 pm
Forum: Game Archive
Topic: Black Desert PAZ + Meta File
Replies: 153
Views: 101356

Re: Black Desert PAZ + Meta File

Reversing is happening in here for years and now it need to be wiped, for what reason ? Game files not shared, as far as i understand DMCA notice is only to sharing file, not on tools made by 3th parties? I would like to understand this and im pretty sure everyone else as well. Im sorry but this is...