Commit graph

113 commits

Author SHA1 Message Date
hap
f1b0eee723 ui pointer options: set inc/dec to 1s (hold shift for shorter 0.1s), reset options to default when pressing Del 2024-08-06 11:33:53 +02:00
Vas Crabb
9f6c0de566 Cleaned up various stuff.
* sony_news.xml: Added proper compatibility flags for different
  generations.
* cpu/pic16x8x: This is very much a derivative work.
* cpu/tms32025.cpp: Allow stack push/pop to be inlined.
* tecmo/bombjack.cpp: Avoid needing to remove and replace devices in
  machine configuration.
* Various other cleanup.
2024-06-30 17:43:02 +10:00
udance4ever
cdef2ed274
coco: add Zonx (The Rainbow) support (software list and hiscore) (#12378)
New working software list items
-------------------------------
coco_flop:
Zonx (The Rainbow)
2024-06-15 20:12:46 -04:00
Mike Sheehan
802c95229d
hiscore.dat: Add delay to ballbomb/lupin3 entry to fix saved hiscore loading (#12462) 2024-06-10 08:18:43 -04:00
udance4ever
c4bc1e075a
hiscore.dat: Add support for Donkey Kong Jr (New Wide Screen) (#12377) 2024-06-07 21:43:19 -04:00
cracyc
c2c61bf29c hiscore.dat: fix renamed sets 2024-03-18 09:03:13 -05:00
cracyc
94bf1367ad hiscore.dat: fix renamed sets 2023-09-21 18:01:59 -05:00
GregWeil
93771fee59
plugins/hiscore: Fixed detection of software item lines, and added high score support for Mega Drive Sonic Spinball. (#11282) 2023-07-07 05:49:56 +10:00
cracyc
76e5e89fed hiscore.dat: update changed sets 2023-06-23 19:10:39 -05:00
Vas Crabb
b67b969bf0 -Improved some Lua APIs:
* Moved several machine lifecycle callbacks to the notifier/subscriber
  model.  The old callback registration model is still available for
  them for now, but prints a deprecation warning.
* Added pre-save/post-load notifications.
* Use a single allocated timer rather than one anonymous timer per
  waiter.  Waiters no longer prevent saved states from being loaded.
* Clean up outstanding waiters on stop or state load rather than just
  leaking them.
* Started documenting parts of the emulator interface object that should
  be relatively stable.

-imagedev/avivideo.cpp: Fixed an object leak on unload.  Also changed
 some other media image devices to use smart pointers.
2023-04-07 06:20:40 +10:00
npwoods
13910382a5
osd/modules/file: Don't magically substitute environment variables when opening files. (#9859)
* util/options.cpp: Added option types for single and multiple paths.
* util/options.cpp: Substitute environment variables in values from defaults and INI files.
* ui/dirmenu.cpp: Removed hard-coded list of multi-path options.
* plugins: Don't substitute environment variables in path options.
2022-12-17 06:03:59 +11:00
cracyc
a0429f8bac hiscore.dat: Updates [Leezer] 2022-11-20 10:28:03 -06:00
cracyc
867167bb97 hiscore.dat: resort and set changes 2022-09-20 08:48:59 -05:00
mdeslaur
f3b42285fc
pacman.cpp: Added Miss Packman Plus. (#10201)
New working clones
---------------------
Miss Packman Plus [Marc Deslauriers]
2022-08-13 01:09:13 +10:00
cracyc
af1ee7db53 hiscore.dat: updates [Leezer] 2022-03-23 21:25:06 -05:00
cracyc
be4008cbb2 hiscore.dat: fix renamed sets
hiscore.dat: Add "Mega Man 2: The Power Fighters (Hispanic 960712)" (megaman2h), fix "1000 Miglia: Great 1000 Miles Rally" (gtmr/gtmra/gtmro/gtmrusa) and add clones (gtmrb/gtmro) (#9285)
2022-02-13 13:53:28 -06:00
Vas Crabb
07e55935cf plugins: Rewrote timer plugin fixing multiple issues.
Added emulated time recording as well as wall clock time.

Fixed recording time for multiple software items per system.  An
incorrect constraint on the database table meant that time was only
being recorded for a single software item per system.

Detect the "empty" driver so the time spent at the selection menu isn't
recorded (you'd get multiple entries for this due to the way options
leak when returning to the system selection menu).

Included schema migration code to update existing timer plugin
databases.  Also replaced some unnecessary floating point code with
integer maths, added log messages, and made the plugin unload unload its
database access code during emulation.

Changed other plugins' use of paths with trailing slashes as this causes
stat to fail on Windows.
2021-11-06 05:20:59 +11:00
Vas Crabb
d775a2731d plugins: Moved the timecode recording functionality to a plugin. 2021-11-02 15:31:03 +11:00
Vas Crabb
9753632492 -nes.xml: Added Latin title from box art for Yeongjaekeom Cocoma games.
-pluins/hiscore: Bumped version since storage location has changed.
2021-10-25 23:56:45 +11:00
Vas Crabb
4601e60391 plugins: Use SPDX short identifiers for licenses in exports (more precise and easier to localise), use CC0 for hiscore plugin rather than CC0. 2021-10-25 01:57:07 +11:00
Vas Crabb
5ab93130eb Plugin updates:
Changed the hiscore plugin to save inside the "hiscore" folder in the
plugin data directory.  The old hiscore path setting has already been
removed from MAME for some time.  This means the plugin was always
saving in the "hi" folder in the working directory with no way to change
it, which is problematic on Linux and macOS, particularly for distro
packagers.  There are lots of plugin and UI changes in this release, so
we may as well get this out of the way now.  Also made it possible to
change the "timed save" option from the Plugin Options menu, and save
that in the data folder, too.

Documented the input macro plugin.  The only undocumented plugins now
are the cheat plugin, the cheat finder plugin, and the port name plugin.
2021-10-24 09:38:03 +11:00
cracyc
5bb6a786a8 hiscore.dat: Updates [Leezer] 2021-07-20 09:16:41 -05:00
Vas Crabb
fab84e8d2b Mostly revert "Create console history file in homepath (#8026)"
The change to make the console plugin work is preserved.

This reverts commit 25137717c9.
2021-05-07 02:14:05 +10:00
Szunti
25137717c9
Create console history file in homepath (#8026)
* Fix console history path, homepath is a core option

* Create missing directories recursively in lua plugins.

* Add lfs to global environment in a less magical way.

require normally doesn't bind the name globally just returns the
module, mame sets a preloader that does bind lfs globally, but
maybe it's less surprising to do it explicitly
2021-05-03 20:40:10 -04:00
cracyc
a405de0435 hiscore.dat: Updates [Leezer] 2021-03-23 10:19:50 -05:00
cracyc
b97c1dbc94 hiscore.dat: rename changed sets 2021-02-14 19:31:19 -06:00
Vas Crabb
9e36b6a6d9 More Lua interface cleanup - it's simpler with cleaner underlyng APIs.
Made the sound manager mute controls readable, and got rid of system
enable since it just controls system mute anyway.  This was causing
confusion: phantom2 was trying to use both independentlyt casuing the
mute bit to be ignored.

THe Lua interface changes are mostly changing methods to properties,
some renames to make things clearer, and some additional properties for
better control over snapshots.
2020-12-27 01:32:37 +11:00
AJR
e70d4ebb34 plugins: Replace environment variable substitution function with core version 2020-12-08 09:44:32 -05:00
cracyc
1a4803c9ec hiscore.dat: fix stdragon 2020-11-23 20:24:34 -06:00
cracyc
9838b52f97 hiscore.dat: updates [Leezer] 2020-11-22 15:16:27 -06:00
cracyc
dc2e44c7be hiscore.dat: update with changed sets 2020-10-22 19:09:47 -05:00
cracyc
7f281a9d95 hiscore.dat: fix set names 2020-09-22 20:44:46 -05:00
cracyc
1e61ba02fe hiscore.dat: gauntlet high scores are in the nvram, these cause more problems then they are worth 2020-09-03 16:31:44 -05:00
cracyc
44af4d00ed hiscore.dat: updates [Leezer] 2020-08-17 10:17:04 -05:00
cracyc
bdd7e205a9 hiscore.dat: update changed set names 2020-07-21 16:33:10 -05:00
cracyc
cc093aaf50 hiscore.dat: updates [Leezer] 2020-04-22 09:51:57 -05:00
cracyc
f42d9f7d43 hiscore.dat: fix viewpoin (nw) 2020-03-10 12:24:54 -05:00
Vas Crabb
c39f46d6d2 Revert "added support for reading/writing hiscore files from cart images (#6130)"
This reverts commit a77313a987.

This seems to break high score support on things without cartridges.  I think it needs re-thinking.
2020-02-28 02:21:06 +11:00
eadmaster
a77313a987
added support for reading/writing hiscore files from cart images (#6130)
* added support for reading/writing hiscore files from cart images

example hiscore.dat entry:
````
nes,smb:
Super Mario Bros. (World).nes:
Super Mario Bros. (W) [!].nes:
@:maincpu,program,7df,4,0,0,ff
````

* store console hiscores in subdirs, added cart hashes support

* added back my prev changes

* added missing end

* using simpler regexpr for hiscore.ini parsing, fixed typo

* minor cleanups
2020-02-13 10:25:28 -05:00
Andrea
9764233875
made read_config in hiscore lua plugin more robust 2020-01-04 10:10:19 +01:00
cracyc
5c226e1f99 hiscore.dat: fix old parsing errors (nw) 2019-12-08 14:54:47 -06:00
cracyc
c6dcf7e6be hiscore.dat: Updates [Leezer]
plugins/data: various fixes (nw)
2019-12-02 21:17:42 -06:00
cracyc
7fc2f68051 hiscore.dat: fix renamed set (nw) 2019-11-16 15:05:20 -06:00
cracyc
f0c5429b95 hiscore.dat: fix MT07454 (nw) 2019-10-16 17:20:11 -05:00
cracyc
55ef735fb7 hiscore.dat: fix set renames (nw) 2019-09-20 14:01:47 -05:00
cracyc
70f176f74f hiscore.dat: fix makai high scores (nw) 2019-08-23 15:43:27 -05:00
cracyc
8893bfcd7e hiscore.dat: updates [Leezer] 2019-07-20 13:46:11 -05:00
cracyc
a62ca583c4 hiscore.dat: updates [Leezer] 2019-05-10 18:37:16 -05:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00