Shadowrun

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Shadowrun

Post by aluigi »

2007 – Shadowrun (FASA Interactive; Windows and Xbox 360)

http://aluigi.org/bms/shadowrun.bms
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

Now it's time I should report this.

Out of all the .data/.toc files I tested(not the ones that were stored inside a folder), I only got those errors:

Code: Select all

core.data/toc, game.data/toc files:
log NAME OFFSET SIZE 1

fp-###.data/toc files(except maybe fp-human.data):
getdstring NAME NAMESZ


Here are the samples, all uploaded through a MEGA folder:
https://mega.nz/#F!kBdBRBzB!f-7FhLRldSe5R3S4VWKMmg
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

Script 0.2
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

Thanks for the update, aluigi. It actually worked this time.
Now thanks to your script, I found something interesting...
It's a .bnk file, but it uses a different structure for some reason. It also seems that there are filenames stored in the end.
Here are the files just in case.

EDIT: And here are all the .pws files. From what I saw, they seem to have all the audio data; mostly it's XMA2.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

Bump.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

Well, just recently I started writing a script for Shadowrun(2006) .bnk archives. But I'm still confused as to what should I do with it.

Code: Select all

idstring "AKBK"
getdstring ZERO 0x8
idstring "BKHD"
get TMP long
endian guess TMP

set WANTED_CHUNK string "DATA"
The .pws files didn't give me much luck either. The references are all messy, which leads me to suggest that the archive files maybe has some chunk data.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

Why you talk about the pws archives?
They have been solved by the shadowrun.bms script 2 months ago.

For the AKBK I opted for a new version 0.1.3 of armyoftwo.bms, I'm not sure about this choice but it's easier.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

See here:

Code: Select all

- open input file E:\Shadowrun [NTSCU]\resources\base.pws
- open script E:\quickbms_scripts\shadowrun.bms
- set output folder E:\Shadowrun [NTSCU]\resources\base
- the folder doesn't exist, do you want to create it (y/N)?:
  y

  offset   filesize   filename
--------------------------------------
- enter in folder E:\Shadowrun [NTSCU]\resources
  coverage file 0     0%   0          94240768
- open input file E:\Shadowrun [NTSCU]\resources\base.toc

- error in src\file.c line 243: fdnum_open()
Error: No such file or directory

Last script line before the error or that produced the error:
  4   open FDDE "toc"
As for the filenames at the end of each .bnk archive, well, that's something I need to solve myself... or maybe you can do it, I don't know.
I just wanted to say thanks for the updated script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

Try script 0.2.1 for the pws archives.

And yes for the names in the bnk you have to do it by yourself.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

For the base.pws archive, it only managed to extract 12% of the files.
As for the rest:
en-us.pws: 72%
es-la.pws: 77%
fr-fr.pws: 75%

Is this a normal thing or what?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

Try 0.2.2
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Shadowrun

Post by AnonBaiter »

Thanks for the update.
jadugar
Posts: 38
Joined: Tue Nov 29, 2016 6:39 pm

Re: Shadowrun

Post by jadugar »

............
Last edited by jadugar on Thu Sep 07, 2017 9:29 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

The format is very simple and doesn't use compression or encryption so there are no problems with the reimporting.
Are you sure to have correctly reimported the file?
You should see the name of the reimported file if it works and "1 files reimported".
jadugar
Posts: 38
Joined: Tue Nov 29, 2016 6:39 pm

Re: Shadowrun

Post by jadugar »

aluigi wrote:The format is very simple and doesn't use compression or encryption so there are no problems with the reimporting.
Are you sure to have correctly reimported the file?
You should see the name of the reimported file if it works and "1 files reimported".
Last edited by jadugar on Thu Sep 07, 2017 9:30 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

Oh I understand.
Probably the game checks the checksum/hash field of each file or the hash of the archive so you cannot use the new content.
jadugar
Posts: 38
Joined: Tue Nov 29, 2016 6:39 pm

Re: Shadowrun

Post by jadugar »

aluigi wrote:Oh I understand.
Probably the game checks the checksum/hash field of each file or the hash of the archive so you cannot use the new content.

Can you add these to the script?
jadugar
Posts: 38
Joined: Tue Nov 29, 2016 6:39 pm

Re: Shadowrun

Post by jadugar »

..........
Last edited by jadugar on Thu Sep 07, 2017 9:29 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shadowrun

Post by aluigi »

No, I can do absolutely nothing. It's something specific of the game or it may be a field of the format that in any case is not changed in reimport mode.
jadugar
Posts: 38
Joined: Tue Nov 29, 2016 6:39 pm

Re: Shadowrun

Post by jadugar »

aluigi wrote:No, I can do absolutely nothing. It's something specific of the game or it may be a field of the format that in any case is not changed in reimport mode.

So in practice, this script does not work
Just view the files of this archive with other software!


shadowrun.bms :!: