Gildor's Forums

English Forum => News => Topic started by: Gildor on April 10, 2008, 12:59



Title: UE Viewer has been published [2008-2015 news]
Post by: Gildor on April 10, 2008, 12:59
This is a first public release of the Unreal Model Viewer. It is available here: http://www.gildor.org/en/projects/umodel.
I have plans to publish the source code of this project if there will be interest.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on November 23, 2008, 19:01
I fixed a few bugs relating to exporting resources from Unreal, and importing them to UnrealEd (UT2004 was imported with errors, UT3 works fine). For details look readme.txt on a project page or inside archive.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on December 24, 2008, 23:22
I updated the Lineage2 support for latest game version, packages of version 123/37. I have no data files for this game, somebody please test this update.


Title: Re: Unreal Model Viewer has been published
Post by: chrrox on February 02, 2009, 07:03
It works great with the latest lineage 2 client files.
You are amazing programmer I would love to see the source code from this great program.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 11, 2009, 22:46
Unreal Tournament 3 SkeletalMesh support has been implemented. Animation (AnimSet) is not yet supported (but there is no -noanim requirement - class name is different).
Possibly umodel will work with Gears of War too - I cannot test this game now.
Exporting of UT3 SkeletalMesh was not tested.


Title: Re: Unreal Model Viewer has been published
Post by: pixellegolas on February 11, 2009, 23:59
could you give me a quick tutorial for opening a model?

I placed the umode.exe in CookedPC folder and the chose

umodel -noanim CH_IronGuard


but nothing happens, i even placed it in the folder before.

In lineage it's .ukx files but there are no .ukx files, only .upk, are those the ones?


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 12, 2009, 01:17
Logic for searching of UE3 packages is not yet implemented. You should use command line with complete filename specificaition:
Code:
umodel Characters/CH_IronGuard.upk

Quote
In lineage it's .ukx files but there are no .ukx files, only .upk, are those the ones?
It's not Lineage. It's a standard Unreal Engine file extension. This is a flag showing "this pakage contains skeletal animation data". Really, UKX can contain textures, static meshes etc.
In UE3 Epic has removed this "restriction" - all packages can contain any kind of data. There are 3 extensions: u (compiled from script), upk (generic data package) and ut3 (level data).


Title: Re: Unreal Model Viewer has been published
Post by: pixellegolas on February 12, 2009, 01:40
thanks :) worked but now the problem is that milkshape can't read the .psk files. I guess they are to new for it? :)


Title: Re: Unreal Model Viewer has been published
Post by: chrrox on February 12, 2009, 07:55
I also had some trouble trying to get milkshape to load the files.
But on the good side I tested some games and here are the results.

Mirrors Edge (PC) - Loads textures fine has trouble with models.
example model http://files.filefront.com/CH+Faith+Cinematicupkrar/;13267811;/fileinfo.html
(log removed)

The Last Remnant Benchmark (PC)
Models Display fine and the textures also look ok for the most part I will need to do more testing on the textures.

Nurien (PC)
Code:
******** F:\Program Files\NurienSoftware\Nurien\NurienClient\NURIENGame\Content\Packages\Mstar_charview.upk ********

ERROR: Wrong tag in package F:\Program Files\NurienSoftware\Nurien\NurienClient\NURIENGame\Content\Packages\Mstar_charview.upk

UnPackage::UnPackage:F:\Program Files\NurienSoftware\Nurien\NurienClient\NURIENGame\Content\Packages\Mstar_charview.upk <- Main

This is so great :) I am just posting my results to help you I do not expect all games supported :)
I will post some more tests later.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 12, 2009, 12:24
PSK export issue has been fixed. Now it should work.

Quote
This is so great  I am just posting my results to help you I do not expect all games supported
I will post some more tests later.
I think, you should post it here (/smf/index.php?topic=10.0)


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 16, 2009, 16:58
I have implemented Mirror's Edge support. Please test it now - I have only 4 packages with SkeletalMesh'es. I will test/screenshot more at home.


