Commit Graph

56 Commits

Author SHA1 Message Date
dinkc64 b5f0ed3005 add new driver 2024-11-09 00:51:51 -05:00
Paul Hindt 8d17970277
win32: Add input macros for System Next State and System Previous State (#1792)
Allows binding these macros to inputs in the same manner as System Save State and System Load State
2024-05-30 09:04:57 -04:00
dinkc64 ee3eb1af96 win UI: support History.xml, (history.dat support removed)
get new History file @ https://www.arcade-history.com/index.php?page=download
unzip it into support\history :)
2024-01-19 10:37:02 -05:00
dinkc64 42560dad68 make safe _fgetts 2023-08-31 20:55:32 -04:00
dinkc64 ea042a374a gami, use separete preset for neogeocd 2023-07-28 01:24:30 -04:00
taoenwen 2522e625ef
win32 : subgames add command line launch (#1509)
fbneo kof99t 0
fbneo kof99t 1
fbneo kof99t 2
...
2023-07-04 20:22:52 -04:00
dinkc64 7704348d5e gami, fix encoding 2023-05-09 09:54:32 -04:00
Nick Lang e089ab7bdd
Added macros for start/select/coin, etc. Varies by hardware (#1465)
Modified line 500 for GameInpInitMacros(). Changed the conditional from checking for directional inputs, to checking if the player number was correct. This prevents the duplicate buttons from being added (ie. 2 P1 Weak Punch macros), while adding in the buttons like coin, start, and select.
2023-05-09 09:27:46 -04:00
dinkc64 51ffd5c598 burner/gami.cpp, gameinp.h: resolve inputs to macros 2022-11-14 09:27:38 -05:00
taoenwen 06f395f440
win32: add reset menu (#1233) 2022-11-13 16:43:20 -05:00
dinkc64 20d573e129 some string sanity checks 2022-09-27 23:51:32 -04:00
cjom 46c5540e68
SDL2: Input mapping menu with macros and autofire (#1174)
We can now define input defaults for any player, any game, together with keyboard/joysticks mapping.

Macros are also supported.

Autofire supported and added a menu to set fire rate.

Also some code optimizations in startup and controllers config.
2022-09-23 20:31:14 -04:00
dinkc64 9899e4c2f9 add Rewind feature to fbneo, mostly done+wip [dink] 2022-08-10 21:06:01 -04:00
cjom 19c80dfbf6
SDL2: fix support paths (that fixes hiscores and samples) (#1111)
IMPORTANT NOTE:
This changes folders paths for <romname>.ini, *.fs, *.nv, samples and *.dat (and propably some other I forget to mention).

Some paths were not consistently defined and used. Now support paths are similar to those used in Windows.

Details about what changes:

- hiscore.dat must be placed in ~/.local/share/fbneo/support/hiscores/ (this is also where *.hi will be stored);

- samples *.zip must be placed in ~/.local/share/fbneo/support/samples/

- <romname>.ini, *.fs and *.nv are all stored in ~/.local/share/fbneo/config/games/

- when using "-dat" parameter, the *.dat files will be created in ~/.local/share/fbneo/support/lists/dat/

Other code changes:

- main.cpp was checking fbneo.ini two times, and one of those times was too early (making highscores disabled by default when creating fbneo on first run);

- burner.h was declaring many extern variables already declared in burner.h (and it was causing issues somehow - changing values one place was not reflected elsewhere);

- when loading text files also ignore CR char, not only LF;

- only display help text if not loading a game or menu;

- always show what inputs are assigned to each player when loading a game.
2022-07-18 18:07:39 -04:00
cjom 61b60205d8
SDL2: fix loading inputs from *.ini (#1107)
Fixed inputs always being reset to defaults (ignoring custom inputs from <romname>.ini).

Also fixed loading presets when <romname>.ini does not exist.

Note: -joy parameter will always ignore inputs from *.ini and set joystick inputs for all players.
If the -joy parameter is used when a game is launched for the first time, player 1 inputs will be set to joysticks and won't work without -joy after that, because without -joy the keyboard is assigned to player 1.
2022-07-15 08:58:26 -04:00
dinkc64 05bae3b45a SlowMo feature: add system hotkeys (in inputs editor) 2022-06-20 01:15:36 -04:00
dinkc64 97492fac58 move LUA Hotkeys to the end of the input list 2021-12-10 20:46:26 -05:00
dinkc64 409cddc0e4 lua fix for old compiler pt.2 2021-11-16 17:36:43 -05:00
dinkc64 05693466a3 make lua_hotkeys work with older compilers 2021-11-16 09:25:22 -05:00
BornPosthumous 4b3f08b105
Adds 4 more hotkeys, makes them controller mappable (#874) 2021-11-15 16:56:55 -05:00
dinkc64 714e450df4
Revert "Adds 4 more hotkeys, makes them controller mappable (#866)" (#873)
This reverts commit be5a823ca0.
2021-11-15 16:06:49 -05:00
BornPosthumous be5a823ca0
Adds 4 more hotkeys, makes them controller mappable (#866) 2021-11-15 16:03:13 -05:00
dinkc64 8167aea696 ui: fix defaults for games with 5p inputs (pce/tg/sgx), was incorrectly getting mapped to the X-Arcade / Hanaho HotRod controller 2021-11-01 23:22:24 -04:00
Akop Karapetyan 21da1a3816 Basic input config 2021-08-22 03:02:04 -07:00
dinkc64 c39b25d6a1 gameinfo history, find console/computer stuff 2021-04-18 23:00:30 -04:00
dinkc64 2c8df67c15 add channelf to ui and dat generator 2021-04-14 01:32:17 -04:00
dinkc64 0ac4fedf2a fixes by joaomarcelobrumano: black border glitch, Mega Drive input macro ABC bug that bind the XYZ button mapping instead, Now you can use the RGB effect simultaneously with the 3D Projection (still lack the black border of the 3D projection) 2021-03-27 23:32:18 -04:00
dinkc64 6464113242 add system frame-step macro, from JordiRos 2021-01-30 20:26:28 -05:00
taoenwen b86055a71a macro & autofire: Solve the problem that Windows API causes compilation errors on sdl2 2020-09-27 11:06:22 +08:00
taoenwen eeeb05fb6b Bug Fixed 2020-09-26 21:00:32 +08:00
dinkc64 39a2d8e17b Win UI: input macro and autofire updates [taoenwen] 2020-09-18 11:02:30 -04:00
JacKc029735 e8e7ee0e57 Input macros update [taoenwen]
- Added all the possible combination buttons for all games
- In cps2 system, two buttons for setting volume are shielded (Macro only)
- Solved some games with three buttons, P3 without "fire 3" caused by macro settings error (jurassic99 ...)
// The problem that P5 & P6 macro of xmen6p was pointed to "P1 coin" was solved
- Check box is added for listview in input settings to set auto-fire
- All added macros can be set to auto-fire, which needs to be checked in advance
- When setting auto-fire, there will be a prompt if there is an error
- The text of the information prompt does not use RC resources. It can only be rendered in English for the time being and may be updated in the future
2020-09-13 15:47:51 +02:00
JacKc029735 229f4a17c4 gami.cpp: Create a Special (Attack + Jump) macro, dion / punisher / wof ...
- Create Weak PK, Medium PK, Strong PK macros, Combination keys in the sfa3 series
- Create a SP+WK macro, Quick cancel technique in sf2ce series
[taoenwen]
2020-09-03 11:18:52 +02:00
dinkc64 9c32c6de43 burner/gami.cpp,burner/win32/inpd.cpp: save different presets for all console systems 2020-08-19 00:32:18 -04:00
dinkc64 8c607ba7e9 ui: allow for NES/FDS default presets 2020-03-13 22:35:31 -04:00
tmaul c6c2d3a0ef cleaner sdl2 commits :) 2020-01-23 22:01:59 +00:00
dinkc64 571e6752d8 oob in gami.cpp fix 2019-12-22 20:28:37 -05:00
dinkc64 b39421d7ab neogeo macros for neocd 2019-06-14 19:28:34 -04:00
dinkc64 d9728bd5b2 No changes, just cleaning burner/* 2019-05-13 08:41:23 -04:00
dinkc64 da69356758 HARDWARE_PUBLIC_MASK excludes HARDWARE_PREFIX_CARTRIDGE now anyways 2019-01-07 19:03:11 -05:00
Barry Harris 148af38a36 Fix CPS-2 default button mappings in games with more than 3 buttons 2018-05-06 18:51:42 +00:00
dinkc64 42e17787db burner/gami.cpp, leave room for expansion 2017-03-03 04:10:37 +00:00
dinkc64 920f98d5a2 burner/gami.cpp: stack corruption, nPgmButtons not big enough. 2017-03-02 01:13:30 +00:00
dinkc64 eb2881087f prevent analog speed setting from getting clobbered. 2015-10-31 20:19:48 +00:00
dinkc64 96aba17590 Fix autofire for games that do not follow the usual input naming convention (irem d_m62, vigilante, 1942 and others) and Auto-Fire buttons ABCXYZ instead of 123456 for Megadrive games 2014-10-08 20:00:53 +00:00
dinkc64 c74f84201e New Feature - Auto-Fire!! :) [see forum] 2014-10-03 19:51:48 +00:00
dinkc64 a5683993e4 make for happy neogeo. make a little more memory for macros, since theres 27 by default 2014-09-29 12:36:50 +00:00
dinkc64 af05760a89 make for happy neogeo. 2014-09-29 12:26:43 +00:00
dinkc64 0392eb89a4 add Mappings for SaveState/LoadState/UndoState also 2014-09-18 19:54:34 +00:00
dinkc64 f02c59dccc Feature: ability to map Pause and FFWD in the input dialogue, global or per-game 2014-09-18 06:06:47 +00:00