Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Guardians Of The Galaxy 2021 Ripping?

Post questions about game models here, or help out others!
Post Reply
DenniiaLux
ultra-n00b
Posts: 1
Joined: Thu Oct 28, 2021 8:37 pm
Has thanked: 5 times

Guardians Of The Galaxy 2021 Ripping?

Post by DenniiaLux »

Just wondering if anyone figured out how to rip from GTOG so far as i don't see any forum or anyone really talking about this , and i do wanna get my hands on these models i think they would be great for animations!
User avatar
09williamsad
veteran
Posts: 104
Joined: Sun Mar 13, 2016 2:09 pm
Has thanked: 7 times
Been thanked: 36 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by 09williamsad »

From what I can see, Marvel's Guardians of the Galaxy is using the Dawn Engine that Deus Ex Mankind Divided used, and a variation of the archive formats that Hitman Absolution used.

Most of the files have the "pc_resourcelib" extention and "BILR" header.
I cannot see any existing tools that are applicable for it.

Samples https://mega.nz/folder/ySZmhLQZ#SYPlmi42oQL4Mcoxb3W1Xw
My archive of models, audio, textures etc: <Link removed due to site policy> Google my username to find it.
4411
ultra-n00b
Posts: 3
Joined: Mon May 06, 2019 8:41 am

Re: Guardians Of The Galaxy 2021 Ripping?

Post by 4411 »

I see, so from my knowledge point we need to have a tool which can get of the encryption right?
TheBoq
ultra-n00b
Posts: 4
Joined: Tue Aug 03, 2021 8:58 pm

Re: Guardians Of The Galaxy 2021 Ripping?

Post by TheBoq »

Hope to see this developed
User avatar
Yretenai
veteran
Posts: 126
Joined: Tue Jan 28, 2020 4:39 pm
Has thanked: 20 times
Been thanked: 138 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by Yretenai »

The game has a few extensions, some files have the extension .pc_headerlib, with a "HLIB" header.
They might be important, there are also some RLIB parts in the HLIB files.

The HLIB files have strings such as:

Code: Select all

[[assembly:/scenes/_libs/ai_lib/ai_lib.scene].pc_resourcelibdef].pc_headerlib
[[assembly:/common/initchunk.streamable.ini].pc_resourcelibdef].pc_headerlib
[assembly:/objects/dxm/interactive_objects/custom/knu/knu_gamora_cut_jump_horizontal_a/knu_gamora_cut_jump_horizontal_a.fbx?/knu_gamora_cut_jump_horizontal_a.prim].pc_prim
[assembly:/sound/wwise/originals/voices/english(us)/game/officialscript/chapter08/9000_mno/c08_9000_os_cnv/c08_9000_os_cnv_a001_gdn_rocket.wav](dialogue_conversion_settings).pc_wem
59C94B392FC8A8A354D16F4477D4FA9A.pc_headerlib and 9BEF2077AA4D984AEE24F0F021732317.pc_headerlib contain the majority of paths. Both are around 70 MB large.

Based on the DLC, each pc_headerlib has at least 1 pc_resourcelib and 1 pc_scenemetadata file.

Code: Select all

6F932CD9DC60E520A7657B1D540C8F8D.pc_scenemetadata = [assembly:/scenes/dxm/dlc_scenes/dlc_first_party/dlc_first_party.scene].pc_scenemetadata
88E8BA9946D1EBFF92859CF5C4CE6050.pc_resourcelib =  [[assembly:/scenes/dxm/dlc_scenes/dlc_first_party/dlc_first_party.scene].pc_resourcelibdef](0000).pc_resourcelib
FFD50FC8035B504C1C5C02850A347ACD.pc_headerlib = [[assembly:/scenes/_libs/unlockablecontentkeys_lib/unlockablecontentkeys_lib.scene].pc_resourcelibdef].pc_headerlib
these strings are found in the pc_headerlib file.
Notex
n00b
Posts: 12
Joined: Sat Feb 18, 2017 3:12 pm
Has thanked: 6 times
Been thanked: 3 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by Notex »

This may be of some help: https://gitlab.com/dvdkon/dxmd_modding

Deus Ex Mankind Divided had .archive files as well though, so we don't need to keep any code related to that. But there is code related to the BILR header and a lot of other things: https://gitlab.com/dvdkon/dxmd_modding/ ... structs.py
kotn3l
veteran
Posts: 90
Joined: Thu Mar 16, 2017 2:48 pm
Has thanked: 48 times
Been thanked: 19 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by kotn3l »

Bump? Anyone made some progress?
lazenes
n00b
Posts: 16
Joined: Sun Feb 07, 2021 8:57 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by lazenes »

Notex wrote: Mon Nov 22, 2021 8:44 am This may be of some help: https://gitlab.com/dvdkon/dxmd_modding

Deus Ex Mankind Divided had .archive files as well though, so we don't need to keep any code related to that. But there is code related to the BILR header and a lot of other things: https://gitlab.com/dvdkon/dxmd_modding/ ... structs.py
this tool not work
Notex
n00b
Posts: 12
Joined: Sat Feb 18, 2017 3:12 pm
Has thanked: 6 times
Been thanked: 3 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by Notex »

lazenes wrote: Thu Nov 25, 2021 8:19 pm
Notex wrote: Mon Nov 22, 2021 8:44 am This may be of some help: https://gitlab.com/dvdkon/dxmd_modding

Deus Ex Mankind Divided had .archive files as well though, so we don't need to keep any code related to that. But there is code related to the BILR header and a lot of other things: https://gitlab.com/dvdkon/dxmd_modding/ ... structs.py
this tool not work
Well, yeah. I did say it may help. I never said it would work. You would have to modify it so it works.
lazenes
n00b
Posts: 16
Joined: Sun Feb 07, 2021 8:57 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by lazenes »

I am looking for Programmer Friends to help me I am trying to develop a Tool for this game
Image
https://github.com/lazenes/PC_Headerlib-Viewer
kboykboy
beginner
Posts: 20
Joined: Mon Jul 20, 2020 7:08 pm
Been thanked: 32 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by kboykboy »

i made an extractor and super basic model import script for blender, as of right now my extractor is broken but i will share it once i fix it, along with the blender script of course, and will post the code on GitHub for both
You do not have the required permissions to view the files attached to this post.
elasticheart
n00b
Posts: 11
Joined: Fri Oct 08, 2021 8:52 pm
Has thanked: 5 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by elasticheart »

kboykboy wrote: Sat Dec 04, 2021 12:57 pm i made an extractor and super basic model import script for blender, as of right now my extractor is broken but i will share it once i fix it, along with the blender script of course, and will post the code on GitHub for both
This is neat! Does it also extract the textures?
kotn3l
veteran
Posts: 90
Joined: Thu Mar 16, 2017 2:48 pm
Has thanked: 48 times
Been thanked: 19 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by kotn3l »

Nice!! Awesome job
giofrida
ultra-n00b
Posts: 8
Joined: Sun Nov 08, 2020 10:14 am
Has thanked: 2 times
Been thanked: 9 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by giofrida »

Hey!
Just wanted to contribute to the thread by posting my "unscrambler" tool that you can use to decypher .ini.scrambled configuration files you can find inside the bin folder of the game. Maybe it's not very useful for extracting models, but I don't think it deserves its own thread.
This tool was made after reverse engineering the part of the code responsible of deciphering these files, and basically it uses a XOR key to (de)cypher the text and a 4 bytes checksum (also computed with a XOR key).

The C source code and the compiled exe of the tool are available here.
Usage is very simple:

Code: Select all

unscrambler <file>.ini.scrambled
to unscramble the file

Code: Select all

unscrambler <file>.ini
to scramble it again
Sharppy
mega-veteran
mega-veteran
Posts: 163
Joined: Thu Jun 07, 2018 8:09 am
Has thanked: 83 times
Been thanked: 66 times

Re: Guardians Of The Galaxy 2021 Ripping?

Post by Sharppy »

Im still waiting for tools from KboyKboy. :keke:
Post Reply