Gildor's Forums

English Forum => Announcements => Topic started by: Gildor on February 26, 2009, 19:05



Title: XBox360 support
Post by: Gildor on February 26, 2009, 19:05
I have implemented initial support for XBox360 packages, but it is completely useless:
  • new games (GoW2) uses a unknown compression algorithm for their packages (I think, it uses a proprietary native XBox compression).
  • old games (GoW1) has an unknown texture compression algorithms, and I have not found meshes in these packages ...
Other games I was not able to load at all (umodel crashed in very early stage of package loading).


Title: Re: XBox360 support
Post by: Gildor on March 02, 2009, 16:00
Some status report about XBox360 GoW2 support
- packages are successfully decompressed using library from XDK
- textures are successfully loaded and converted
- skeletal meshes and animations are not yet ready (meshes contains GPU skin only, should parse and convert it; currently shows skeleton only)

I have used part of XDK to decompress packages. But I cannot distribute umodel with XDK code inside. I am looking for open-source implementaion of LZX decompressor (really, I have found one - mspack, but I have not tested it).
If tests of mspack will fail - umodel will load only GoW1 for XBox360 packages, GoW2 will be unsupported :(


Title: Re: XBox360 support
Post by: Gildor on March 05, 2009, 18:35
I have successfully loaded and displayed skeletal meshes from GoW1 and GoW2.
mspack is not yet tested.


Title: Re: XBox360 support
Post by: zardalu on March 09, 2009, 23:24
Support for Gears of War 2 would be amazing  ;D


Title: Re: XBox360 support
Post by: zardalu on March 12, 2009, 05:28
When I look at the packages from an ISO of Gears of War 2, they have an extension of .xxx, with a 990303 kb textures.tfc file, which is presumeably the textures for the game. Do I have the right version of GOW2 that will be able to be used with the new version of umodel when it is released? If so, which files contain the skeletal meshes and which just contain static meshes, sounds, etc?


Title: Re: XBox360 support
Post by: Gildor on March 12, 2009, 12:12
Yes, I have the same version :) I think, no other version exists ;)
Packages in GoW2 are cooked - meshes are distributed between packages, same mesh can be found a few times in different packages.
Extension is "xxx" instead of "upk", and this means nothing.


Title: Re: XBox360 support
Post by: Gildor on March 15, 2009, 00:36
I have published a new umodel version with Gears of War 2 support. Hi-Res textures from textures.tfc are not yet supported.


Title: Re: XBox360 support
Post by: Teoma on March 15, 2009, 02:10
I was published new umodel version with Gears of War 2 support. Hi-Res textures from textures.tfc are not yet supported.
I congratulate you, you  made  umodel  to work with Xbox360 :D , its a pitiful, that only for the your favourite game:)


Title: Re: XBox360 support
Post by: Gildor on March 15, 2009, 13:15
I congratulate you, you  made  umodel  to work with Xbox360 :D , its a pitiful, that only for the your favourite game:)
Gears of War 2 is not a my favourite game - I even haven't seen it :( I have no XBox360.


Title: Re: XBox360 support
Post by: zardalu on March 15, 2009, 18:43
Once again, great work Gildor! I notice that when I use the -export option that no .psk files are exported from GOW2, only the low res .tga files are exported. I tested it with GOW1, and export still works with that game.


Title: Re: XBox360 support
Post by: Gildor on March 15, 2009, 20:39
Most possible, this package does not contain SkeletalMesh objects. Or you are using -nomesh option ?
Check this package with -list command. And check log for errors/warnings.


Title: Re: XBox360 support
Post by: zardalu on March 15, 2009, 23:53
I tried several packages, all with the same result. I am not able to export psk/psa from any of them, only tga. It doesn't matter if I use the -noanim flag or not, and I am not using the -nomesh option.

To test, I confirmed that SP_Leviathan_BF.xxx does have skeletal meshes in it (The Leviathan, the Leviathan Tentacle, etc), then I copied it to an empty folder, then I ran umodel -export -noanim SP_Leviathan_BF.xxx, and all I got were the low-res .tga textures.

My notify.log reports:

******** SP_Leviathan_BF.xxx ********

WARNING: BoolProperty "UMaterial3::bUsedWithFracturedMeshes" was not found
WARNING: BoolProperty "UMaterial3::bUsedWithFracturedMeshes" was not found

