Gildor's Forums

English Forum => Other games => Topic started by: kingfisher13 on March 26, 2015, 00:15



Title: Dungeon Defenders 2
Post by: kingfisher13 on March 26, 2015, 00:15
Hey dudes,
I know it isn't at release stage yet, but Dungeon Defenders 2 is freaking cool so far, and I want to work on extracting its models. It uses Unreal Engine 4, so I was wondering what the story is in terms of support by Unreal Viewer.

Does UEViewer already support it? I don't know what version of UE4 the game uses, and I'm not sure how to find out. I hope you're planning on adding support for this game, its got some very cool art in it.

Basically, is it possible to use UEViewer on this game to extract rigged models and textures, in UEViewer's current state? If so, are there any special settings I need to use when working in UEViewer?

Thanks!


Title: Re: Dungeon Defenders 2
Post by: Gildor on March 26, 2015, 00:20
Does UEViewer already support it?
You should try it :)
Quote
I don't know what version of UE4 the game uses, and I'm not sure how to find out.
Just launch UE Viewer with different versions. If the game is supported, one of versions will allow you to open the game.
Quote
Basically, is it possible to use UEViewer on this game to extract rigged models and textures, in UEViewer's current state?
Yes.
Quote
If so, are there any special settings I need to use when working in UEViewer?
No.


Title: Re: Dungeon Defenders 2
Post by: kingfisher13 on March 26, 2015, 18:47
Thanks Gildor, for the info!

I'll give it a try and share the version that worked on this thread. I'll also attempt to map the game's file structure, such as the location of enemy models, character models, weapon models, etc etc.


Title: Re: Dungeon Defenders 2
Post by: kingfisher13 on March 26, 2015, 20:00
Hey Gildor,
I talked to the developers of Dungeon Defenders 2, and they say DD2 actually uses a heavily modified version of Unreal Engine 3. The file types seem to be the same as in UE3 standard, but I got an error when attempting to load a .UPK file in UEviewer, using the autodetect function for the engine version.

The error is this:
"Fatal Error"
Trying to allocate -Filesize bytes
Call stack:
Trying to allocate -1470828600 bytes etc etc

The same error X-Law got in this thread: http://www.gildor.org/smf/index.php?topic=2522.0


I was wondering if there was anything I'm doing wrong or need to do to fix this.

Thanks again, Gildor, for your assistance!


Title: Re: Dungeon Defenders 2
Post by: kingfisher13 on March 26, 2015, 20:59
This is the full error message:

Trying to allocate -439214344 bytes
appMalloc:size=-439214344 <- FArray::Empty:-752429078 x 12 <- SerializePackageFileSummary3 <- FPackageFileSummary<<:Ver=685/102 <- UnPackage::UnPackage:DunDefMoba.upk, ver=685/102, game=8000 <- UnPackage::LoadPackage:DunDefMoba.upk <- Main:umodel_version=340

EDIT:
This is the version of UE found when scanning through UE Viewer:

685 (2AD)  102 ( 66)    28   


Title: Re: Dungeon Defenders 2
Post by: Gildor on March 26, 2015, 22:43
So, this thread should be redirected here, I think
http://www.gildor.org/smf/index.php/topic,2599.0.html


Title: Re: Dungeon Defenders 2
Post by: kingfisher13 on March 27, 2015, 17:41
Awww dang, that really sucks... looks  like this game can't be extracted from. Thanks for trying to support it though, you've done great work with your UEViewer so far.


Title: Re: Dungeon Defenders 2
Post by: Grendor on April 12, 2016, 09:29
Well I think this CAN be supported, according to someone over at ZenHax.

http://zenhax.com/viewtopic.php?f=9&t=2308 (http://zenhax.com/viewtopic.php?f=9&t=2308)

Apparently offsets aren't needed, and just add-ups of the sizes.


Title: Re: Dungeon Defenders 2
Post by: Gildor on April 12, 2016, 10:54
Could anyone provide me sample files so I could check it when I'll have free time?


Title: Re: Dungeon Defenders 2
Post by: Grendor on April 12, 2016, 16:33
https://www.dropbox.com/s/fuxzlpe41o2nlva/DD2.zip?dl=0 (https://www.dropbox.com/s/fuxzlpe41o2nlva/DD2.zip?dl=0)

Certainly, here you are, my good man!

Really hoping we can get support for it ASAP!


Title: Re: Dungeon Defenders 2
Post by: kingfisher13 on April 12, 2016, 19:28
Yeah, it would be amazing if you could work this out, Gildor, I believe in your skills man!


