Gildor's Forums

Author Topic: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)  (Read 28487 times)
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #15 on: October 05, 2010, 15:17 »

So, no other bdc files ... Probably textures are embedded into compiled shaders, in this case it is not possible to extract them using umodel.
Logged
MegaScience
Full Member
***
Posts: 91


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #16 on: October 06, 2010, 07:10 »

Cry You're 100% sure about this? Because, from the outlook of BioShock, a PC version won't be coming for some time.

You have tried extraction with the current build, right? Found stuff, just not high resolution?... Sorry... I'll be quiet, now...
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #17 on: October 06, 2010, 09:39 »

First of all, some theory.
Texture mipmaps are stored either inside Texture object in package (bsm in Bioshock) or inside tfc file (blk for Bioshock). Bioshock has a special catalogue file holding references between Texture and its place in blk files - these references are stored in bdc files. When Texture has stored its higher mipmaps in blk, bsm has only low-res version of texture (made for streaming).

Ok, now practice. Umodel tries to get mipmaps from Texture. No mipmaps? Ok, let's try to find a texture in bdc file. If it will find - it will use it, if no - it will use low-res texture version stored in bsm file.

If umodel will load hi-res texture from the blk file, it will output to the log "Reading <TextureName> mip level <Num> (1024x1024) from <BulkFileName.blk>". In this case, texture should be visible in Hi-Res inside umodel, and it should be extracted in this resolution too. If umodel will output a message about loading hi-res texture, but texture will remains low-res - this is a bug in umodel and it should be fixed.

Some textures (for XBox360 version) are missing in bdc files. I don't know why. These textures has a property "Baked=true", this usually means that texture data embedded somewhere and ripped from usual storage place. It is missing in bsm, it is missing in bdc. There is no other information where data may be placed. But game can render texture. So I think data is embedded into compiled shaders.

P.S. I cannot be 100% sure. I have no Bioshock engine source.
« Last Edit: October 06, 2010, 09:51 by gildor » Logged
AJ
Newbie
*
Posts: 33


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #18 on: October 06, 2010, 09:59 »

Gildor, thanks for all your effort with this.

Quote
If umodel will output a message about loading hi-res texture, but texture will remains low-res - this is a bug in umodel and it should be fixed.
Quote
Some textures (for XBox360 version) are missing in bdc files.

OK, so to make sure I understand, here is a specific example:

Quote
umodel -export Minerva_A.bsm tech_center

Found 21 game files (2626 skipped)
Loading package: Minerva_A.bsm Ver: 143/59 Names: 39037 Exports: 81168 Imports: 942 Game: 2103
Loading Texture tech_center from package Minerva_A.bsm
******** Minerva_A.bsm:  Texture'tech_center' ********
*** WARNING: BoolProperty "UTexture::bBaked" was not found
Loaded in 0.37 sec, 78608 allocs, 1.08 MBytes serialized in 4716 calls.
Exporting objects ...
Reading c4catalog.bdc
Reading tech_center mip level 0 (512x512) from minerva_alevel.blk
Exported Texture tech_center

This gives a 64x64 thumbnail instead of full 512x512 texture.

I don't know how to read the .bdc file properly, but I DO see "tech_center" listed in "c4catalog.bdc" several times.

So is this a case where it's a bug with umodel, or a case of the missing texture problem you mention?

(You have all the Minerva files I sent you, right? Let me know if you need any files.)
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #19 on: October 06, 2010, 10:04 »

Please send me all files figured in your post (Minerva_A.bsm, minerva_alevel.blk).
(please compress them before posting, I'm having very bad and expensive internet now - I'm in Armenia and using mobile internet)
Logged
MegaScience
Full Member
***
Posts: 91


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #20 on: October 06, 2010, 10:06 »

Relight says he goes by a different name here, but he says he sent you all the bsm, blk, and now bdc files for Minerva's Den. And I think I understand your problem: You can't decompress and such the files from their odd spots they have been placed, right?

Actually, this is supposed to be used in league with BioShock 2, so maybe you need to run this all together in some way...
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #21 on: October 06, 2010, 12:10 »

