This commit is contained in:
6arelyFuture 2024-01-01 18:32:15 +01:00
commit 2325242745
Signed by: Future
GPG Key ID: FA77F074E98D98A5
466 changed files with 956376 additions and 0 deletions

19
README.md Normal file
View File

@ -0,0 +1,19 @@
# IW5 Menus: A collection of Quake III: Arena style menus
The menus available in this repository are "stock" menus created for Modern Warfare 3 (2011) and were extracted using [OAT][oat-link].
One of the primary challenges in utilizing these extracted menus is their near-impossibility of being reutilized by the tool itself. This difficulty arises from several mistakes made by the original developers of the menus. It's unclear whether these mistakes were made during their development or if the tool they used to link the fast files was flawed. However, various "unexpanded" macros can be observed throughout the menus, along with numerous other errors.
This repository comprises menus that have undergone manual correction and no longer contain these errors. Consequently, it should be feasible to relink the fast files using OAT without any adjustments to the assets found within this repository.
## How to use OAT
You should invoke the linker with the following options:
| Argument | Description |
|:----------------------------|:-----------------------------------------------|
| `--load=PATH` | Required. Loads the original fast file into memory. It is needed to find material and images not included in this repository. |
| `--menu-permissive` | Required. Allows the tool to permit some "weird" syntax. |
| `--menu-no-optimization` | Optional. |
[oat-link]: https://github.com/Laupetin/openassettools

View File

@ -0,0 +1,25 @@
// Dumped from fastfile "localized_ui_mp".
// In their original format the strings might have been separated in multiple files.
VERSION "1"
CONFIG "C:/trees/cod3/cod3/bin/StringEd.cfg"
FILENOTES ""
REFERENCE PATCH_MENU_ONLINEVAULT_COPYING
LANG_ENGLISH "Copying"
REFERENCE PATCH_MENU_ONLINEVAULT_FACEBOOK_PROCESSING
LANG_ENGLISH "Sharing..."
REFERENCE PATCH_MENU_THEATER_RECORDING
LANG_ENGLISH "Theater Recording"
REFERENCE PATCH_MENU_THEATER_RECORDING_DESC
LANG_ENGLISH "Enable or disable theater demo recording."
REFERENCE PATCH_MENU_WAITING_FOR_GOOD_HOST
LANG_ENGLISH "Waiting for better host"
REFERENCE PATCH_MENU_WAIT_TO_VOTE
LANG_ENGLISH "You must wait &&1 seconds between votes."
ENDMARKER

View File

