@@ -74,6 +74,8 @@ private static void Main(string[] args) {
7474 if ( ! OperatingSystem . IsWindows ( ) ) {
7575 IsRebuildMloSupported = false ;
7676 }
77+
78+ HandleLoader ( ) ;
7779
7880 // Check if there are any args, if so, run in CLI mode
7981 // Unfortunately, no one way to detect left Ctrl while being cross-platform
@@ -102,6 +104,8 @@ private static async Task MainCli(string[] args) {
102104 Log . Information ( "Shin Ryu Mod Manager-CE v{Version}" , AssemblyVersion . GetVersion ( ) ) ;
103105 Log . Information ( "By TheTrueColonel (a port of SRMM Studio's work)" ) ;
104106
107+ HandleLoader ( ) ;
108+
105109 // Parse arguments
106110 var list = new List < string > ( args ) ;
107111
@@ -384,6 +388,12 @@ internal static bool ShouldBeExternalOnly() {
384388 return _externalModsOnly && Directory . Exists ( GamePath . ExternalModsPath ) ;
385389 }
386390
391+ private static void HandleLoader ( ) {
392+ if ( GamePath . CurrentGame <= Game . Yakuza6 && ! File . Exists ( Constants . DINPUT8DLL ) ) {
393+ File . Move ( Constants . VERSIONDLL , Constants . DINPUT8DLL ) ;
394+ }
395+ }
396+
387397 private static List < ModInfo > ScanMods ( ProfileMask activeProfiles = ProfileMask . All ) {
388398 var mods = new List < ModInfo > ( ) ;
389399
@@ -405,7 +415,7 @@ private static List<ModInfo> ScanMods(ProfileMask activeProfiles = ProfileMask.A
405415 }
406416
407417 internal static bool MissingDll ( ) {
408- return File . Exists ( Constants . VERSIONDLL ) ;
418+ return File . Exists ( Constants . VERSIONDLL ) || File . Exists ( Constants . DINPUT8DLL ) ;
409419 }
410420
411421 internal static bool MissingAsi ( ) {
0 commit comments