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

2022 - Tom Clancy's Rainbow Six: Siege Asset Extraction Tools

Post questions about game models here, or help out others!
Skyborik
ultra-n00b
Posts: 2
Joined: Wed Feb 17, 2021 9:57 pm

Re: Rainbow Six: Siege Models Thread

Post by Skyborik »

Is there a database for UIDs? I am interested in props from several maps
Tushkan
veteran
Posts: 106
Joined: Mon Dec 18, 2017 1:47 pm
Has thanked: 2 times
Been thanked: 39 times

Re: Rainbow Six: Siege Models Thread

Post by Tushkan »

Right now there are only character UIDs published here. So you'll have to dig those yourself. But you can share them when you find em )
Rainbow 6 Siege forge unpacking tool:
https://www.dropbox.com/sh/b2cuse4hp90y ... qTfja?dl=0
Skyborik
ultra-n00b
Posts: 2
Joined: Wed Feb 17, 2021 9:57 pm

Re: Rainbow Six: Siege Models Thread

Post by Skyborik »

By roaming meshes I found some of the props from the maps. I've tried dumping these assets to get the textures but the script has dumped the whole map with all of its meshes and textures. It's a lot of data. I got folders with like 10k files. Is there a way to dump the prop without dumping the whole map?
User avatar
floxay
veteran
Posts: 84
Joined: Thu Mar 05, 2020 10:35 am
Has thanked: 16 times
Been thanked: 9 times

Re: Rainbow Six: Siege Models Thread

Post by floxay »

Figured someone might wanna do this as well for shop images and other icons:

changing line 233 in tex.py to this

Code: Select all

f"{exe} {rewrite}{vflip}-ft png -srgbi -l -f R8G8B8A8_UNORM_SRGB -o {fdir} {fpath}"
will output files with lowercase '.png' extension and gamma will be correct in Windows Photos, it is possible that this might require you to change color space in for example Blender

the -l switch (for lowercase extension) requires a newer version of texconv.exe LINK
Custard
advanced
Posts: 65
Joined: Fri Oct 25, 2019 12:33 am
Has thanked: 11 times
Been thanked: 14 times

Re: Rainbow Six: Siege Models Thread

Post by Custard »

Tushkan wrote: Mon Mar 15, 2021 12:00 pm Custard, unless someone provides an info on how game normals are packed in general (or, better yet, for Anvil Next in particular) I see now way of fixing it. All I can do right now is guesstimate which isn't very efficent.