Title: Re: Unreal Model Viewer has been published
Post by: chrrox on February 19, 2009, 01:18
I got some of the models to show up but the main characters file only shows textures no mesh but if I extract the archive the mesh file is in there. The other girl in the start of the game also shows no mesh. The same thing happens with buildings.
I can post any files online if you need me to.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 19, 2009, 12:23
Thanks, but I have access to all Mirror's Edge files :)
Everything works as it should, there are no errors. Check package contents with "umodel -list <package>" command - you'll see no SkeletalMesh objects there.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on February 19, 2009, 19:31
Umodel was updated. Implemented UE3 texturing support when possible (check "screenshots" page for examples).


Title: Re: Unreal Model Viewer has been published
Post by: pixellegolas on March 01, 2009, 20:54
I just tried umodel on last remnant demo, not the benchmark but actual demo. I see models but no texture, this is what i get in command-promt


Code:
Loading package: FA0300_00_00.upk Ver: 507/11 Names: 214 Exports: 55 Imports: 18

Loading SkeletalMesh FA0300_SK_00 from package FA0300_00_00.upk
******** FA0300_00_00.upk ********
*** WARNING: ArrayProperty "SkeletalMesh::LODInfo" was not found
*** WARNING: StructProperty "SkeletalMesh::SkelMeshGUID" was not found
WARNING: Unknown class "Material" for object "FA0300_MASK_Mat"
Loading Texture2D FA0300_A_DIa from package FA0300_00_00.upk
Loading Texture2D FA0300_MSPa from package FA0300_00_00.upk
Loading Texture2D FA0300_NOa from package FA0300_00_00.upk

I used just umode package.upk

Anything more I need to do?


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on March 01, 2009, 22:19
Texture mapping for UE3 models is very 'hacky'. I'm detecting diffuse texture by its name. I'll improve this heuristic later.
I cannot implement 100% working algorithm, because this will require parsing UE3 shaders.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on March 19, 2009, 12:33
New version is out with major enhancements. There is a list of most important cahnges:
  • completely rewritten "-path=..." handling - now works with UE3 games too
  • loading of UE2 packages is now significantly faster (in my tests up to 10-15 times)
  • added "-meshes" command line switch - use it when you want to view meshes (skeletal or vertex) and don't want to browse materials (meshes remains textured)
  • exporting of uc scripts is performed when "-uc" command line is passed (previously scripts was always generated whenever possible)
  • improvements in Gears of War 2 support


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on April 29, 2009, 17:12
Umodel now supports Rainbow 6: Raven Shield.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on May 07, 2009, 12:10
New version is out. Now umodel supports viewing of StaticMesh objects from some UE2-based games. Tested with UT2004, UE2Runtime and Lineage 2.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on May 20, 2009, 16:13
I have implemented generic support for old UE3 versions. Textures and/or animations for some games should work now. Tested with BlackSite: Area 51 only (I cannot test other games now).


Title: Re: Unreal Model Viewer has been published
Post by: Ace-Angel on May 20, 2009, 18:49
Animation in Turok does not work. Animation Folder and Models folder are separate, maybe that is the problem? Both have same compression .UPK

Here is the code I get when trying to play animations from Animation Folder.

Code:
******** C:\Game Files\Extractable\Turok\TurokGame\Content\Packages\Animation\BabyScarface\AnimBabyScarfaceMelee.upk ********

WARNING: ArrayProperty "UAnimSequence::KeyFrameData" was not found
ERROR: Serializing behind stopper
FFileReader::Serialize <- FArchive::ByteOrderSerialize <- TArray::SerializeSimple <- UAnimSequence::Serialize <- LoadObject:babyscarfacestab, pos=930A <- UObject::EndLoad <- UnPackage::CreateExport:C:\Game Files\Extractable\Turok\TurokGame\Content\Packages\Animation\BabyScarface\AnimBabyScarfaceMelee.upk:0 <- LoadWholePackage <- Main

===

Sorry, I only have PC. I can only check with that.

Oh, I forgot, thank you alot for the great tool you're developing. Thank you alot.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on May 28, 2009, 15:01
I have updated exporter code. Now umodel will generate directory structure looks like this (example for UE3 package and -md5 switch):
Code:
/PackageName
+--/SkeletalMesh
|  + MeshName1.psk
|  + MeshName2.psk
+--/AnimSet
|  +--/SetName1
|     +AnimName1.md5anim
|     +AnimName2.md5anim
+--/Texture2D
   + Texture1.tga
   + Texture2.tga


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on June 30, 2009, 17:09
After 1 month of heavy research and development I have implemented support for Bioshock (/node/70)!


