Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lyrikwritr
Posts: 14
Joined: Mon Sep 18, 2017 5:25 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by lyrikwritr »

Are the dds and NIF files encrypted in version 2.0 I exstracted them but they wont open. I want the voices also the BMS script for the game dosent work I used the fallowing one how ever it did exstract them.
goto -6
get TABLE_OFFSET long
for i
goto TABLE_OFFSET
get IDX_SIG long
if IDX_SIG != 0x2a2ceb87
break
endif
goto 0x10 0 SEEK_CUR
get SIZE long
goto 0x4 0 SEEK_CUR
get NAME_SIZE long
goto 0xa 0 SEEK_CUR
get DATA_OFFSET long
goto NAME_SIZE 0 SEEK_CUR
savepos TABLE_OFFSET
goto DATA_OFFSET
get CHUNK_SIG long
goto 0x16 0 SEEK_CUR
get NAME_SZ short
get SKIP short
getdstring NAME NAME_SZ
savepos OFFSET
log NAME OFFSET SIZE
next
lyrikwritr
Posts: 14
Joined: Mon Sep 18, 2017 5:25 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by lyrikwritr »

ok uploading it ill post the dat files I am trying to extract along with ones I have using scripts I could find. If you want more files it will take time to compress and upload.
lyrikwritr
Posts: 14
Joined: Mon Sep 18, 2017 5:25 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by lyrikwritr »

ok here are the files I uploaded if you need more let me know. like I said I am a total noob at this!

https://mega.nz/#!ZqxgRAjR!Hk4ZCSQfof0W ... 2jmF_eepIE
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by Acewell »

that looks like my script here which reads from the table :)
http://forum.xentax.com/viewtopic.php?p=133458#p133458

i had only one "2.0" sample to test (world.dat) , but it looked fine after extraction, i guess your samples are different.
your extracted files have extra 20 bytes in the headers after extraction.

edit
i think i know what this is for now
get SKIP short
that is the length of data following the string until the actual offset, this would eliminate any header cleanup too! :D

edit2
yes that seems to work, i will update my bms and python script :)
the dds textures open fine and the nif models now open in Noesis :D
use the modified bms extraction script here
http://forum.xentax.com/viewtopic.php?p=133458#p133458
or the Noesis python extraction script here
http://forum.xentax.com/viewtopic.php?p=133461#p133461
lyrikwritr
Posts: 14
Joined: Mon Sep 18, 2017 5:25 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by lyrikwritr »

the DDS files are opening fine so far and ill open the meshes in blender should work great now thanks if the game dose tank and no one picks up the licence I will most likely use the for a NMRIH mod lol :shock: JUst another quick FYI Nifskope dosent seem to want to open the NIf's says something about not being able to open the file headers
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by aluigi »

The format is just a normal ZIP archive with modified constants.
I have used my zip2.bms script to rewrite the one for Ghost in the Shell and I have also updated zip2.bms to work in these particular situations:
http://aluigi.org/bms/ghost_shell_first_assault.bms (script 0.2)
http://aluigi.org/bms/zip2.bms (script 0.1.1)
Both work perfectly
cofpro
Posts: 4
Joined: Thu Dec 14, 2017 8:38 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by cofpro »

hello guys

so i used the scripts that was on this thread for quickbms

http://forum.xentax.com/viewtopic.php?f ... lt#p133455

but the problem i have is that when i extract the options.dat file
i get the ini files from the .dat file but they seems like they are either
encrypted or maybe corrupt

if they are corrupt then is it possible to fix it ?

or if they are encrypted how do i decrypt them ?
in the screenshot you guys can see how it looks when i try to open them

and if its to any help i am trying to extract them from GITS 2.0

any help is appreciated
THANK YOU
cofpro
Posts: 4
Joined: Thu Dec 14, 2017 8:38 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by cofpro »

i tried this script too
http://hl.altervista.org/split.php?http ... ssault.bms

and the ini files looks like this
and output looks like this
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by aluigi »

Upload the archive (option.dat?) that gives the problem.
cofpro
Posts: 4
Joined: Thu Dec 14, 2017 8:38 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by cofpro »

aluigi wrote:Upload the archive (option.dat?) that gives the problem.



here you go ^^
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by aluigi »

Oh, I forgot an "i" in the script and so it continued to extract more files than those existent :)
Script 0.2.1

Anyway it didn't cause any issue to the extracted files, so what you get with the bugged script are exactly the same files you get with this one.
cofpro
Posts: 4
Joined: Thu Dec 14, 2017 8:38 am

Re: Ghost in the Shell: Stand Alone Complex - First Assult Online (PC)

Post by cofpro »

aluigi wrote:Oh, I forgot an "i" in the script and so it continued to extract more files than those existent :)
Script 0.2.1

Anyway it didn't cause any issue to the extracted files, so what you get with the bugged script are exactly the same files you get with this one.



oh okay well thank you for your time ^^