Title: Re: Dungeon Defenders 2
Post by: Gildor on April 12, 2016, 19:41
There's not so much problems with skills, the problem is with free time :)


Title: Re: Dungeon Defenders 2
Post by: Gildor on May 02, 2016, 21:02
Hi guys. I think I've added support for Dungeon Defenders game series. Please try them with new UModel and let me know what works and what - not (if any).

Note: game should be set to "Dungeon Defenders" with GUI or with command line ("-game=dundef" option).

I think not just Dungeon Defenders 2, but probably other games from this series should be supported too. It would be nice if someone could report me about compatibility, so I could add these games to the compatibility table.


Title: Re: Dungeon Defenders 2
Post by: freemanpro on May 02, 2016, 23:15
So .. I tried the new client on DD2. Normally all animation and static mesh and skeleton , but the texture for some reason he does not see, namely the file..

and yes i used command for this game : -game=dundef ( option )

[вложение удалено Администратором]


Title: Re: Dungeon Defenders 2
Post by: Gildor on May 02, 2016, 23:18
Could you please provide me an upk file with referenced TFC file? I see these files has "dots" in names, perhaps this prevents code from recognizing file extension properly.


Title: Re: Dungeon Defenders 2
Post by: freemanpro on May 02, 2016, 23:48
ok.

https://www.dropbox.com/s/g48vkkp2wmavzku/HUB_Entry_Skybox.rar?dl=0

[вложение удалено Администратором]


Title: Re: Dungeon Defenders 2
Post by: Gildor on May 03, 2016, 00:38
Thank you. Please try updated UModel.


Title: Re: Dungeon Defenders 2
Post by: freemanpro on May 03, 2016, 03:25
ok .. now work all support .. thx .. You BEST !!!


Title: Re: Dungeon Defenders 2
Post by: logansan25 on May 09, 2016, 23:37
When i try open appear this:

Trying to allocate 1803077808 bytes
appMalloc:size=1803077808 <- FArray::Empty:381127819 x 16 <- TArray::Serialize:0/0 <- SerializePackageFileSummary3 <- FPackageFileSummary<<:Ver=687/107 <- UnPackage::UnPackage:Ruins2_Overlay_Winter.upk, ver=505/107, game=1000D <- UnPackage::LoadPackage:Ruins2_Overlay_Winter.upk <- CUmodelApp::ShowPackageUI <- Main:umodel_version=438

And crash Umodel. I updated umodel.


Title: Re: Dungeon Defenders 2
Post by: Gildor on May 09, 2016, 23:40
You set the game to UE4.12, but you should use "Dungeon Defenders".


Title: Re: Dungeon Defenders 2
Post by: logansan25 on May 10, 2016, 02:50
You set the game to UE4.12, but you should use "Dungeon Defenders".

I did open Umodel normaly. I dont remember how use codes. :(


Title: Re: Dungeon Defenders 2
Post by: freemanpro on May 10, 2016, 10:16
Use forum search..


Title: Re: Dungeon Defenders 2
Post by: Gildor on May 10, 2016, 12:31
Codes are not needed, you may use GUI to override the game. Probably you've used batch file to start UModel with "-game=ue4.12" option?


Title: Re: Dungeon Defenders 2
Post by: logansan25 on May 10, 2016, 16:29
Codes are not needed, you may use GUI to override the game. Probably you've used batch file to start UModel with "-game=ue4.12" option?

Yes. I opened Umodel double click and on the ue4.12.

I will try with your instructions. ;)


Title: Re: Dungeon Defenders 2
Post by: freemanpro on May 11, 2016, 03:52
Use search on forum !!!!!!!!!!!!!!!!!!!!!!!!!

Note: game should be set to "Dungeon Defenders" with GUI or with command line ("-game=dundef" option).


Title: Re: Dungeon Defenders 2
Post by: tokala3 on August 25, 2016, 21:01
It appears something has broken between the last time I used this and now.

After setting the manual override to Unreal 3 > Dungeon Defenders, I'm able to see the list of packages but whenever I attempt to open one I get an error. Here are some of the errors I get when attempting to open a package:

ERROR: Trying to allocate -396123132 bytes
appMalloc:size=-396123132 <- FArray::Empty:-1106752085 x 12 <- SerializePackageFileSummary3 <- FPackageFileSummary<<:Ver=687/111 <- UnPackage::UnPackage:StartupCoop.upk, ver=687/111, game=8000 <- UnPackage::LoadPackage:StartupCoop.upk <- CUmodelApp::ShowPackageUI <- Main:umodel_version=462


