update UI strings

This commit is contained in:
sp2xdev
2025-09-18 02:33:18 -07:00
parent 0b5f7787be
commit 67721c416b
3 changed files with 44 additions and 28 deletions
+8 -1
View File
@@ -35,7 +35,14 @@ std::vector<Button> &games::pc::get_buttons() {
} }
std::string games::pc::get_buttons_help() { std::string games::pc::get_buttons_help() {
return ""; // keep to max 100 characters wide
return
" FADER-L FADER-R \n"
"\n"
" B1 B2 B3 ... B11 B12\n"
"\n"
" Most menu interactions are on the touch screen; you can use your mouse.\n"
;
} }
std::vector<Analog> &games::pc::get_analogs() { std::vector<Analog> &games::pc::get_analogs() {
+8 -1
View File
@@ -1780,7 +1780,14 @@ int main_implementation(int argc, char *argv[]) {
// usage error // usage error
if (!cfg::CONFIGURATOR_STANDALONE if (!cfg::CONFIGURATOR_STANDALONE
&& (!CHECK_DLL_IGNORE_ARCH)) { && (!CHECK_DLL_IGNORE_ARCH)) {
log_fatal("launcher", "module auto detection failed."); log_fatal(
"launcher",
"module auto detection failed!\n\n"
"This usually means one of the following:\n\n"
" 1. You put spice executables in the wrong place, or\n"
" 2. XML files in prop directory are malformed or missing, or\n"
" 3. You passed in invalid options (usually, path overrides like -exec)\n\n"
);
} }
break; break;
+28 -26
View File
@@ -34,7 +34,7 @@ static const std::vector<std::string> CATEGORY_ORDER_ADVANCED = {
"NFC Card Readers", "NFC Card Readers",
}; };
static const std::vector<std::string> CATEGORY_ORDER_DEV = { static const std::vector<std::string> CATEGORY_ORDER_DEV = {
"Paths", "Path Overrides",
"Network (Development)", "Network (Development)",
"Audio (Hacks)", "Audio (Hacks)",
"I/O Modules", "I/O Modules",
@@ -53,12 +53,14 @@ bool launcher::USE_CMD_OVERRIDE = false;
*/ */
static const std::vector<OptionDefinition> OPTION_DEFINITIONS = { static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
{ {
.title = "Game Executable", .title = "Override Game Executable & Disable Hooks",
.name = "exec", .name = "exec",
.desc = "Path to the game DLL file", .desc = "Path to the game DLL file.\n\n"
"This option is typically not needed; leave it empty to allow spice to auto-detect your game.\n\n"
"WARNING: this option also disables all game-specific hooks and turns off most I/O modules!",
.type = OptionType::Text, .type = OptionType::Text,
.setting_name = "*.dll", .setting_name = "*.dll",
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Open Configurator", .title = "Open Configurator",
@@ -1091,88 +1093,88 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
.category = "Game Options (Advanced)", .category = "Game Options (Advanced)",
}, },
{ {
.title = "Modules Folder Path", .title = "Modules Folder Override",
.name = "modules", .name = "modules",
.desc = "Sets a custom path to the modules folder", .desc = "Sets a custom path to the modules folder",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Screenshot Folder Path", .title = "Screenshot Folder Override",
.name = "screenshotpath", .name = "screenshotpath",
.desc = "Sets a custom path to the screenshots folder", .desc = "Sets a custom path to the screenshots folder",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Configuration Path", .title = "Configuration Path Override",
.name = "cfgpath", .name = "cfgpath",
.desc = "Sets a custom file path for config file. Must be passed via the command line. " .desc = "Sets a custom file path for config file. Must be passed via the command line. "
"If left empty, %appdata%\\spicetools.xml will be used", "If left empty, %appdata%\\spicetools.xml will be used",
.type = OptionType::Text, .type = OptionType::Text,
.setting_name = "(default)", .setting_name = "(default)",
.category = "Paths", .category = "Path Overrides",
.disabled = true, .disabled = true,
}, },
{ {
// ScreenResizeConfigPath // ScreenResizeConfigPath
.title = "Screen Resize Config Path", .title = "Screen Resize Config Path Override",
.name = "resizecfgpath", .name = "resizecfgpath",
.desc = "Sets a custom file path for screen resize config file. " .desc = "Sets a custom file path for screen resize config file. "
"If left empty, %appdata%\\spice2x\\spicetools_screen_resize.json will be used", "If left empty, %appdata%\\spice2x\\spicetools_screen_resize.json will be used",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
// PatchManagerConfigPath // PatchManagerConfigPath
.title = "Patch Manager Config Path", .title = "Patch Manager Config Path Override",
.name = "patchcfgpath", .name = "patchcfgpath",
.desc = "Sets a custom file path for patch manager config file. Can be used to manage 'profiles' for auto-patches. " .desc = "Sets a custom file path for patch manager config file. Can be used to manage 'profiles' for auto-patches. "
"If left empty, %appdata%\\spice2x\\spicetools_patch_manager.json will be used", "If left empty, %appdata%\\spice2x\\spicetools_patch_manager.json will be used",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Intel SDE Folder Path", .title = "Intel SDE Folder Override",
.name = "sde", .name = "sde",
.desc = "Path to Intel SDE kit path for automatic attaching", .desc = "Path to Intel SDE kit path for automatic attaching",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Path to ea3-config.xml", .title = "ea3-config.xml Override",
.name = "e", .name = "e",
.desc = "Sets a custom path to ea3-config.xml", .desc = "Sets a custom path to ea3-config.xml",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Path to app-config.xml", .title = "app-config.xml Override",
.name = "a", .name = "a",
.desc = "Sets a custom path to app-config.xml", .desc = "Sets a custom path to app-config.xml",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Path to avs-config.xml", .title = "avs-config.xml Override",
.name = "v", .name = "v",
.desc = "Sets a custom path to avs-config.xml", .desc = "Sets a custom path to avs-config.xml",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Path to bootstrap.xml", .title = "bootstrap.xml Override",
.name = "b", .name = "b",
.desc = "Sets a custom path to bootstrap.xml", .desc = "Sets a custom path to bootstrap.xml",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "Path to log.txt", .title = "log.txt Override",
.name = "y", .name = "y",
.desc = "Sets a custom path to log.txt", .desc = "Sets a custom path to log.txt",
.type = OptionType::Text, .type = OptionType::Text,
.category = "Paths", .category = "Path Overrides",
}, },
{ {
.title = "API TCP Port", .title = "API TCP Port",