Gildor's Forums

English Forum => Unreal engine 4 => Topic started by: Gildor on January 11, 2015, 20:05



Title: Unreal Engine 4 support
Post by: Gildor on January 11, 2015, 20:05
Current status of Unreal engine 4 support (updated 30.05.2020)

  • Supported versions from 4.0 to 4.25. Older versions (before 4.0 release) could be supported only if packages has version information inside, however there's just a few games which used it.
  • You must explicitly specify UE4 version to be able to load packages - there's no possibility to detect package version. If unversioned package will be found, UModel will prompt user for selecting a suitable UE4 version (https://youtu.be/gTeINcso8ks).
  • Supported all asset types: SkeletalMesh, StaticMesh, Texture, Material, Animation, SoundWave.
  • To export animations from any UE4 game, you must follow exact workflow from tutorial mentioned below.
  • OPUS sounds are exported into "UE4OPUS" file format (/smf/index.php/topic,2583.msg30776.html#msg30776). It is "something special".
  • Editor packages did work before, but starting with probably 4.22 something has been changed, and I didn't fix the issues yet.


If you want to see my plans regarding to UE4 support (and for anything else) - please visit my UE Viewer Trello board (https://trello.com/b/lp1XjYaz/ue-viewer).



For usage information and tutorials, or before asking any questions, please watch videos on UModel's youtube channel (https://www.youtube.com/playlist?list=PLJROJrENPVvK-V8PCTR9qBmY0Q7v4wCym).

https://www.youtube.com/watch?v=rew3u9eUucghttps://www.youtube.com/watch?v=gTeINcso8ks


To understand how to work with animations, you should watch this video (it is a part of playlist above).

https://www.youtube.com/watch?v=KSZaX0YQ2qg

Starting from build 751 animaiton workflow has been simplified

https://www.youtube.com/watch?v=7nyiwp-vuJ4


Title: Re: Unreal Engine 4 support
Post by: stonecoldnuts on January 15, 2015, 15:17
Well done, Gildor!  :D


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 18, 2015, 17:13
Now UModel has SkeletalMesh support (/node/192). If you like, see some screenshots on facebook page:
https://www.facebook.com/ue.viewer



Title: Re: Unreal Engine 4 support
Post by: jmgg on January 29, 2015, 01:43
In this game there is a pak file. How can I use umodel for open this file? thanks!


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 29, 2015, 01:45
Just point umodel's path to directory with pak file(s). And don't forget to set game to "Unreal engine 4.4" with UI, or use -game=ue4.4 if you use command line.


Title: Re: Unreal Engine 4 support
Post by: jmgg on January 29, 2015, 01:55
Thanks Gildor! is posible make a batch process?


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 29, 2015, 01:57
What's "re pag" and "av pag"?


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 29, 2015, 02:00
Ah, ok. Found in google - PgUp/PgDn is Spanish :)
These keys can't work because each package contains only 1 object. You may load multiple objects with selecting them with mouse (ordinary multi-select, like in Explorer).
Batch export works, simply select multiple files in "package selector" and press "export".


Title: Re: Unreal Engine 4 support
Post by: jmgg on January 29, 2015, 02:23
I get this error when I try import a model:
Package "WarmachineGame/Content/Characters/Cygnar/Warcasters/AllisonJakes/Mesh/AllisonJakes_Dagger.uasset": wrong import index 131071
UnPackage::CreateImport:WarmachineGame/Content/Characters/Cygnar/Warcasters/AllisonJakes/Mesh/AllisonJakes_Dagger.uasset:131071 <- UnPackage::SerializeUObject <- TArray::Serialize:0/82536 <- USkeletalMesh3::Serialize <- LoadObject:SkeletalMesh3'AllisonJakes_Dagger.AllisonJakes_Dagger', pos=B1D, ver=385/0, game=10005 <- UObject::EndLoad <- LoadWholePackage:AllisonJakes_Dagger <- Main:umodel_version=315


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 29, 2015, 02:29
Your UModel will load only textures. Please disable skeletal and static mesh loading, or use newer version of umodel.

Seriously, your version is from December 5th  ;D


Title: Re: Unreal Engine 4 support
Post by: jmgg on January 29, 2015, 02:55
Ok. Now it works!! thanks ;)


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on February 23, 2015, 14:21
If I try to extract Models from WC (http://thechroniclesofalexstrasza.com), i get this Error messages (i use the latest Version):

ERROR: Unversioned UE4 packages are not supported. Please override game using UI or command line.
SerializePackageFileSummary4 <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:OST_Game/Content/WC/Characters/DraeneiFemaleHD/CassandraHD.uasset, ver=0/0, game=10000 <- UnPackage::LoadPackage:OST_Game/Content/WC/Characters/DraeneiFemaleHD/CassandraHD.uasset <- Main:umodel_version=334

ERROR: Unversioned UE4 packages are not supported. Please override game using UI or command line.
SerializePackageFileSummary4 <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:OST_Game/Content/WC/Furniture/Stormwind_Graves_01.uasset, ver=0/0, game=10000 <- UnPackage::LoadPackage:OST_Game/Content/WC/Furniture/Stormwind_Graves_01.uasset <- Main:umodel_version=334

ERROR: Unversioned UE4 packages are not supported. Please override game using UI or command line.
SerializePackageFileSummary4 <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:OST_Game/Content/WC/Characters/DraeneiFemaleHD/DaemiaHDL.uasset, ver=0/0, game=10000 <- UnPackage::LoadPackage:OST_Game/Content/WC/Characters/DraeneiFemaleHD/DaemiaHDL.uasset <- Main:umodel_version=334

What can I do?
I have also another question: Could i export the .uasset files from a UE4 Game? I could import them better in UE4 if I don't want to modify them.


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 23, 2015, 14:23
Did you read an error message?
ERROR: Unversioned UE4 packages are not supported. Please override game using UI or command line.

You should specify which UE4 version was used for this game.


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on February 26, 2015, 11:50
It was 4.6.1


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 26, 2015, 11:56
So, umodel works with this game now?


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 26, 2015, 11:57
Nice welcome message on their forum :)
http://thechroniclesofalexstrasza.com/21.php

