Important information: this site is currently scheduled to go offline indefinitely by end of the year.
The Witcher 2
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: The Witcher 2
Thanks, it was simple enough that I didn't go hunting for what algo it was.
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: The Witcher 2
here is the bms script.
you need to use the 64 bit quickbms to extract it all.
you need to use the 64 bit quickbms to extract it all.
Code: Select all
idstring DZIP
comtype COMP_LZF
get unk01 long
get files long
get unk02 long
get tableoff longlong
for i = 0 < files
goto tableoff
get nsize short
getdstring name nsize
get unk03 long
get unk04 long
get size longlong
get offset longlong
get zsize longlong
savepos tableoff
goto offset
get offadd long
math offset + offadd
math zsize - offadd
clog name offset zsize size
next i
Re: The Witcher 2
How do you guys work this stuff out so quickly? I'd love to learn to write unpackers.
Re: The Witcher 2
No, if you export with a proper SVN client it will pull it from an external.voltagex wrote:Rick, that code is pretty cool, but it's missing Gibbed.Helpers - are you keeping it secret?
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Re: The Witcher 2
Hey Rick, took a look at your code, pretty neat; sadly, I don't understand most of it, haha. Have you made any progress on reversing the process and repacking into a dzip?
Re: The Witcher 2
Don't need to, the game will override dzip contents with those that are on the disk.
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Re: The Witcher 2
So, you just place the folder where the dzip would usually be and the game will use it?Rick wrote:Don't need to, the game will override dzip contents with those that are on the disk.
EDIT: Just tried it, doesn't seem to work. I don't want to sound too needy, but you sure there wouldn't be away you can release something to repack it into dzip for the heck of it?
Re: The Witcher 2
It does work as far as I can tell.
IE:
From pack0.dzip: engine\textures\icons\witcher.xbm
Placed in CookedPC\engine\textures\icons\witcher.xbm
The game will read the one on the disk.
IE:
From pack0.dzip: engine\textures\icons\witcher.xbm
Placed in CookedPC\engine\textures\icons\witcher.xbm
The game will read the one on the disk.
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Re: The Witcher 2
Say, if you used your legit serial to deserialize your .dlc file and extract it, how would you get it back into dzip form for it to work? I've tried this, and it wont load anything from just a folder.Rick wrote:It does work as far as I can tell.
IE:
From pack0.dzip: engine\textures\icons\witcher.xbm
Placed in CookedPC\engine\textures\icons\witcher.xbm
The game will read the one on the disk.
Re: The Witcher 2
Why would you want to repack DLC?
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Re: The Witcher 2
They wont load from just a folder, only dzip.Rick wrote:Why would you want to repack DLC?
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: The Witcher 2
To export the svn just use
"C:\Program Files\Subversion\bin\svn.exe" export http://svn.gib.me/public/red C:\red\
"C:\Program Files\Subversion\bin\svn.exe" export http://svn.gib.me/public/red C:\red\
Re: The Witcher 2
.XBM textures? What manner of witchcraft is this?!
Seriously though, anyone got a program to recommend for err... doing anything with them?
Seriously though, anyone got a program to recommend for err... doing anything with them?