Join also our Discord channel! Click here.

Ghost in the shell: First assault (request)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
erik945
mega-veteran
mega-veteran
Posts: 192
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 25 times
Been thanked: 51 times

Ghost in the shell: First assault (request)

Post by erik945 » Sat Oct 03, 2015 6:01 am

Can anybody help with unpack dat archives?
Game files here:
https://mega.nz/#F!hos3hbgA!osg5PEdocR4ytQqjcupVhg

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1650
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 68 times
Been thanked: 832 times

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

Post by Ekey » Sat Oct 03, 2015 12:41 pm

DAT files is encrypted. Need full game for research.

atvaark
advanced
Posts: 51
Joined: Fri Aug 28, 2015 3:19 pm
Been thanked: 45 times

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

Post by atvaark » Sat Oct 03, 2015 11:39 pm

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.

erik945
mega-veteran
mega-veteran
Posts: 192
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 25 times
Been thanked: 51 times

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

Post by erik945 » Sun Oct 04, 2015 10:30 pm


no9
ultra-n00b
Posts: 4
Joined: Wed Oct 07, 2015 5:13 am
Been thanked: 1 time

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

Post by no9 » Wed Oct 07, 2015 5:15 am

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.

erik945
mega-veteran
mega-veteran
Posts: 192
Joined: Fri Jan 20, 2012 5:43 pm
Has thanked: 25 times
Been thanked: 51 times

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

Post by erik945 » Wed Oct 07, 2015 12:10 pm

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 ;)
You do not have the required permissions to view the files attached to this post.

falconcool
veteran
Posts: 87
Joined: Tue Jun 16, 2009 4:41 am
Has thanked: 11 times
Been thanked: 6 times

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

Post by falconcool » Mon Dec 28, 2015 12:18 am

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

staberind
ultra-n00b
Posts: 1
Joined: Thu Apr 21, 2016 12:20 am
Has thanked: 2 times

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

Post by staberind » Thu Apr 21, 2016 12:29 am

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.
Last edited by staberind on Wed May 18, 2016 11:06 am, edited 1 time in total.

Squirrels
ultra-n00b
Posts: 1
Joined: Fri Apr 29, 2016 7:26 pm

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

Post by Squirrels » Fri Apr 29, 2016 7:30 pm

Anybody have an idea how to read data from the TDB's from the DB.dat?
You do not have the required permissions to view the files attached to this post.

Gazyi
n00b
Posts: 19
Joined: Sat Feb 15, 2014 4:07 pm
Has thanked: 11 times
Been thanked: 2 times

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

Post by Gazyi » Mon Jun 20, 2016 5:07 pm

Extractor script works only on Python 2.x. Just saying, so people don't waste time trying to run it on 3+ versons.

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 184 times
Contact:

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

Post by cra0 » Mon Aug 01, 2016 6:45 am

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

trexjones
veteran
Posts: 112
Joined: Mon Oct 13, 2014 6:54 am
Has thanked: 52 times
Been thanked: 6 times

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

Post by trexjones » Tue Apr 04, 2017 5:38 am

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...
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1310
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2628 times
Been thanked: 800 times

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

Post by Acewell » Tue Apr 04, 2017 5:54 am

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"

trexjones
veteran
Posts: 112
Joined: Mon Oct 13, 2014 6:54 am
Has thanked: 52 times
Been thanked: 6 times

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

Post by trexjones » Tue Apr 04, 2017 6:31 am

Thanks Ace! Always there when I need ya! ;D

episoder
veteran
Posts: 151
Joined: Fri Oct 16, 2015 8:05 pm
Has thanked: 3 times
Been thanked: 68 times

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

Post by episoder » Thu Jun 08, 2017 12:06 am

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
You do not have the required permissions to view the files attached to this post.

Post Reply