"You must be 18+ ..."
and below
"Yes, I'm 21+" ;D


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on February 26, 2015, 20:37
No
(I said "was", because the Artist wants to change to 4.7)


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 26, 2015, 20:41
I think I supported 4.5 for the moment.


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on February 28, 2015, 13:01
Is it possible to extract and export the .uasset files from an UE4 Game - so that i could import them easily in UE4?


Title: Re: Unreal Engine 4 support
Post by: jmgg on March 01, 2015, 03:53
Umodel supports Pneuma: Breath of Life. Override ue4.4. staticmesh and skeletalmesh


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 01, 2015, 11:31
Thank you, I've added the game to the compatibility table.


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 01, 2015, 15:04
No
(I said "was", because the Artist wants to change to 4.7)
Did you try different versions? Perhaps, for example, they're on 4.3 and desired to migrate to 4.7.

By the way, I tested umodel with packages cooked with 4.6.1 and it worked well.

UPDATE I've tested UModel with 4.7.1 assets and it worked well too (you'll need to download new UModel for that, older versions had no possibility to speciay UE4.7).


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on March 02, 2015, 09:38
I downloaded the new umodel version and gave it another try.
But I get the same error message (only with the higher version number)

Maybe it is because of the shipping package method?


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 02, 2015, 09:53
Did you try all UE4 versions, i.e. 4.0 - 4.7 ? And - could you provide me an error report for UE4.6, if you tried all versions and all versions failed? (there's a button "Copy" in error window).


Title: Re: Unreal Engine 4 support
Post by: Brigadeiro on March 02, 2015, 22:09
Ah ok, it works now.
Thanks a lot. (Was my fault, I used UE 4.6 and the head of my cat pushed the arrow button -.-   -->  So it was 4.5)


Title: Re: Unreal Engine 4 support
Post by: endymion on March 14, 2015, 00:57
Thanks for the great tool, Gildor.

One question, though: how do I extract the .uasset files from .pak without extracting them? If I click on 'Export' I don't get the .uasset files, only the data inside them...


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 14, 2015, 01:05
You can't extract .uasset files from pak using my tools. Technically, I think most people who asking such kind of questions are interested in loading .uasset files into UnrealEd. It is not possible because:
- uasset files could be extracted from pak, but these files will be cooked - suitable for game, but not for editor
- it's not possible to "uncook" uasset files - cooked packages has editor information stripped, and it's very hard or even impossible to restore it
- even if you'll get uasset files which are not cooked, you generally can't load them into UnrealEd - these asset files are usually created for some particular game and can not be loaded into editor made for another game - perhaps with exception of very simple assets like textures and meshes.

I hope I answered your question.


Title: Re: Unreal Engine 4 support
Post by: endymion on March 14, 2015, 01:23
Thanks for taking the time to explain Gildor, it's much appreciated and it all makes sense now. You're right, I was looking into a way to bring assets into UnrealEd to take a look at them, but of course I didn't realize that all the redundant editor stuff is removed at build time when the assets are cooked. And of course all seriously developed games run on a custom built editor so the assets wouldn't work anyway, like you said. But it's ok, even the assets that you do get out with your tools are very useful for educational purposes.

Thanks again, keep up the good work.


Title: Re: Unreal Engine 4 support
Post by: fil1969 on March 21, 2015, 12:41
Hi Gildor,
Thank you very much for your awesome tool, but i have a little problem
as you can see the armature is bigger then the mesh when i import it.. the weights are all good, so i have only to scale the mesh to fit the armature.. but why this bug? i'm doing something wrong?
the game is whorecraft..

(http://i60.tinypic.com/2md2kah.png) (http://i60.tinypic.com/2md2kah.png)


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 21, 2015, 17:32
Hi.
1. This is wrong thread because your question has nothing in common with UE4. I'll clean up that a bit later.
2. I see you're using modiifed ActorX Importer, so I'm not responsible for any bugs with it. Skeleton and geometry are imported in single coordinate space, so I don't know what could be wrong. Try imported downloaded from this site.
3. Try importing meshes from other games.
4. Try newer Max - may be compatibility with Max 2009 were lost some time ago? (In that case, old version of Imported could help)


Title: Re: Unreal Engine 4 support
Post by: fil1969 on March 22, 2015, 11:33
Hi.
1. This is wrong thread because your question has nothing in common with UE4. I'll clean up that a bit later.
2. I see you're using modiifed ActorX Importer, so I'm not responsible for any bugs with it. Skeleton and geometry are imported in single coordinate space, so I don't know what could be wrong. Try imported downloaded from this site.
3. Try importing meshes from other games.
4. Try newer Max - may be compatibility with Max 2009 were lost some time ago? (In that case, old version of Imported could help)

Hi,
Thank you for your reply..
well i only translated in italian your ActorX importer, nothing more, anyway i tested the exported psk in new and old blender,noesis and the problem is still there... The exported files from other games works perfectly.. i have only problem with this one..
Sorry for the wrong thread


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 22, 2015, 12:34
Could you provide me the source upk file, please?


Title: Re: Unreal Engine 4 support
Post by: fil1969 on March 22, 2015, 14:48
Could you provide me the source upk file, please?
is a UE4 700mb pack file inside there are the uasset files.. what i have to upload?


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 22, 2015, 15:00
It is possible to extract uasset file with my tools, but the way is a bit complicated.

1. Open pak in UModel in usual way.
2. Find uasset file which you'd like to extract. Write down its name.
3. Launch my "decompress" tool (could be found on downloads page). Note: you'll use command line. Example command line:
Code:
decompress.exe -game=ue4.4 -path=C:\GAMES\WARMACHINE_Tactics\WarmachineGame\Content\Paks GPMod_FoxHole.uasset
-game=ue4.4 Most likely "ue4.4" override would work (perhaps you know which UE4 version you should use, because you already opened the game in UModel). May be it won't be needed at all.
-path=... Path to the directory with pak files. Please note: you can't use pak file name here, this is a directory name.
GPMod_FoxHole.uasset The name of uasset file you'd like to extract.

I'm going to automate this extraction later, I'll add some extraction tool for that - https://trello.com/c/r5Q9TA8Z/116-save-package-item


Title: Re: Unreal Engine 4 support
Post by: fil1969 on March 22, 2015, 15:33
Ok! Hope i did in the right way:
https://www.mediafire.com/?39a0z6kku77b7fx


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 22, 2015, 16:08
Thanks, got it. There's a problem with this asset: it uses bone scale feature from UE4. It is entirely missing in older engine versions, and not present in UModel. Also, psk format is not suitable for it. I've logged the issue here - https://trello.com/c/GqgldLy2/126-mesh-translation-rotation-scale

I'll return to it after animation support, I think. It is not possible to support scale before animation, because it's very likely that animation support would require redesigning of this.


Title: Re: Unreal Engine 4 support
Post by: fil1969 on March 22, 2015, 16:13
Thanks, Gildor..
I'm glad was not a my mistake..
For now i will only scale the mesh to fit armature since all the weights are good.


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 22, 2015, 16:16
Yes, this is not your mistake :)
I tried to move root bone's scale value to "mesh scale", but it will not work: that value would scale both mesh and skeleton. So one of possible solutions for me (later) is to rescale geometry with this value. I can't scale skeleton because, as I mentioned before, bone scales are not supported.


Title: Re: Unreal Engine 4 support
Post by: Gildor on June 12, 2015, 18:49
Added support for compressed UE4 pak files and for UE4.8.


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 08, 2016, 16:44
Added initial support for UE4.12. Some new and work-in-progress games could start working now.
Also, UModel can now open source (non-cooked) uassets with StaticMesh models. Earlier non-png textures and skeletal meshes were supported, so UModel should not crash on source assets anymore, and should display something useful.


Title: Re: Unreal Engine 4 support
Post by: mr.pecel on May 10, 2016, 08:17
Thank you, I've added the game to the compatibility table.

I got error to export Pneuma Breath of Life
Here's the error message:
Skeleton::Serialize(HeroFPP_Skeleton): 18 unread bytes
LoadObject:Skeleton'HeroFPP_Skeleton.HeroFPP_Skeleton', pos=1907, ver=385/0, game=10005 <- UObject::EndLoad <- LoadWholePackage:HeroFPP <- CUmodelApp::ShowPackageUI <- Main:umodel_version=440


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 10, 2016, 12:38
I got error to export Pneuma Breath of Life
Please try using it with UE4.5 override.


Title: Re: Unreal Engine 4 support
Post by: mr.pecel on May 10, 2016, 12:57
Thx. Jmgg said it used ue4.4. That's why it's not working.


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 10, 2016, 12:58
Is 4.5 working? If yes - probably game used 4.4 version before and was updated after that to 4.5 or later.


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 15, 2016, 23:03
Hi guys. I've got 4.12 version working. Almost fully. PARAGON and UT4 are both working.
Now, why "almost fully". This version have many changes in file formats, some of them were made in a way which doesn't allow UModel detect, which "sub-version" of 4.12 is actually used. Let's say, we have for 4.12 (in chronological order)
1. changed package format
2. changed serialization of basic engine's object (affects EVERYTHING what is stored in packages)
3. changed texture streaming code, with possibility to save texture data inside .ubulk files (a kind of UE3's TFC) - this is used by PARAGON
4. changed skeletal mesh, added "Recompute tangents" field (useless for UModel, but breaks mesh serialization, so I must be aware of this field). This engine sub-version is detected with some tech which is new for UE4 (i.e. not present in UE3) and called "custom versions". And of course, cooked unversioned packages entirely dropped these "custom versions" too. So I'm detecting this version just with setting "game=ue4.12", like EVERYTHING ELSE in this list.
5. changed static mesh format, to support "high-precision normals" (this feature is declared in 4.12 changelist).

Ok, version #5 is available for those who uses "UE4.12 preview release". BUT at least two Epic's games uses different sub-versions of 4.12. UT4 uses #4, PARAGON - #3. They are not compatible between each other, but all are 4.12. So, I decided to wait with #5 in UModel, and I stopped with version #4. So, to launch UModel with UT4 files, you should simply specify UE4.12 for startup, and files will be loaded.

Now, about PARAGON. It uses even older, pre-prerelease version of 4.12. At least those files I have. To load them, you should use new command line option intended to "hack" loader, and allow UModel to load this content. The option is:
Code:
umodel -pkgver=504
After this, you will be able to open PARAGON meshes.


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 22, 2016, 15:01
Just pushed a generic fix for all UE4 games. UE4 skeletal mesh has possibility to use up to 8 bone weights per vertex. UModel can support only 4. Earlier, meshes with 5+ weights has problems displaying in UModel, like this

(http://i.imgur.com/j76lzDs.png)

Now UModel correctly handles shrinking weights to 4 bones, re-normalizing dropped weights between saved bones. This mesh will look like this:

(http://s018.radikal.ru/i512/1605/36/c03d2aea8162.jpg)


Title: Re: Unreal Engine 4 support
Post by: Gildor on August 18, 2016, 13:44
Sounds are now supported.


Title: Re: Unreal Engine 4 support
Post by: carlorf on August 18, 2016, 18:14
Sounds are now supported.
This is fucking awesome thank you gildor!!
Badenglish!


Title: Re: Unreal Engine 4 support
Post by: Cattermelon on August 27, 2016, 06:52
I've been using this program for a bit to port some models from games, and I have a question, when will you add animation support?


Title: Re: Unreal Engine 4 support
Post by: MReaper on August 30, 2016, 03:41
Hoping to be soon...  :P  :)


Title: Re: Unreal Engine 4 support
Post by: ClubOn on October 13, 2016, 03:27
Yep... I hope you will manage to get animations support with unreal 4 !!
Anyway ur tool still rocks, I'm sure u will. I made a donation to motivate dude.

Good Work.


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 13, 2016, 09:25
Haha, thanks :)
I'm very motivated to move UE4 support further. The problem is with my free time - I don't have enough time even for my work, and absolutely no time for hobby.


Title: Re: Unreal Engine 4 support
Post by: ClubOn on October 14, 2016, 04:02
Definitely better for u to be busy with business works than not dude, And sound logic if u are capable of making that kind of app... But hope u still have time for girls hahaaha ;D

They begin to bring nice staff on Unreal 4 and UEViewer is the key for us to make fan movies !!  Take ur time, we believe in Gildor !    or Носов Константин, well I hope it's you cause I made a donation to this guy hahahaha

Good luck my friend.


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 14, 2016, 09:11
Definitely better for u to be busy with business works than not dude
Agreed. However not everyone will agree with you - some people prefer I code UModel than work :)
Quote
But hope u still have time for girls hahaaha ;D
Yeah, girls taking most of my time, and even not letting me to work :) 3 girls - my wife and 2 children.
Quote
or Носов Константин, well I hope it's you cause I made a donation to this guy hahahaha
Yes, it's me, no idea why my name is in Russian there :)


