2013-07-14 23:56:53 +05:30
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2014-06-09 04:59:18 +05:30
<class>InstanceSettingsPage</class>
<widget class="QWidget" name="InstanceSettingsPage">
2013-07-14 23:56:53 +05:30
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2014-06-09 04:59:18 +05:30
<width>458</width>
2014-06-10 04:16:05 +05:30
<height>426</height>
2013-07-14 23:56:53 +05:30
</rect>
</property>
<property name="windowTitle">
2014-06-09 04:59:18 +05:30
<string>Form</string>
2013-07-14 23:56:53 +05:30
</property>
2013-08-26 07:29:51 +05:30
<layout class="QVBoxLayout" name="verticalLayout">
2014-06-09 05:07:59 +05:30
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
2013-08-26 07:29:51 +05:30
<item>
<widget class="QTabWidget" name="settingsTabs">
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
2013-10-15 23:41:05 +05:30
<number>0</number>
2013-08-26 07:29:51 +05:30
</property>
<widget class="QWidget" name="minecraftTab">
<attribute name="title">
2014-06-09 04:59:18 +05:30
<string>Java</string>
2013-08-26 07:29:51 +05:30
</attribute>
2014-06-09 04:59:18 +05:30
<layout class="QVBoxLayout" name="verticalLayout_5">
2013-08-26 07:29:51 +05:30
<item>
2014-06-09 04:59:18 +05:30
<widget class="QGroupBox" name="javaSettingsGroupBox">
2013-08-26 07:29:51 +05:30
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
2014-06-09 04:59:18 +05:30
<string>Java installation</string>
2013-08-26 07:29:51 +05:30
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
2014-06-09 04:59:18 +05:30
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="3">
<widget class="QLineEdit" name="javaPathTextBox"/>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="javaDetectBtn">
2013-08-26 07:29:51 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Auto-detect...</string>
2013-08-26 07:29:51 +05:30
</property>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item row="1" column="1">
<widget class="QPushButton" name="javaBrowseBtn">
2013-07-14 23:56:53 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Browse...</string>
2013-08-26 07:29:51 +05:30
</property>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item row="1" column="2">
<widget class="QPushButton" name="javaTestBtn">
2013-08-26 07:29:51 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Test</string>
2013-08-26 07:29:51 +05:30
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="memoryGroupBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Memory</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="1">
<widget class="QSpinBox" name="maxMemSpinBox">
2014-01-10 18:46:31 +05:30
<property name="toolTip">
<string>The maximum amount of memory Minecraft is allowed to use.</string>
</property>
2014-01-09 21:00:21 +05:30
<property name="suffix">
<string> MB</string>
</property>
2013-08-26 07:29:51 +05:30
<property name="minimum">
<number>512</number>
</property>
<property name="maximum">
<number>65536</number>
</property>
<property name="singleStep">
<number>128</number>
</property>
<property name="value">
<number>1024</number>
2013-07-14 23:56:53 +05:30
</property>
</widget>
</item>
<item row="0" column="0">
2013-08-26 07:29:51 +05:30
<widget class="QLabel" name="labelMinMem">
<property name="text">
<string>Minimum memory allocation:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelMaxMem">
2013-07-14 23:56:53 +05:30
<property name="text">
2013-08-26 07:29:51 +05:30
<string>Maximum memory allocation:</string>
2013-07-14 23:56:53 +05:30
</property>
</widget>
</item>
<item row="0" column="1">
2013-08-26 07:29:51 +05:30
<widget class="QSpinBox" name="minMemSpinBox">
2014-01-10 18:46:31 +05:30
<property name="toolTip">
<string>The amount of memory Minecraft is started with.</string>
</property>
2014-01-09 21:00:21 +05:30
<property name="suffix">
<string> MB</string>
</property>
2013-07-14 23:56:53 +05:30
<property name="minimum">
2013-08-26 07:29:51 +05:30
<number>256</number>
2013-07-14 23:56:53 +05:30
</property>
<property name="maximum">
<number>65536</number>
</property>
<property name="singleStep">
2013-08-26 07:29:51 +05:30
<number>128</number>
2013-07-14 23:56:53 +05:30
</property>
<property name="value">
2013-08-26 07:29:51 +05:30
<number>256</number>
2013-07-14 23:56:53 +05:30
</property>
</widget>
</item>
2013-08-26 07:29:51 +05:30
<item row="2" column="1">
<widget class="QSpinBox" name="permGenSpinBox">
2014-01-10 18:46:31 +05:30
<property name="toolTip">
<string>The amount of memory available to store loaded Java classes.</string>
</property>
2014-01-09 21:00:21 +05:30
<property name="suffix">
<string> MB</string>
</property>
2013-07-14 23:56:53 +05:30
<property name="minimum">
2013-08-26 07:29:51 +05:30
<number>64</number>
2013-07-14 23:56:53 +05:30
</property>
<property name="maximum">
2013-10-15 23:41:05 +05:30
<number>999999999</number>
2013-08-26 07:29:51 +05:30
</property>
<property name="singleStep">
<number>8</number>
2013-07-14 23:56:53 +05:30
</property>
<property name="value">
2013-08-26 07:29:51 +05:30
<number>64</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelPermGen">
<property name="text">
<string>PermGen:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
2014-06-09 04:59:18 +05:30
<widget class="QGroupBox" name="javaArgumentsGroupBox">
2013-08-26 07:29:51 +05:30
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
2014-06-09 04:59:18 +05:30
<string>Java arguments</string>
2013-08-26 07:29:51 +05:30
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
2014-06-09 04:59:18 +05:30
<layout class="QGridLayout" name="gridLayout_5">
<item row="1" column="1">
<widget class="QPlainTextEdit" name="jvmArgsTextBox"/>
2013-08-26 07:29:51 +05:30
</item>
2014-06-09 04:59:18 +05:30
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacerMinecraft">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="javaTab">
<attribute name="title">
<string>Game windows</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="windowSizeGroupBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Game Window</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="maximizedCheckBox">
2013-08-26 07:29:51 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Start Minecraft maximized?</string>
2013-07-14 23:56:53 +05:30
</property>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item>
<layout class="QGridLayout" name="gridLayoutWindowSize">
<item row="1" column="0">
<widget class="QLabel" name="labelWindowHeight">
<property name="text">
<string>Window height:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labelWindowWidth">
<property name="text">
<string>Window width:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="windowWidthSpinBox">
<property name="minimum">
2014-12-13 02:21:42 +05:30
<number>1</number>
2014-06-09 04:59:18 +05:30
</property>
<property name="maximum">
<number>65536</number>
</property>
<property name="singleStep">
<number>1</number>
</property>
<property name="value">
<number>854</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="windowHeightSpinBox">
<property name="minimum">
2014-12-13 02:21:42 +05:30
<number>1</number>
2014-06-09 04:59:18 +05:30
</property>
<property name="maximum">
<number>65536</number>
</property>
<property name="value">
<number>480</number>
</property>
</widget>
</item>
</layout>
2013-11-25 05:44:30 +05:30
</item>
2014-06-09 04:59:18 +05:30
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="consoleSettingsBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Console Settings</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="showConsoleCheck">
2013-08-26 07:29:51 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Show console while the game is running?</string>
2013-08-26 07:29:51 +05:30
</property>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item>
<widget class="QCheckBox" name="autoCloseConsoleCheck">
2013-11-25 05:44:30 +05:30
<property name="text">
2014-06-09 04:59:18 +05:30
<string>Automatically close console when the game quits?</string>
2013-11-25 05:44:30 +05:30
</property>
</widget>
2013-08-26 07:29:51 +05:30
</item>
</layout>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item>
<spacer name="verticalSpacerMinecraft_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>88</width>
<height>125</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Custom commands</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
2013-08-26 07:29:51 +05:30
<item>
<widget class="QGroupBox" name="customCommandsGroupBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Custom Commands</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="1">
<widget class="QLineEdit" name="preLaunchCmdTextBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelPostExitCmd">
<property name="text">
<string>Post-exit command:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labelPreLaunchCmd">
<property name="text">
<string>Pre-launch command:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="postExitCmdTextBox"/>
</item>
2013-07-14 23:56:53 +05:30
</layout>
2013-08-26 07:29:51 +05:30
</widget>
</item>
<item>
<widget class="QLabel" name="labelCustomCmdsDescription">
<property name="text">
2014-11-09 05:50:09 +05:30
<string><html><head/><body><p>Pre-launch command runs before the instance launches and post-exit command runs after it exits.</p><p>Both will be run in MultiMC's working directory with extra environment variables:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_NAME - Name of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_ID - ID of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_DIR - absolute path of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_MC_DIR - absolute path of minecraft</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_JAVA - java binary used for launch</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_JAVA_ARGS - command-line parameters used for launch</li></ul></body></html></string>
2013-08-26 07:29:51 +05:30
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
2014-06-09 04:59:18 +05:30
<item>
<spacer name="verticalSpacerMinecraft_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>88</width>
<height>186</height>
</size>
</property>
</spacer>
</item>
2013-08-26 07:29:51 +05:30
</layout>
</widget>
</widget>
</item>
</layout>
2013-07-14 23:56:53 +05:30
</widget>
2014-07-15 00:18:51 +05:30
<tabstops>
<tabstop>settingsTabs</tabstop>
<tabstop>javaSettingsGroupBox</tabstop>
<tabstop>javaPathTextBox</tabstop>
<tabstop>javaDetectBtn</tabstop>
<tabstop>javaBrowseBtn</tabstop>
<tabstop>javaTestBtn</tabstop>
<tabstop>memoryGroupBox</tabstop>
<tabstop>minMemSpinBox</tabstop>
<tabstop>maxMemSpinBox</tabstop>
<tabstop>permGenSpinBox</tabstop>
<tabstop>javaArgumentsGroupBox</tabstop>
<tabstop>jvmArgsTextBox</tabstop>
<tabstop>windowSizeGroupBox</tabstop>
<tabstop>maximizedCheckBox</tabstop>
<tabstop>windowWidthSpinBox</tabstop>
<tabstop>windowHeightSpinBox</tabstop>
<tabstop>consoleSettingsBox</tabstop>
<tabstop>showConsoleCheck</tabstop>
<tabstop>autoCloseConsoleCheck</tabstop>
<tabstop>customCommandsGroupBox</tabstop>
<tabstop>preLaunchCmdTextBox</tabstop>
<tabstop>postExitCmdTextBox</tabstop>
</tabstops>
2013-07-14 23:56:53 +05:30
<resources/>
<connections/>
</ui>