******** Loading object Material3'DD2_Glitterhelm.LF_Add_Unlit' ********

ERROR: Trying to allocate 531805192 bytes
appMalloc:size=531805192 <- FArray::Empty:-2014532350 x 4 <- TArray::Serialize:0/0 <- SerializeFMaterialResource <- LoadObject:Material3'DD2_Glitterhelm.LF_Add_Unlit', pos=287E9F6, ver=685/111, game=8046 <- UObject::EndLoad <- LoadWholePackage:DD2_Glitterhelm <- CUmodelApp::ShowPackageUI <- Main:umodel_version=462


******** Loading object Material3'Startup_INT.PSprite_Additive_FC_SubUV' ********

ERROR: Trying to allocate -398236672 bytes
appMalloc:size=-398236672 <- FArray::Empty:974182656 x 4 <- TArray::Serialize:0/0 <- SerializeFMaterialResource <- LoadObject:Material3'Startup_INT.PSprite_Additive_FC_SubUV', pos=3A0FD2, ver=685/111, game=8046 <- UObject::EndLoad <- LoadWholePackage:Startup_INT <- CUmodelApp::ShowPackageUI <- Main:umodel_version=462


******** Loading object Material3'DD2_TownSquare01.PMesh_Additive_CG_Panner' ********

ERROR: Trying to allocate -2072440824 bytes
appMalloc:size=-2072440824 <- FArray::Empty:-1591852030 x 4 <- TArray::Serialize:0/0 <- SerializeFMaterialResource <- LoadObject:Material3'DD2_TownSquare01.PMesh_Additive_CG_Panner', pos=2A117A6, ver=685/111, game=8046 <- UObject::EndLoad <- LoadWholePackage:DD2_TownSquare01 <- CUmodelApp::ShowPackageUI <- Main:umodel_version=462


Here is a UPK file that can be used to test: https://www.dropbox.com/s/xb9wk1e4kgeunit/TownSquare03_Incursion.zip?dl=0

Also worth noting is that the original Dungeon Defenders works without any issues, however Dungeon Defenders 2 does not work.



Title: Re: Dungeon Defenders 2
Post by: Gildor on August 26, 2016, 12:02
It seems the packages where UModel crashed has been updated. Developers changed something in materials, this is why UModel crashed there.


Title: Re: Dungeon Defenders 2
Post by: tokala3 on September 02, 2016, 08:04
Well shoot, you're right. I can access skeletal meshes and static meshes, but when I check 'textures' it crashes the whole program.

Are there any settings that I can tweak in uModel to get the textures to load properly? All I'm really interested are the diffuses.


Title: Re: Dungeon Defenders 2
Post by: jkig999 on October 13, 2016, 04:23
UE Viewer Do not support the new version Dungeon Defenders 2 

http://www13.zippyshare.com/v/XAu7RJS2/file.html


Title: Re: Dungeon Defenders 2
Post by: Grendor on October 14, 2017, 07:33
Yeah, I'm getting an error now too. Seems the update broke something.
Memory: bad allocation size -1432801280 bytes
appMalloc:size=-1432801280 (total=19 Mbytes) <- FArray::Empty:-1431942144 x 4 <- TArray::Serialize:0/0 <- SerializeFMaterialResource <- LoadObject:Material3'DD2_AirshipBattle.DynamicClouds_mat', pos=2DDF80A, ver=685/117, game=dundef <- UObject::EndLoad <- CUmodelApp::ShowPackageUI <- Main:umodel_version=624


Title: Re: Dungeon Defenders 2
Post by: Grendor on November 30, 2019, 22:41
All right, so the only thing not working for this game is the textures. Static mesh and Skeletal mesh are just fine, but are kind of useless without the textures to go along with them. Is there some other way to extract textures?


Title: Re: Dungeon Defenders 2
Post by: WollieWoltaz on November 30, 2019, 23:23
Hope someone knows how to extract the textures.
What about animations, are those extractable?


Title: Re: Dungeon Defenders 2
Post by: spiritovod on July 28, 2021, 00:43
Here is specific umodel build, which allow you to load textures as well (link (https://drive.google.com/file/d/1Zge6CWE1_8goOW1z9x85WMx_5EAnZIgu/view?usp=sharing)), simply use usual override option for the game.

It disables last part of materials serialization, which bypass this kind of issue in latest UE3 games, so it can be used with any UE3 game with this kind of error (regardless of overrides). It's not a proper fix though, but I'm not willing to dig into custom UE3 materials at the moment.