Title: Re: Unreal Engine 4 support
Post by: ClubOn on October 15, 2016, 06:18
Well, for those people are disagree with this, maybe just tell them that without growing your experience you wont be able to bring such of tools ! haha.


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 19, 2016, 21:32
Added UE4.12 (final version), UE4.13 and initial UE4.14 support.


Title: Re: Unreal Engine 4 support
Post by: OriginOfWaves on October 21, 2016, 20:03
Added UE4.12 (final version), UE4.13 and initial UE4.14 support.
nice work man. you're a gem


Title: Re: Unreal Engine 4 support
Post by: MarioSonicU on October 28, 2016, 17:58
When i was trying to export the animations from Street Fighter V, I came across this error


ExportObject:Skeleton'STUN_HYK_Skeleton' <- ExportObjects <- CUmodelApp::ShowPackageUI <- Main:umodel_version=490


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 28, 2016, 18:02
Reuploaded UModel. Shouldn't crash anymore, will not load/export animations.


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 28, 2016, 19:11
Some work in progress video. Should fix some issues before making changes public.

https://www.youtube.com/watch?v=KSZaX0YQ2qg
(the video has subtitles and no audio)


Title: Re: Unreal Engine 4 support
Post by: LumeKano on October 30, 2016, 08:05
srry for bump

