Skip to content

Instantly share code, notes, and snippets.

@jocopa3
Last active October 13, 2016 16:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jocopa3/b5968709251247884532fdb2638f9ca1 to your computer and use it in GitHub Desktop.
Save jocopa3/b5968709251247884532fdb2638f9ca1 to your computer and use it in GitHub Desktop.
Options Class for MCW10 as of 0.15.10.
class String
{
public:
union {
char charBuffer[16];
char* charPtr;
};
size_t Length;
size_t MaxCapacity;
}; //Size=0x0020
class Options
{
public:
String FILEPATH; //0x0000 Path to the options.txt
char pad_0x0020[0x90]; //0x0020 Bunch of pointers
bool UNKNOWN_OPTION_1; //0x00B0 Unknown; behaves like Hide GUI
char pad_0x00B1[0x3]; //0x00B1 Unused Data
float MUSIC_VOLUME; //0x00B4 Music Volume
float SOUND_VOLUME; //0x00B8 Sound Volume
float SENSITIVITY; //0x00BC Sensitivity
float GAME_SENSITIVITY; //0x00C0 Game Sensitivity
bool INVERT_Y_AXIS; //0x00C4 Invert Y-Axis
char pad_0x00C5[0x3]; //0x00C5 Unused Data
int RENDER_DISTANCE; //0x00C8 Render Distance (chunks)
float PARTICLE_RENDER_DISTANCE; //0x00CC Particle Render Distance
bool VIEW_BOBBING; //0x00D0 View Bobbing
bool LIMIT_FRAMERATE; //0x00D1 Limit Framerate (Disabled)
bool FANCY_GRAPHICS; //0x00D2 Fancy Graphics
bool FANCY_LEAVES; //0x00D3 Fancy Leaves
bool PREFER_POLY_TESSELATION; //0x00D4 Prefer Poly Tesselation
bool USE_MOUSE_FOR_DIGGING; //0x00D5 Use Mouse For Digging
bool LEFTY; //0x00D6 Lefty
bool DESTRY_VIBRATION; //0x00D7 Destroy Vibration
bool AUTO_JUMP; //0x00D8 Auto Jump
bool FULLSCREEN; //0x00D9 Fullscreen
char pad_0x00DA[0x2]; //0x00DA Unused Data
int KEYBOARD_LAYOUT; //0x00DC Keyboard Layout
String GAMEPAD_CUSTOM_MAP; //0x00E0 Gamepad Custom Map
String CONTROLLER_LAYOUT; //0x0100 Controller Layout 2
String LANGUAGE; //0x0120 Language
int DIFFICULTY; //0x0140 Difficulty
bool HIDE_GUI; //0x0144 Hide GUI
char pad_0x0145[0x3]; //0x0145 Unused Data
int THIRD_PERSON_VIEW; //0x0148 Third Person View
float VR_SENSITIVITY; //0x014C VR Sensitivity
float VR_GAME_SENSITIVITY; //0x0150 VR Game Sensitivity
float VR_BRIGHTNESS; //0x0154 VR Brightness/Gamma
float VR_PARTICLE_RENDER_DISTANCE; //0x0158 VR Particle View Distance
int VR_RENDER_DISTANCE; //0x015C VR Render Distance (chunks)
int VR_LIVING_ROOM_HINT_TIME; //0x0160 VR Living Room Hint Time
bool VR_HIDE_GUI; //0x0164 VR Hide GUI
bool VR_AUTO_JUMP; //0x0165 VR Auto Jump
bool VR_HMD_DISPLACEMENT; //0x0166 VR HMD Displacement
bool VR_HEAD_STEERING; //0x0167 VR Head Steering
bool VR_STUTTER_TURN; //0x0168 VR Stutter Turn
bool VR_STUTTER_TURN_SOUND; //0x0169 VR Stutter Turn Sound
bool VR_STUTTER_TURN_CONSTANT_TIME; //0x016A VR Stutter Turn Constant Time
bool STEREO_RENDERING; //0x016B Stereo Rendering
bool HAND_OBJECT_SORTS_WITH_TERRAIN; //0x016C Hand Object Sorts With Terrain
bool RESET_PLAYER_ALIGNMENT; //0x016D Reset Player Alignment
bool VR_HUD_AT_TOP; //0x016E VR HUD at Top
bool VR_USES_NORMAL_HIT_FX; //0x016F VR Uses Normal Hit Effect
bool VR_USES_RED_FLASH_FOR_HIT_FX; //0x0170 VR Uses Red Flash For Hit Effect
bool VR_RIGHT_STICK_PITCH_ASSIST; //0x0171 VR Right Stick Pitch Assist
char pad_0x0172[0x2]; //0x0172 Unused Data
int VR_RIGHT_STICK_PITCH_ASSIST_STEPPINGS; //0x0174 VR Right Stick Pitch Assist Steppings
int VR_RIGHT_STICK_PICH_MAX_ANGLE; //0x0178 VR Right Stick Pitch Max Angle
bool VR_RIGHT_STICK_DEAD_BAND; //0x017C VR Right Stick Dead Band
bool VR_RIGHT_STICK_GAZE_ADJUST; //0x017D VR Right Stick Gaze Adjust
bool VR_GAZE_PITCH_BOOST; //0x017E VR Gaze Pitch Boost
bool VR_HUD_DRIFT; //0x017F VR HUD Drift
int VR_JOYSTICK_AIM; //0x0180 VR Joystick Aim
int VR_JOYSTICK_AIM_SENSITIVITY; //0x0184 VR Joystick Aim Sensitivity
bool VR_JOYSTICK_AIM_INVERTY; //0x0188 VR Joystick Aim Invert Y
bool VR_COMFORT_CONTROLS; //0x0189 VR Options Comfort Controls
bool VR_SHOW_COMFORT_SELECT_SCREEN; //0x018A VR Show Comfort Select Screen
bool VR_LINEAR_JUMP; //0x018B VR Linear Jump
bool VR_LINEAR_MOTION; //0x018C VR Linear Motion
bool VR_LIVING_ROOM_MODE; //0x018D VR Living Room Mode
bool VR_STICKY_MINING; //0x018E VR Sticky Mining
bool VR_TAP_TURN; //0x018F VR Tap Turn
float VR_TAP_TURN_SENSITIVITY; //0x0190 VR Tap Turn Sensitivity
float VR_ROLL_TURNING_SENSITIVITY; //0x0194 VR Roll Turning Sensitivity
bool VR_ROLL_TURNING; //0x0198 VR Roll Turning
bool VR_180_TURNS; //0x0199 VR 180 Turns
bool VR_LIVING_ROOM_CURSOR_CENTERED; //0x019A VR Living Room Cursor Centered
bool VR_MIRROR_TEXTURE; //0x019B VR Mirror Texture
bool DEV_RENDER_DEBUG; //0x019C Render Debug (Disabled)
char pad_0x019D[0x3]; //0x019D Unused Data
float BRIGHTNESS; //0x01A0 Brightness/Gamma
float FIELD_OF_VIEW; //0x01A4 FOV
int MSAA_LEVEL; //0x01A8 MSAA Level
bool TEXEL_ANTI_ALIASING; //0x01AC Texel Anti-Aliasing
bool IS_FLYING; //0x01AD isFlying (No-Clip/Fast Flying)
bool SMOOTH_CAMERA; //0x01AE Smooth Camera
bool FIXED_CAMERA; //0x01AF Fixed Camera
float FLY_SPEED; //0x01B0 Fly Speed
float CAMERA_SPEED; //0x01B4 Camera Speed
int GUI_SCALE; //0x01B8 GUI Scale
char pad_0x01BC[0x4]; //0x01BC Unused Data
String USERNAME; //0x01C0 Username
String SKIN_ID; //0x01E0 Skin Id
String LAST_CUSTOM_SKIN_ID; //0x0200 Last Custom Skin Id
String recent_Skins[0x3]; //0x0220 Recent Skin Id Array
void* RECENT_SKINS1; //0x0228 Something to do with skins
void* RECENT_SKINS2; //0x0230 Something to do with skins
bool BROADCAST_TO_LAN; //0x0238 Broadcast to LAN/Server Visible
bool SPLIT_CONTROLS; //0x0239 Split Controls
bool SWAP_JUMP_AND_SNEAK; //0x023A Swap Jump and Sneak
bool USE_TOUCH_SCREEN; //0x023B Use Touch Screen
bool FANCY_SKIES; //0x023C Beautiful Skies
char pad_0x023D[0x3]; //0x023D Unused Data
int LAST_MAJOR_VERSION; //0x0240 Last Major Version
int LAST_MINOR_VERSION; //0x0244 Last Minor Version
int LAST_PATCH_VERSION; //0x0248 Last Patch Version
int LAST_BETA_VERSION; //0x024C Last Beta Version
float DPAD_SCALE; //0x0250 Dpad Scale
float PPM_DPAD_SIZE_OLD; //0x0254 Ppm Dpad Size Old
float AUTOMATION_SERVER_RETRY_TIME; //0x0258 Automation Server Retry Time (Disabled)
bool HAS_LOGGED_INTO_XBL; //0x025C Has Ever Logged Into Xbox Live
bool CHOSE_NOT_TO_USE_XBL; //0x025D Has Chosen Not To Sign Into Xbox Live
bool DEV_AUTO_LOAD_LEVEL; //0x025E Auto Load Level
bool DEV_SHOW_CHUNK_MAP; //0x025F Show Chunk Map (Disabled)
bool DEV_DISABLE_FILE_SYSTEM; //0x0260 Disable File System (Disabled)
bool DEV_CREATE_REALM_WITHOUT_PURCHASE; //0x0261 Create Realm Without Purchase (Disabled)
bool DEV_FLUSH_ORPHANED_REALMS_PURCHASES; //0x0262 Flush Orphaned Realms Purchases (Disabled)
bool DEV_OFFERS_UNLOCKED; //0x0263 Offers Unlocked (Disabled)
bool DEV_RENDER_BOUNDING_BOXES; //0x0264 Render Bounding Boxes (Disabled)
bool DEV_RENDER_PATHS; //0x0265 Render Paths (Disabled)
bool DEV_RENDER_GOAL_STATE; //0x0266 Render Goal State (Disabled)
bool DEV_RESET_CLIENT_ID; //0x0267 Reset Client Id (Disabled)
bool DEV_LOG_FLUSH_IMMEDIATE; //0x0268 Log Flush Immediate (Disabled)
bool DEV_LOG_TIMESTAMP; //0x0269 Log Timestamp (Disabled)
bool DEV_LOG_TRACE; //0x026A Log Trace (Disabled)
bool DEV_LOG_APPEND; //0x026B Log Append (Disabled)
int DEV_LOG_PRIORITY_FILTER; //0x026C Log Priority Filter (Disabled)
int DEV_LOG_AREA_FILTER; //0x0270 Log Area Filter (Disabled)
bool DEV_ENABLE_PROFILER_OUTPUT; //0x0274 Enable Profiler Output
bool USE_LOCAL_SERVER; //0x0275 Use Local Server
char pad_0x0276[0x2]; //0x0276 Unused Data
int DEV_CONNECTION_QUALITY; //0x0278 Connection Quality
bool LIMIT_WORLD_SIZE; //0x027C Limit World Size
char pad_0x027D[0x3]; //0x027D Unused Data
String FLAT_WORLD_LAYERS; //0x0280 Flat World Layers
bool MULTIPLAYER_GAME; //0x02A0 Multiplayer Game
bool BROADCAST_TO_XBL; //0x02A1 Broadcast to Xbox Live
bool REALMS_INVITE_SHOW_FRIENDS; //0x02A2 Realms Invite Show Friends Option
bool USE_CELLULAR_DATA; //0x02A3 Use Cellular Data
char pad_0x02A4[0x7C]; //0x02A4
}; //Size=0x0320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment