Skip to content

Commit

Permalink
Add custom config for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartrigger committed Jan 26, 2025
1 parent d909512 commit 4ce430f
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 0 deletions.
233 changes: 233 additions & 0 deletions src/main/assets/vivecraft-client-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
{
"mrMovingCamOffsetZ": "0.0",
"smoothTick": "false",
"mrMovingCamOffsetY": "0.0",
"mrMovingCamOffsetX": "0.0",
"crawlThreshold": "0.82",
"modelArmsMode": "COMPLETE",
"reverseShootingEye": "false",
"fbtExtendedCalibrated": "false",
"closeWithRuntime": "true",
"physicalKeyboardScale": "1.0",
"renderTrackerPositions": "false",
"disableShaderOptimization": "false",
"keyboardKeys": "`1234567890-=qwertyuiop[]\\asdfghjkl;':\"zxcvbnm,./?<>",
"FBTOFFSETS": "0.0,0.0,0.0;0.0,0.0,0.0;0.0,0.0,0.0;0.0,0.0,0.0;0.0,0.0,0.0;0.0,0.0,0.0;0.0,0.0,0.0",
"weaponCollisionNew": "true",
"vrTouchHotbar": "true",
"useCrosshairOcclusion": "true",
"displayMirrorMode": "OFF",
"vrFixedCamrotW": "0.962",
"vrFixedCamrotZ": "0.041",
"realisticRowEnabled": "true",
"vrFixedCamrotY": "0.239",
"vrFixedCamrotX": "0.125",
"low_health_indicator": "true",
"version": "0",
"mixedRealityAlphaMask": "false",
"handCameraFov": "70.0",
"lastUpdate": "",
"unlabeledTrackersUsed": "false",
"playerWalkAnim": "true",
"reverseHands": "false",
"keyboardKeysShift": "~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL;':\"ZXCVBNM,./?<>",
"thirdPersonItems": "false",
"worldScale": "1.0",
"alwaysShowUpdates": "true",
"playerModelArmsScale": "0.5",
"renderVrPlayerAxes": "false",
"hudDistance": "1.25",
"stencilOn": "true",
"hudPitchOffset": "-2.0",
"onlySwordCollision": "false",
"vehicleRotation": "true",
"autoSprint": "true",
"playerLimbsConnected": "true",
"teleportLimitDown": "4",
"ySensitivity": "1.0",
"teleportLimitUp": "1",
"allowAdvancedBindings": "false",
"playerArmAnim": "true",
"mrMovingCamOffsetRotW": "1.0",
"pumpkinEffect": "true",
"seatedHudAltMode": "true",
"guiScale": "0",
"insideBlockSolidColor": "false",
"autoCloseKeyboard": "true",
"mrMovingCamOffsetRotZ": "-0.0",
"headHudScale": "1.0",
"debugCameraTracker": "false",
"autoSprintThreshold": "0.9",
"mrMovingCamOffsetRotX": "-0.0",
"mrMovingCamOffsetRotY": "-0.0",
"QUICKCOMMAND_9": "take this!",
"waterEffect": "true",
"QUICKCOMMAND_1": "/gamemode creative",
"menuBackground": "false",
"QUICKCOMMAND_2": "/help",
"QUICKCOMMAND_3": "/home",
"simulateFalling": "true",
"portalEffect": "true",
"QUICKCOMMAND_4": "/sethome",
"QUICKCOMMAND_5": "/spawn",
"QUICKCOMMAND_6": "hi!",
"realisticSneakEnabled": "true",
"QUICKCOMMAND_7": "bye!",
"QUICKCOMMAND_8": "follow me!",
"analogMovement": "true",
"QUICKCOMMAND_0": "/gamemode survival",
"playerModelType": "VANILLA",
"headToHmdLength": "0.10000000149011612",
"chatNotificationSound": "block.note_block.bell",
"jumpThreshold": "0.05",
"movementSpeedMultiplier": "1.0",
"seated": "false",
"doubleGUIResolution": "false",
"physicalKeyboardTheme": "DEFAULT",
"limitedTeleport": "true",
"RADIALALT_11": "",
"RADIALALT_10": "",
"RADIALALT_13": "",
"RADIALALT_12": "",
"bowMode": "ON",
"allowStandingOriginOffset": "false",
"crosshairScalesWithDistance": "false",
"autoCalibration": "-1.0",
"renderInGameCrosshairMode": "ALWAYS",
"worldRotation": "0.0",
"displayMirrorCenterSmooth": "0.0",
"alwaysSimulateKeyboard": "false",
"keyholeX": "15.0",
"mixedRealityRenderCameraModel": "true",
"thirdPersonItemsCustom": "true",
"fovRedutioncOffset": "0.1",
"RADIAL_2": "vivecraft.key.rotateRight",
"RADIAL_3": "key.pickItem",
"RADIAL_0": "key.drop",
"disableGarbageCollectorMessage": "false",
"RADIAL_1": "key.chat",
"RADIAL_6": "vivecraft.key.rotateLeft",
"RADIAL_7": "key.voice_chat",
"doorHitting": "true",
"RADIAL_4": "vivecraft.key.toggleHandheldCam",
"RADIAL_5": "vivecraft.key.togglePlayerList",
"rememberVr": "true",
"hudOcclusion": "true",
"RADIAL_8": "",
"RADIAL_9": "",
"playerLimbsLimit": "false",
"mixedRealityUndistorted": "true",
"vrSettingsButtonPositionLeft": "true",
"vrFreeMoveMode": "CONTROLLER",
"walkMultiplier": "1.0",
"fovReduction": "false",
"menuAlwaysFollowFace": "false",
"hudMaxScale": "false",
"vrHudLockMode": "WRIST",
"shouldRenderSelf": "false",
"menuWorldSelection": "BOTH",
"useFsaa": "false",
"renderScaleFactor": "1.0",
"showServerPluginMissingMessageAlways": "true",
"realisticBlockInteractEnabled": "true",
"crosshairScale": "1.0",
"hideGUI": "false",
"mainPlayerDataSource": "REALTIME",
"sneakThreshold": "0.4",
"ingameBindingsInGui": "false",
"RADIALALT_4": "",
"RADIALALT_3": "",
"RADIALALT_2": "",
"RADIALALT_1": "",
"RADIALALT_0": "",
"mirrorCrop": "0.15",
"mixedRealityKeyColor": "0,0,0",
"oscTrackerPort": "9000",
"showPlayerHands": "true",
"realisticJumpEnabled": "AUTO",
"vrRadialButtons": "8",
"shaderFullSizeShadowLimbs": "true",
"originOffset": "0.0,0.0,0.0",
"vrToggleButtonEnabled": "true",
"handCameraResScale": "1.0",
"forceHardwareDetection": "0",
"realisticClimbEnabled": "true",
"forceStandingFreeMove": "false",
"renderHeadHitbox": "false",
"inertiaFactor": "NORMAL",
"FBTROTATIONS": "1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0;1.0,0.0,0.0,0.0",
"freezeEffect": "true",
"mixedRealityFov": "40.0",
"vrServerBlacklist": "mc.hypixel.net",
"playerModelLegScale": "1.0",
"xSensitivity": "1.0",
"teleportLimitHoriz": "16",
"monoFOV": "0.0",
"physicalKeyboard": "true",
"autoOpenKeyboard": "OFF",
"realisticSwimEnabled": "true",
"keyboardCodes": "96;49;50;51;52;53;54;55;56;57;48;45;61;81;87;69;82;84;89;85;73;79;80;91;93;92;65;83;68;70;71;72;74;75;76;59;39;-1;-1;90;88;67;86;66;78;77;44;46;47;-1;-1;-1",
"RADIALALT_9": "",
"stereoProviderPluginID": "OPENXR",
"RADIALALT_8": "",
"RADIALALT_7": "",
"RADIALALT_6": "",
"RADIALALT_5": "",
"keyboardPressBinds": "false",
"radialModeHold": "true",
"chatNotifications": "NONE",
"renderBlockOutlineMode": "ALWAYS",
"showServerPluginMessage": "SERVER_ONLY",
"reducedPlayerReach": "true",
"modifyPauseMenu": "true",
"guiAppearOverBlock": "true",
"realisticDismountEnabled": "true",
"bcbOn": "true",
"hrtfSelection": "0",
"menuCrosshairScale": "1.0",
"renderDeviceAxes": "false",
"seatedhmd": "false",
"rightclickDelay": "VANILLA",
"displayMirrorUseScreenshotCamera": "false",
"manualCalibration": "-1.0",
"allowCrawling": "true",
"smoothRunTickCount": "20",
"physicalGuiEnabled": "false",
"vrHotswitchingEnabled": "true",
"hudYawOffset": "0.0",
"RADIAL_10": "",
"menuWorldFallbackPanorama": "true",
"shaderPatching": "true",
"fovReductionMin": "0.25",
"swordBlockCollision": "true",
"externalCameraAngleOrder": "XZY",
"RADIAL_12": "",
"guiMipmaps": "false",
"RADIAL_11": "",
"vrFixedCamposX": "-1.0",
"realisticEntityInteractEnabled": "true",
"RADIAL_13": "",
"stencilBufferDisable": "false",
"vrFixedCamposY": "2.5",
"fbtCalibrated": "false",
"vrFixedCamposZ": "2.7",
"QUICKCOMMAND_11": "praise the sun!",
"QUICKCOMMAND_10": "thank you!",
"mixedRealityRenderHands": "false",
"hudOpacity": "1.0",
"vrWorldRotationIncrement": "45.0",
"vrFreeMoveFlyMode": "AUTO",
"mixedRealityUnityLike": "true",
"backpackSwitching": "true",
"playerModelBodyScale": "1.0",
"vrSettingsButtonEnabled": "true",
"shaderGUIRender": "AFTER_SHADER",
"displayMirrorLeftEye": "false",
"selfButtSparklesInFirstPerson": "false",
"vrEnabled": "false",
"hitIndicator": "true",
"walkUpBlocks": "true",
"seatedFreeMove": "false",
"updateType": "RELEASE",
"showChatMessageStencil": "true"
}
1 change: 1 addition & 0 deletions src/main/java/pojlib/install/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public static String installAssets(VersionInfo minecraftVersionInfo, String game
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/options.txt"), FileUtil.loadFromAssetToByte(activity, "options.txt"));
FileUtils.writeByteArrayToFile(new File(instance.gameDir + "/servers.dat"), FileUtil.loadFromAssetToByte(activity, "servers.dat"));
FileUtils.writeByteArrayToFile(new File(Constants.USER_HOME + "/hacks/ResConfHack.jar"), FileUtil.loadFromAssetToByte(activity, "hacks/ResConfHack.jar"));
FileUtils.writeByteArrayToFile(new File(Constants.USER_HOME + "/config/vivecraft-client-config.json"), FileUtil.loadFromAssetToByte(activity, "vivecraft-client-config.json"));

return new File(gameDir + "/assets").getAbsolutePath();
}
Expand Down

0 comments on commit 4ce430f

Please # to comment.