Skip to content

Commit

Permalink
UE4.25-Plus support
Browse files Browse the repository at this point in the history
  • Loading branch information
gildor2 committed Jan 6, 2022
1 parent ab4b6c1 commit 60accbf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Unreal/GameDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ const GameInfo GListOfGames[] = {
"ue4.[0-" STR(LATEST_SUPPORTED_UE4_VERSION) "]",
GAME_UE4(LATEST_SUPPORTED_UE4_VERSION+1) // some invalid version number, but not zero - to show this game in "-help" output
},
G("Unreal engine 4.25 Plus", ue4.25+, GAME_UE4_25_Plus),
// Add custom UE4 versions here
# if GEARS4
G("Gears of War 4", gears4, GAME_Gears4),
Expand Down
2 changes: 2 additions & 0 deletions Unreal/UnCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ enum EGame
GAME_Borderlands3 = GAME_UE4(20)+1,
// 4.21
GAME_Jedi = GAME_UE4(21)+1,
// 4.25
GAME_UE4_25_Plus = GAME_UE4(25)+1,
// 4.26
GAME_Dauntless = GAME_UE4(26)+1,

Expand Down
2 changes: 1 addition & 1 deletion Unreal/UnrealMesh/UnMesh4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ struct FStaticLODModel4
FSkinWeightProfilesData SkinWeightProfilesData;
Ar << SkinWeightProfilesData;

if (Ar.Game >= GAME_UE4(27))
if (Ar.Game >= GAME_UE4(27) || Ar.Game == GAME_UE4_25_Plus)
{
TArray<uint8> RayTracingData;
Ar << RayTracingData;
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ Oodle

Changes
~~~~~~~
06.01.2022
- UE4.25-Plus support; use -game=ue4.25+ or select the engine in startup UI

05.09.2021
- UE4.27 support

Expand Down
Binary file modified umodel
Binary file not shown.
Binary file modified umodel.exe
Binary file not shown.

0 comments on commit 60accbf

Please sign in to comment.