Skip to content

Commit 1b199f2

Browse files
committed
Star Wars Jedi: Fallen Order - mesh support
1 parent 5e1f16c commit 1b199f2

File tree

7 files changed

+28
-1
lines changed

7 files changed

+28
-1
lines changed

Tools/CompatTable/developers.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Raven Software=http://en.wikipedia.org/wiki/Raven_Software
139139
Realtime Worlds=http://en.wikipedia.org/wiki/Realtime_Worlds
140140
Red Thread Games=https://en.wikipedia.org/wiki/Red_Thread_Games
141141
Reloaded Productions=http://en.wikipedia.org/wiki/K2_Network
142+
Respawn Entertainment=https://en.wikipedia.org/wiki/Respawn_Entertainment
142143
Robomodo=http://en.wikipedia.org/wiki/Robomodo
143144
Roll7=http://en.wikipedia.org/wiki/Roll7
144145
Rocksteady Studios=http://en.wikipedia.org/wiki/Rocksteady_studios

Tools/CompatTable/table.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ Toys for Bob
204204
https://en.wikipedia.org/wiki/Spyro_Reignited_Trilogy
205205
https://www.gildor.org/smf/index.php/topic,6784.0.html
206206
207+
[Star Wars Jedi: Fallen Order]
208+
Y Y Y Y UE4.21
209+
Respawn Entertainment
210+
https://en.wikipedia.org/wiki/Star_Wars_Jedi:_Fallen_Order
211+
https://www.gildor.org/smf/index.php/topic,6870.0.html
212+
; -game=jedi
213+
207214
[Terminator: Resistance]
208215
Y Y Y Y UE4.22
209216
Teyon
@@ -864,7 +871,7 @@ http://en.wikipedia.org/wiki/Abzu_(video_game)
864871
https://www.gildor.org/smf/index.php/topic,3053.0.html
865872

866873
[Dead By Daylight]
867-
Y Y Y Y UE4.21
874+
Y Y Y Y UE4.22
868875
Behaviour Interactive
869876
http://en.wikipedia.org/wiki/Dead_by_Daylight
870877
https://www.gildor.org/smf/index.php/topic,3129.0.html

Unreal/GameDatabase.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ const GameInfo GListOfGames[] = {
398398
# if KH3
399399
G("Kingdom Hearts 3", kh3, GAME_KH3),
400400
# endif
401+
# if JEDI
402+
G("Star Wars Jedi: Fallen Order", jedi, GAME_Jedi),
403+
# endif
401404
#endif // UNREAL4
402405

403406
// end marker

Unreal/GameDefines.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
#define ASC_ONE 1 // Ascendant One
164164
#define BORDERLANDS3 1 // Borderlands 3
165165
#define KH3 1 // Kingdom Hearts 3
166+
#define JEDI 1 // Star Wars Jedi: Fallen Order
166167

167168
#define SPECIAL_TAGS 1 // games with different PACKAGE_FILE_TAG
168169

Unreal/UnCore.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ enum EGame
438438
// 4.20
439439
GAME_Dauntless = GAME_UE4(20)+1,
440440
GAME_Borderlands3 = GAME_UE4(20)+2,
441+
// 4.21
442+
GAME_Jedi = GAME_UE4(21)+1,
441443

442444
GAME_ENGINE = 0xFFF0000 // mask for game engine
443445
};

Unreal/UnMesh4.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,14 @@ struct FStaticMeshVertexBuffer4
180180

181181
if (!StripFlags.IsDataStrippedForServer())
182182
{
183+
#if JEDI
184+
if (Ar.Game == GAME_Jedi)
185+
{
186+
int32 unk;
187+
Ar << unk;
188+
}
189+
#endif // JEDI
190+
183191
GNumStaticUVSets = S.NumTexCoords;
184192
GUseStaticFloatUVs = S.bUseFullPrecisionUVs;
185193
if (Ar.Game < GAME_UE4(19))

test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ function tr4() { run1 "data/3/Tribes4" $*; }
242242
function thief() { run1 "${steam[@]/%/Thief/ThiefGame/CookedPCNG}" $*; }
243243
function ark() { run1 "${steam[@]/%/ARK/ShooterGame/Content}" -game=ark $*; }
244244
function lawbr() { run1 "${steam[@]/%/LawBreakers/ShooterGame/Content/Paks}" -game=lawbr $*; }
245+
function jfo()
246+
{
247+
CheckDir "${steam[@]/%/Jedi Fallen Order/SwGame/Content/Paks}" # "run1" doesn't work with $steam having multiple paths
248+
run -game=ue4.21 $*
249+
}
245250

246251
function rund() { run1 "data" $*; }
247252

0 commit comments

Comments
 (0)