Page 1 of 2

Ghost in the shell: First assault (request)

Posted: Sat Oct 03, 2015 6:01 am
by erik945
Can anybody help with unpack dat archives?
Game files here:
https://mega.nz/#F!hos3hbgA!osg5PEdocR4ytQqjcupVhg

Re: Ghost in the shell: First assault (request)

Posted: Sat Oct 03, 2015 12:41 pm
by Ekey
DAT files is encrypted. Need full game for research.

Re: Ghost in the shell: First assault (request)

Posted: Sat Oct 03, 2015 11:39 pm
by atvaark
The game is protected with Themida, but I had no luck with unpacking it yet. If someone wants the binaries just send me a PM.

Re: Ghost in the shell: First assault (request)

Posted: Sun Oct 04, 2015 10:30 pm
by erik945

Re: Ghost in the shell: First assault (request)

Posted: Wed Oct 07, 2015 5:15 am
by no9
Ekey wrote:DAT files is encrypted. Need full game for research.
No it's not. Did you even check the file?

Image

I literally copied it from point to point its all just raw data. I'll have a BMS Script up soon.

Re: Ghost in the shell: First assault (request)

Posted: Wed Oct 07, 2015 12:10 pm
by erik945
parser dat files

10 line - path to firectory for unpacked files
11 line - path to parsed file

Thank episoder for hint.
(https://facepunch.com/showthread.php?t= ... st48913579)

upd: Fix skipping last file

How to use:

1. Download and install python's interpreter
(https://www.python.org/downloads/)

2. Edit script - this is simple text file

10 line - path to firectory for unpacked files
11 line - path to parsed file

path_BaseDirectory = " _ your directory for unpacked files _ "
unpack_file = " _ your path to *.dat file _"

3. Save it.

4. Drag and drop script file to python.exe

5. Wait, watch and enjoy ;)

Re: Ghost in the shell: First assault (request)

Posted: Mon Dec 28, 2015 12:18 am
by falconcool
I used the Python 3.4 64bit to test your script.
I only downloaded the model.dat Db.dat and StringTable.dat 3 files.
Here is the result(I've edited path you mentioned in line 10 and line 11.

I've put the StringTable.dat and DB.dat in the same folder.

Here is the error log

Code: Select all

Traceback (most recent call last):
  File "H:\GIS\gits_unpacker1.1.py", line 49, in <module>
    print("File discriptor offset: " + str(back_offset - 8) + " " +file_name)
TypeError: Can't convert 'bytes' object to str implicitly
Image



Edit : Using the Python 32 bit version has successfully extracted the file.
Do not use 64 bit Python to run this script:P

Re: Ghost in the shell: First assault (request)

Posted: Thu Apr 21, 2016 12:29 am
by staberind
8D This is fantastic, thanks, I bought it and was dismayed when I found it was just a crappy fps, now I can actually use the models and justify blowing £££ on it.

Yay, managed to extract the models, now to find a way to import/export the nif.

Re: Ghost in the shell: First assault (request)

Posted: Fri Apr 29, 2016 7:30 pm
by Squirrels
Anybody have an idea how to read data from the TDB's from the DB.dat?

Re: Ghost in the shell: First assault (request)

Posted: Mon Jun 20, 2016 5:07 pm
by Gazyi
Extractor script works only on Python 2.x. Just saying, so people don't waste time trying to run it on 3+ versons.

Re: Ghost in the shell: First assault (request)

Posted: Mon Aug 01, 2016 6:45 am
by cra0
We hacking the game over at UnknownCheats
if anyone wants a full dump of the game exe with fixed IAT/Imports pm me.
They using themida which is so annoying man

Re: Ghost in the shell: First assault (request)

Posted: Tue Apr 04, 2017 5:38 am
by trexjones
Would someone possibly be able to help me out here...? I'm not entirely sure what I need to do to rectify this as it doesn't seem to have been an error anyone else has come up against...

Re: Ghost in the shell: First assault (request)

Posted: Tue Apr 04, 2017 5:54 am
by Acewell
looks like the \f in the path is being interpreted as the escape sequence \x0c which is a form feed.

3 ways to fix this posted here :D
viewtopic.php?p=127222#p127222

raw string

Code: Select all

r"D:\Steam\steamapps\common\firstassault\Data"
double backslash

Code: Select all

"D:\\Steam\\steamapps\\common\\firstassault\\Data"
forward slash

Code: Select all

"D:/Steam/steamapps/common/firstassault/Data"

Re: Ghost in the shell: First assault (request)

Posted: Tue Apr 04, 2017 6:31 am
by trexjones
Thanks Ace! Always there when I need ya! ;D

Re: Ghost in the shell: First assault (request)

Posted: Thu Jun 08, 2017 12:06 am
by episoder
just for completeness and future extraction. the v2 capable script. tested on closed pts files and working in python 2.7 (sfm) and 3.5 (blender) and extracting both the live and upcoming v2 files. and it's alil bit faster. :D