after u update the 4.12 but..

why can't not open the Savage Resurrection model file..

Code:
appMalloc:size=-32 (total=0 Mbytes) <- FArray::Empty:-2 x 16 <- TArray::Serialize:0/0 <- FReferenceSkeleton<< <- USkeletalMesh4::Serialize <- LoadObject:SkeletalMesh4'Shaman.Shaman', pos=296F, ver=504/0 (unversioned), game=1000D <- UObject::EndLoad <- CUmodelApp::ShowPackageUI <- Main:umodel_version=490

Here Simple:

http://www.mediafire.com/file/rigwturk4iae2gd/Shaman.rar




Title: Re: Unreal Engine 4 support
Post by: Gildor on October 30, 2016, 10:34
srry for bump

after u update the 4.12 but..

why can't not open the Savage Resurrection model file..
...

UE4.12 is fully supported now. However, it seems Savage Resurrection uses some pre-4.12 engine version. UModel don't have any possibility to specify "fraction" engine version at the moment, and it is not possible to detect it automatically because Epic fully erases any version information from packages during cooking.


Title: Re: Unreal Engine 4 support
Post by: LumeKano on October 31, 2016, 02:17
oh no... :-[

so impossibility to get the model Savage Resurrection without older pre-4.12 engine umodel....



Title: Re: Unreal Engine 4 support
Post by: Gildor on October 31, 2016, 09:54
This is what I told before:

Hi guys. I've got 4.12 version working. Almost fully. PARAGON and UT4 are both working.
Now, why "almost fully". This version have many changes in file formats, some of them were made in a way which doesn't allow UModel detect, which "sub-version" of 4.12 is actually used. Let's say, we have for 4.12 (in chronological order)
1. changed package format
2. changed serialization of basic engine's object (affects EVERYTHING what is stored in packages)
3. changed texture streaming code, with possibility to save texture data inside .ubulk files (a kind of UE3's TFC) - this is used by PARAGON
4. changed skeletal mesh, added "Recompute tangents" field (useless for UModel, but breaks mesh serialization, so I must be aware of this field). This engine sub-version is detected with some tech which is new for UE4 (i.e. not present in UE3) and called "custom versions". And of course, cooked unversioned packages entirely dropped these "custom versions" too. So I'm detecting this version just with setting "game=ue4.12", like EVERYTHING ELSE in this list.
5. changed static mesh format, to support "high-precision normals" (this feature is declared in 4.12 changelist).

Ok, version #5 is available for those who uses "UE4.12 preview release". BUT at least two Epic's games uses different sub-versions of 4.12. UT4 uses #4, PARAGON - #3. They are not compatible between each other, but all are 4.12. So, I decided to wait with #5 in UModel, and I stopped with version #4. So, to launch UModel with UT4 files, you should simply specify UE4.12 for startup, and files will be loaded.

Now, about PARAGON. It uses even older, pre-prerelease version of 4.12. At least those files I have. To load them, you should use new command line option intended to "hack" loader, and allow UModel to load this content. The option is:
Code:
umodel -pkgver=504
After this, you will be able to open PARAGON meshes.

It is normal for "Alpha" to use pre-release engine. But not normal for released game, at all. Earlier I did a hack with "pkgver". But now this option will not work - it's not enough, because UE4 now uses up to 6 version numbers at the same time, not just 1.


Title: Re: Unreal Engine 4 support
Post by: 1212aaa on November 02, 2016, 05:59
(http://p1.bqimg.com/567571/c8a71eda37ec0278.jpg)

can't load/export PARAGON animations,plz help.


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 02, 2016, 06:22
First of all, version of UModel shared on gildor.org has animation support disabled because if is not finished yet. So you can't open animations with it, until I really finish animation support.
The second, your log has no errors on it. Loading of animations is very tricky at the moment even in work-in-progress UModel executable (that's why I didn't share it yet). To do so, you'll need to reproduce steps shown on video shared a few days ago in this thread.


Title: Re: Unreal Engine 4 support
Post by: MReaper on November 04, 2016, 01:16
Now we will be able to load the animations from MKX??  ??? :P


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 04, 2016, 01:18
Are you sure this game was made with UE4??


Title: Re: Unreal Engine 4 support
Post by: MReaper on November 04, 2016, 20:26
Are you sure this game was made with UE4??

It is actually UE3 but with the current version can not open the animations, so I thought that with the new version would be supported.


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 04, 2016, 20:46
Yeah, and all other games which didn't work suddenly started to work ;D


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 08, 2016, 10:53
I've uploaded UModel with animation support for Unreal engine 4.
Important: working with UE4 animation is very different from those you did for UE2 and UE3 games, so I've recorded several videos describing how to do that. You may watch these videos on youtube (https://www.youtube.com/playlist?list=PLJROJrENPVvK-V8PCTR9qBmY0Q7v4wCym).
I was able to test animation with just 3 games. If you'll find that some UE4 game is fully supported, please inform me on the forum, so I could update the compatibility table.


Title: Re: Unreal Engine 4 support
Post by: Kanoo on November 09, 2016, 00:46
Are now possible to load the Spec Ops and Army of Two animations??


Title: Re: Unreal Engine 4 support
Post by: Ehlyon on November 09, 2016, 01:14
Are now possible to load the Spec Ops and Army of Two animations??

I was able to test animation with just 3 games. If you'll find that some UE4 game is fully supported, please inform me on the forum, so I could update the compatibility table.

You've to try Kanoo,
he only tested the program with those 3 games (http://gildor.org/projects/umodel/compat (http://gildor.org/projects/umodel/compat): here you can see under "ANIM" that ark, paragon and Unreal tournament are working)
If you'll be able to open them report it and we'll be able to have a full list of supported game! We can't expect Gildor to test/download every single game by himself  ;D


Title: Re: Unreal Engine 4 support
Post by: ClubOn on November 09, 2016, 04:31
Dude, I've been away for 2 weeks... But I knew you will make it !

Thanks man.


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 09, 2016, 08:38
Are now possible to load the Spec Ops and Army of Two animations??
I think these games were made with UE3 engine. Is this a kind of trolling, asking here about UE3 games? (like, MKX a few posts above)


Title: Re: Unreal Engine 4 support
Post by: ClubOn on November 09, 2016, 19:41
Just for your info Guys

Now animation of Street Fighter V is supported, just follow the video of gildor https://youtu.be/KSZaX0YQ2qg?list=PLJROJrENPVvK-V8PCTR9qBmY0Q7v4wCym (https://youtu.be/KSZaX0YQ2qg?list=PLJROJrENPVvK-V8PCTR9qBmY0Q7v4wCym)

I use :
- Street Fighter V Beta version
- Override >>> Unreal ungine 4 >>> 4.06  (guldor I gess SFV is 4.6 version of UE)


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 09, 2016, 21:40
Thank you!


Title: Re: Unreal Engine 4 support
Post by: ClubOn on November 10, 2016, 21:24
Great Uptade dude for sure !

I just tried to export Mortal Kombat X anims with your new version but still crash.... any suggestions? Or those anims system have no way to get extracted  :-\


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 10, 2016, 22:04
Isn't MK X UE3 game?


Title: Re: Unreal Engine 4 support
Post by: ClubOn on November 10, 2016, 23:54
Quote
Isn't MK X UE3 game?

Yes Yes it is !! The deal is with Mortal Kombat X everything can be export except animations... And I was thinking that since Street Fighter V is the same type of game well maybe you found the way to also get MK X anims extractable with this new version of UEViewer  ;D .

Well that's why I tried before asking... But if there is no way there is no way... UEViewer Rocks anyway dude.


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 10, 2016, 23:58
"Same type" but different company and different engine.


Title: Re: Unreal Engine 4 support
Post by: ClubOn on November 11, 2016, 12:29
Ok thanks.
Well maybe one day ! keep on !


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 20, 2016, 16:29
Hi guys. UModel got a few useful updates for UE4 support. One of the most noticeable - new directory layout for exported UE4 assets. Please watch the video for comparison between old and new UModel export!

https://www.youtube.com/watch?v=jxnFOubZvxQ


Title: Re: Unreal Engine 4 support
Post by: MReaper on November 20, 2016, 20:58
Nice one man, keep on it.  ;)  ;D


Title: Re: Unreal Engine 4 support
Post by: Headshot on November 27, 2016, 22:08
Hello Gildor, thanks for the amazing UE4 support :)

I know that paragon animations are not 100% supported but noticed on some heroes like twinblast the error when trying to load anims is:

Missing ACF_Fixed32NoW compression.

Is this just missing the actual code to decompress the animations or anything more indepth? if its just the compression i might try fixing it using a custom build of umodel for paragon


Title: Re: Unreal Engine 4 support
Post by: Gildor on November 27, 2016, 22:18
Hi.
Some animations in PARAGON has garbage inside. So UModel reads compression method value, and it contains something wrong, something what doesn't exist. I've spent some time playing with it, and found a problem - but I can't fix it without breaking other games. Right now I'm waiting either for update in UE4 codebase to see what they did there, or for update in PARAGON's engine binaries where probably this problem will be fixed (update for full 4.14 version). Anyway, latest UModel crashes with PARAGON meshes, because PARAGON uses some "mid-air" engine version again: between 4.13 and 4.14.
BTW, for the future, please post messages about this game in special thread (/smf/index.php/topic,2902.0.html).


Title: Re: Unreal Engine 4 support
Post by: Headshot on November 27, 2016, 22:22
Hi.
Some animations in PARAGON has garbage inside. So UModel reads compression method value, and it contains something wrong, something what doesn't exist. I've spent some time playing with it, and found a problem - but I can't fix it without breaking other games. Right now I'm waiting either for update in UE4 codebase to see what they did there, or for update in PARAGON's engine binaries where probably this problem will be fixed (update for full 4.14 version). Anyway, latest UModel crashes with PARAGON meshes, because PARAGON uses some "mid-air" engine version again: between 4.13 and 4.14.
BTW, for the future, please post messages about this game in special thread (/smf/index.php/topic,2902.0.html).

Okay that is no problem, i am learning the codebase so i will try to make a hack to make the anims load until this is fully resolved, thanks again :)


Title: Re: Unreal Engine 4 support
Post by: Gildor on December 03, 2016, 00:00
Unreal engine 4.14 is fully supported.


Title: Re: Unreal Engine 4 support
Post by: brutalace on December 19, 2016, 10:30
Hi,

Is there any chance that support for PSK with eight weights per vertex will come soon ?


Title: Re: Unreal Engine 4 support
Post by: Gildor on December 19, 2016, 10:35
Hi.
This is not planned for the nearest future. UModel supports only 4 weights per vertex, all other meshes are recomputed to use 4 weights. I saw a pair of problematic meshes in PARAGON, unfortunately this game is not fully supported at the moment (it requires older UModel to work), so I can't fix these problems right now. If you have a mesh with problems, which is openable with current UModel version, it would be nice if you could send it to me.
Do you really need 8 weights per vertex?


Title: Re: Unreal Engine 4 support
Post by: brutalace on December 19, 2016, 11:00
Hi Gildor,

Thanks for the reply and well I do need 8 weights per vertex because pretty much every model in SFV use 8 weights, and although your current solution of dropping extra weights and normalizing works fine, every time it drop useful weights around most influenced areas like shoulders and elbows which is a huge pain to fix manually unfortunately.

This user claims http://vgmod.deviantart.com/ that she managed to dump the model with eight weights by hacking through UModel (according to her). I tried asking her but she said that it's pretty much a hack and it can cause problems too so she didn't shared the details but since I only mod SFV, I do need this feature to work so we can get all weights intact.

If you can implement this feature or even only make it work with SFV models for time being, I will be very thankful and will also support you with donations since this will directly help SFV modding community.



Title: Re: Unreal Engine 4 support
Post by: Gildor on December 19, 2016, 11:04
... she managed to dump the model with eight weights by hacking through UModel (according to her).
"she" "hacked umodel" - cool :)
Quote
If you can implement this feature or even only make it work with SFV models for time being, I will be very thankful and will also support you with donations since this will directly help SFV modding community.
If this will be done, this will work for any UE4 game, not just for SFV.


