I already can add the button just need to figure out how to save it properly so i dont get mpq error. I might be able to do it with just the MPQ.
Also for those buttons those are the original positions they are in they are normally invisible. I found them when i was looking at war2 window's information.
Same way i just discovered you have a GUI to the war2 loader the menu is in russian that translates to exit and program with a input box. I wonder what you use that for also a little display box in English of author and version.
LANGUAGE 48, 4
DIALOG_CREATE_GAME DIALOGEX 0, 57, 256, 146
STYLE DS_SETFONT | WS_VISIBLE | WS_CLIPCHILDREN | WS_POPUP
FONT 13, "Times New Roman", 700, 0, 1
{
CTEXT "Create Game", 1069, 10, 6, 234, 12, SS_CENTER, WS_EX_TRANSPARENT
LTEXT "Game &Name:", 1046, 21, 20, 61, 12, SS_LEFT, WS_EX_TRANSPARENT
EDITTEXT 1000, 21, 28, 64, 12, ES_AUTOHSCROLL, WS_EX_LEFT
LTEXT "Game &Password:", 1047, 93, 20, 80, 12, SS_LEFT, WS_EX_TRANSPARENT
EDITTEXT 1001, 95, 28, 64, 12, ES_AUTOHSCROLL, WS_EX_LEFT
LTEXT "&Map:", 1048, 21, 43, 63, 12, SS_LEFT, WS_EX_TRANSPARENT
CONTROL "", 1009, "StormComboBox", 0x54010003, 21, 50, 96, 14, 0x00000000
PUSHBUTTON "&Browse...", 1008, 119, 50, 44, 15, 0, WS_EX_LEFT
LTEXT "Game &Type:", 1049, 21, 65, 46, 12, WS_CLIPSIBLINGS | SS_LEFT, WS_EX_TRANSPARENT
CONTROL "", 1201, "StormComboBox", 0x54010003, 21, 72, 88, 14, 0x00000000
LTEXT "S&ubtype:", 1026, 109, 65, 72, 12, WS_CLIPSIBLINGS | SS_LEFT, WS_EX_TRANSPARENT
CONTROL "", 1005, "StormComboBox", 0x54010003, 109, 72, 56, 14, 0x00000000
LTEXT "&Resources:", 1500, 21, 87, 61, 12, WS_CLIPSIBLINGS | SS_LEFT, WS_EX_TRANSPARENT
CONTROL "", 1501, "StormComboBox", 0x54010003, 21, 94, 72, 14, 0x00000000
LTEXT "T&ileset:", 1502, 101, 87, 61, 12, WS_CLIPSIBLINGS | SS_LEFT, WS_EX_TRANSPARENT
CONTROL "", 1503, "StormComboBox", 0x54010003, 101, 94, 64, 14, 0x00000000
LTEXT "Game &Speed:", 1050, 21, 113, 51, 12, WS_CLIPSIBLINGS | SS_LEFT | SS_CENTERIMAGE, WS_EX_TRANSPARENT
RTEXT "", 1034, 52, 114, 32, 12, WS_CLIPSIBLINGS | SS_RIGHT | SS_CENTERIMAGE, WS_EX_TRANSPARENT
CONTROL "", 1033, "StormSlider", 0x54010000, 21, 121, 64, 13, 0x00000000
LTEXT "&Cheats", 1504, 185, 32, 60, 12, SS_LEFT, WS_EX_TRANSPARENT
PUSHBUTTON "", 1505, 115, 114, 8, 9, NOT WS_VISIBLE, WS_EX_LEFT
LTEXT "&Fixed Order", 1506, 125, 127, 60, 12, SS_LEFT, WS_EX_TRANSPARENT
PUSHBUTTON "", 1507, 115, 126, 8, 9, NOT WS_VISIBLE, WS_EX_LEFT
CTEXT "", 1015, 176, 63, 70, 12, SS_CENTER | SS_SUNKEN, WS_EX_TRANSPARENT
LTEXT "", 1011, 176, 75, 69, 18, SS_LEFT | SS_SUNKEN, WS_EX_TRANSPARENT
LTEXT "Map Size:", 1028, 176, 93, 31, 9, SS_LEFT, WS_EX_TRANSPARENT
LTEXT "", 1014, 214, 93, 43, 9, SS_LEFT | SS_SUNKEN, WS_EX_TRANSPARENT
LTEXT "Tileset:", 1067, 176, 99, 31, 9, SS_LEFT, WS_EX_TRANSPARENT
LTEXT "", 1068, 214, 99, 31, 9, SS_LEFT, WS_EX_TRANSPARENT
LTEXT "Players:", 1027, 176, 105, 33, 9, SS_LEFT, WS_EX_TRANSPARENT
LTEXT "", 1013, 214, 105, 43, 10, SS_LEFT | SS_SUNKEN, WS_EX_TRANSPARENT
LTEXT "Computers:", 1030, 176, 111, 33, 9, SS_LEFT, WS_EX_TRANSPARENT
LTEXT "", 1017, 214, 111, 43, 10, SS_LEFT | SS_SUNKEN, WS_EX_TRANSPARENT
DEFPUSHBUTTON "OK", 1, 179, 128, 34, 15, 0, WS_EX_LEFT
PUSHBUTTON "Cancel", 2, 214, 128, 34, 15, 0, WS_EX_LEFT
PUSHBUTTON "", 1508, 175, 31, 8, 9, NOT WS_VISIBLE, WS_EX_LEFT
LTEXT "&One Peon", 1509, 125, 115, 60, 12, SS_LEFT, WS_EX_TRANSPARENT
}
This works once again the MPQ editor was corrupting it!!!
So now we can add different game types and settings! You can modify the templates in the MPQ.... have fun guys! You can add buttons, change the listboxes, etc.