Yes, there was a small bug preventing from using hi-res image when it is exists. Fixed.
Can you make a full game dump so I can check (by file names and sized) where textures are potentially resides?
To make this dump run this from the command prompt (set the current directory to the game root first):
Code:
for /r %v in (.) do dir /A:-D %v >> list.txt
Recursive directory listing will be dumped to the list.txt file, I need it.
If this is not very hard for you, please make a separate listings for Bioshock for XBox360 and for its addon.
Logged
AJ
Newbie
*
Posts: 33


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #22 on: October 06, 2010, 14:16 »

The code didn't work for dumping recursive list?

Unfortunately I do not have the original game Xbox 360 files.

Minerva add-on files are all in one directory anyway, this is the list:

(You do not see minerva_alevel.blk, because the game calls it bulkfiletexturesdlcfour.blk. We have to rename this file minerva_alevel.blk in order for umodel to extract)

Code:
23/09/2010  07:30 AM         1,375,392 Bio2_DX_DLC4_Buttons.fsb
23/09/2010  07:30 AM         4,866,592 Bio2_DX_DLC4_Buttons_Stream.fsb
23/09/2010  07:30 AM         1,369,024 Bio2_DX_DLC4_Heady.fsb
23/09/2010  07:30 AM         5,109,792 Bio2_DX_DLC4_Heady_Stream.fsb
23/09/2010  07:30 AM           746,112 Bio2_DX_DLC4_reedWahl.fsb
23/09/2010  07:30 AM           547,968 Bio2_DX_DLC4_reedWahl_Stream.fsb
23/09/2010  07:30 AM         4,352,448 Bio2_DX_DLC4_SPC_Stream.fsb
23/09/2010  07:30 AM        29,705,344 bio2_dx_dlc4_stream.fsb
23/09/2010  07:30 AM             1,604 bio2_music_levelloading_dlc4.fev
23/09/2010  07:30 AM         4,631,360 bio2_music_levelloading_dlc4_stream.fsb
23/09/2010  07:30 AM            21,702 bio2_music_score_dlc4_stream.fev
23/09/2010  07:30 AM        28,391,040 bio2_music_score_dlc4_stream.fsb
23/09/2010  07:30 AM        18,165,577 bulkfileanimgroupsdlcfour.blk
23/09/2010  07:33 AM       433,287,167 bulkfiletexturesdlcfour.blk
23/09/2010  07:33 AM           895,250 c4catalog.bdc
23/09/2010  07:33 AM         3,940,331 configini.ibf
23/09/2010  07:33 AM            29,046 Core.U
23/09/2010  07:33 AM            61,316 craftingstation.swf
23/09/2010  07:33 AM         2,589,920 DEU_Bio2_DX_DLC4_Buttons.fsb
23/09/2010  07:33 AM         5,556,864 DEU_Bio2_DX_DLC4_Buttons_Stream.fsb
23/09/2010  07:33 AM         3,014,464 DEU_Bio2_DX_DLC4_Heady.fsb
23/09/2010  07:33 AM         6,205,600 DEU_Bio2_DX_DLC4_Heady_Stream.fsb
23/09/2010  07:33 AM           811,680 DEU_Bio2_DX_DLC4_reedWahl.fsb
23/09/2010  07:33 AM           609,408 DEU_Bio2_DX_DLC4_reedWahl_Stream.fsb
23/09/2010  07:33 AM         4,792,832 DEU_Bio2_DX_DLC4_SPC_Stream.fsb
23/09/2010  07:33 AM        32,435,648 deu_bio2_dx_dlc4_stream.fsb
23/09/2010  07:33 AM           148,156 deu_localizedprefixmap.pmp
23/09/2010  07:33 AM               482 dlc4_end.swf
23/09/2010  07:33 AM               825 dlc4_que1.swf
23/09/2010  07:33 AM               825 dlc4_que2.swf
23/09/2010  07:33 AM             6,842 dlc4_title.swf
23/09/2010  07:33 AM        49,155,652 DLCend.bik
23/09/2010  07:33 AM           160,538 DLCgame.swf
23/09/2010  07:33 AM           773,415 dlcmenu.swf
23/09/2010  07:33 AM           291,064 dlc_card1.bik
23/09/2010  07:33 AM           162,676 dlc_card2.bik
23/09/2010  07:33 AM        15,776,564 DLC_Pause_Screen.bik
23/09/2010  07:33 AM             1,391 dlc_title.swf
23/09/2010  07:33 AM           779,856 DLC_TitleScreen.bik
23/09/2010  07:33 AM           779,939 engine.u
23/09/2010  07:33 AM         2,374,880 ESP_Bio2_DX_DLC4_Buttons.fsb
23/09/2010  07:33 AM         4,817,440 ESP_Bio2_DX_DLC4_Buttons_Stream.fsb
23/09/2010  07:33 AM         2,633,472 ESP_Bio2_DX_DLC4_Heady.fsb
23/09/2010  07:33 AM         5,109,792 ESP_Bio2_DX_DLC4_Heady_Stream.fsb
23/09/2010  07:33 AM           688,768 ESP_Bio2_DX_DLC4_reedWahl.fsb
23/09/2010  07:33 AM           498,816 ESP_Bio2_DX_DLC4_reedWahl_Stream.fsb
23/09/2010  07:33 AM         4,319,680 ESP_Bio2_DX_DLC4_SPC_Stream.fsb
23/09/2010  07:33 AM        27,861,920 esp_bio2_dx_dlc4_stream.fsb
23/09/2010  07:33 AM           149,134 esp_localizedprefixmap.pmp
23/09/2010  07:33 AM            13,521 fmodaudio.u
23/09/2010  07:33 AM         2,706,688 FRA_Bio2_DX_DLC4_Buttons.fsb
23/09/2010  07:33 AM         5,206,592 FRA_Bio2_DX_DLC4_Buttons_Stream.fsb
23/09/2010  07:33 AM         3,100,480 FRA_Bio2_DX_DLC4_Heady.fsb
23/09/2010  07:33 AM         5,961,824 FRA_Bio2_DX_DLC4_Heady_Stream.fsb
23/09/2010  07:33 AM           842,400 FRA_Bio2_DX_DLC4_reedWahl.fsb
23/09/2010  07:33 AM           613,504 FRA_Bio2_DX_DLC4_reedWahl_Stream.fsb
23/09/2010  07:33 AM         4,704,768 FRA_Bio2_DX_DLC4_SPC_Stream.fsb
23/09/2010  07:33 AM        29,891,744 fra_bio2_dx_dlc4_stream.fsb
23/09/2010  07:33 AM           149,166 fra_localizedprefixmap.pmp
23/09/2010  07:33 AM         8,745,572 grav_well_plasmid.bik
23/09/2010  07:33 AM         7,808,884 grav_well_plasmid_advanced.bik
23/09/2010  07:33 AM         8,268,320 grav_well_plasmid_master.bik
23/09/2010  07:33 AM           393,380 hudradial.swf
23/09/2010  07:33 AM            12,840 IGEffectsSystem.U
23/09/2010  07:33 AM             7,629 igmodeffectssubsystem.u
23/09/2010  07:33 AM           105,334 igsoundeffectssubsystem.u
23/09/2010  07:33 AM            49,623 igvisualeffectssubsystem.u
23/09/2010  07:33 AM         3,085,600 ITA_Bio2_DX_DLC4_Buttons.fsb
23/09/2010  07:33 AM         6,220,480 ITA_Bio2_DX_DLC4_Buttons_Stream.fsb
23/09/2010  07:33 AM         3,315,552 ITA_Bio2_DX_DLC4_Heady.fsb
23/09/2010  07:33 AM         6,791,392 ITA_Bio2_DX_DLC4_Heady_Stream.fsb
23/09/2010  07:33 AM           825,984 ITA_Bio2_DX_DLC4_reedWahl.fsb
23/09/2010  07:33 AM           656,512 ITA_Bio2_DX_DLC4_reedWahl_Stream.fsb
23/09/2010  07:33 AM         4,782,592 ITA_Bio2_DX_DLC4_SPC_Stream.fsb
23/09/2010  07:33 AM        28,732,416 ita_bio2_dx_dlc4_stream.fsb
23/09/2010  07:33 AM           149,166 ita_localizedprefixmap.pmp
23/09/2010  07:33 AM            38,844 Levels_Minerva_A.fev
23/09/2010  07:33 AM        26,887,680 Levels_Minerva_A_Streams.fsb
23/09/2010  07:33 AM            98,623 Levels_Minerva_samples.fev
23/09/2010  07:33 AM         5,833,824 Levels_Minerva_samples.fsb
23/09/2010  07:33 AM         3,363,517 localizeddeu.lbf
23/09/2010  07:33 AM         3,182,592 localizedesp.lbf
23/09/2010  07:33 AM         3,418,213 localizedfra.lbf
23/09/2010  07:33 AM            55,657 localizedint.lbf
23/09/2010  07:33 AM         3,287,394 localizedita.lbf
23/09/2010  07:33 AM           149,732 localizedprefixmap.pmp
23/09/2010  07:33 AM            13,155 MANIFEST.MF
23/09/2010  07:33 AM           121,932 maps_DLC4_Minerva_A.swf
23/09/2010  07:33 AM            93,253 maps_DLC4_Minerva_B.swf
23/09/2010  07:33 AM            75,993 maps_DLC4_Minerva_C.swf
23/09/2010  07:33 AM           771,932 minerva-title.bik
23/09/2010  07:33 AM        10,362,820 minerva-title1.bik
23/09/2010  07:33 AM        50,926,268 Minerva_A.bsm
23/09/2010  07:33 AM         2,988,624 Minerva_A.xbs
23/09/2010  07:33 AM        46,533,825 Minerva_B.bsm
23/09/2010  07:33 AM         3,036,994 Minerva_B.xbs
23/09/2010  07:33 AM        40,497,118 Minerva_C.bsm
23/09/2010  07:33 AM         2,769,550 Minerva_C.xbs
23/09/2010  07:33 AM           131,264 pause.swf
23/09/2010  07:33 AM           912,273 progressbar_minerva_a.swf
23/09/2010  07:33 AM         1,044,361 progressbar_minerva_b.swf
23/09/2010  07:33 AM           912,277 progressbar_minerva_c.swf
23/09/2010  07:33 AM           101,734 Scripting.U
23/09/2010  07:33 AM         6,061,233 ShaderCache.xbs
23/09/2010  07:33 AM         5,968,624 sharedlibrary.swf
23/09/2010  07:33 AM         1,715,162 shockai.u
23/09/2010  07:33 AM         6,878,804 shockgame.u
23/09/2010  07:33 AM             1,231 startupshadercache.xbs
23/09/2010  07:33 AM            13,226 Tyrion.U
23/09/2010  07:33 AM         2,340,556 vactube.bik
23/09/2010  07:33 AM           110,856 VengeanceShared.U
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #23 on: October 06, 2010, 15:17 »

