aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overrides.c12
-rw-r--r--overrides/arduous.h19
-rw-r--r--overrides/fbalpha2012.h82
-rw-r--r--overrides/prboom.h77
-rw-r--r--overrides/scummvm.h71
-rw-r--r--overrides/tyrquake.h89
-rw-r--r--overrides/vitaquake2.h77
7 files changed, 427 insertions, 0 deletions
diff --git a/overrides.c b/overrides.c
index 0058144..e426b31 100644
--- a/overrides.c
+++ b/overrides.c
@@ -1,8 +1,10 @@
#include "overrides.h"
+#include "overrides/arduous.h"
#include "overrides/beetle-pce-fast.h"
#include "overrides/bluemsx.h"
#include "overrides/dosbox-pure.h"
#include "overrides/fake-08.h"
+#include "overrides/fbalpha2012.h"
#include "overrides/fceumm.h"
#include "overrides/fmsx.h"
#include "overrides/gambatte.h"
@@ -11,19 +13,25 @@
#include "overrides/mame2000.h"
#include "overrides/pcsx_rearmed.h"
#include "overrides/picodrive.h"
+#include "overrides/prboom.h"
#include "overrides/quicknes.h"
+#include "overrides/scummvm.h"
#include "overrides/smsplus.h"
#include "overrides/snes9x2002.h"
#include "overrides/snes9x2005.h"
#include "overrides/snes9x2005_plus.h"
#include "overrides/snes9x2010.h"
+#include "overrides/tyrquake.h"
+#include "overrides/vitaquake2.h"
#include "util.h"
static const struct core_override overrides[] = {
+ arduous_overrides,
beetle_pce_fast_overrides,
bluemsx_overrides,
dosbox_pure_overrides,
fake08_overrides,
+ fbalpha2012_overrides,
fceumm_overrides,
fmsx_overrides,
gambatte_overrides,
@@ -32,12 +40,16 @@ static const struct core_override overrides[] = {
mame2000_overrides,
pcsx_rearmed_overrides,
picodrive_overrides,
+ prboom_overrides,
quicknes_overrides,
+ scummvm_overrides,
smsplus_overrides,
snes9x2002_overrides,
snes9x2005_overrides,
snes9x2005_plus_overrides,
snes9x2010_overrides,
+ tyrquake_overrides,
+ vitaquake2_overrides,
};
static const struct core_override *override;
diff --git a/overrides/arduous.h b/overrides/arduous.h
new file mode 100644
index 0000000..c8d6619
--- /dev/null
+++ b/overrides/arduous.h
@@ -0,0 +1,19 @@
+#include "overrides.h"
+
+me_bind_action arduous_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "A ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "B ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { NULL, 0 }
+};
+
+#define arduous_overrides { \
+ .core_name = "arduous", \
+ .actions = arduous_ctrl_actions, \
+ .action_size = array_size(arduous_ctrl_actions), \
+ .defer_frames = 3, \
+}
diff --git a/overrides/fbalpha2012.h b/overrides/fbalpha2012.h
new file mode 100644
index 0000000..02eff45
--- /dev/null
+++ b/overrides/fbalpha2012.h
@@ -0,0 +1,82 @@
+#include "main.h"
+#include "overrides.h"
+
+static const struct core_override_option fbalpha2012_core_option_overrides[] = {
+ {
+ .key = "fbneo-frameskip-type",
+ .info = "Skip frames to avoid audio crackling. Improves performance at the expense of visual smoothness.",
+ .default_value = "auto",
+ .retro_var_value = "Frameskip ; disabled|auto|threshold"
+ },
+ {
+ .key = "fbneo-threshold",
+ .info = "When 'Frameskip' is set to 'Threshold', sets how low the audio buffer can get before frames will be skipped.",
+ .retro_var_value = "FS Threshold (%%); 30|40|50|60",
+ },
+ {
+ .key = "fbneo-interval",
+ .info = "The maximum number of frames that can be skipped before a new frame is rendered.",
+ .default_value = "2",
+ .retro_var_value = "FS Interval; 1|2|3|4|5|6|7|8|9",
+ },
+ {
+ .key = "fbneo-allow-depth-32",
+ .info = "Use 32-bits color depth when available.",
+ .retro_var_value = "32-bit color; disabled|enabled",
+ },
+ {
+ .key = "fbneo-samplerate",
+ .info = "Change the audio sample rate. Requires restart.",
+ .retro_var_value = "Sample Rate; 48000|44100|22050|11025"
+ },
+ {
+ .key = "fbneo-sample-interpolation",
+ .retro_var_value = "Sample Interp.; 4-point|2-point|disabled"
+ },
+ {
+ .key = "fbneo-fm-interpolation",
+ .retro_var_value = "FM Interpolation; 4-point|disabled"
+ },
+ {
+ .key = "fbneo-cyclone",
+ .info = "Requires restart. Changes savestate format. Use at your own risk.",
+ .retro_var_value = "Cyclone; disabled|enabled"
+ },
+ {
+ .key = "fbneo-neogeo-mode",
+ .retro_var_value = "Neo Geo Mode; MVS|AES|UNIBIOS|DIPSWITCH"
+ },
+ { NULL }
+};
+
+me_bind_action fbalpha2012_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "BUTTON 1 ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "BUTTON 2 ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "BUTTON 3 ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "BUTTON 4 ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "BUTTON 5 ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "BUTTON 6 ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "START ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "COIN ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { NULL, 0 }
+};
+
+const struct core_override_fast_forward fbalpha2012_fast_forward = {
+ .type_key = "fbneo-frameskip-type",
+ .type_value = "auto",
+ .interval_key = "fbneo-interval"
+};
+
+#define fbalpha2012_overrides { \
+ .core_name = "fbalpha2012", \
+ .fast_forward = &fbalpha2012_fast_forward, \
+ .actions = fbalpha2012_ctrl_actions, \
+ .action_size = array_size(fbalpha2012_ctrl_actions), \
+ .options = fbalpha2012_core_option_overrides, \
+ .needs_reopen = 1, \
+}
diff --git a/overrides/prboom.h b/overrides/prboom.h
new file mode 100644
index 0000000..a81c1cf
--- /dev/null
+++ b/overrides/prboom.h
@@ -0,0 +1,77 @@
+#include "overrides.h"
+
+static const struct core_override_option prboom_core_option_overrides[] = {
+ {
+ .key = "prboom-resolution",
+ .blocked = true,
+ },
+ {
+ .key = "prboom-mouse_on",
+ .blocked = true,
+ },
+ {
+ .key = "prboom-find_recursive_on",
+ .desc = "Scan for IWADs",
+ .info = "Scans parent folders for IWADs. NOTE: You need to disable this if you want to run SIGIL."
+ },
+ {
+ .key = "prboom-rumble",
+ .blocked = true,
+ },
+ {
+ .key = "prboom-analog_deadzone",
+ .blocked = true,
+ },
+ { NULL }
+};
+
+#ifdef FUNKEY_S
+/* DrUm78 build */
+me_bind_action prboom_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "USE ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "TGL RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "MAP ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { "PREV WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
+ { NULL, 0 }
+};
+#else
+me_bind_action prboom_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "USE ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "MAP ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { "STRAFE L ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "STRAFE R ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "PREV WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
+ { "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
+ { "TGL RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
+ { "180 TURN ", 1 << RETRO_DEVICE_ID_JOYPAD_R3 },
+ { NULL, 0 }
+};
+
+#endif
+
+#define prboom_overrides { \
+ .core_name = "prboom", \
+ .actions = prboom_ctrl_actions, \
+ .action_size = array_size(prboom_ctrl_actions), \
+ .options = prboom_core_option_overrides, \
+ .needs_reopen = 1 \
+}
diff --git a/overrides/scummvm.h b/overrides/scummvm.h
new file mode 100644
index 0000000..3fbd4f1
--- /dev/null
+++ b/overrides/scummvm.h
@@ -0,0 +1,71 @@
+#include "overrides.h"
+
+static const struct core_override_option scummvm_core_option_overrides[] = {
+ {
+ .key = "scummvm_gamepad_cursor_speed",
+ .desc = "Cursor speed",
+ .info = "Sets the mouse cursor speed multiplier. '1.0' is optimised for '320x200' or '320x240' games. '2.0' is recommended for higher resolution games.",
+ },
+ {
+ .key = "scummvm_gamepad_cursor_acceleration_time",
+ .desc = "Cursor acceleration",
+ },
+ {
+ .key = "scummvm_analog_response",
+ .blocked = true,
+ },
+ {
+ .key = "scummvm_analog_deadzone",
+ .blocked = true,
+ },
+ {
+ .key = "scummvm_mouse_speed",
+ .blocked = true,
+ },
+ {
+ .key = "scummvm_speed_hack",
+ .desc = "Speed Hack",
+ .info = "Enables a safe speed hack that significantly reduces CPU requirements by allowing subtle timing inaccuracies. Requires restart.",
+ .default_value = "enabled",
+ },
+ { NULL }
+};
+
+me_bind_action scummvm_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "LEFT BTN ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "RIGHT BTN", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "ESC ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { ". ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "KEYBOARD ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { "ENTER ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "5 ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "BACKSPACE", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
+ { "SLOW CUR ", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
+ { "F10 ", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
+ { "0 ", 1 << RETRO_DEVICE_ID_JOYPAD_R3 },
+ { NULL, 0 }
+};
+
+me_bind_action scummvm_emu_actions[] =
+{
+ { "Toggle FPS/CPU% ", 1 << EACTION_TOGGLE_HUD },
+ { "Toggle FF ", 1 << EACTION_TOGGLE_FF },
+ { "Take Screenshot ", 1 << EACTION_SCREENSHOT },
+ { NULL, 0 }
+};
+
+#define scummvm_overrides { \
+ .core_name = "scummvm", \
+ .actions = scummvm_ctrl_actions, \
+ .action_size = array_size(scummvm_ctrl_actions), \
+ .emu_actions = scummvm_emu_actions, \
+ .emu_action_size = array_size(scummvm_emu_actions), \
+ .options = scummvm_core_option_overrides, \
+ .needs_reopen = 1 \
+}
diff --git a/overrides/tyrquake.h b/overrides/tyrquake.h
new file mode 100644
index 0000000..d7c88ce
--- /dev/null
+++ b/overrides/tyrquake.h
@@ -0,0 +1,89 @@
+#include "overrides.h"
+
+static const struct core_override_option tyrquake_core_option_overrides[] = {
+ {
+ .key = "tyrquake_resolution",
+ .blocked = true,
+ },
+ {
+ .key = "tyrquake_colored_lighting",
+ .desc = "Colored Lighting",
+ },
+ {
+ .key = "tyrquake_rumble",
+ .blocked = true,
+ },
+ {
+ .key = "tyrquake_invert_y_axis",
+ .blocked = true,
+ },
+ {
+ .key = "tyrquake_analog_deadzone",
+ .blocked = true,
+ },
+ { NULL }
+};
+
+#ifdef FUNKEY_S
+/* DrUm78 build */
+me_bind_action tyrquake_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "LOOK ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "JUMP ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "PREV WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "LOOK UP ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
+ { "LOOK DOWN", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
+ { "MOVE DOWN", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
+ { "SWIM UP ", 1 << RETRO_DEVICE_ID_JOYPAD_R3 },
+ { NULL, 0 }
+};
+
+#else
+me_bind_action tyrquake_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "CHG WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "JUMP ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "LOOK ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "TGL RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { "STRAFE L ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "STRAFE R ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "LOOK UP ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
+ { "LOOK DOWN", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
+ { "MOVE DOWN", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
+ { "SWIM UP ", 1 << RETRO_DEVICE_ID_JOYPAD_R3 },
+ { NULL, 0 }
+};
+
+#endif
+
+me_bind_action tyrquake_emu_actions[] =
+{
+ { "Toggle FPS/CPU% ", 1 << EACTION_TOGGLE_HUD },
+ { "Toggle FF ", 1 << EACTION_TOGGLE_FF },
+ { "Take Screenshot ", 1 << EACTION_SCREENSHOT },
+ { NULL, 0 }
+};
+
+#define tyrquake_overrides { \
+ .core_name = "tyrquake", \
+ .actions = tyrquake_ctrl_actions, \
+ .action_size = array_size(tyrquake_ctrl_actions), \
+ .emu_actions = tyrquake_emu_actions, \
+ .emu_action_size = array_size(tyrquake_emu_actions), \
+ .options = tyrquake_core_option_overrides, \
+ .needs_reopen = 1 \
+}
diff --git a/overrides/vitaquake2.h b/overrides/vitaquake2.h
new file mode 100644
index 0000000..e9f84ed
--- /dev/null
+++ b/overrides/vitaquake2.h
@@ -0,0 +1,77 @@
+#include "overrides.h"
+
+static const struct core_override_option vitaquake2_core_option_overrides[] = {
+ {
+ .key = "vitaquakeii_resolution",
+ .blocked = true,
+ },
+ {
+ .key = "vitaquakeii_gamma",
+ .desc = "Gamma Level",
+ .info = "Set the overall gamma offset of the rendered image. Requires restart.",
+ },
+ {
+ .key = "vitaquakeii_sw_dithered_filtering",
+ .desc = "Dithering",
+ },
+ {
+ .key = "vitaquakeii_xhair",
+ .desc = "Crosshair",
+ },
+ {
+ .key = "vitaquakeii_cin_force43",
+ .desc = "4:3 Cinematics",
+ .info = "Show all videos (introductions, cutscenes) at the correct aspect ratio of 4:3. If disabled, videos will be stretched.",
+ },
+ {
+ .key = "vitaquakeii_cdaudio_enabled",
+ .info = "Enable playback of original CD audio tracks at the expense of increased performance requirements.",
+ },
+ {
+ .key = "vitaquakeii_aimfix",
+ .info = "Weapons target the exact centre of the aiming crosshair. This changes the slightly inaccurate original shooting.",
+ },
+ {
+ .key = "vitaquakeii_invert_y_axis",
+ .blocked = true,
+ },
+ { NULL }
+};
+
+/* DrUm78 build */
+me_bind_action vitaquake2_ctrl_actions[] =
+{
+ { "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
+ { "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
+ { "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
+ { "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
+ { "LOOK ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
+ { "CROUCH ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
+ { "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
+ { "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "OBJECTIVE", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "JUMP ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "NEXT INV ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
+ { "USE INV ", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
+ { NULL, 0 }
+};
+
+me_bind_action vitaquake2_emu_actions[] =
+{
+ { "Toggle FPS/CPU% ", 1 << EACTION_TOGGLE_HUD },
+ { "Toggle FF ", 1 << EACTION_TOGGLE_FF },
+ { "Take Screenshot ", 1 << EACTION_SCREENSHOT },
+ { NULL, 0 }
+};
+
+#define vitaquake2_overrides { \
+ .core_name = "vitaquake2", \
+ .actions = vitaquake2_ctrl_actions, \
+ .action_size = array_size(vitaquake2_ctrl_actions), \
+ .emu_actions = vitaquake2_emu_actions, \
+ .emu_action_size = array_size(vitaquake2_emu_actions), \
+ .options = vitaquake2_core_option_overrides, \
+ .needs_reopen = 1 \
+}