@ -0,0 +1,126 @@
{
menuDef
{
name "menu_tickertest"
fullscreen 1
rect 0 0 640 480 0 0
style 1
focuscolor 1 1 1 1
onOpen
{
focusFirst;
}
onESC
{
close menu_tickertest;
}
itemDef
{
text "abcdefghijklmnopqrstuvwxzy ABCDEFGHIJKLMNOPQRSTUVWXYZ !@#$%^&*(){}~`/=\-',;"
rect 10 10 150 50 1 0
decoration
type 20
border 1
visible 1
textscale 0.375
textfont 5
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
speed 10
}
itemDef
{
text "a long and narrow ticker, at 40 units per second. !@&#(?"
rect 200 10 250 25 1 0
decoration
type 20
border 1
visible 1
textscale 0.375
textfont 4
forecolor 1 0 1 0.5
bordercolor 0 1 1 0.5
speed 40
}
itemDef
{
text "abcdefghijklmnopqrstuvwxzy ABCDEFGHIJKLMNOPQRSTUVWXYZ !@#$%^&*(){}~`/=\-',;"
rect 10 70 150 50 1 0
decoration
type 20
border 1
visible 1
textscale 0.4583
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
speed 20
}
itemDef
{
text "Big Texted News Ticker. 20 units per second."
rect 200 70 150 50 1 0
decoration
type 20
border 1
visible 1
textscale 0.5833
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
speed 20
}
itemDef
{
text "A short ticker with a bunch of text."
rect 10 130 50 50 1 0
decoration
type 20
border 1
visible 1
textscale 0.375
textfont 6
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
speed 10
}
itemDef
{
text "<>@#$%^&*()\tA ticker with no borders. And many spaces. $%^13"
rect 70 130 500 25 1 0
decoration
type 20
visible 1
textscale 0.375
textfont 3
forecolor 1 1 1 0.5
spacing 10
speed 35
}
itemDef
{
text "Color Test: ^1Red ^2Green ^3Yellow ^4Blue ^5Cyan ^6Magenta ^7White"
rect 10 220 500 25 1 0
decoration
type 20
border 1
visible 1
textscale 0.375
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
speed 50
}
itemDef
{
rect 10 190 500 25 1 0
decoration
type 20
border 1
visible 1
textscale 0.375
forecolor 1 1 1 0.5
bordercolor 0 1 1 0.5
spacing 30
speed 50
newsfeed 1
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,233 @@
{
menuDef
{
name "add_fav_message_popmenu"
rect 0 0 0 0 2 2
focuscolor 1 1 1 1
outOfBoundsClick
popup
legacySplitScreenScale
exp rect X 0 - (260 * 0.5);
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) * 0.5);
exp rect W 260;
exp rect H (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5);
onOpen
{
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
setLocalVarString ui_buttonNavGroupName_popup "invalid";
setLocalVarBool ui_swfSelectionButtonVis 0;
setLocalVarBool ui_swfSelectionBarVis 0;
setLocalVarBool ui_swfSelectionDisabled 0;
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
setLocalVarBool ui_swfPopupSelectionBarVis 0;
setLocalVarBool ui_swfPopupSelectionDisabled 0;
setLocalVarString ui_swfPopupContext "invalid";
setLocalVarBool ui_centerPopup 1;
play tabs_slide;
focusfirst;
setfocus SWF_COMMON_DESC_POPUP_1_NAME_0;
focusfirst;
}
onESC
{
close self;
}
itemDef
{
rect -1280 -480 2560 960 2 2
style 3
decoration
visible when(menuistopmost("add_fav_message_popmenu"));
textscale 0.55
forecolor 0 0 0 0.8
background "white"
}
itemDef
{
rect -131.333 -78.667 262.667 130.667 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0.3098 0.349 0.2745 1
background "white"
exp rect y 0;
exp rect h (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) + 0;
exp rect x 0;
exp rect w 260;
}
itemDef
{
rect 0 0 260 1 2 2
style 3
decoration
visible when(1 && 1);
textscale 0.55
forecolor 0.1569 0.1725 0.1608 1
background "white"
exp rect x 0;
exp rect y 0;
exp rect h (1 * 22) + (16.367 * 0) + 2;
}
itemDef
{
rect 0 0 1 8.666 2 2
style 3
decoration
visible when(1 && 1);
textscale 0.55
background "navbar_selection_bar_shadow"
exp rect x (0 + "X_OFFSET");
exp rect y 0 + (1 * 22) + (16.367 * 0);
exp rect w 260;
}
itemDef
{
rect 0 1 244 22 2 2
style 1
decoration
visible when(1);
textalign 8
textscale 0.375
textstyle 9
textfont 9
exp text "@MENU_ADD_TO_FAVORITES";
exp rect x (0 + 8);
exp rect y (0 + 4) - 4;
}
itemDef
{
rect 0 0 244 20 2 2
style 1
decoration
autowrapped
visible when(1);
textalign 4
textscale 0.375
textfont 3
exp text FUNC_132();
exp rect x ((0 + 8) + 0);
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
}
itemDef
{
rect 0 0 260 1 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0.2118 0.2314 0.22 1
background "white"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + (3 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect h ((20 + 2) * 1) + 1;
}
itemDef
{
rect 0 0 1 8.666 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_1_NAME"));
textscale 0.55
background "navbar_selection_bar_shadow"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
exp rect w 260;
}
itemDef
{
rect 0 0 1 20 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_1_NAME"));
textscale 0.55
forecolor 0.6 0.6314 0.6 0.2
background "white"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect w 260;
}
itemDef
{
rect 0 0 1 20 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_1_NAME"));
textscale 0.55
background "navbar_selection_bar"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect w 260;
}
itemDef
{
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
rect 0 0 20 20 2 2
style 1
decoration
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_1_NAME"));
textalign 10
textscale 0.30625
textfont 3
exp rect x (0 + (0 + 260 - 24));
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
}
itemDef
{
name "SWF_COMMON_DESC_POPUP_1_NAME_3"
rect 11.667 0 260 22 2 2
style 3
type 1
visible when(1);
disabled when(0);
textscale 0.55
forecolor 0 0 0 0
background "white"
onFocus
{
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)";
setLocalVarInt ui_buttonNavGroupCurrent_popup 3;
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_POPUP_1_NAME";
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
setLocalVarBool ui_swfPopupSelectionBarVis (1);
setLocalVarBool ui_swfPopupSelectionDisabled (0);
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_POPUP_1_NAME";
play mouse_over;
}
leaveFocus
{
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
setLocalVarBool ui_swfPopupSelectionBarVis 0;
setLocalVarBool ui_swfPopupSelectionDisabled 0;
}
action
{
play mouse_click;
close self;
}
exp disabled 0;
exp rect y ((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
exp rect w 260 - 0;
exp rect x (0 + (0 + 8));
}
itemDef
{
rect 11.667 0 260 19.567 2 2
style 1
decoration
visible when((1) && (1));
textalign 8
textscale 0.375
textstyle 9
textfont 3
exp text "@MENU_OK";
exp rect y (((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
exp rect w 260;
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_1_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp rect x (0 + (0 + 8));
}
}
}

View File

@ -0,0 +1,304 @@
{
menuDef
{
name "all_restart_popmenu"
rect 0 0 0 0 2 2
focuscolor 1 1 1 1
outOfBoundsClick
popup
legacySplitScreenScale
exp rect X 0 - (260 * 0.5);
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
exp rect W 260;
exp rect H (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
onOpen
{
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
setLocalVarString ui_buttonNavGroupName_popup "invalid";
setLocalVarBool ui_swfSelectionButtonVis 0;
setLocalVarBool ui_swfSelectionBarVis 0;
setLocalVarBool ui_swfSelectionDisabled 0;
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
setLocalVarBool ui_swfPopupSelectionBarVis 0;
setLocalVarBool ui_swfPopupSelectionDisabled 0;
setLocalVarString ui_swfPopupContext "invalid";
setLocalVarBool ui_centerPopup 1;
play tabs_slide;
lerp x from - 460 to 0 over "0.05";
focusfirst;
setfocus SWF_COMMON_POPUP_NAME_1;
focusfirst;
}
onClose
{
setLocalVarBool ui_centerPopup 0;
play "";
}
onESC
{
exec "exec options_graphics.cfg";
exec "setfromdvar ui_snd_khz snd_khz";
exec "setfromdvar ui_snd_enableEq snd_enableEq";
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
setLocalVarBool ui_showAudioApply 0;
setLocalVarBool ui_showApply 0;
close self;
}
itemDef
{
rect -1280 -480 2560 960 2 2
style 3
decoration
visible when(menuistopmost("all_restart_popmenu"));
textscale 0.55
forecolor 0 0 0 0.8
background "white"
}
itemDef
{
rect -131.333 -78.667 262.667 130.667 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0.3098 0.349 0.2745 1
background "white"
exp rect y 0;
exp rect h (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
exp rect x 0;
exp rect w 260;
}
itemDef
{
rect 0 0 260 1 2 2
style 3
decoration
visible when(1 && 1);
textscale 0.55
forecolor 0.1569 0.1725 0.1608 1
background "white"
exp rect x 0;
exp rect y 0;
exp rect h (1 * 22) + (16.367 * 0) + 2;
}
itemDef
{
rect 0 0 1 8.666 2 2
style 3
decoration
visible when(1 && 1);
textscale 0.55
background "navbar_selection_bar_shadow"
exp rect x (0 + "X_OFFSET");
exp rect y 0 + (1 * 22) + (16.367 * 0);
exp rect w 260;
}
itemDef
{
rect 0 1 244 22 2 2
style 1
decoration
visible when(1);
textalign 8
textscale 0.375
textstyle 9
textfont 9
exp text "@MENU_APPLY_SETTINGS";
exp rect x (0 + 8);
exp rect y (0 + 4) - 4;
}
itemDef
{
rect 0 0 260 1 2 2
style 3
decoration
visible when(1);
textscale 0.55
forecolor 0.2118 0.2314 0.22 1
background "white"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect h ((20 + 2) * 2) + 1;
}
itemDef
{
rect 0 0 1 8.666 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
textscale 0.55
background "navbar_selection_bar_shadow"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
exp rect w 260;
}
itemDef
{
rect 0 0 1 20 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
textscale 0.55
forecolor 0.6 0.6314 0.6 0.2
background "white"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect w 260;
}
itemDef
{
rect 0 0 1 20 2 2
style 3
decoration
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
textscale 0.55
background "navbar_selection_bar"
exp rect x (0 + 0);
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
exp rect w 260;
}
itemDef
{
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
rect 0 0 20 20 2 2
style 1
decoration
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
textalign 10
textscale 0.30625
textfont 3
exp rect x (0 + (0 + 260 - 24));
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
}
itemDef
{
name "SWF_COMMON_POPUP_NAME_0"
rect 11.667 0 260 22 2 2
style 3
type 1
visible when(1);
disabled when(0);
textscale 0.55
forecolor 0 0 0 0
background "white"
onFocus
{
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)";
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
setLocalVarBool ui_swfPopupSelectionBarVis (1);
setLocalVarBool ui_swfPopupSelectionDisabled (0);
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
play mouse_over;
}
leaveFocus
{
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
setLocalVarBool ui_swfPopupSelectionBarVis 0;
setLocalVarBool ui_swfPopupSelectionDisabled 0;
}
action
{
play mouse_click;
if (dvarstring(gameMode) == "sp" && !dvarint(sv_running))
{
execondvarstringvalue ui_zfeather 0 "set cg_laserLight 0";
execondvarstringvalue ui_zfeather 1 "set cg_laserLight 1";
}
exec "exec options_graphics_set.cfg";
exec "setfromdvar snd_khz ui_snd_khz";
exec "setfromdvar snd_outputConfiguration ui_OutputConfig";
exec "setfromdvar snd_enableEq ui_snd_enableEq";
close self;
exec snd_restart;
exec regeneratePlaylistPopulationImage;
}
exp disabled 0;
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
exp rect w 260 - 0;
exp rect x (0 + (0 + 8));
}
itemDef
{
rect 11.667 0 260 19.567 2 2
style 1
decoration
visible when((1) && (1));
textalign 8
textscale 0.375
textstyle 9
textfont 3
exp text "@MENU_YES";
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
exp rect w 260;
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp rect x (0 + (0 + 8));
}
itemDef
{
name "SWF_COMMON_POPUP_NAME_1"
rect 11.667 0 260 22 2 2
style 3
type 1
visible when(1);
disabled when(0);
textscale 0.55
forecolor 0 0 0 0
background "white"
onFocus
{
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)";
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
setLocalVarBool ui_swfPopupSelectionBarVis (1);
setLocalVarBool ui_swfPopupSelectionDisabled (0);
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
play mouse_over;
}
leaveFocus
{
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
setLocalVarBool ui_swfPopupSelectionBarVis 0;
setLocalVarBool ui_swfPopupSelectionDisabled 0;
}
action
{
play mouse_click;
exec "exec options_graphics.cfg";
exec "setfromdvar ui_snd_khz snd_khz";
exec "setfromdvar ui_snd_enableEq snd_enableEq";
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
setLocalVarBool ui_showAudioApply 0;
setLocalVarBool ui_showApply 0;
close self;
}
exp disabled 0;
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
exp rect w 260 - 0;
exp rect x (0 + (0 + 8));
}
itemDef
{
rect 11.667 0 260 19.567 2 2
style 1
decoration
visible when((1) && (1));
textalign 8
textscale 0.375
textstyle 9
textfont 3
exp text "@MENU_NO";
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
exp rect w 260;
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
exp rect x (0 + (0 + 8));
}
}
}

View File

@ -0,0 +1,17 @@
{
menuDef
{
name "apply_picmip_popmenu"
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
onOpen
{
execnow "setfromdvar r_picmip ui_r_picmip";
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
exec "wait; wait; r_applyPicmip";
close apply_picmip_popmenu;
}
}
}

View File

@ -0,0 +1,146 @@
{
menuDef
{
name "auconfirm"
rect 204 160 235 135 0 0
style 1
border 1
focuscolor 1 1 1 1
popup
onESC
{
close auconfirm;
}
itemDef
{
name "acwindow"
group "grpControlbutton"
rect 0 2 235 135 0 0
style 1
decoration
border 1
visible 1
textscale 0.55
backcolor 0 0 0 0.85
bordercolor 0.5 0.5 0.5 0.5
}
itemDef
{
name "acwindow2"
group "grpControlbutton"
rect 2 4 231 20 0 0
style 1
decoration
border 1
visible 1
textscale 0.55
backcolor 1 1 0.3 0.3
bordercolor 0.1 0.1 0.1 0.2
}
itemDef
{
name "acconfirm"
text "@MENU_DOWNLOAD_AUTOUPDATE_PATCH"
rect 116 20 110 20 0 0
decoration
visible 1
textalign 1
textalignx -55
textscale 0.25
textstyle 3
textfont 1
}
itemDef
{
name "oldtitle"
text "@MENU_VERSION_INSTALLED"
rect 30 40 110 20 0 0
decoration
visible 1
textscale 0.25
textstyle 3
textfont 1
}
itemDef
{
name "oldver"
rect 30 55 110 20 0 0
decoration
visible 1
textscale 0.25
textstyle 3
textfont 1
dvar "cl_updateoldversion"
}
itemDef
{
name "newtitle"
text "@MENU_VERSION_AVAILABLE"
rect 30 70 110 20 0 0
decoration
visible 1
textscale 0.25
textstyle 3
textfont 1
}
itemDef
{
name "newver"
rect 30 85 110 20 0 0
decoration
visible 1
textscale 0.25
textstyle 3
textfont 1
dvar "cl_updateversion"
}
itemDef
{
name "yes"
text "@MENU_YES"
rect 45 95 50 20 0 0
style 1
type 1
visible 1
textalign 1
textaligny 15
textscale 0.3
textstyle 3
textfont 1
forecolor 0.9 0.9 0.95 1
mouseEnter
{
play MENU_AUDIO_ON_FOCUS;
}
action
{
play MENU_AUDIO_ON_POSITIVE_ACTION;
getautoupdate;
}
}
itemDef
{
name "no"
text "@MENU_NO"
rect 142 95 50 20 0 0
style 1
type 1
visible 1
textalign 1
textaligny 15
textscale 0.3
textstyle 3
textfont 1
forecolor 0.9 0.9 0.95 1
mouseEnter
{
play MENU_AUDIO_ON_FOCUS;
}
action
{
play MENU_AUDIO_ON_POSITIVE_ACTION;
close auconfirm;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More