Title: Re: Unreal Model Viewer has been published
Post by: Ace-Angel on June 30, 2009, 17:41
Oh, WOW!

That is amazing! Must have been a real hurdle for you to support this game since it was radically different then the standard UT3 formats.

You're good...really good  ;D


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on June 30, 2009, 17:44
Must have been a real hurdle for you to support this game since it was radically different then the standard UT3 formats.
This game is UE2-based, not UE3. It uses a Tribes: Vengeance engine with some UE3 features and Havok physics/animations.


Title: Re: Unreal Model Viewer has been published
Post by: pixellegolas on June 30, 2009, 17:51
but still, if I could I would put you on a pedistal :)


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on August 27, 2009, 12:41
The new umodel version is out. It supports now Mirror's Edge and Mass Effect animations.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on September 14, 2009, 15:33
The new umodel version has been released. The new release adds Crime Craft skeletal mesh support.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on September 17, 2009, 15:41
Implemented Stranglehold SkeletalMesh support.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on September 29, 2009, 17:42
New version is out. New feature: static mesh export (format is psk). To load exported mesh into 3ds Max you should use Actor X Importer 1.04 or newer.
More details in readme.txt.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on October 18, 2009, 11:38
New umodel has capabilities to export mesh materials in custom format (file extension is *.mat). This file has a simple layout (text file, each line is a "parameter=value") and supported by Actor X Importer.

Enjoy :)


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on October 24, 2009, 01:56
New umodel has the following new features:
- compressed normalmap support from Tribes: Vengeance, Bioshock and Mass Effect (DXT5n and 3Dc)
- Ctrl+S activates screenshot function: current screen will be saved to Screenshots/ObjectName.tga


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on December 27, 2009, 16:47
New umodel has support for UE3 StaticMesh objects (/node/93).


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on December 29, 2009, 19:05
Implemented StaticMesh support for "Mass Effect" and "Batman: Arkham Asylum".


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on December 31, 2009, 04:33
Implemented StaticMesh support for
  • Mortal Kombat vs. DC Universe
  • BlackSite: Area 51
  • Borderlands
  • The Last Remnant

Happy New Year!


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on March 09, 2010, 17:55
I have made support for old UE3 versions. Game-specific code includes support for Rainbow 6: Vegas 2 (supported resource types are textures, static and skeletal meshes; animations are unsupported).
Probably some other older games will be supported too.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on March 10, 2010, 17:53
Added new exporter option "-lods". It allows you to export all skeletal mesh LOD levels instead of a single level only.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on September 15, 2010, 00:59
Some news about new functionality in "extract.exe".
Now you can use option "-filter=ClassName" to enable extraction of the specified classes only. Class names are case-insensitive, plus you may use a few "filter" options. Examples:
Code:
extract.exe -filter=TextBuffer C:\GAMES\UT3\UTGame\CookedPC\Engine.u
extract TextBuffer objects only (script source)
Code:
extract.exe -filter=skeletalmesh -filter=animsequence C:\GAMES\UT3\UTGame\CookedPC\Characters\CH_AnimHuman.upk
extract SkeletalMesh and AnimSequence objects only.


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on October 06, 2010, 16:37
Added new exporter option "-out=<directory>". Default <directory> value is "." (means current directory).
Now you may export files into any place you want:
Code:
umodel -export -out=D:\TEMP\Extracted CH_AnimHuman
will extract all assets from CH_AnimHuman package into the directory D:\TEMP\Extracted\CH_AnimHuman


Title: Re: Unreal Model Viewer has been published
Post by: Gildor on October 07, 2010, 13:21
Extract.exe news. Added "-out=directory" option (like recent changes in umodel).


Title: Re: UE Viewer has been published
Post by: Gildor on February 06, 2011, 22:33
New umodel has capabilities to export UE3 sounds. To use it you should add "-sounds" option to the command line.


Title: Re: UE Viewer has been published
Post by: Gildor on March 17, 2011, 14:25
I have added a few options for the package decompressor: -out=path, -lzo, -zlib, -lzx (works exactly like in umodel and package extractor).


Title: Re: UE Viewer has been published
Post by: Gildor on April 06, 2011, 12:45
Added ability to export SWF (ScaleForm) movies and FaceFX assets. To activate this you should add command line option "-3rdparty" (disabled by default like sound export).