About that shadow bug - what you see is also known as a shadow terminator issue that is pretty pronounced in Cycles ( https://developer.blender.org/T68920 ). Make a perfectly round sphere with not much poly loops, cast a backlight - and you will see same effect. There is a setting (in object tab iirc) that allows to adjust it. I'd rather play with that than try to finesse those normals =)
Hm I see, oh well we'll do what we can. I see that terminator adjustment as well, it's proven useful.

Been looking at the shader data, bit over my head alot of it. Though it confirms the gloss usage floxay told about. It also seems to imply the entire packed texture is plugged in as Specular, not just the green channel as I've been doing. I need to read an article or two on HSLS.. :scaredy:

Btw, don't known if it's still the same now, but the dump_asset.py iteration I got after you updated it for shaders had some returns in it which stopped it dumping anything but shaders. They were handily commented for removal.

Well it's been a while coming but I'm calling Aruni done, she's available now. It should now take me a small fraction of the effort to do any other character from the game to the same standard of completion. I'll try Elite Hibana next and see how true that is.
User avatar
CAXX
ultra-n00b
Posts: 3
Joined: Tue Aug 06, 2019 12:44 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Rainbow Six: Siege Models Thread

Post by CAXX »

Btw, don't known if it's still the same now, but the dump_asset.py iteration I got after you updated it for shaders had some returns in it which stopped it dumping anything but shaders. They were handily commented for removal.
I was thinking it had something to do with the new file structure update, but it was confirmed that there are no problems with that. After looking a bit more carefully at the dump_asset.py code I noticed 2 comments right at the start of both texture and mesh export scripts:

Code: Select all

def process_texture(dump_dir, forge, uid, entry_index):
    return  # REMOVE THIS!

Code: Select all

def process_mesh(dump_dir, forge, uid, entry_index):
    return  # REMOVE THIS!
Basically you need to either comment out the early returns or delete them and then the script will dump textures, meshes and shaders as usual.
Custard
advanced
Posts: 65
Joined: Fri Oct 25, 2019 12:33 am
Has thanked: 11 times
Been thanked: 14 times

Re: Rainbow Six: Siege Models Thread

Post by Custard »

UID master list up to this point (Includes UIDs contributed previously in this thread by others). I added a bunch of weapons recently, ironically didn't find the one I wanted. I'm guessing about a fifth or so of the guns aren't found in type 9 or 10 AND/OR are in some other .forges, I searched a bit to both of those points and found a few more. Anyway..

Code: Select all

List contains contributions from: gep55, JakeMiles, floxay, Custard

UID: Title, extra description, data type



# Dumped & Confirmed — Characters


167029278598: Hibana face, Onkochishin Elite skin, texture

167029275631: Hibana body, Onkochishin Elite skin, texture

233351024927: Caveira body, Mata-Leao Elite skin, mesh

233351024906: Caviera head, Mata-Leao Elite skin, mesh

264139768986: Dokkaebi head, Electro Beat Elite skin, mesh

264139769111: Dokkaebi body, Electro Beat Elite skin, mesh

103017200919: IQ head, Reunification Elite skin, mesh

103017200891: IQ body, Reunification Elite skin, mesh

216597865597: Ela head, Huk Sztuki Elite skin, asset

97886035065: Ela body, Huk Sztuki Elite skin, mesh

282404946849: Kali head, Masterframe Prototype I Elite skin, mesh

282404947130: Kali body, Masterframe Prototype I Elite skin, mesh

202726047383: Mira head, Inspiracion Elite skin, mesh

263544687231: Kali head, Glorious Undercut | Kali DJ skin, texture

263544686267: Kali body, Glitter And Ink | Kali DJ skin, texture

66793242130: Caveira face, Death skin, texture

95215538602: Sledge face, Midnight Owl skin, texture

314015829782: Flores head, default skin, mesh

317523773718: Flores body, default skin, mesh

266250227947: Ace body, default skin, mesh

266250227970: Ace head, default skin, mesh

241085404837: Iana torso, default skin, mesh

241085404846: Iana head, default skin, mesh

264139704430: Melusi head, default skin, mesh

264139704396: Melusi body, default skin, mesh

147616585377: Nomad head, default skin, texture

147616584788: Nomad body, default skin, texture

227263212971: Kali body, default skin, mesh

235493608765: Kali head, default skin, mesh

208674001465: Amaru body, default skin, mesh

208674001442: Amaru head, default skin, mesh

242279067640: Oryx body, default skin, mesh

242279067666: Oryx head, default skin, mesh

263931134676: Aruni head, default skin, texture

67256658867: Dokkaebi face, default skin, texture

127545825670: Dokkaebi body, default skin, texture

107655346912: Alibi face, default skin, texture

123072720648: Frost face, default skin, texture

189892751785: Warden face, default skin, texture

66793242130: Caveira face, Death skin, texture

5397612784: Recruit body, default skin, texture




# Dumped & Confirmed — Weapons


217057174575: CSRX 300 Sniper Rifle | Kali, weapon body, mesh

243468289335: DP-27 LMG | Tachanka, weapon body, mesh

266171643779: Shumikha Grenade Launcher | Tachanka, includes a grenade, texture

59618041989: Scorpion EVO3 A1 SMG | Ela, weapon body, mesh

76215890797: SMG-12 Machine Pistol | Dokkaebi Vigil Warden Kali, weapon body, mesh

22439848744: G8A1 LMG | IQ Amaru, weapon body, mesh

59618043111: M762 Assault Rifle | Zofia, weapon body, mesh

76215901416: C75 Auto Machine Pistol | Dokkaebi Vigil, weapon body, mesh

103017210167: ALDA 5.56 LMG | Maestro, weapon body, mesh

22439848746: UMP45 SMG | Castle Pulse, weapon body, mesh

59618054330: FO-12 Shotgun | Ela, weapon body, mesh

90639098098: AUG A3 SMG | Kaid, weapon body, mesh

22439848748: MP5 SMG | Doc Rook Melusi, weapon body, mesh

108454269445: AR-15.50 Assault Rifle | Maverick, weapon body, mesh

125299726592: M4 Assault Rifle | Maverick, weapon body, mesh

22439848753: MP5K SMG | Mute, weapon body, mesh

261495785438: SC3000K Assault Rifle | Zero, weapon body, mesh

61235544839: LMG-E LMG | Zofia, weapon body, mesh

94273697479: Mx4 Storm SMG | Alibi, weapon body, mesh

22439848754: 9mm C1 SMG | Frost, weapon body, mesh

22439848756: P90 SMG | Doc Rook, weapon body, mesh

22439848757: MP7 SMG | Bandit Zero, weapon body, mesh

121497159655: ARX200 Assault Rifle | Nomad Iana, weapon body, mesh 

22439848768: Super 90 Shotgun | Frost Melusi, weapon body, mesh

33059117957: SPAS-15 Shotgun | Caviera, weapon body, mesh

33172963055: M12 SMG | Caviera, weapon body, mesh

96435562483: Baliff410 Handgun | Alibi Maestro, weapon body, mesh

22439848770: M1014 Shotgun | Castle Pulse Thermite, weapon body, mesh

125299752570: SPSMG9 SMG | Clash Kali, weapon body, mesh

22439848771: SPAS-12 Shotgun | Valkyrie Oryx, weapon body, mesh

39244980153: Type-89 Assault Rifle | Hibana, weapon body, mesh

125299797966: 1911 TACOPS Handgun | Maverick, weapon body, mesh

22439848773: M870 Shotgun | Bandit Jager, weapon body, mesh

41317070366: MP5SD SMG | Echo, weapon body, mesh

98615055063: P10 Roni SMG | Mozzie Aruni, weapon body, mesh

134022674869: Super Shorty Shotgun | Gridlock Mozzie Castle, weapon body, mesh

22439848792: MMK1 9mm Handgun | Buck Frost Iana, weapon body, mesh

41317103133: Supernova Shotgun | Echo Hibana Amaru, weapon body, mesh

134022675487: P-10C Handgun | Clash Warden, weapon body, mesh

22439848795: LFP586 Revolver | Doc Lion Montagne Rook Twitch, weapon body, mesh

22439848799: SR-25 Marksman Rifle | Blackbeard Flores, weapon body, mesh

22439848808: F2 FAMAS Assault Rifle | Twitch, weapon body, mesh

42660571740: Commando 9 Assault Rifle | Mozzie, weapon body, mesh

144475058125: AK-74M Asssault Rifle | Nomad, weapon body, mesh

22439848811: C8-SFW Assault Rifle | Buck, weapon body, mesh

42812322408: PDW9 SMG | Jackal, weapon body, mesh

38221878149: C7E Assault Rifle | Jackal, weapon body, mesh

147124412620: .44 Mag Semi-Auto Handgun | Kaid Nomad, weapon body, mesh

22439848812: 416-C Carbine Assault Rifle | Jager, weapon body, mesh

42812471134: SIX12 Shotgun | Ying, weapon body, mesh

42812481247: SIX12 SD Shotgun | Lesion Nokk, weapon body, mesh

71179943556: KERATOS.357 Handgun | Alibi Maestro, weapon body, mesh

22439848817: MK17 CQB Assault Rifle | Blackbeard, weapon body, mesh

148705142142: TCSG12 Shotgun | Kaid Goyo, weapon body, mesh

157897068235: F90 Assault Rifle | Gridlock, weapon body, mesh

22439848825: 417 Marksman Rifle | Lion Twitch, weapon body, mesh

47418176640: Spear .308 Assault Rifle | Finka, weapon body, mesh

159680763236: SDP 9mm Handgun | Gridlock Mozzie, weapon body, mesh

22439848828: CAMRS Marksman Rifle | Buck, weapon body, mesh

48862077931: Q-929 Handgun | Lesion Ying, weapon body, mesh

71269334823: BOSG.12.2 Shotgun | Dokkaebi Vigil, weapon body, mesh

177654242790: M249 SAW LMG | Gridlock, weapon body, mesh

34384197876: M249 LMG | Capitao, weapon body, mesh

48862102629: T-95 LSW LMG | Ying, weapon body, mesh

71269337917: Mk 14 EBR Marksman Rifle | Dokkaebi Aruni, weapon body, mesh

48862224359: T-5 SMG | Lesion Oryx, weapon body, mesh

49109384247: ACS12 Shotgun | Alibi Maestro, weapon body, mesh

21759466570: D-50 Handgun | Blackbeard Nokk Valkyrie, weapon body, mesh

76215837142: K1A SMG | Vigil, weapon body, mesh

42491313886: Vector .45 ACP | Mira Goyo, weapon body, mesh

4487355455: 552 Commando Assault Rifle | IQ, weapon body, mesh

35440479729: Para-308 Assault Rifle | Capitao, 35440479743 mag, mesh

22439848826: R4-C Assault Rifle | Ash, weapon body, mesh

22439848810: G36C Assault Rifle | Ash Iana, weapon body, mesh

22439848791: P12 Handgun | IQ Bandit Jager Blitz, weapon body, mesh

22439848787: 5.7 USG Handgun | Ash Castle Pulse Thermite Nokk Zero, weapon body, mesh

21759285478: M45 MEUSOC Handgun | Ash Castle Pulse Thermite, weapon body, mesh

42812318744: ITA12S Shotgun | Jackal Mira Frost, weapon body, mesh

42812316302: ITA12L Shotgun | Jackal Mira, weapon body, mesh

41317061506: BEARING 9 Machine Pistol | Echo Hibana, weapon body, mesh

22439848829: AR33 Assault Rifle | Thatcher Flores, weapon body, mesh

22439848822: 556xi Assault Rifle | Thermite, weapon body, mesh

22439848813: AK-12 Assault Rifle | Fuze Ace, weapon body, mesh

22439848786: GSH-18 Handgun | Finka Fuze Glaz Kapkan Tachanka, weapon body, mesh

13021213114: PMM Handgun | Finka Fuze Glaz Kapkan Tachanka, weapon body, mesh

21759293095: 9x19VSN SMG | Kapkan Tachanka, weapon body, mesh

42812312330: USP40 Handgun | Jackal Mira Oryx, weapon body, mesh

254397036906: SMG-11 Machine Pistol | Mute Smoke Sledge Amaru, 22439848762 handle folded version, mesh

61235532328: RG15 Handgun | Ela Zofia Melusi, slide pulled back by default, mesh

22439844342: PRB92 Handgun | Capitao Aruni, weapon body, mesh

22439848742: 6P41 LMG | Finka Fuze, weapon body, mesh

22439848750: FMG-9 SMG | Smoke Nokk, weapon body, mesh

22439848777: SG-CQB Shotgun | Doc Lion Rook Twitch, weapon body, mesh

22439848778: M590A1 Shotgun | Mute Smoke Sledge Thatcher Warden, weapon body, mesh

22439848780: P226 MK 25 Handgun | Mute Smoke Thatcher Sledge, weapon body, mesh

22439848789: P9 Handgun | Doc Lion Montagne Rook Twitch, weapon body, mesh

22439848803: AUG A2 Assault Rifle | IQ Wamai, weapon body, mesh

22439848816: L85A2 Assault Rifle | Sledge Thatcher, weapon body, mesh




# Dumped & Confirmed — Gadgets / Misc


315244481482: Flores Drone Controller, , mesh

318852118757: Flores RCE Ratero Drone, , mesh

14393161030: Barb Wire, undeployed version, texture

73289262094: Dokkaebi Tablet, , texture

22060873006: Doc MPD-0 Stim Pistol, , mesh

22060873007: Doc Stim Pistol Syringe, , mesh

4728020462: Smoke Grenade, , mesh

22439849202: Rook Armor Bag, , mesh

44921888897: Mira Black Mirror Frame, , mesh

44593049192: Mira Black Mirror Glass, 46458744628 49408981035, mesh

45755269559: Mira Black Mirror Canister, 45755285152 opened version, mesh

84504787098: Alibi Hologram Character, , mesh

76215954420: Alibi Hologram Base, , mesh

35440397145: Capitao TAC Mk0 Tactical Crossbow, , mesh

41442458334: Echo Yokai Drone, default version, mesh

39085185219: Echo Yokai Drone, elite version, mesh

33059228398: Ela Grzmot Mine, , mesh

39085183651: Hibana X-Kairos Launcher, 40159792505 projectile, mesh

22439849208: Ash Breaching Round Launcher, 22439849020 projectile, mesh

22680798623: Bomb, big objective thing from bomb mode, mesh




# Not Confirmed; Educated Guess


167466514460: Bandit torso, Elite skin, texture

147616585377: Frost face, Elite skin, texture

86825880309: Hibana face, Clan skin, texture

167029284514: Hibana face, default skin, texture

266250238750: Tachanka helmet, Elite skin, texture

266250239016: Tachanka torso, Elite skin, texture

266250238890: Tachhanka legs, Elite skin, texture

266250238848: Tachanka arms, Elite skin, texture

41159237028: Caveira body, Black Leopard skin, texture

208674191421: Wamai face, default skin, texture

208674192919: Wamai legs, default skin, texture

58156742479: Finka face, default skin, texture

58156841305: Finka face, unknown skin without the mask, texture

239222025064: Finka legs, default skin, texture

38223137788: Mira face, default skin, texture

91316034130: Twitch face, Incognito skin, texture

95215482648: Valkyrie face, American Anarchy skin, texture

73522700437: Valkyrie face, Pop Art skin, texture

95215485269: Valkyrie face, default skin, texture

98997255553: Valkyrie body, default skin, mesh

47440353469: Ying face, default skin, texture 

291944602781: Dokkaebi torso, Seoul Active skin, texture

291944602665: Dokkaebi legs, Seoul Active skin, texture

67256453520: Ela face, default skin, texture

105430463739: Lesion face, default skin, texture

195285680207: Goyo face, default skin, texture

198545096973: Maestro face, default skin, texture

291944707168: Maverick torso, Elite skin, texture

291944707292: Maverick head, Elite skin, texture

291944707000: Maverick legs, Elite skin, texture

23140180761: Female Hostage body, , mesh

22439854180: Female Hostage head, , mesh

22439854165: Female Hostage arms, 22439854173 bound version, mesh

14393182590: Target dummy man, , texture

266171643779: Impact grenade, , texture

26204488543: Sledge hammer, , texture

14393160241: Defuser, , texture




# Weapon sights, did not pull corresponding models or textures when asset dumped or behaved strangely.


14393157131: Russian holographic, , texture

14393158146: Russian red dot, , texture

14393157388: Holographic Sight, original version with tan color, texture

23143014245: Red Dot Sight, taller version, mesh

14393158003: Red Dot Sight, for taller version but seems partial, texture

14393158051: Red Dot Sight, short version, texture

22439848903: Reflex Sight, original small optic with the triangular reticule, mesh

22439848935: Laser Attachement, large size for bigger guns, mesh



If this project goes on Github maybe this list can have a home and get added to on there a bit easier.
Last edited by Custard on Sat Mar 27, 2021 10:09 am, edited 1 time in total.
Tushkan
veteran
Posts: 106
Joined: Mon Dec 18, 2017 1:47 pm
Has thanked: 2 times
Been thanked: 39 times

Re: Rainbow Six: Siege Models Thread

Post by Tushkan »

Sorry, that's my monkey patching that I forgot to remove. I used it to skip data redumping while I was debugging shader dump. Just cut those returns out and function should proceed as intended. I probably should fix it in my "release" archive too.

As on UID list, I think it's worth integrating it into a lib itself along with a search function. So you can search needed parts by their names. But I'm not the one who's going to implement it in near future. There was a guy who volunteered to help with github release, but he never contacted me again for some reason...
Rainbow 6 Siege forge unpacking tool:
https://www.dropbox.com/sh/b2cuse4hp90y ... qTfja?dl=0
Custard
advanced
Posts: 65
Joined: Fri Oct 25, 2019 12:33 am
Has thanked: 11 times
Been thanked: 14 times

Re: Rainbow Six: Siege Models Thread

Post by Custard »

I'm tempted to try a thing or two myself with the code, though considering how useless I am at it I won't seek it on Github for my sake so far.

Searching for 9,10 in datapc64_merged_playgo_bnk_mesh yields what looks like most or all of weapon attachments. Unfortunately trying to dump them has issues. They seem to have lots of associations and it's not long before it throws a "struct.error: unpack requires a buffer of 4 bytes". I guess it would eventually dump a folder containing the appropriate textures if not for that.

If I'm remembering right that error is the script meeting something that hasn't been de-serialized properly, and there was mention of a try-catch block or something to allow the script to continue. I don't remember if that was said to be added or not though?
Kaitou97
ultra-n00b
Posts: 1
Joined: Sat Apr 03, 2021 8:30 pm
Has thanked: 1 time

Re: Rainbow Six: Siege Models Thread

Post by Kaitou97 »

Tushkan wrote: Fri Jan 08, 2021 1:44 am Ok boys and girls. It's 2021 and I think it's time to drop some news. I updated my code to work (more or less) with Y5 forges, made a couple scripts to ease the process and now I'm releasing it for you all to use. You can download it here https://www.dropbox.com/sh/b2cuse4hp90y ... qTfja?dl=0
There are readmes for you to be able to set it all up. I might have missed a thing or two while packing so if it breaks - don't panic, just post your problem here.
Also, I have no clue whether Ubi will break their forges again in Y6, so I'd HIGHLY suggest you to backup your current game distro. Would be a shame if next update would render my tool useless and you'd have to wait another 6 months for my patch, eh? )
Hey, i am totally new in python here. i just want to learn and contribute to community for siege files.
i try to read all the thread but didnt found any correct steps to use this . i already installed python 3.6 and also your files R6S. just want to know the next step beside do the directory (D:\my_packages).

