Page 1 of 7

Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Nov 06, 2021 11:41 am
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!

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Nov 06, 2021 3:50 pm
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Tue Nov 09, 2021 6:53 pm
by 4411
I see, so from my knowledge point we need to have a tool which can get of the encryption right?

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Nov 13, 2021 6:04 am
by TheBoq
Hope to see this developed

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Nov 20, 2021 7:54 pm
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.

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Mon Nov 22, 2021 8:44 am
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Thu Nov 25, 2021 4:00 pm
by kotn3l
Bump? Anyone made some progress?

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Thu Nov 25, 2021 8:19 pm
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Thu Nov 25, 2021 8:21 pm
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.

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Dec 04, 2021 12:08 am
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Dec 04, 2021 12:57 pm
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Dec 04, 2021 1:19 pm
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?

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Dec 04, 2021 1:59 pm
by kotn3l
Nice!! Awesome job

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sat Dec 04, 2021 6:03 pm
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

Re: Guardians Of The Galaxy 2021 Ripping?

Posted: Sun Dec 05, 2021 8:25 am
by Sharppy
Im still waiting for tools from KboyKboy. :keke: