Gildor's Forums

Author Topic: [UE3] Crossfire HD (CFHD)  (Read 4355 times)
SeSJa
Newbie
*
Posts: 8


View Profile
[UE3] Crossfire HD (CFHD)
« on: January 24, 2021, 09:44 »

Official website: https://cfhd.cf.qq.com/

I tried to open the file but I got the following error message:

Code:
******** D:\M4A1_SF.upk ********

ERROR: Unable to read 79387 bytes at pos=0x6DE248
FFileReader::Serialize:File=M4A1_SF.upk <- FUE3ArchiveReader::PrepareBuffer <- FUE3ArchiveReader::Serialize <- FString<< <- Name:1 <- UnPackage::LoadNameTable <- UnPackage::UnPackage:M4A1_SF.upk, ver=871/5, game=ue3 <- UnPackage::LoadPackage:M4A1_SF.upk <- Main:umodel_build=1242

I saw some discussions about CFHD models on this website https://forum.xentax.com/viewtopic.php?t=19115
it seems that the files are not encrypted, but I tried different compatibility modes and it still didn't work.

Can someone please help to look into the files? The models have pretty good quality.
Sample Files: https://drive.google.com/file/d/1ziD0blo-fDjl0HfjvuO8DvqbbflDrdGa/view?usp=sharing

Thanks in advance!
« Last Edit: January 24, 2021, 11:15 by Gildor » Logged
RedBear
Full Member
***
Posts: 226


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #1 on: January 24, 2021, 12:39 »

The developers of Crossfire HD game is the company Smilegate, which is also the developer of the Lost Ark game.
According to the info provided in Lost Ark CBT topic (https://www.gildor.org/smf/index.php/topic,3055.45.html), the game files are encrypted/obfuscated.
Most likely it's the same with Crossfire HD game.
Also Gildor has already answered about support for such games: https://www.gildor.org/smf/index.php/topic,3055.msg31308.html#msg31308
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2163


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #2 on: February 13, 2022, 16:39 »

Apparently latest game versions are not encrypted (except for .u files), so here is specific umodel build for the game (link, updated), no special override is required. Also, upk extension is stripped from almost all files in Cross\Content subfolder, so you need to add it manually. Most assets should be supported in fixed build, with a few possible exceptions. Materials are not linked to meshes in most cases.
Batch export is not recommended, it may crash umodel at some point.

Update: Specific build is updated with a fix for some crashes.
Update 2: Specific build is updated with more fixes for edge cases.


* Clipboard03.jpg (102 KB, 2544x1235 - viewed 1111 times.)
« Last Edit: April 01, 2022, 03:33 by spiritovod » Logged
SeSJa
Newbie
*
Posts: 8


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #3 on: February 19, 2022, 08:40 »

Thank you so much!
Logged
eliteforcevn
Newbie
*
Posts: 9


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #4 on: March 19, 2022, 10:26 »

Apparently latest game versions are not encrypted (except for .u files), so here is specific umodel build for the game (link), no special override is required. Also, upk extension is stripped from almost all files in Cross\Content subfolder, so you need to add it manually. Meshes and textures should be supported, animations and materials are partially supported.
Batch export is not recommended, it will most likely crash umodel.

Wow thanks you so much nice keep going
Logged
eliteforcevn
Newbie
*
Posts: 9


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #5 on: March 23, 2022, 20:46 »

Apparently latest game versions are not encrypted (except for .u files), so here is specific umodel build for the game (link), no special override is required. Also, upk extension is stripped from almost all files in Cross\Content subfolder, so you need to add it manually. Meshes and textures should be supported, animations and materials are partially supported.
Batch export is not recommended, it will most likely crash umodel.

hmm some file work some file error
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2163


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #6 on: March 28, 2022, 04:16 »

@eliteforcevn: I think that with disabled animations everything else should somehow work. If you have any particular issues, you can post full error messages and packages with assets where those errors occurred.
Logged
IcesX
Newbie
*
Posts: 18


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #7 on: March 28, 2022, 22:38 »

@eliteforcevn: I think that with disabled animations everything else should somehow work. If you have any particular issues, you can post full error messages and packages with assets where those errors occurred.

https://drive.google.com/file/d/19Qy7jPgmhmMvwN22S3mOPXM7bPvOQv7G/view?usp=sharing
https://drive.google.com/file/d/1evN6F9lit11Wf_sGfxB6KC0uXVnUV2SD/view?usp=sharing

I provided two animation resource files that reported an error

Loading AnimSet AS_1PC_Nano_Nurse from package 20e11a022f9ea51dfbe29758fef82834.upk
ArrayProperty: unknown UAnimSet Trail
ArrayProperty: unknown UAnimSet SGAnim_AdditiveBlendByCrouchBegin
******** Loading object AnimSet'20e11a022f9ea51dfbe29758fef82834.AS_1PC_Nano_Nurse' ********
*** ERROR: MapTypeName: unknown type 'Nano_Fire_L_Fail' for property 'PreviewSocketList'
FPropertyTag<< <- CTypeInfo::SerializeUnrealProps <- UObject::Serialize <- UAnimSet::Serialize <- LoadObject: AnimSet'20e11a022f9ea51dfbe29758fef82834.AS_1PC_Nano_Nurse', pos=97A99C, ver=872/5, game=ue3 <- UObject::EndLoad <- LoadWholePackage: 20e11a022f9ea51dfbe29758fef82834.upk <- CUmodelApp::ShowPackageUI <- Main: umodel_build=1544 based



Can this be solved?
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2163


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #8 on: March 30, 2022, 00:49 »

@LiangZ: I've updated specific build, now it shouldn't crash in almost all cases (at least, with supported assets). Though currently export table is not parsed properly, which may theoretically lead to a crash anyway. If you'll find other packages, which doesn't work with updated build, feel free to report them.
Logged
IcesX
Newbie
*
Posts: 18


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #9 on: March 31, 2022, 16:14 »

@LiangZ: I've updated specific build, now it shouldn't crash in almost all cases (at least, with supported assets). Though currently export table is not parsed properly, which may theoretically lead to a crash anyway. If you'll find other packages, which doesn't work with updated build, feel free to report them.

Thank you very much for your update, a lot of bugs have been fixed, some of the latest bugs are some unimportant maps, some are weapon bugs, I continue to provide some files, please fix them...


******** Loading object StaticMesh3'58d66f3d2317708bafa6eaedb888e8d9.SM_Area13_Building04_INWall01c' ********

ERROR: RawArray item size mismatch: expected 6, serialized 16

SerializeBulkArray <- FStaticMeshVertexStream3<< <- FStaticMeshLODModel3<< <- TArray::Serialize: 1/2 <- UStaticMesh3::Serialize <- LoadObject: StaticMesh3'58d66f3d2317708bafa6eaedb888e8d9.SM_Area13_Building04_INWall01c', pos=F5EC2A, ver=872/5, game=ue3 <- UObject::EndLoad <- LoadWholePackage: 58d66f3d2317708bafa6eaedb888e8d9.upk <- ExportPackages <- Main: umodel_build=1544 based fix

ERROR: Package "6a36d959037cfcf61f1ca7db669e379f.upk": wrong export index 9838318
UnPackage::CreateExport: 6a36d959037cfcf61f1ca7db669e379f.upk:9838318 <- UnPackage::SerializeUObject <- FStaticMeshSection3<< <- TArray::Serialize: 0/1821684 <- FStaticMeshLODModel3<< <- TArray::Serialize: 1/3 <- UStaticMesh3::Serialize <- LoadObject: StaticMesh3'6a36d959037cfcf61f1ca7db669e379f.SM_OR_StageE2_CraneBoom01', pos=961EEF, ver=872/5, game=ue3 <- UObject::EndLoad <- LoadWholePackage: 6a36d959037cfcf61f1ca7db669e379f.upk <- ExportPackages <- Main: umodel_build=1544 based fix


******** Loading object Texture2D'e1b18bc960af66634d9aefd38bd51c0f.T_SR_MK12_SPR_SKIN_GUARD38_SCOPE_S' ********

ERROR: TArray: index 0 is out of range (0)
ProcessVerts <- ConvertLod: lod=3 <- USkeletalMesh3::ConvertMesh <- USkeletalMesh3::PostLoad <- PostLoad: SK_SR_MK12_SPR_SKIN_GUARD38 <- UObject::EndLoad <- LoadWholePackage: e1b18bc960af66634d9aefd38bd51c0f.upk <- ExportPackages <- Main: umodel_build=1544 based fix


https://drive.google.com/file/d/19HoR9w3Ep0ZeVRh8n1cP8-ph_KmzEEMz/view?usp=sharing

https://drive.google.com/file/d/1uRqJnfzIDbuhLUrnFyoJUBKPxLpKWl_O/view?usp=sharing

https://drive.google.com/file/d/1uh6jApBcuC6XUqxtVeTMjhsCKasd9rLR/view?usp=sharing

Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2163


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #10 on: April 01, 2022, 04:01 »

@LiangZ: I've rolled out another update, check it.

From what I understood, they're using some kind of complex mesh system which allows to include additional sub-asset for whatever reason - so you have, for example, a mesh with 4 lods and respective buffers, but if parameters are set, there also can be another 4 lods with modified version of that mesh, or those lods can be the same mesh, but with different materials applied (first lods with materials from the same package and others with materials from external package). On top of that, it can be also combination of all of the above.
I don't have much time to dig into it any further, that's why in the updated build only first block of lods is serialized and some lods are stripped anyway to mitigate issues from overlapped data.
« Last Edit: April 01, 2022, 04:09 by spiritovod » Logged
eliteforcevn
Newbie
*
Posts: 9


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #11 on: April 16, 2022, 08:36 »

thank you so much :3 you are awesome :3
Logged
zjbdsg
Newbie
*
Posts: 1


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #12 on: May 30, 2022, 10:00 »

@LiangZ: I've rolled out another update, check it.

From what I understood, they're using some kind of complex mesh system which allows to include additional sub-asset for whatever reason - so you have, for example, a mesh with 4 lods and respective buffers, but if parameters are set, there also can be another 4 lods with modified version of that mesh, or those lods can be the same mesh, but with different materials applied (first lods with materials from the same package and others with materials from external package). On top of that, it can be also combination of all of the above.
I don't have much time to dig into it any further, that's why in the updated build only first block of lods is serialized and some lods are stripped anyway to mitigate issues from overlapped data.

Where is the download link for the new version?
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2163


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #13 on: May 30, 2022, 17:47 »

@zjbdsg: It's in the same post as before.
Logged
2681218185
Newbie
*
Posts: 2


View Profile
Re: [UE3] Crossfire HD (CFHD)
« Reply #14 on: June 04, 2022, 13:31 »

how to slove?thanks


* 1.png (113.55 KB, 1215x635 - viewed 320 times.)
Logged
Jump to:  

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