READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Shadow Warrior: Special Edition (*.BIN)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
tsl16b
ultra-n00b
Posts: 6
Joined: Mon Dec 27, 2010 1:16 pm
Has thanked: 2 times

Re: Shadow Warrior: Special Edition (*.BIN)

Post by tsl16b » Sun May 10, 2015 2:39 am

Here's my try:

Code: Select all

# BIN archives (used in Shadow Warrior DX11 game on Road Hog v3 game engine) (script 0.1)
# script for QuickBMS http://quickbms.aluigi.org

get			FilesCount		long
savepos		DirStart

for i = 0 < FilesCount
 get			FileNameLength		long
 getdstring	FileNameStr		FileNameLength
 get			UncompressedSize	long
 get			CompressedSize		long
 get			StartPos		longlong
 get			FileTime		time64
 print		"%FileTime% %FileNameStr%"
next i
It would be great to touch file date somehow to a specified value in a TIME64 on the file created by CLog.

siSINka
ultra-n00b
Posts: 1
Joined: Mon Nov 24, 2014 4:46 pm

Re: Shadow Warrior: Special Edition (*.BIN)

Post by siSINka » Tue May 19, 2015 8:51 pm

Anybody knows where are fonts for DX11 version?

[HYBRID BEING]
ultra-n00b
Posts: 1
Joined: Mon Sep 14, 2015 9:14 pm

Re: Shadow Warrior: Special Edition (*.BIN)

Post by [HYBRID BEING] » Mon Sep 14, 2015 9:56 pm

Was trying to get Hoji's mask into usable format. No success. Was able to view model in Havok Standalone Tool though.
Clipboard 1.png
I upgraded both hoji_mask_cs.hkx and animation/idle.hkx to version hk_2010.2.0-r1 (original version Havok-6.6.0-r1), and model opened in Havok Tool just fine, even loaded the textures (although, for some reason i don't know, mirrored upside down). Next tried using hkxcmd extractkf, but this generated 1KB file, which obviously i wasn't able to import into 3D Max. I also tried upgrading files to hk_2012.2.0-r1 and convert to SMD with hktcnv, but it just crashed with IndexOutOfRangeException.
You do not have the required permissions to view the files attached to this post.

bekir007
n00b
Posts: 11
Joined: Thu Aug 02, 2012 1:52 pm
Has thanked: 1 time

Re: Shadow Warrior: Special Edition (*.BIN)

Post by bekir007 » Sat Apr 02, 2016 1:16 pm

merlinsvk wrote:

Code: Select all

# Game: Shadow Warrior (PC)
# BIN extractor (for game version 1.5.0)
# script for QuickBMS    http://aluigi.org/papers.htm#quickbms

comtype zlib
get FILES long
savepos POS
math DATSTART = 0x4
for i = 0 < FILES
  get NAMESZ long
  xmath DATSTART "DATSTART + NAMESZ + 0x1C"
  goto DATSTART  
next i
math DATSTART += 0x4
goto POS
for j = 0 < FILES
  get NAMESZ long
  getdstring NAME NAMESZ
  get SIZE long
  get ZSIZE long
  get OFFSET long
  xmath OFFSET "DATSTART + OFFSET"
  get NULL long
  getdstring UNK 0x8
  clog NAME OFFSET ZSIZE SIZE
next j
Extraction is easy. But repacker would be great.
Have somebody a clue what are that 8 UNK bytes? Checksum / hash? Some files has the same "UNK" bytes. Example:

Code: Select all

data/localisation_unicode/cn/achievements.uni		D8 12 42 C5 E4 54 D0 01
data/localisation_unicode/cn/bossfights.uni		D8 12 42 C5 E4 54 D0 01
data/localisation_unicode/cn/chapter_name.uni		1C 66 63 C5 E4 54 D0 01
data/localisation_unicode/cn/checkpoints.uni		1C 66 63 C5 E4 54 D0 01
data/localisation_unicode/cn/comic.uni			D8 12 42 C5 E4 54 D0 01
data/localisation_unicode/cn/dialogs_and_objectives.uni	1C 66 63 C5 E4 54 D0 01
...
data/localisation_unicode/pl/achievements.uni		C2 A6 B0 C6 E4 54 D0 01
data/localisation_unicode/pl/bossfights.uni		C2 A6 B0 C6 E4 54 D0 01
data/localisation_unicode/pl/chapter_name.uni		43 2C BA C6 E4 54 D0 01
data/localisation_unicode/pl/checkpoints.uni		43 2C BA C6 E4 54 D0 01
data/localisation_unicode/pl/comic.uni			C2 A6 B0 C6 E4 54 D0 01
data/localisation_unicode/pl/dialogs_and_objectives.uni	43 2C BA C6 E4 54 D0 01
...
data/localisation_unicode/ru/achievements.uni		85 74 C8 C6 E4 54 D0 01
data/localisation_unicode/ru/bossfights.uni		85 74 C8 C6 E4 54 D0 01
data/localisation_unicode/ru/chapter_name.uni		45 37 CD C6 E4 54 D0 01
data/localisation_unicode/ru/checkpoints.uni		45 37 CD C6 E4 54 D0 01
data/localisation_unicode/ru/comic.uni			85 74 C8 C6 E4 54 D0 01
data/localisation_unicode/ru/dialogs_and_objectives.uni	A6 98 CF C6 E4 54 D0 01
pc_arch_scripts.bin

Code: Select all

http://www28.zippyshare.com/v/34GNR4uM/file.html
isn't there anybody that can repack? if i use this script for repack, game (dx11) crashes.

merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 117 times

Re: Shadow Warrior: Special Edition (*.BIN)

Post by merlinsvk » Sat Apr 02, 2016 2:18 pm

Here, my BIN packer, made in AutoIT.

http://www65.zippyshare.com/v/4kXkNyYT/file.html

Post Reply