Title: Re: UE Viewer has been published
Post by: esr911 on April 06, 2011, 17:37
Added ability to export SWF (ScaleForm) movies and FaceFX assets. To activate this you should add command line option "-3rdparty" (disabled by default like sound export).

Nice, and very useful to me. thanks

..:: ESR911 ::..


Title: Re: UE Viewer has been published
Post by: Gildor on April 08, 2011, 19:13
I have updated umodel to use SDL 1.3. There are few new features available:
- you can use Alt+Enter to toggle fullscreen mode
- minimized umodel window will no more waste CPU time

SDL 1.3 is available for win32 only, Linux distributions has not included this library yet.


Title: Re: UE Viewer has been published
Post by: Gildor on September 25, 2011, 16:24
I've added 2 exporter options (for "umodel -export") - "-uncook" and "-groups". They affects a folder name for exporting of each object.
Without these options umodel will compose a folder name (like before) from PackageName/ClassName. When the "-groups" options is specified, ClassName will be replaced with the object's group (this term should be clean for everybody who have worked in UnrealEd at least 5 minutes). The "-uncook" option will replace PackageName with the original package name for this object where object were made originally (before cooking).

uncook will allow you to exclude object duplicates.

It's recommended to use "-out=..." option because -uncook may produce a lot of directories.

For details about "what is package cooking" read this UDN article
http://udn.epicgames.com/Three/ContentCooking.html


Title: Re: UE Viewer has been published
Post by: Gildor on November 06, 2011, 15:45
I've performed major rewriting of the StaticMesh subsystem. One of the most noticeable changes is that umodel now can show and export all StaticMesh UV sets. Check the umode's readme file for more details.
This feature will require ActorX Importer 1.17 in order to load mesh into the 3ds Max.


Title: Re: UE Viewer has been published
Post by: Gildor on November 09, 2011, 23:13
Animation system were rewritten. Now umodel has support for UE3 "AnimRotationOnly" animations - i.e. for animations without translation tracks. TRON, Gears3 etc animations will work now.
psax format were eliminated. Now everything is stored in plain psa format, plus extended attributes are stored in a text file near the psa with extension .config. This file will be loaded automatically by ActorX 1.18 and newer. Config file contains enough information for correct import of the psa by hands into the UE3's UnrealEd (UDK etc).

Some UE3 animations which were worked without noticeable problems will work better for now. For example, you can attach UT3's female animation to the male model and it will look naturally. Before this male skeleton were deformed to fit female bone lengths.

For other changes check the included readme file.


Title: Re: UE Viewer has been published
Post by: Gildor on November 21, 2011, 23:14
I've just finished rewritting of SkeletalMesh system. The visible changes are like for StaticMesh: now multiple UV sets are fully supported, can be switched with <U> key in a viewer, and exported to pskx format (-pskx option is required!). ActorX Importer update is not required, I've reused changes made for StaticMesh.
I've tested it a lot, but I'm not a god, and some games may stop function now. Please notify me about any compatibility regression cases.


Title: Re: UE Viewer has been published
Post by: Gildor on November 26, 2011, 22:56
I've uploaded new umodel version. Major changes:
- support for meshes with more than 64k vertices (3ds Max will require ActorX Importer of version 1.19 or higher); such meshes will be saved in pskx format even when no "-pskx" option was provided, because psk format is not capable of storing more than 64k vertices
- "-nooverwrite" option for exporter will prevent object from being exported when destination file is already exists - this could speedup export of large amounts of data (for example, when using batch export script from the "Documentation" section)
- "-pskx" option will use extended PSK format wisely: when there is nothing "advanced" in a mesh, standard psk format will be choosen even when -pskx option is supplied


Title: Re: UE Viewer has been published
Post by: Gildor on December 01, 2011, 12:13
Implemented option to export textures to DDS format. To activate it use "-dds" command line switch. Only DXT textures are stored in DDS format, all other textures will be stored in TGA format as before.
Note: all XBox360 textures will be stored in TGA format.


Title: Re: UE Viewer has been published
Post by: Gildor on December 05, 2011, 10:31
Note: all XBox360 textures will be stored in TGA format.
I've found a way to decode XBox360 textures without decompression. Now DDS is supported for this platform too.


