Gildor's Forums

Author Topic: New To This And Probably A Dumb Question  (Read 5974 times)
SkyeFish
Newbie
*
Posts: 7


View Profile
New To This And Probably A Dumb Question
« on: June 07, 2012, 01:37 »

I've been working with umodel via the umodel GUI. I've been trying to work with the game Singularity and I've been able to extract meshes just fine but when it comes to textures I'm running into a problem, the prompt says everything was successful and that the texture was extracted fine, but it doesn't actually extract anything..... and this only happens for some textures, others extract no problem, but either way, the prompt reports that the extraction was fine, even if no files were created/extracted.

Here's an example of an instance in which nothing was extracted:
Quote
Found 2013 game files (31 skipped)
Loading package: wp_SP_RocketLauncher_SF.xxx Ver: 584/126 Engine: 4869 Names: 1296 Exports: 979 Imports: 212 Game: 8026
Export "rocket_launcher_d" was found in package wp_SP_RocketLauncher_SF
Loading Texture2D rocket_launcher_d from package wp_SP_RocketLauncher_SF.xxx
Found 1 object(s)
Loaded in 0.003 sec, 1355 allocs, 0.12 MBytes serialized in 78 calls.
Exporting objects ...
Exporting Texture2D rocket_launcher_d to ./wp_SP_RocketLauncher_SF/Texture2D
Reading rocket_launcher_d mip level 1 (1024x1024) from Textures_P0.tfc

Can anyone help me with this?
Logged
pixellegolas
Sponsor
Sr. Member
*
Posts: 347


View Profile
Re: New To This And Probably A Dumb Question
« Reply #1 on: June 07, 2012, 02:04 »

do you use -export -all

?
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #2 on: June 07, 2012, 02:23 »

Tried it with and without export all....same result either way... nothing exported despite the prompt indicating that it was successful.

In fact, I've pretty much tried it with and without every possible configuration of options available on the GUI without typing in additional args.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #3 on: June 07, 2012, 08:40 »

http://www.gildor.org/projects/umodel/faq#exporter
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #4 on: June 07, 2012, 08:59 »

Thanks for responding gildor, but the FAQ doesn't have anything that addresses this matter. The items I'm trying to extract are definitely textures and definitely have data in them, in fact, they are visibly, inside the .xxx files, no different then the textures that do successfully extract, and umodel is indeed reporting that they have extracted and is also reporting data concerning them, like the resolution, as you can see in what I posted.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #5 on: June 07, 2012, 09:06 »

But you cannot find extracted files?
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #6 on: June 07, 2012, 18:58 »

I can find the files that will extract. Here, a comparison

This didn't extract anything:
Quote
Found 2013 game files (31 skipped)
Loading package: SP_Freight_Script_1950Dock_XSA.xxx Ver: 584/126 Engine: 4869 Names: 4118 Exports: 13621 Imports: 553 Game: 8026
Export "vent_access_hatch_d" was found in package SP_Freight_Script_1950Dock_XSA
Loading Texture2D vent_access_hatch_d from package SP_Freight_Script_1950Dock_XSA.xxx
Found 1 object(s)
Loaded in 0.03 sec, 4267 allocs, 0.30 MBytes serialized in 192 calls.
Exporting objects ...
Exporting Texture2D vent_access_hatch_d to ./SP_Freight_Script_1950Dock_XSA/Texture2D
Reading vent_access_hatch_d mip level 1 (256x256) from Textures_P2.tfc

This, however, successfully extracted the file and I have it just fine:
Quote
Found 2013 game files (31 skipped)
Loading package: SP_Freight_Script_1950Dock_XSA.xxx Ver: 584/126 Engine: 4869 Names: 4118 Exports: 13621 Imports: 553 Game: 8026
Export "forklift_1950_01aN_d" was found in package SP_Freight_Script_1950Dock_XSA
Loading Texture2D forklift_1950_01aN_d from package SP_Freight_Script_1950Dock_XSA.xxx
Found 1 object(s)
Loaded in 0.033 sec, 4267 allocs, 0.30 MBytes serialized in 192 calls.
Exporting objects ...
Exporting Texture2D forklift_1950_01aN_d to ./SP_Freight_Script_1950Dock_XSA/Texture2D
Reading forklift_1950_01aN_d mip level 1 (512x512) from Textures_P2.tfc

...Not getting any difference between what the prompt is reporting, and both of these were done with export all, nostat, nomesh and noanim....yet one created the extracted file and one created nothing.
« Last Edit: June 07, 2012, 19:00 by SkyeFish » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #7 on: June 07, 2012, 19:55 »

I have Singularity (PC) installed. Tried all 3 commands (I've restored them from logs), and all these commands were produced files. Probably that's a GUI issue, or you're doing something wrong?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #8 on: June 07, 2012, 20:10 »

Update.
Tried to copy coalesced.tfc to textures_p1 and textures_p2. forklift_1950_01aN_d is extracted successfully, but vent_access_hatch_d caused umodel to crash because it tried to read texture from textures_p2.tfc, which is not identical to coalesced.tfc. Umodel produced following error message which was not appeared in your log:
Code:
Found 1674 game files (23 skipped)
Loading package: SP_Freight_Script_1950Dock_XSA.xxx Ver: 584/126 Engine: 4869 Names: 4118 Exports: 13621 Imports: 553 Game: 8026
Export "vent_access_hatch_d" was found in package SP_Freight_Script_1950Dock_XSA
Loading Texture2D vent_access_hatch_d from package SP_Freight_Script_1950Dock_XSA.xxx
Found 1 object(s)
Loaded in 0.047 sec, 5941 allocs, 0.30 MBytes serialized in 192 calls.
Exporting objects ...
Exporting Texture2D vent_access_hatch_d to 1/SP_Freight_Script_1950Dock_XSA/Texture2D
Reading vent_access_hatch_d mip level 1 (256x256) from textures_p2.tfc
******** SP_Freight_Script_1950Dock_XSA.xxx ********
*** ERROR: assertion failed: H.Tag == PACKAGE_FILE_TAG

FCompressedChunkHeader<<:pos=11AC8004 <- appReadCompressedChunk <- FByteBulkData::SerializeChunk <- UTexture2D::LoadBulkTexture:File=textures_p2.tfc <- UTexture2D::GetTextureData <- ExportTexture <- ExportObject:Texture2D'vent_access_hatch_d' <- Main

The error message was not appeared in the log.
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #9 on: June 07, 2012, 20:39 »

Oh okay, so what should I do to get around this?

Also, thank you so much for the help gildor.
« Last Edit: June 07, 2012, 20:42 by SkyeFish » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #10 on: June 07, 2012, 20:42 »

Remove .tfc files, they're working incorrectly anyway.
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #11 on: June 07, 2012, 21:23 »

Won't that cause thumbnail extraction only though?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7972



View Profile WWW
Re: New To This And Probably A Dumb Question
« Reply #12 on: June 07, 2012, 21:27 »

That's not a thumbnail, but yes - you'll get lowres textures only. There is no way to extract hires textures for this game.
Logged
SkyeFish
Newbie
*
Posts: 7


View Profile
Re: New To This And Probably A Dumb Question
« Reply #13 on: June 07, 2012, 21:35 »

Damn, thanks for the help anyway gildor!
Logged
Jump to:  

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