The Guild 3 Script Archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Zeleboba
Posts: 1
Joined: Thu Nov 09, 2017 1:25 pm

The Guild 3 Script Archive

Post by Zeleboba »

Hello, help with unpacking and packaging the archive with scripts from the game TheGuild 3, laid out 2 files with different versions of scripts, the format of the file .obsp
https://yadi.sk/d/E3BeGZhy3PYn6p
BSM
Posts: 23
Joined: Thu Nov 23, 2017 12:30 am

Re: The Guild 3 Script Archive

Post by BSM »

I can help you providing the unpacked files, explaining enough details to make you able to study the format yourself, or even providing source code of my own tool to unpack these files.
Let me know what do you prefer.
However, maybe you will be disappointed by the result, like I am.

I don't know for sure the meaning of ".obsp", but let me explore some possibilities:
The .obsp could mean something like Object Binary Script Pack, and after unpacking you get stuff we could name something like obs (Object Binary Script); then you need to parse the binary data to get it in human readable way, something like .ots (Object Text Script).

I studied it in hope I could edit the AI scripting for each building production, and stuff like that, but there is no single script about AI in that archive.
For example, the unpacked file for alchemist (level 1), "alchemist.obs", after converted to a text version "alchemist.ots" could be something like this:

Code: Select all

Full name: alchemistshop/alchemistshop
ID: 134
Name: alchemistshop
Type: Building
Description {
   [
      [
         alchemistshop = G3ActorDesc [
            SnapPointsAnimationInformation = {
               "employee00" : [
                  G3SnapPointAnimation
               ]
            } : [
                  AnimationName = "alchemist1"
               ]
            Visual = "alchemist_01"
         ] : [
               EditorIcon = "media/UserInterface/BusinessIcons/LargeImage/Alchemistshop1.png"
               EditorCategory = 1
               EditorName = "Alchemist Shop"
            ]
      ]
   ]
}


EDIT: Oh, and I have studied also the .oppc files, and these are just the 3D models (which I can convert to a wavefront .obj file), and contains also no AI scripts.
LokisAlt
Posts: 1
Joined: Fri Nov 09, 2018 8:35 pm

Re: The Guild 3 Script Archive

Post by LokisAlt »

Hi there! I'm also looking for a way to unpack / repack .obsp files, but for a different game, Darksiders 2.

So far, this post is the only thing I've found regarding .obsp files. Any help you could pass my way at all would be GREATLY appreciated.