Title: Re: Unreal Engine 4 support
Post by: brutalace on December 19, 2016, 11:17
Lol ;D well hacked maybe is not the right word since program's source code is already available but she claimed it so and also said that she only managed to make it work with a particular model but didn't shared the details.

Anyway I hope you consider doing this, I should also mention that this also affect mouth piece deformation since it has more than 8 weights in pretty much all cases. I try to fix them manually but it's a hard thing to do.

EDIT: Here is an example of what happens in some cases.

(http://i.imgur.com/RS24p1V.png)


Title: Friday the 13th .UASSET Sound Files
Post by: Sumsarem on December 30, 2016, 08:52
Hey Gildor! I'm super new to the unreal engine, so please bear with me lol!

After playing the f13 beta, i've been doing everything in my power to convert some of the character's voice lines into mp3s.  The only problem is; they're all packaged in .UASSET files.  I've done my fair share of extracting other game's audio files, but i just CAN'T get these ones no matter what i try lol.  All arrows pointed to your wonderful Umodel! I'm hoping you could help me out a little bit in regards to sound files and unpackaging .UASSET files.

Thanks much!


Title: Re: Unreal Engine 4 support
Post by: Gildor on December 30, 2016, 10:00
Hi.
When starting umodel, check "Sounds" option in UI. Then locate sounds uasset files, select them, and press "Extract".


Title: Re: Unreal Engine 4 support
Post by: Sumsarem on December 31, 2016, 05:03
Hi.
When starting umodel, check "Sounds" option in UI. Then locate sounds uasset files, select them, and press "Extract".

I fiddled around a bit more, and managed to get it to work!  I suppose I was selecting the wrong engine version.  Thank you so much for your help!


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 18, 2017, 17:22
I've fixed a bug caused bad geometry when mesh has more than 4 weights per vertex. This bug happened with several PARAGON meshes.


Title: Re: Unreal Engine 4 support
Post by: brutalace on January 19, 2017, 12:04
Hi Gildor,

Does this mean the program support more than 4 weights now ? or it's a fix for viewer only ?


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 19, 2017, 12:08
Fix for viewing.


Title: Re: Unreal Engine 4 support
Post by: brutalace on January 19, 2017, 12:31
I see, alright. Thanks for the hard work :)