Again, I don't intend to criticise your excellent work, I am hoping just to be helpful.  :)


Title: Re: XBox360 support
Post by: pixellegolas on March 16, 2009, 01:06
arent the textures in another folder called textures in another package?


Title: Re: XBox360 support
Post by: zardalu on March 16, 2009, 01:13
arent the textures in another folder called textures in another package?

Yes, the I believe all of the high resolution textures are in Textures.tfc. The textures that I have been able to export so far are only tiny, possibly LOD or placeholders or something. Gildor has mentioned that the high-res textures are not available to view yet.  My problem was with the meshes. Pixellegolas, have you been able to export meshes from any of the GOW2 packages? If so, which package?


Title: Re: XBox360 support
Post by: Gildor on March 16, 2009, 01:20
To test, I confirmed that SP_Leviathan_BF.xxx does have skeletal meshes in it (The Leviathan, the Leviathan Tentacle, etc), then I copied it to an empty folder, then I ran umodel -export -noanim SP_Leviathan_BF.xxx, and all I got were the low-res .tga textures.
...
Again, I don't intend to criticise your excellent work, I am hoping just to be helpful.  :)
This is not a criticism ;) This is a bug report. But really, I don't get this bug. Command line
Code:
umodel.exe -export -noanim -notex C:\....\SP_Leviathan_BF.xxx
was produced following files:
Code:
Leviathan.psk
Leviathan.uc
Leviathan_Tentacle_Gore.psk
Leviathan_Tentacle_Gore.uc
Locust_Ithycus.psk
Locust_Ithycus.uc
WaterSheet.psk
WaterSheet.uc
And program output contains following text (at the end):
Code:
....
Restoring LOD verts from GPU skin
Restoring mesh from LOD ...
Forced export: SkeletalMesh'Locust_Leviathan.WaterSheet'
Loading SkeletalMesh WaterSheet from package C:\1\GOW2\CookedXenon\new\SP_Leviathan_BF.xxx
WARNING: Unknown class "Material" for object "M_Leviathan_Water_Streamer01"
Restoring LOD verts from GPU skin
Restoring mesh from LOD ...
Exporting objects ...
Exported SkeletalMesh Locust_Ithycus
Exported SkeletalMesh Leviathan
Exported SkeletalMesh Leviathan_Tentacle_Gore
Exported SkeletalMesh WaterSheet
I think, you made something wrong.  :o

arent the textures in another folder called textures in another package?
Cooked packages contains low-res textures, which are "forced" to be in this package. This is a trick of Epic's programmers to speedup level loading (I think, you have noticed, that immediately after level loading all world textures have very low resolution, and normal textures appears after few seconds of gameplay). Real textures are placed in another (source) packages, which are not included into xbox360 distribution. When editor was cooked packages, it produced files Textures.tfc and GlobalCookerData.upk, which should be used for hi-res texture data.


Title: Re: XBox360 support
Post by: zardalu on March 16, 2009, 03:27
Yes, it was my bad, I didn't use -notex  :-[
As soon as I did, I was able to extract the .psk files  ;D


Title: Re: XBox360 support
Post by: Gildor on March 16, 2009, 11:49
Anyway, texture export should not affect mesh export. I'll check this.


Title: Re: XBox360 support
Post by: tekken57 on March 16, 2009, 12:41
Thanks a lot for this excellent program. I've managed to successfully export textures and models from gears of war.

I am now trying to extract models from tna impact which an xbox 360 game based on the unreal engine.  However when I try to extract the xxx file I get the following error (even with the -notex, -noanim,-all options):

******** CHR_Kevin_Nash_Model.xxx ********

ERROR: Unable to serialize data
FFileReader::Serialize <- FString<< <- FPackageFileSummary<< <- UnPackage::UnPackage:CHR_Kevin_Nash_Model.xxx <- Main


I've attached the file and would appreciate if you could take a look at it:
http://www.mediafire.com/?sharekey=90902440feb62f34391d7d881749d3a7e04e75f6e8ebb871
or http://www.mediafire.com/download.php?mtkjywzeuym

Thanks again.