Have you tested new umodel?
Logged
AJ
Newbie
*
Posts: 33


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #24 on: October 06, 2010, 17:37 »

Sent example by personal message, forgot to mention full results:

Some textures are still thumbnail only.

Only a few textures are now correct size and perfect.

Most textures are correct size, but now, image is garbled.
Logged
MegaScience
Full Member
***
Posts: 91


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #25 on: October 08, 2010, 21:48 »

gildor, Elizabeth Tobey (a highly informed employee of 2K Games) posted 42 minutes ago that neither Minerva's Den or The Protector Trials will be coming to PC. You can read her post here: http://forums.2kgames.com/forums/showpost.php?p=1208768&postcount=67 .

My point is that there is no other way to get the files, now. Without a PC version, we will have to depend of consoles. I've been wondering: Do you think Minerva's Den files from the PlayStation 3 might work differently than the ones for Xbox 360? Maybe extract better?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #26 on: October 08, 2010, 22:01 »

I don't know how to decrypt PS3 files.
Someone has told me that it is possible with PS3 DevKit, but I have no access to this one.
Logged
MegaScience
Full Member
***
Posts: 91


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #27 on: October 08, 2010, 22:27 »

Well, do you at least have any hope left with the Xbox 360 files? Or do you feel it to be a lost cause? Undecided
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7973



View Profile WWW
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #28 on: October 08, 2010, 22:43 »

Currently I have no idea where are textures. Probably sometimes I will have XBox 360 and acquire this game by myself. I don't want to download gigabytes just to check whether I will be able to extract a few textures ...
Logged
MegaScience
Full Member
***
Posts: 91


View Profile
Re: Cannot extract from any file other than Entry.bsm (XBox360 Bioshock 1)
« Reply #29 on: October 09, 2010, 01:35 »

Steve Gaynor, 2K Marin Designer, contacted me about assets to be used on BioShock Wiki. I'll send him a list once I've compiled it, but I still hope to work out the full file list here. I'm not sure I could get many interesting things from him, so I'll need this if you can. You have some of the files.
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS