Commit Graph

417 Commits

Author SHA1 Message Date
Vas Crabb
525f744b38 plugins/cheat: Migrate remaining XML cheat code for Lua API changes. 2021-01-01 01:31:12 +11:00
Vas Crabb
a5e6f4ea8d Expose a couple more things to Lua so the plugins can show the actual key mapped to UI clear. 2020-12-27 04:27:42 +11: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
Vas Crabb
1df245cb99 More Lua engine clean-up and documentation, resulting in core cleanup.
More Lua interface cleanup, additional properties and methods, and
documentation migration/expansion.

Emulated switch inputs can have "not" codes applied to host input axis
directions.  It works the same way as host switch inputs - push twice
for a "not" prefix.

Input polling helpers no longer need to store state in the input device
items.  There’s less leakage, and less chance of things interfering with
each other.

Allow snapshot view options to be configured through the internal UI via
the video options menu.  Made video options menus place initial focus on
the currently selected view item.  Removed some crud from the menu base
class.

Fixed the description of the "snapview" option.  The value to get raw
screen pixels was changed to "native" a long time ago but the
description was never updated.

Re-arranged the Golden Poker button lamps so that the 6-button layouts
for Jolli Witch and Wild Witch make sense.  In 6-button mode, the hold
buttons double as bonus game and bet buttons, but the lamp outputs don't
change.  The simplest way to deal with this without requiring the user
to switch views or using layout scripting is to place the dedicated
buttons directly below the hold buttons that correspond to them.

Removed some software list data that was redundantly copied into
device_image_interface (m_supported was never even set, so it didn't
even work), and made crc() work better (previously it wasn't
recalculuated after unloading and loading another image).

Made strformat.h and devcb.h play nicer with C++17 and pre-standard
C++20.  Format precision now correctly limits the length of string
views.  Confirmed that strformat.{h,cpp} works with pre-standard C++20
support in GCC 9.

Removed an auto_alloc from cpu/arm7.
2020-12-18 15:54:52 +11:00
Vas Crabb
503332a986 -Lua cleanup and documentation migration checkpoint.
* Cleaned up some more of the Lua inteface.  Mostly replacing methods
  with properties, some consistency fixes, a few renames, some more
  exposed functionality, and a couple of properties that have no
  business being set from scripts made read-only.
* Moved a lot more Lua documentation out of source comments into the
  documentation, and expanded on it in the process.
* Got more UI code out of the input manager.
* Changed input sequence poller to a polymorphic class where you
  specify your intention upfront.
* Changed the cheat plugin to use UI Clear to clear hotkey assignments
  and leave them unchanged if the user starts assignment but doesn't
  press any switches.
* Ported AJR's fix for over-eager double-click recognition from SDL to
  Windows OSD.

-goldnpkr.cpp: Cleaned up inputs, using standard keyout and payout types
 and key assignments.
2020-12-16 02:18:52 +11:00
AJR
a7921a601b plugins/portname: Use emu.subst_env 2020-12-08 15:57:41 -05:00
AJR
e70d4ebb34 plugins: Replace environment variable substitution function with core version 2020-12-08 09:44:32 -05:00
Vas Crabb
e008c7b1b1 -Lua engine cleanup, input edition:
* Modernised and cleaned up Lua bindings for input classes.
* Exposed the input_sequence_poller class to Lua and updated the
  autofire and cheat plugins to use it, rather than continuing to
  pretend it's part of the input manager.
* Exposed more of the natural keyboard manager, including the ability
  to enable/disable individual keyboard and keypad devices like you
  can from the keyboard mode menu.
* Exposed a few more things on ioport_port and input_device.

-plugins/cheat: Fixed menu item not updating visually when disabling a
 cheat with UI Left.

-plugins/cheatfind: Fixed not finding the first screen after screen
 enumerator was exposed as an object rather than using a table.

-bwidow.cpp, pacman.cpp: Minor cleanup to recent changes.
2020-12-09 01:10:26 +11:00
Vas Crabb
cac83ba5b1 Expose enough of the layout system to Lua to allow position and colour to be animated. 2020-12-05 21:04:22 +11:00
Vas Crabb
1bdf8d272a frontend: Lua engine improvements.
Added methods for enabling and disabling breakpoints and watchpoints,
and made debugger views update when breakpoints/watchpoints are
manipulated from Lua.  Made breakpoints and watchpoints objects rather
than tables.  (It’s not possible to enable/disable a breakpoint or
watchpoint from the object itself, you have to go through its owners'
debug interface.)