Title: Re: UE Viewer has been published
Post by: VendorX on December 05, 2011, 15:14
...from .utx or .xpr?


Title: Re: UE Viewer has been published
Post by: Gildor on December 05, 2011, 15:20
.utx and .xpr are UE2 files, there is no UE2 on XBox360 (there's only one exception - Bioshock).
By the way, all games with DXT textures should be supported now.


Title: Re: UE Viewer has been published
Post by: Tosyk on December 05, 2011, 16:09
Note: all XBox360 textures will be stored in TGA format.
I've found a way to decode XBox360 textures without decompression. Now DDS is supported for this platform too.
Great, just great. Thank you gildor. :D


Title: Re: UE Viewer has been published
Post by: hyw on December 05, 2011, 17:07
Implemented option to export textures to DDS format. To activate it use "-dds" command line switch. Only DXT textures are stored in DDS format, all other textures will be stored in TGA format as before.
DDS support is great !
Is it possible to export full mipmaps dds ?


Title: Re: UE Viewer has been published
Post by: Gildor on December 05, 2011, 17:09
No.


Title: Re: UE Viewer has been published
Post by: Gildor on December 14, 2011, 14:39
I've made export of sounds from XBox360 games in XMA format.


Title: Re: UE Viewer has been published
Post by: Gildor on February 07, 2012, 12:59
Umodel now exports extra UV sets in format of Epic's ActorX plugin (available since June 2010 (http://udn.epicgames.com/Three/DevelopmentKitBuildUpgradeNotes.html#June 2010: UDKInstall-2010-06-BETA)).
Now, -pskx switch is not used anymore and it will be removed in future umodel versions. Meshes with multiple UV sets are stored with psk extension unless they have more than 64k incides (i.e. more than 21845 triangles). Also, UDK can import such meshes.
ActorX Importer plugin were also updated to load psk with multiple UV sets. pskx files extracted with previous umodel versions are still supported.


Title: Re: UE Viewer has been published
Post by: pixellegolas on February 07, 2012, 15:00
*high five*


Title: Re: UE Viewer has been published
Post by: Gildor on March 19, 2012, 13:31
(http://s019.radikal.ru/i621/1203/7e/e5616dfda219.png)
I've added ability to take screenshot with transparent background. You can do it with Alt+S key (Ctrl+S doing ordinary screenshot). If you think that RGB-axis and onscreen texts are not needed you can toggle them with Ctrl+Q key.


Title: Re: UE Viewer has been published
Post by: CriticalError on July 16, 2014, 23:35
well many thanks for that, after try test it, I got a TGA with no transparency, so you can check it?


Title: Re: UE Viewer has been published
Post by: Gildor on July 16, 2014, 23:44
Just checked, this feature works well. May be you pushed wrong hotkey - Ctrl+S instead of Alt+S? Try both and compare files.


Title: Re: UE Viewer has been published
Post by: CriticalError on July 17, 2014, 22:56
Just checked, this feature works well. May be you pushed wrong hotkey - Ctrl+S instead of Alt+S? Try both and compare files.
I got same tga if use Ctrl+S or Alt+S, no matter what do, got same here.


Title: Re: UE Viewer has been published
Post by: Gildor on July 18, 2014, 00:29
Which videocard do you use?


Title: Re: UE Viewer has been published
Post by: CriticalError on July 18, 2014, 05:18
Which videocard do you use?
Ati Radeon 6850

CTRL+S

(http://imagensn.com/images/2014/07/18/CS.png)

ALT+S

(http://imagensn.com/images/2014/07/18/AS.png)


Title: Re: UE Viewer has been published
Post by: Gildor on July 18, 2014, 10:20
Sorry, I don't know. A few years ago I made some fixes for ATI, probably there's another feature to fix. BTW I don't have access to ATI hardware now, so it's rather impossible, sorry.


Title: Re: UE Viewer has been published
Post by: Gildor on April 19, 2015, 22:05
New feature in viewer: displaying UV unwrapping, line Unreal engine 4 does.

(http://www.gildor.org/files/images/umodel/base/uv_display.jpg) (/files/images/umodel/base/uv_display.jpg)


Title: Re: UE Viewer has been published
Post by: Gildor on September 16, 2020, 20:42
I'm making separate threads when something worth special mentioning is added to UModel, so - removing the "sticky" flag from the thread, as news here are 5 years old.