A downloadable asset pack

If you don't want the user to mess with your Input settings in the launcher, but you want to keep the graphics options, you can edit the launch window itself to hide it.

To use the code, download and install Resource Hacker and copy the code off this page or download the .txt file.

Build a standalone version of your game and open the .exe file in Resource Hacker. Then open and overwrite Dialog 9 and Dialog 107, shown in the picture, with the code.

Use the code as a stepping stone and tailor the launcher to your needs.


9 DIALOGEX 0, 0, 309, 200
STYLE DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ScreenSel"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 1
{
   CONTROL "Play!", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 193, 180, 50, 14 
   CONTROL "Quit", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 252, 180, 50, 14 
   CONTROL "", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 7, 3, 295, 108 
   CONTROL "", 1001, STATIC, SS_BITMAP | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 9, 9, 291, 100 
   CONTROL "", 1016, "SysTabControl32", TCS_TABS | WS_CHILD | WS_DISABLED | WS_TABSTOP, 5, 86, 296, 107 
}

107 DIALOGEX 0, 0, 294, 66
STYLE DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_SYSMENU
CAPTION ""
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg", FW_NORMAL, FALSE, 1
{
   CONTROL "Screen resolution", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 37, 9, 56, 8 
   CONTROL "", 1010, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 103, 7, 84, 90 
   CONTROL "Windowed", 1009, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 199, 7, 49, 10 
   CONTROL "Graphics quality", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 37, 26, 52, 8 
   CONTROL "", 1011, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 103, 25, 84, 76 
   CONTROL "Select monitor", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 37, 43, 56, 8 
   CONTROL "", 1013, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 103, 43, 84, 90 
}


More information

Published 38 days ago
StatusReleased
CategoryAssets
AuthorScotch Bunny
Tagssourcecode, unity

Install instructions

To use the code, download and install Resource Hacker and copy the code off this page or download the .txt file.

Build a standalone version of your game and open the .exe file in Resource Hacker. Then open and overwrite Dialog 9 and Dialog 107, shown in the picture, with the code.

Download

Download
Launcher Config Code.txt (1 kB)

Leave a comment

Log in with your itch.io account to leave a comment.