Title: Re: XBox360 support
Post by: Gildor on March 16, 2009, 13:03
I am now trying to extract models from tna impact which an xbox 360 game based on the unreal engine.  However when I try to extract the xxx file I get the following error (even with the -notex, -noanim,-all options)
Sorry, no other xbox360 games are supported unless this game uses an unmodified Unreal Engine (I think, for example, The Last Remnant should work). Your report shows, that "tna impact" has modified package format.


Title: Re: XBox360 support
Post by: Gildor on March 16, 2009, 13:41
I tried several packages, all with the same result. I am not able to export psk/psa from any of them, only tga. It doesn't matter if I use the -noanim flag or not, and I am not using the -nomesh option.

To test, I confirmed that SP_Leviathan_BF.xxx does have skeletal meshes in it (The Leviathan, the Leviathan Tentacle, etc), then I copied it to an empty folder, then I ran umodel -export -noanim SP_Leviathan_BF.xxx, and all I got were the low-res .tga textures.
....
I have fixed that. The problem was in wrong decompression of one of the textures.
Also, I fixed incompatibility with some GoW2 animations.


Title: Re: XBox360 support
Post by: tekken57 on March 16, 2009, 13:43
I am now trying to extract models from tna impact which an xbox 360 game based on the unreal engine.  However when I try to extract the xxx file I get the following error (even with the -notex, -noanim,-all options)
Sorry, no other xbox360 games supported unless this game uses unmodified Unreal Engine (I think, for example, The Last Remnant should work). Your report shows, that "tna impact" has modified package format.

I understand. Thanks for taking a look anyways. Is there any other way to decompress this file?


Title: Re: XBox360 support
Post by: Gildor on March 16, 2009, 13:46
I understand. Thanks for taking a look anyways. Is there any other way to decompress this file?
I think, no other tools exists.


Title: Re: XBox360 support
Post by: Gildor on March 19, 2009, 12:24
I have published new umodel version with following GoW2 enhancements:
  • support for detailed textures (reading from textures.tfc)
  • fixed bugs in loader of new (post-UT3) animation compression algorithms
  • have support of "-path=..." directive for UE3
For full changelog check readme.txt.


Title: Re: XBox360 support
Post by: veselaki on March 20, 2009, 23:17
I tested the new version of umodel with textures.tfc but i ran into few errors.

First one:

******** textures.tfc ********

ERROR: assertion failed: len < ARRAY_COUNT(buf)

ReadNameTable <- UnPackage::UnPackage:Textures.tfc <- UnPackage::LoadPackage:textures.tfc <- Main

Second one:

ERROR: Too much unknown files - bad root directory?

I am sure that i type the command line and the path correctly, because when i use it for xxx file it works without problems. Not sure what im doing wrong.


Title: Re: XBox360 support
Post by: bob123 on March 21, 2009, 01:31
I would like to thank you for this excellent program, you have succeeded where others failed. Gildor, you are the man.  ;D ;D


Title: Re: XBox360 support
Post by: Gildor on March 21, 2009, 02:04
I tested the new version of umodel with textures.tfc but i ran into few errors.
...
ReadNameTable <- UnPackage::UnPackage:Textures.tfc <- UnPackage::LoadPackage:textures.tfc <- Main
...
ERROR: Too much unknown files - bad root directory?
I am sure that i type the command line and the path correctly, because when i use it for xxx file it works without problems. Not sure what im doing wrong.
textures.tfc is not a package, you should not open it directly. You should open *.xxx files instead, and tfc file will be used automatically.
"ERROR: Too much unknown files - bad root directory?" happens, when you have specified wrong root directory. For example, when you type "umodel -path=c:" -list some_name", program will display the same error, because it will scan whole drive c: for game files! I'm displaying error message to prevent program to perform very long scans (program will display this error when it found more than 16000 files with unknown extension in root directory)

I would like to thank you for this excellent program, you have succeeded where others failed. Gildor, you are the man.  ;D ;D
Thank you :)


Title: Re: XBox360 support
Post by: veselaki on March 21, 2009, 02:35
I thought it should be opened seperately, i just tried it and it works perfectly!


Title: Re: XBox360 support
Post by: zardalu on March 21, 2009, 02:43
This tool just keeps getting better and better! 

