AnonBaiter's Script Compendium

Do you know a tool, link or website for working on a specific game files or to help game research? Let's collect them here!
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

Lair (PS3) - *.dat/*.txt/*.data

as it is right now, only the .dat archive format used in the game is useful with this script in any way
however, since most - if not all - files stored in said format are technically "packed files" by definition, i've set up a "parse_data" variable in which the extraction process is set by the user
the instructions goes like this

Code: Select all

math parse_data = 0 # normal extraction(one file will be extracted without any fingerprints of any kind)
math parse_data = 1 # thorough extraction(as in, one "packed file" will be extracted into several subfiles of its own)
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

quanticdream (Fahrenheit/Indigo Prophecy/Fahrenheit Indigo Prophecy) - QUANTICDREAMTABINDEX/QUANTICDREAMTABIDMEM

based on aluigi's quanticdream.bms script
support for PC version(except the PC demo of the game - the script already works with it except with the .dbg format) will come at a later date, and so will be Fahrenheit: Indigo Prophecy Remastered as well
Last edited by AnonBaiter on Mon Jun 25, 2018 9:54 pm, edited 4 times in total.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

quanticdream (Sony era) - QUANTICDREAMTABINDEX/QUANTICDREAMTABIDMEM/.sdat/.edat
bnnm
Posts: 13
Joined: Mon Nov 06, 2017 8:24 pm

Re: AnonBaiter's Script Compendium

Post by bnnm »

Did a minor fix for The Bouncer to read names from .nam (simply, all are size 0x8)

https://www.sendspace.com/file/lw766x
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

i've reviewed all of your changes

to prevent extraction errors out of these ".tbl" files, the "getdstring" function of the NAME variable should get a name that is within reach of a certain file - meaning, this is how it's actually done

Code: Select all

if OFFSET != 0xffffffff || SIZE != 0xffffffff
   getdstring NAME 8 1

   math OFFSET * 0x800
   log NAME OFFSET SIZE 2
endif
i also addressed an oddity of mine which is this specific line

Code: Select all

xmath OFF2 "TMP3"
i replaced this weird line with

Code: Select all

math OFF2 = TMP3
an easy-to-read line so it doesn't look as horrid

after this post just assume i've already updaded my "The Bouncer" post with said script you made a change from
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

Any idea when will be available support for Fahrenheit: Indigo Prophecy Remastered? I am trying to make a translation.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

unfortunately this is not my top priority
you can try and test that fahrenheit_indigo_prophecy.bms script into one of those remastered files if you want though
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

I tested it but after it extracts some files I have no idea how to get the text.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

good
come to think of it i kinda examined a few files which contained "text" stuff
they kinda look like unicode text though, not to mention embedded in one of those "PARTITIO" files
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

The script extracts several types of files in 7 folders. In the first folder named "000a" are .dbraw files. In the second, third and seventh folder named "0ffb" "03f2" and "0833" are .partitio files. In the fourth folder named "0007" are .databank files. In the fifth and sixth folder named "0008" and "082e" are .com_cont files. If that will help I can send you the files.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

actually i'm quite resourceful with that game alone(excluding Remastered, i don't have that one to check although i suspect the data isn't very different from the original version of the game) so i'll take a look at these kind of stuff later on
as for these files though, the "dbraw" ones are simply raw texture data, "databank" is just a mini-archive in the veins of Crystal Dynamics' DRM format, "com_cont" is just programming stuff, "partitio" is just streamed audio data plus embedded stuff such as animation data and/or dialogue text

for now i'll have to confirm the above info but that's all i know for now
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

SCEE London Studio/Team Soho/SCEE - *.PAK files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

Tekken Tag Tournament

all known releases(demo or not) of this game are covered in this script - at least for now
right now you can only use the script with the game executable(SLPS_200.15 for example)

UPDATE(22/08/2018): a very minor but impactful bug has been fixed regarding another version of the game's EXE(it's the japanese release) - the script works okay with the rest
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

Dawn Engine - *.archive

okay, so what i got out of this format was this:
first of all a file is divided into a certain number of chunks
said number can range from 1 to about 200 of those chunks, and they're just about everywhere, scattered throughout your average .archive file
this script tries to parse these file chunks as-is since in the end those are what constitutes an entire file in the first place

oh yeah, as you can tell this script covers all known games that used the Dawn Engine(check the list below in case you want to know about that), designed for exclusive use for all game projects contained within what the developers love to call the "Deus Ex Universe" - the list is right below this text for further checking

Code: Select all

[All platforms(Steam(Windows 7, MacOS, Linux(including SteamOS)), PlayStation 4, Xbox One) - Currently Untested and Unsupported] Deus Ex: Mankind Divided
[Steam exclusive - Tested and Supported] Deus Ex: Breach
[Steam exclusive - Tested and Supported] Deus Ex: Mankind Divided – VR Experience
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

alright, as this thread is growing increasingly large [if not annoying] to navigate (i have to go through 5 pages just so i can use a quickbms script!!!!!!!!!!!!!????????????????????) i'll be transferring most of my (publicly released) scripts right here
https://github.com/AnonBaiter/le_quickbms_script_compendiumthis one is quite a mess right now but i think this is for the better
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

Can you help me with this issue with your Fahrenheit: Indigo Prophecy script? Do I need a different version of quickbms or the problem is in something else?
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

to be fair i haven't really thought this through while writing that script so... yeah
unless by some miracle you read the .bms script(i remember supporting at least one file that came out of Fahrenheit.exe in that script) you'll be pretty much lost
on the other hand, quickbms does not take any responsibility for what the heck did you just do
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

Well the script worked for the remastered edition when I tested it in July so I guess it should work in the original game too. Maybe the problem is in the version of the quickbms because I've had a problem when I tried to extract with different versions of the script and quickbms for another game and it didn't work. Currently the script extracts 0 files from.idm file with v 0.9.2.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: AnonBaiter's Script Compendium

Post by AnonBaiter »

oshit

if my memories serve me right, i remember applying the same script with the PS2 and Xbox versions of that same Fahrenheit game, heck at one point it even worked with the PC demo of the game
however, when it came to support the (original) PC version of the game that one BigFile_PC.idm file was such a mess i had to think of a flimsy solution so that the script could actually work with said version
this meant using this parse_exe.bms script on the .exe on the condition said .exe isn't DRM-d(i used some GOG copy of the game as the basis for this solution) then after quickbms was done with that .exe using said script i decided to look for the last extracted file of the .exe that reads "LASTDATA" as its filename
from there on i tried to support the original PC version of the game this way, and believe it or not it actually worked
form there on my plan with fahrenheit_indigo_prophecy.bms was clear - make sure the script supports both the DRM-free PC version of the game and the original DRM-d PC version of the game - but as i had plenty of time(as in, time i could actually gather to do such a thing) to make that happen i decided to treat the whole thing on a much lower priority
but then when it came time to do other stuff with my HDD i realized i ran out of space for gathering enough resources needed to make this work so i had to something i'd never thought i'd do

so basically the problem is not about which quickbms version you're actually using, it's just that the script desperately needed a lot of help to be actually ready

anyway, as for "another game" can you tell me what "that" is
sergop
Posts: 125
Joined: Mon Jul 31, 2017 2:28 am

Re: AnonBaiter's Script Compendium

Post by sergop »

Ok thx i will try to find gog version. As for the ''other'' game I don't specificaly remember but the script wasn't from here. Someone made it and someone told me to try with older version and it worked.