@@ -1016,6 +1016,7 @@ public static void ApplyTweaks(RushInterface rush) {
10161016 if ( ! File . Exists ( $ "{ xex } _back") )
10171017 File . Copy ( xex , $ "{ xex } _back", true ) ;
10181018
1019+ rush . Status = $ "Tweaking Field of View...";
10191020 XEX . Decrypt ( xex ) ; // Decrypt the XEX to be able to modify it properly
10201021 XEX . FieldOfView ( xex , fieldOfView ) ; // Set FOV
10211022 }
@@ -1043,19 +1044,22 @@ public static void ApplyTweaks(RushInterface rush) {
10431044 // Force MSAA
10441045 if ( antiAliasing != 1 || forceMSAA ) {
10451046 rush . Status = $ "Tweaking Anti-Aliasing...";
1047+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set Anti-Aliasing to { antiAliasing } ...") ;
10461048 MSAA ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ ") , antiAliasing , SearchOption . TopDirectoryOnly ) ;
10471049 }
10481050 }
10491051
10501052 // Optimised
10511053 else if ( renderer == 1 ) {
10521054 rush . Status = $ "Tweaking Renderer...";
1055+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set renderer to Optimised...") ;
10531056 File . WriteAllBytes ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ core\\ render_main.lub") , Properties . Resources . optimised_render_main ) ;
10541057 }
10551058
10561059 // Destructive
10571060 else if ( renderer == 2 ) {
10581061 rush . Status = $ "Tweaking Renderer...";
1062+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set renderer to Destructive...") ;
10591063 File . WriteAllBytes ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ render_gamemode.lub") , Properties . Resources . vulkan_render_gamemode ) ;
10601064 File . WriteAllBytes ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ render_title.lub") , Properties . Resources . vulkan_render_title ) ;
10611065 File . WriteAllBytes ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ core\\ render_main.lub") , Properties . Resources . vulkan_render_main ) ;
@@ -1064,25 +1068,31 @@ public static void ApplyTweaks(RushInterface rush) {
10641068 // Cheap
10651069 else if ( renderer == 3 ) {
10661070 rush . Status = $ "Tweaking Renderer...";
1071+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set renderer to Cheap...") ;
10671072 File . WriteAllBytes ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ render_gamemode.lub") , Properties . Resources . render_cheap ) ;
10681073 }
10691074
10701075 // Reflections
10711076 if ( reflections != 1 ) {
10721077 rush . Status = $ "Tweaking Reflections...";
1078+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set reflection resolution to { reflections } ...") ;
10731079 Reflections ( Path . Combine ( tweak , $ "cache\\ { system } \\ scripts\\ render\\ core\\ render_reflection.lub") , reflections ) ;
10741080 }
10751081
10761082 if ( system == "ps3" ) {
1077- rush . Status = $ "Tweaking Camera...";
1078-
10791083 // Camera Type
1080- if ( cameraType != 0 )
1084+ if ( cameraType != 0 ) {
1085+ rush . Status = $ "Tweaking Camera...";
1086+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set camera type to { cameraType } ...") ;
10811087 CameraType ( Path . Combine ( tweak , $ "cache\\ { system } \\ cameraparam.lub") , cameraType , fieldOfView ) ;
1088+ }
10821089
10831090 // Camera Distance
1084- if ( cameraDistance != 650 )
1091+ if ( cameraDistance != 650 ) {
1092+ rush . Status = $ "Tweaking Camera...";
1093+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <cache.arc> Set camera distance to { cameraDistance } ...") ;
10851094 CameraDistance ( Path . Combine ( tweak , $ "cache\\ { system } \\ cameraparam.lub") , ( int ) cameraDistance ) ;
1095+ }
10861096 }
10871097
10881098 // Repack archive as tweak
@@ -1106,6 +1116,7 @@ public static void ApplyTweaks(RushInterface rush) {
11061116 // Force MSAA
11071117 if ( antiAliasing != 1 || forceMSAA ) {
11081118 rush . Status = $ "Tweaking Anti-Aliasing...";
1119+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <scripts.arc> Set Anti-Aliasing to { antiAliasing } ...") ;
11091120 MSAA ( Path . Combine ( tweak , $ "scripts\\ { system } \\ scripts\\ render\\ ") , antiAliasing , SearchOption . AllDirectories ) ;
11101121 }
11111122
@@ -1126,15 +1137,19 @@ public static void ApplyTweaks(RushInterface rush) {
11261137 tweak = ModEngine . UnpackARC ( archive , Path . Combine ( Path . GetTempPath ( ) , Path . GetRandomFileName ( ) ) ) ;
11271138
11281139 if ( system == "xenon" ) {
1129- rush . Status = $ "Tweaking Camera...";
1130-
11311140 // Camera Type
1132- if ( cameraType != 0 )
1141+ if ( cameraType != 0 ) {
1142+ rush . Status = $ "Tweaking Camera...";
1143+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <game.arc> Set camera type to { cameraType } ...") ;
11331144 CameraType ( Path . Combine ( tweak , $ "game\\ { system } \\ cameraparam.lub") , cameraType , fieldOfView ) ;
1145+ }
11341146
11351147 // Camera Distance
1136- if ( cameraDistance != 650 )
1148+ if ( cameraDistance != 650 ) {
1149+ rush . Status = $ "Tweaking Camera...";
1150+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <game.arc> Set camera distance to { cameraDistance } ...") ;
11371151 CameraDistance ( Path . Combine ( tweak , $ "game\\ { system } \\ cameraparam.lub") , ( int ) cameraDistance ) ;
1152+ }
11381153 }
11391154
11401155 // Repack archive as tweak
@@ -1158,29 +1173,34 @@ public static void ApplyTweaks(RushInterface rush) {
11581173 // Tokyo Game Show
11591174 if ( cameraType == 1 ) {
11601175 rush . Status = $ "Tweaking Camera...";
1176+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <player.arc> Set camera type to { cameraType } ...") ;
11611177 CameraType ( Path . Combine ( tweak , $ "player\\ { system } \\ player\\ common.lub") , cameraType , fieldOfView ) ;
11621178 }
11631179
11641180 // Camera Height
11651181 if ( cameraHeight != 70 ) {
11661182 rush . Status = $ "Tweaking Camera...";
1183+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <player.arc> Set camera height to { cameraHeight } ...") ;
11671184 CameraHeight ( Path . Combine ( tweak , $ "player\\ { system } \\ player\\ common.lub") , cameraHeight ) ;
11681185 }
11691186
11701187 // Amy's Hammer Range
11711188 if ( hammerRange != 50 ) {
11721189 rush . Status = $ "Tweaking Characters...";
1190+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <player.arc> Set Amy's hammer range to { hammerRange } ...") ;
11731191 HammerRange ( Path . Combine ( tweak , $ "player\\ { system } \\ player\\ amy.lub") , hammerRange ) ;
11741192 }
11751193
11761194 if ( beginWithRings != 0 ) {
11771195 rush . Status = $ "Tweaking Characters...";
1196+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <player.arc> Set default Ring count to { beginWithRings } ...") ;
11781197 BeginWithRings ( Path . Combine ( tweak , $ "player\\ { system } \\ player\\ ") , beginWithRings ) ;
11791198 }
11801199
11811200 // Unlock Tails' Flight Limit
11821201 if ( tailsFlightLimit ) {
11831202 rush . Status = $ "Tweaking Characters...";
1203+ Console . WriteLine ( $ "[{ DateTime . Now : HH:mm:ss tt} ] [Tweak] <player.arc> Unlocked Tails' flight limit...") ;
11841204 UnlockTailsFlightLimit ( Path . Combine ( tweak , $ "player\\ { system } \\ player\\ tails.lub") ) ;
11851205 }
11861206
0 commit comments