Thanks in advance!
gep55
veteran
Posts: 81
Joined: Fri Feb 01, 2019 2:33 pm
Has thanked: 16 times
Been thanked: 5 times

Re: Rainbow Six: Siege Models Thread

Post by gep55 »

Hi, I'm trying to get into dumping from the game again.

I'm running dump_asset.py from the command line, but I get this error message when I do. Does anyone have any insight into this? Thanks :)

C:\SiegeUnpack\Tools\scripts>
C:\SiegeUnpack\Tools\scripts>dump_asset.py
File "C:\SiegeUnpack\Tools\scripts\dump_asset.py", line 41
out_file = dump_dir / f'{uid}.meshjson'
^
SyntaxError: invalid syntax
Custard
advanced
Posts: 65
Joined: Fri Oct 25, 2019 12:33 am
Has thanked: 11 times
Been thanked: 14 times

Re: Rainbow Six: Siege Models Thread

Post by Custard »

gep55,
Line looks the same as mine except that line is on line 49 instead for me. Perhaps the first thing to try is simply re-download and replace the scripts to make sure they're on the latest and same iteration as each other, and eliminate the possibility of an accidental edit creating the syntax error.
gep55
veteran
Posts: 81
Joined: Fri Feb 01, 2019 2:33 pm
Has thanked: 16 times
Been thanked: 5 times

Re: Rainbow Six: Siege Models Thread

Post by gep55 »

Thanks, no luck though :(
User avatar
floxay
veteran
Posts: 84
Joined: Thu Mar 05, 2020 10:35 am
Has thanked: 16 times
Been thanked: 9 times

Re: Rainbow Six: Siege Models Thread

Post by floxay »

what version of python are you using? try to update it?
Custard
advanced
Posts: 65
Joined: Fri Oct 25, 2019 12:33 am
Has thanked: 11 times
Been thanked: 14 times

Re: Rainbow Six: Siege Models Thread

Post by Custard »

Also consider what the directory is that you are dumping into, as seems to be input into the script at that time. Actually Windows allows some special characters into directories name, when I started with ripping Siege I was working with a directory that included "Tom Clancy's" and the script was not happy about that.
Post Reply