Title: Re: Unreal Engine 4 support
Post by: Quorthon on February 20, 2017, 19:38
Hi mates i'm new here.

Great Tool Gildor.

Reading this thread i missed out something: is it possible to browse UE4 games assets, exctracted with UModel, inside UE4 Free Engine Editor?

Thanks to all!


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 20, 2017, 19:39
Hi,
Welcome.
No, it is not possible. Extracted assets are in psk, psk and tga format. However UnrealEd can work only with uasset files.


Title: Re: Unreal Engine 4 support
Post by: Gildor on March 18, 2017, 21:08
Hi guys.

A new build of UModel has new feature. There's no more error with "unversioned package" message, UModel will prompt you for selecting an engine version instead.

A small video showing this feature in action:
https://www.youtube.com/watch?v=gTeINcso8ks


Title: Re: Unreal Engine 4 support
Post by: Gildor on September 29, 2017, 20:01
Unreal engine 4.17 is now supported. Also I've started 4.18 support, for PARAGON.

Please note: 4.17 has possibility to encrypt index (file table) in pak files, so expect more unsupported games with encrypted pak files soon!


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 04, 2018, 23:59
Unreal engine 4.18 is now fully supported.


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 23, 2018, 16:50
Added possibility to load encrypted UE4 pak files. For more information please check readme file.