Exposed more device_t members for dealing with child/sibling tags and
devices.  Also provided a way to get regions/shares/banks from a device
using relative tags rather than going through the memory manager with
absolute tags.
2020-11-30 12:01:14 +11:00
Vas Crabb
ec80428647 Fairly significant overhaul of Lua engine and some cleanup.
The things that were previously called device iterators are not
iterators in the C++ sense of the word.  This is confusing for
newcomers.  These have been renamed to be device enumerators.

Several Lua methods and properties that previously returned tables now
return lightweight wrappers for the underlying objects.  This means
creating them is a lot faster, but you can't modify them, and the
performance characteristics of different operations varies.

The render manager's target list uses 1-based indexing to be more like
idiomatic Lua.

It's now possible to create a device enumerator on any device, and then
get subdevices (or sibling devices) using a relative tag.

Much more render/layout functionality has been exposed to Lua.  Layout
scripts now have access to the layout file and can directly set the
state of an item with no bindings, or register callbacks to obtain
state.  Some things that were previously methods are now read-only
properties.

Layout files are no longer required to supply a "name".  This was
problematic because the same layout file could be loaded for multiple
instances of the same device, and each instance of the layout file
should use the correct inputs (and in the future outputs) for the device
instance it's associated with.

This should also fix video output with MSVC builds by avoiding delegates
that return things that don't fit in a register.
2020-11-25 19:18:26 +11: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
Vas Crabb
6e807013c5 Disable SOUND_DEBUG for non-debug builds, and srcclean 2020-09-27 11:00:56 +10:00
cracyc
7f281a9d95 hiscore.dat: fix set names 2020-09-22 20:44:46 -05:00
npwoods
b8d6be3320
Fixing a cheat plugin bug 2020-09-19 11:02:29 -05:00
cracyc
cfd3c1fac6 plugins/cheat: small simplification 2020-09-15 20:38:39 -05:00
cracyc
90fd79601b
plugins/cheat: copy the cheat table to not expose internal state (#7238) 2020-09-15 09:37:47 -05:00
cracyc
692ff2c06f plugin/cheat: subtract min before dividing 2020-09-13 19:13:38 -05:00
cracyc
35bfe62b59 plugin/cheat: check value is a mulitple of step 2020-09-13 19:03:22 -05:00
cracyc
c70bc6be75 plugin/cheat: flesh out the exported interface a bit more 2020-09-13 16:37:53 -05:00
cracyc
9c4d1457da plugins: add emu.plugin table to contain plugin exported interfaces 2020-09-13 10:00:54 -05:00
cracyc
a03b22c555 cheat_simple: with game genie codes try 32k nes banks then fall back to 8k and warn with 6 char codes and banked prg 2020-09-08 18:51:03 -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
Vas Crabb
718da3388c
plugins/autofire: remove leftover code from first attempt at removing empty configuration files 2020-07-19 23:07:39 +10:00
kunikuni
070eeeec3a
plugins/autofire: don't save 2bytes cfg file (nw) (#6969)
* plugins/autofire: don't save 2bytes cfg file (nw)

* Update autofire_save.lua
2020-07-19 23:05:00 +10:00
kunikuni
33fbb85d59
plugins/autofire: don't save 2bytes cfg file (#6960) 2020-07-17 15:05:23 -04: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
cracyc
a0a658a111 fix various things. checkpointed the alphatpc16, will credit before next release (nw) 2020-02-11 17:04:36 -06:00
Vas Crabb
a7fec751ed srcclean, manual adjustments (nw) 2020-01-26 12:39:27 +11:00
R. Belmont
9730b87bbc
Merge pull request #6129 from eadmaster/patch-1
made read_config in hiscore lua plugin more robust
2020-01-04 16:09:27 -05:00
MooglyGuy
7486fe3ce0 -cheat_xml: Attempt at fixing Github issue #6114. Strip the leading colon from device names as necessary in order to avoid doubling of the root colon. [Ryan Holtz, DjDiabolik] 2020-01-04 14:06:13 +01: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
b32f90e5a9 plugins/data: small cleanups (nw) 2019-11-29 10:18:50 -06:00
cracyc
b5f648cca7 plugins/data: that shouldn't be there (nw) 2019-11-29 08:36:30 -06:00
cracyc
8dbea98e20 plugins/data: loading fixes (nw) 2019-11-28 22:35:36 -06:00
cracyc
5528afb489 plugins/cheatfind: permit entry of cheat names 2019-11-27 14:12:02 -06:00
Vas Crabb
c38f63c10a plugins/cheat, plugins/autofire: only time out input sequence entry if nothing is entered (nw) 2019-11-22 02:32:29 +11:00
cracyc
0ec88f2ff7 plugins/autofire: permit input sequences (nw) 2019-11-20 22:35:13 -06:00
cracyc
52bc1df46e plugins/cheat: don't clear error message (nw) 2019-11-20 21:56:36 -06:00
cracyc
0606a77760 plugins/cheat: show pressed buttons when setting hotkeys (nw) 2019-11-20 21:35:35 -06:00
cracyc
99a628eb7c plugins/cheatfind: pull https://github.com/mamedev/mame/pull/4618 with some simplifications and bugfixes (nw) 2019-11-17 21:12:41 -06:00
cracyc
7fc2f68051 hiscore.dat: fix renamed set (nw) 2019-11-16 15:05:20 -06:00
cracyc
b0ef759b80 winptty: don't create pipe unless requested (nw)
plugins/discord: disconnect if timed out (nw)
2019-11-16 14:59:02 -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
2c485b158c plugins/cheat: add time functions to cheat sandbox 2019-09-09 20:56:39 -05:00
cracyc
70f176f74f hiscore.dat: fix makai high scores (nw) 2019-08-23 15:43:27 -05:00
npwoods
d4cb1ba742 LUA boot.lua file now handles multiple paths (delimited by semicolons)
on -pluginspath
2019-07-25 13:19:43 -04:00
npwoods
aac4e79d4b Refactored MAME's plugin system 2019-07-24 07:21:06 -04:00
cracyc
8893bfcd7e hiscore.dat: updates [Leezer] 2019-07-20 13:46:11 -05:00
Jack Li
2da86cda04 Change autofire config directory to homepath (#5129)
* Revert "Used set_folder to avoid hardcoding plugin name in settings path"

This reverts commit 76884986fd8630f81cfc838aa42f264fdcec2ea9.

* Changed autofire config directory to homepath

* Bumped autofire plugin version
2019-05-30 14:31:57 -04:00
Jack Li
27f66693c5 Autofire plugin: Save/load fixes (#5093)
* Fixed bugs related to reloading roms

Soft resets would reload autofire settings without saving them first, causing the settings to be lost. This commit adds a check to only reload from the settings file if loading a different rom than before.

Hard resets would leave bad references lying around, causing MAME to crash under certain circumstances (i.e. resetting while in the edit menu and entering the menu again). This commit makes sure to properly clean up and reinitialize menu and button states when resetting.

* Used set_folder to avoid hardcoding plugin name in settings path

* Bumped autofire plugin version
2019-05-21 18:44:44 -04:00
Jack Li
0040650300 Add plugin for autofire (#5050)
* Hardcoded autofire plugin

* Changed register_frame to register_frame_done, removed pause check

* Added support for multiple buttons loaded from a file

* Implemented saving settings on quit

* Fixed multiple keybindings for same button from overwriting each other

* Replaced double-quotes with single-quotes

* Refactored saving/loading into a separate module

* Changed button format to use input_code rather than string token

Settings format is unchanged (still saved as string token).

* Rewrote table initialization in save/load

* Implemented menus

* Added helper messages for "on frames"/"off frames"
2019-05-14 10:26:27 -04: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
Vas Crabb
0ed2d2684e srcclean (nw) 2019-02-24 14:25:42 +11:00
cracyc
11c3b63c41 plugins/hiscore: use emu.time (nw) 2019-02-17 14:00:15 -06:00
cracyc
f1e51d745a plugins/hiscore: start delay (nw) 2019-02-17 13:16:33 -06:00
cracyc
836abb0d63 plugins/console: command history (nw) 2019-02-17 09:07:56 -06:00
cracyc
6e91e36894 hiscore.dat: fix gorf (nw) 2019-02-13 13:36:16 -06:00
cracyc
fe502c0d41 hiscore.dat: updates [Leezer] 2019-02-11 18:11:02 -06:00
PugsyMAME
87e633e039
Cheat Finder Usability Improvements
1. Changes visual indications to make it nicer & quicker to use.
2. Adds selectable automatic pause capability to the cheat finder menu.
3. Allows the Test/Write poke to be changed
4. Adds another cheat format capability for cheat.simple (write support only)
2019-02-04 21:59:31 +00:00
cracyc
74ff29e228 plugins/cheatfind: fix address step when shift is negative (nw) 2019-01-26 22:18:14 -06:00
cracyc
3332cfd71a hiscore.dat: update set changes (nw) 2019-01-18 14:55:55 -06:00
cracyc
48f61988db plugins/cheatfind: fix typo (nw) 2018-12-22 18:11:13 -06:00
cracyc
31850556b4 plugins/cheatfind: oops (nw) 2018-11-21 12:50:58 -06:00
cracyc
cca07c7f44 hiscore.dat: Updates [Leezer] 2018-11-14 20:35:28 -06:00
cracyc
7301399d2e plugins/cheatfind: fix xml writer (nw) 2018-11-08 08:19:27 -06:00
cracyc
5de93b9bf4 hiscore.dat: changed set names (nw) 2018-10-27 08:17:03 -05:00
cracyc
845925fe99 plugins/portname: add softlist parent loading and import tag (nw) 2018-10-03 15:55:34 -05:00
cracyc
80d7461a75 portname: use hex values for mask (nw) 2018-10-02 13:54:46 -05:00
Vas Crabb
250c06a4d7 srcclean (nw) 2018-09-23 12:22:35 +10:00
cracyc
5ef9f211f4 hiscore.dat: updates [Leezer] 2018-09-15 17:05:06 -05:00
cracyc
26e398ac87 plugins/cheatfind: aligned search option (nw) 2018-08-29 20:57:27 -05:00
cracyc
9f12058484 plugins/cheat[find]: fix memshares (nw) 2018-08-27 20:43:33 -05:00
cracyc
73971f29db hiscore.dat: update renamed sets before release (nw) 2018-08-21 22:02:53 -05:00
cracyc
1346d3271a hiscore.dat: Updates [Leezer] 2018-07-15 08:49:28 -05:00
Vas Crabb
90d7b40e62 srcclean and other cleanup (nw) 2018-06-24 19:04:53 +10:00
cracyc
d5b9f521af plugins/cheatfind: use explicit integer sizes rather than "native" types (nw) 2018-06-08 20:29:58 -05:00
cracyc
a99407afb5 Discord plugin try 2 (#3640)
* plugins/discord: discord presence plugin [Carl]

* plugins/discord: use domain sockets and pipes [Carl]

* winptty: fix connecting to existing socket (nw)
plugins/discord: show pause state (nw)

* plugins/discord: fix pause behavior (nw)
2018-06-08 19:25:39 -04:00
Vas Crabb
c15531dddc srcclean (nw) 2018-05-27 04:48:13 +10:00
cracyc
1092f2009b psx/ctlrport: use required_device (nw)
sort_hiscore: make it much faster (nw)
2018-05-20 14:56:47 -05:00
cracyc
39883001a3 hiscore.dat: Updates [Leezer] 2018-05-18 19:35:39 -05:00
cracyc
fec83c922b plugins: handle the case where the ui prepends the list name to the list entry name (nw) 2018-05-02 09:37:34 -05:00
cracyc
f5191c8605 plugins/cheat: oops (nw) 2018-05-02 08:57:20 -05:00
cracyc
6efb37250f plugins/cheat: translate debugger expressions by space index as the debugger does (nw)
pc9801: use correct video clock, fixes policenauts video speed (nw)
2018-05-02 08:42:56 -05:00
cracyc
2fff9bbd82 plugins/cheat: fix opcode space (nw) 2018-04-30 17:37:28 -05:00
Vas Crabb
ac79c90607 srcclean (nw) 2018-04-22 09:24:13 +10:00
cracyc
137969abf5 plugins/portname: fix comment (nw) 2018-04-21 16:56:12 -05:00
cracyc
0c0e38ca58 plugins/portname: sort the output file (nw) 2018-04-21 08:52:15 -05:00
cracyc
031c9ca8fb plugins/hiscore: fix cpu tags and print detailed errors (nw) 2018-04-20 16:39:20 -05:00
cracyc
b9977e0b03 plugins/portname: change indentation in save file by request (nw) 2018-04-18 16:42:42 -05:00
cracyc
82446cd4cb plugins/cheat: work around small issue in conversion (nw) 2018-04-18 08:53:11 -05:00
cracyc
71f9ff71d1 plugins/data: require returns true if package returns nil (nw) 2018-03-29 15:00:47 -05:00
Vas Crabb
08dde5eb0a srcclean and regenerate localisations (nw) 2018-03-25 02:03:24 +11:00
cracyc
c8f58a92e6 plugins/cheatfind: fix string formatting (nw) 2018-03-23 21:22:29 -05:00
cracyc
a8633e35a4 plugins/cheatfind: search any address space (nw) 2018-03-23 09:09:29 -05:00
cracyc
31be84ea40 plugins/data: give up if the database can't be created (nw) 2018-03-20 21:54:22 -05:00
cracyc
6cbf5c674b hiscore.dat: add handhelds that have high scores (nw) 2018-03-20 21:40:58 -05:00
cracyc
efdbc81e06 hiscore.dat: Updates [Leezer] 2018-03-19 15:19:44 -05:00
cracyc
d399f0bb18 plugins/portname: describe revised format 2018-03-14 17:13:59 -05:00
cracyc
d035e3b546 plugins/portname: change to address objections, also as suggested converted the controls.ini in repo https://github.com/cracyc/portname Removed the import but will still load parent if available (nw) 2018-03-12 22:49:26 -05:00
cracyc
efe9644b5c plugin/cheat: use print_error to make testing easier (nw) 2018-03-05 09:22:44 -06:00
cracyc
463eddd02b plugins/console: make the console behave like the docs, unlike the official lua console if you are in a block, entering a newline on a blank line gets you out (nw) 2018-02-07 16:32:17 -06:00
cracyc
e491b70f03 plugins/cheatfind: read whole block (nw) 2018-01-29 14:14:39 -06:00
cracyc
2e3efc5eff plugins/cheatfind: fix (nw) 2018-01-28 16:46:41 -06:00
Vas Crabb
4e8bb7c7e5 srcclean and regenerate localisations (nw) 2018-01-28 14:25:52 +11:00
cracyc
a850ea8953 hiscore.dat: updates [Leezer] 2018-01-23 17:21:32 -06:00
cracyc
59544382d3 plugins/portname: sort the list and print the port names and masks (nw) 2018-01-21 18:32:15 -06:00
cracyc
6072f32c4a oops2 (nw) 2018-01-15 21:30:59 -06:00
cracyc
3d770d928e
oops (nw) 2018-01-15 10:27:48 -06:00
cracyc
cc7ccbd9b5 plugins/data: fix version for gameinit (nw) 2018-01-15 09:09:13 -06:00
firewave
8420d338a7 plugins/data: added database checks to data_marp.lua as well (nw) 2018-01-15 15:15:11 +11:00
cracyc
9ef46e266d plugins/data: didn't mean to undo that (nw) 2018-01-14 14:22:05 -06:00
cracyc
380bff2202 plugins/data: don't pollute the namespace and use emu.print_error (nw) 2018-01-14 08:39:37 -06:00
firewave
7da4d2dfc6 plugins/data: added reporting of database errors (nw) 2018-01-14 12:09:06 +01:00
Oliver Stöneberg
f911ab2869 plugins/data: fixed table lookup (nw) 2018-01-13 19:37:04 -06:00
cracyc
e94b4d2bac plugins/data: fix spelling (nw) 2018-01-12 16:27:14 -06:00
cracyc
c5ee1d8a45 plugins/portname: add #import and #set tags (nw) 2018-01-08 22:03:54 -06:00
cracyc
3f21951418 portname: use a subdir and emu.file so they can be packaged in zips (nw) 2017-12-30 18:56:31 -06:00
cracyc
d3e7be82a8 plugins/portname: new wip plugin for loading translations or alt names for input port fields [Carl] 2017-12-30 16:02:56 -06:00
Vas Crabb
25f84e3bf0 srcclean and manual cleanups (nw)
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
cracyc
da0c536130 fmtowns_cd: hand fix rbisland (nw)
load_dat.lua: fix crlf issue (nw)
selsoft: fix off-by-one crash (nw)
2017-12-20 21:16:32 -06:00
cracyc
e766c5d5c7 plugins/hiscore: remove debug print (nw) 2017-12-17 15:03:46 -06:00
cracyc
cdb2312cf8 hiscore.dat: Updates [Leezer]
remove duplicate sets and merge identical entries (nw)
2017-12-17 09:55:02 -06:00
Firehawke
9ece34eb21 Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame""
This reverts commit 54155441e9.
2017-12-13 21:31:27 -07:00
Firehawke
54155441e9 Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a, reversing
changes made to 0d70d79810.
2017-12-13 21:01:10 -07:00
Vas Crabb
4995201684 fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw) 2017-12-02 19:09:25 +11:00
cracyc
ec2685c66c plugins/hiscore: add option to hiscore.ini to only_save_at_exit (nw) 2017-11-10 08:48:53 -06:00
Vas Crabb
4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
cracyc
56ea65ede2 plugins/cheatfind: oops (nw) 2017-10-15 18:58:43 -05:00
cracyc
946892c8e0 hiscore.dat: updates [Leezer]
floppy: comment out breaky stuff (nw)
2017-10-15 14:04:59 -05:00
Vas Crabb
2851d7d6cd (nw) Improve localisation:
* Change makefile rules to treat mame.pot as a target so rules can depend on it
* Put mame.pot inside the build directory so it will get cleaned
* Couldn't get xgettext to scrape lua and C++ in the same command and still remove stale strings
* Use larger strings and format specifiers to fix some localisation issues
  - Issue with "None" lacking context in Russian and Turkish translations
  - Issue with "Not implemented" changing depending on the noun in Serbian
  - Issues with lua plugins not allowing for languages with different grammar/punctuation

Strings that need to be translated after this change - most of these are existing text that's been made into larger chunks or reworded slightly:

"Mechanical Machine\tYes\n"

"Mechanical Machine\tNo\n"

"Requires Artwork\tYes\n"

"Requires Artwork\tNo\n"

"Requires Clickable Artwork\tYes\n"

"Requires Clickable Artwork\tNo\n"

"Support Cocktail\tYes\n"

"Support Cocktail\tNo\n"

"Driver is BIOS\tYes\n"

"Driver is BIOS\tNo\n"

"Support Save\tYes\n"

"Support Save\tNo\n"

"Screen Orientation\tVertical\n"

"Screen Orientation\tHorizontal\n"

"Requires CHD\tYes\n"

"Requires CHD\tNo\n"

"ROM Audit Result\tOK\n"

"ROM Audit Result\tBAD\n"

"Samples Audit Result\tNone Needed\n"

"Samples Audit Result\tOK\n"

"Samples Audit Result\tBAD\n"

"ROM Audit Disabled\t\n"
"Samples Audit Disabled\t\n"

"Activated: %s = %s"

"Activated: %s"

"Enabled: %s"

"Disabled: %s"

"%s added"

"Default name is %s"

"Cheat written to %s and added to cheat.simple"

"Unable to write file\n"
"Ensure that cheatpath folder exists"
2017-10-03 10:49:30 +11:00
cracyc
633c37236e plugins/cheat: input sequence cheats [Carl] 2017-10-02 17:28:37 -05:00
cracyc
89a97d353c data_marp: bail if database not open (nw) 2017-09-27 16:01:36 -05:00
cracyc
8930407d7d hiscore.dat: Updates [Leezer] 2017-09-15 16:19:21 -05:00
cracyc
cf4c08014b plugins: gettextify localizable strings (nw) 2017-09-03 22:04:33 -05:00
cracyc
7e75ba4bfa luaengine: translation support [Carl] 2017-09-04 10:12:21 +10:00
cracyc
051a55b274 plugins/cheat: oops (nw) 2017-09-03 13:56:44 -05:00
Vas Crabb
ec3caa98bd srcclean (nw) 2017-08-27 11:07:21 +10:00