Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Natives/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@
</array>
<key>CFBundleVersion</key>
<string>3.0</string>
<key>GCSupportsControllerUserInteraction</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>GCSupportedGameControllers</key>
<array>
<dict>
<key>ProfileName</key>
<string>ExtendedGamepad</string>
</dict>
</array>
<key>GCSupportsControllerUserInteraction</key>
<true/>
<key>GCSupportsGameMode</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>filza</string>
Expand Down Expand Up @@ -169,6 +169,8 @@
</array>
<key>UIFileSharingEnabled</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
Expand Down
11 changes: 11 additions & 0 deletions Natives/LauncherPreferencesViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ - (void)viewDidLoad
@"type": self.typeSwitch,
@"enableCondition": whenNotInGame
},
@{@"key": @"game_mode",
@"hasDetail": @YES,
@"icon": @"gamecontroller",
@"type": self.typeSwitch,
@"enableCondition": whenNotInGame,
@"action": ^(BOOL enabled){
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setBool:enabled forKey:@"GCSupportsGameMode"];
[defaults synchronize];
}
},
@{@"key": @"debug_logging",
@"hasDetail": @YES,
@"icon": @"doc.badge.gearshape",
Expand Down
1 change: 1 addition & 0 deletions Natives/PLPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ + (id)defaultPrefForGlobal:(BOOL)global {
@"check_sha": @YES,
@"cosmetica": @YES,
@"debug_logging": @(!CONFIG_RELEASE),
@"game_mode": @NO,
}.mutableCopy,
@"video": @{ // Video & Audio
@"renderer": @"auto",
Expand Down
2 changes: 2 additions & 0 deletions Natives/resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
"preference.detail.check_sha" = "This option forces launcher to check the file hash if it's available. Prevents broken downloads.";
"preference.title.cosmetica" = "Cosmetica Capes";
"preference.detail.cosmetica" = "Enable capes from Cosmetica (previously Arc). For more information please visit https://cosmetica.cc. Requires OptiFine";
"preference.title.game_mode" = "Game Mode";
"preference.detail.game_mode" = "Enable Game Mode for enhanced gaming performance. This setting may not work on all devices and only works on devices on iOS/iPadOS 18 or higher.";
"preference.title.debug_logging" = "Debug logging";
"preference.detail.debug_logging" = "Logs internal settings and actions to latestlog.txt. This helps the developers find issues easier, but Minecraft may run slower as the logs will be written to more often.";
"preference.title.appicon" = "Set app icon";
Expand Down