Therefore, custom software like QuickBMS should no longer be needed for opening encrypted games (however you should know AES key to open a game).


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 08, 2018, 00:33
Added support for UE4.19 (currently based on preview-3 version of the engine).


Title: Re: Unreal Engine 4 support
Post by: Gildor on February 24, 2018, 11:13
AES encryption key could be provided in hexadecimal format now. The string format is: 0xAABBCCDD (case-insensitive).

For the bytes

  00 11 22 33 EE FF

key should look like

  0x00112233EEFF

Hex keys are accepted from both command line and UI.


Title: Re: Unreal Engine 4 support
Post by: Gildor on April 01, 2018, 19:14
Added support for HDR image formats (FloatRGB and BC6H). Thanks to m0xf for initial implementation.


Title: Re: Unreal Engine 4 support
Post by: Gildor on April 11, 2018, 12:25
Fixed long standing crash and dropping animation track issue with many UE4 animations.


Title: Re: Unreal Engine 4 support
Post by: Juso3D on April 11, 2018, 12:42
Your awesome man!


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 17, 2018, 02:07
Added new feature: automatic finding and loading of animations for a mesh. For more details, look at demonstration video:

https://www.youtube.com/watch?v=7nyiwp-vuJ4


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 19, 2018, 21:33
Implemented support for loading PNG-compressed non-cooked textures.