Does anyone know which package the helmets or shoulder pads for the Sniper, Palace Guard, the Butcher Boomer, the Mauler, the Flame Boomer, or the Grinder are in? I have found Boomer and Theron Guard meshes in many of the *_S.xxx packages, and the above mentioned characters are just Boomers or Theron Guards with different helmets and shoulder pads. Does GOW2 see the helmets and shoulder pads as static meshes? If not, where are they kept?


Title: Re: XBox360 support
Post by: Gildor on March 21, 2009, 02:47
Check geargame*.xxx packages. They are contains some meshes with full animsets.
I don't have all the files from GOW2, so I cannot answer your question. But I find it interesting too - which packages contains game meshes.


Title: Re: XBox360 support
Post by: esr911 on March 21, 2009, 23:20
Just wanted to let everyone know that I tested GOW2 with umodel and it works fine. textures extract fine, and models and animations are extracted fine too. Gildor is the man.

When I have time I will do some renders with the models, and maybe animations.

..:: ESR ::..



Title: Re: XBox360 support
Post by: bob123 on March 22, 2009, 05:15
Could someone please explain how to get at the game file's for gears of war 2 I own the game but can not find them, only 2 file's,video and audio  :-\ :-\ edit, never mind, I worked things out  :D thanks again Gildor.


Title: Re: XBox360 support
Post by: bob123 on March 23, 2009, 20:21
Quote
Does anyone know which package the helmets or shoulder pads for the Sniper, Palace Guard, the Butcher Boomer, the Mauler, the Flame Boomer, or the Grinder are in? I have found Boomer and Theron Guard meshes in many of the *_S.xxx packages, and the above mentioned characters are just Boomers or Theron Guards with different helmets and shoulder pads. Does GOW2 see the helmets and shoulder pads as static meshes? If not, where are they kept?
I think they are static mesh. on a side note, geargamehorde_SF.xxx has a stack of characters in it,


Title: Re: XBox360 support
Post by: Kuro on March 26, 2009, 06:52
How do I go about extracting the raw files from a X360 disc image? When I try opening it all I see are the same sort of files you see on a normal DVD. How do I get at the actual files?


Title: Re: XBox360 support
Post by: tekken57 on March 26, 2009, 10:59
^you need to use an application like xbox backup creator and browse the image sector.


Title: Re: XBox360 support
Post by: Kuro on March 26, 2009, 12:38
Yeah, I figured that out shortly after I posted.

I can't find most of the weaponry or much of anything.

Does this viewer support viewing static meshes like helmets and what not? Because I remember that the viewer couldn't view static meshes from other unreal engine games as well before this update.


Title: Re: XBox360 support
Post by: Gildor on March 26, 2009, 12:46
Does this viewer support viewing static meshes like helmets and what not? Because I remember that the viewer couldn't view static meshes from other unreal engine games as well before this update.
No, static meshes are still unsupported.


Title: Re: XBox360 support
Post by: Kuro on March 26, 2009, 15:13
Ah, that sucks. Is there a specific issue stopping the viewer from reading static meshes or is it just a huge number of things?


Title: Re: XBox360 support
Post by: Gildor on March 26, 2009, 15:26
Static mesh format is different from skeletal mesh. Skeletal mesh was reversed by me, static mesh - not yet.


Title: Re: XBox360 support
Post by: NexusElite on March 30, 2009, 14:23
Just made an account, just wanted to say this is really amazing and thank you so much Gildor.



Title: Re: XBox360 support
Post by: Gildor on March 30, 2009, 14:25
You are welcome ;)


Title: Re: XBox360 support
Post by: NexusElite on March 30, 2009, 20:42
Oh i wanted ask, will you update it to support the static mesh to view or export? if it not too much trouble asking that is. Since some of the meshes like helm and such as mention doesn't appear.


Title: Re: XBox360 support
Post by: Gildor on March 30, 2009, 22:25
Not soon. I have other plans now.
StaticMesh for UE3 is more complex than SkeletalMesh, because there is completely no information about its format.


Title: Re: XBox360 support
Post by: NexusElite on April 01, 2009, 09:09
Oh ok. Thanks for the head up then.


Title: Re: XBox360 support
Post by: bob123 on April 10, 2009, 02:06
if i use md5 with gears of war 2 a few bones get renamed eg L_eyebrow_1 to L_eyebrow so i end up with a few duplicate bone names but no problem with psk ,just thought you should know.