Title: Re: Unreal Engine 4 support
Post by: Thiagokyo on June 05, 2018, 18:59
Added new feature: automatic finding and loading of animations for a mesh. For more details, look at demonstration video:

https://www.youtube.com/watch?v=7nyiwp-vuJ4

Perfect Gildor, Thank you very much!  :)


Title: Re: Unreal Engine 4 support
Post by: Gildor on June 19, 2018, 13:43
Added support for PS4 games. Previously, textures didn't work.
You should specify -ps4 command line option, or select "PS4" platform in UI.


Texture decoding code has been provided by m0xf, Russian discussion thread is here (/smf/index.php/topic,6221.0.html).


Title: Re: Unreal Engine 4 support
Post by: Gildor on June 24, 2018, 17:55
Fixed loading of .umap files, umodel shouldn't crash with them anymore.
Also added initial support for UE4.20 - it has .uptnl files in addition to .ubulk and .uexp.


Title: Re: Unreal Engine 4 support
Post by: Gildor on July 20, 2018, 13:52
UE4.20 is now fully supported. UModel can load cooked and editor assets.

Also I've updated the first post with new information and videos.


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 07, 2018, 21:07
Yesterday I've added support of exporting UE4 OPUS sounds to "UE4OPUS" format. It is not openable with standard sound software, however there's something what can open it.

For details please see the following github issues:
https://github.com/gildor2/UModel/issues/43
https://github.com/gildor2/UModel/issues/102


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 21, 2018, 12:20
New umodel now should properly work with scaled skeletons.


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 04, 2019, 22:29
Added support for UE4.21.


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 08, 2019, 21:38
Added support for Nintendo Switch textures. You should explicitly select this platform using "-nsw" command line option, or with selection of "Nintendo Switch" from platform list in UI.


Title: Re: Unreal Engine 4 support
Post by: Gildor on April 12, 2019, 14:34
Added support for final UE4.22 engine version. I've downloaded the engine and packaged a sample game, tested - everything (what's intended) works now.


Title: Re: Unreal Engine 4 support
Post by: Gildor on August 23, 2019, 18:10
A new video showing how to use recent UE Viewer with UE4 meshes and animations. Shows new features and new animation workflow.

https://www.youtube.com/watch?v=rew3u9eUucg


Title: Re: Unreal Engine 4 support
Post by: Gildor on October 22, 2019, 23:29
Finalized UE4.23 support. Now everything seems working. There was some mess because of Fortnite using non-standard build, so Fortnite did work, but packages cooked with real UE4.23 - don't.


Title: Re: Unreal Engine 4 support
Post by: Gildor on May 30, 2020, 14:07
UE4.25 is supported now.


Title: Re: Unreal Engine 4 support
Post by: Gildor on September 05, 2021, 14:43
Build 1571 has support for release version of UE4.27. Also I've removed some hacks made previously for Fortnite, this might fix some issues with UE4.26 games (which are using unversioned properties mechanism).


Title: Re: Unreal Engine 4 support
Post by: Gildor on January 07, 2022, 01:02
Added UE4.25-Plus support.