Commit Graph

333 Commits

Author SHA1 Message Date
cracyc 777947797f plugins/data/data_hiscore: print_verbose unimplemented stuff (nw) 2017-02-17 21:34:31 -06:00
cracyc 182fc20c15 plugins/data/data_hiscore: don't permit hi score parse scripts to modify the shared environment or save any persistent data (nw) 2017-02-17 16:04:04 -06:00
cracyc eed65a01ac plugins/data: create first dir in historypath if it doesn't exist (nw) 2017-02-16 21:50:57 -06:00
cracyc 00b999cbfa plugins/data: fix if order (nw) 2017-02-16 18:36:34 -06:00
cracyc d090bbedb8 plugins/data: check the rest of the paths too (nw) 2017-02-13 16:29:25 -06:00
cracyc 21b4a16edd plugins/hiscore: use videoram share for missile command scores so madsel isn't disturbed (nw) 2017-02-03 18:30:38 -06:00
cracyc f1ed3b561a hiscore.dat: Updates [Leezer] 2017-01-04 12:15:45 -06:00
cracyc 8e8ddfee98 hiscore.dat: Updates [Leezer] 2016-12-09 21:22:19 -06:00
Vas Crabb 7238415d1f srcclean (nw) 2016-11-27 09:56:49 +11:00
cracyc 7702f39327 plugins/data: put database in correct path (nw) 2016-11-12 15:16:56 -06:00
Miodrag Milanovic b73126e85a added OPTION_HOMEPATH to point to read/write folder,for now used by LUA scripts (nw)
Copied all needed files so plugins could be started under UWP
2016-11-12 15:27:22 +01:00
cracyc 101c667961 plugins/data: fix index (nw) 2016-11-09 14:20:15 -06:00
cracyc f9f30e95ef plugins/data: store data in database (nw) 2016-11-09 08:28:37 -06:00
Miodrag Milanovic 694657af7c stupid copy/paste (nw) 2016-11-08 10:58:59 +01:00
Miodrag Milanovic 99df581038 Made timer plugin use sqlite3 (nw) 2016-11-08 09:52:10 +01:00
cracyc 3b512b0fd8 plugins/console: much better completions (nw) 2016-11-07 15:07:52 -06:00
cracyc 65c3796e33 plugins/console: further improve completions by removing break chars from linenoise that hide the full type (nw) 2016-11-06 21:36:26 -06:00
cracyc cbf588359e plugins/console: (nw) 2016-11-06 13:41:47 -06:00
cracyc a6aaa59d19 lua-linenoise: add preload (nw) 2016-11-06 13:41:46 -06:00
cracyc 68ff36882c plugins/console: (nw) 2016-11-06 13:41:45 -06:00
cracyc fad9a96cb0 plugins/console: better completions (nw) 2016-11-06 13:41:45 -06:00
cracyc 2de04414ed plugins/console: add lua console [Carl] 2016-11-06 13:41:43 -06:00
cracyc e3d02290c1 data/data_hiscore: parse more (nw)
luaengine: remove more leftovers (nw)
2016-11-03 15:29:19 -05:00
cracyc 2603b2ec46 hiscore.dat: Updates [Leezer]
luaengine: fix save_item (nw)
2016-11-03 09:57:51 -05:00
cracyc 330b0d146d plugins/data: fix driver info (nw) 2016-11-02 15:33:11 -05:00
cracyc bfc49b0974 luaengine: bugfixes (nw) 2016-11-02 12:16:10 -05:00
cracyc 06363cf65a luaengine: add basic table return support (nw) 2016-11-02 12:16:09 -05:00
cracyc cf037e79d2 data: remove extra newlines (nw) 2016-10-26 16:33:57 -05:00
cracyc 939d1446a2 hiscore.dat: Updates [Leezer]
8042kbdc: fix Indigo keyboard [Carl]
----
The removed stuff from 8042kdbc appears to be handled by pckeybrd now but there could be regressions.
2016-10-16 19:32:22 -05:00
cracyc 45ad154c87 ui/selgame: fix crash (nw) 2016-09-29 20:36:43 -05:00
Vas Crabb 33b2c73395 srcclean (nw) 2016-09-26 04:51:59 +10:00
cracyc 0c0c086268 ui/datmenu: fix in game menu data view (nw) 2016-09-07 09:00:08 -05:00
cracyc 9d101cad6a ui: remove datfile_manager (nw) 2016-09-06 22:11:01 -05:00
cracyc 46ab9213f5 ui/selgame: get dat info from plugin [Carl]
plugins/data: add data plugin [Carl]
2016-09-05 21:43:17 -05:00
cracyc 9e081e0c38 hiscore.dat: updates (Leezer) 2016-09-03 11:25:29 -05:00
Vas Crabb f5356a62de srcclean on lua plugins, too 2016-08-30 15:53:27 +10:00
cracyc 53962aff61 luaengine: remove now unnecessary stuff since a copy of searchpath is made and it won't be garbage collected from underneath us (nw) 2016-08-19 10:56:31 -05:00
cracyc 4f25a90c75 hiscore: make path expansion work on win32 also (nw) 2016-08-04 16:49:11 -05:00
cracyc 0f05950b9a Merge pull request #1186 from stengun/patch-1
Fix .hi file load and write [stengun]
2016-08-04 16:40:05 -05:00
Roberto Benfatto 234628a88f Revert modifications of 0646ca8 2016-08-04 22:46:42 +02:00
cracyc 38314fc4a4 hiscore.dat: updates [Leezer] 2016-08-04 14:44:59 -05:00
Roberto Benfatto 4f83634380 Make hiscore path configurable by ini file 2016-08-04 20:27:16 +02:00
Roberto Benfatto 0646ca8b1a Fix .hi file load and write
hiscore.dat and hi folder path were not resolved as expected (their path was relative to mame executable, not to the plugin folder). Explicitly writing them as absolute paths gives the desired behavior.
2016-08-04 07:39:32 +02:00
cracyc 0184946dd8 boot.lua: only load plugins in plugin path (nw) 2016-07-24 14:44:38 -05:00
cracyc 59dafc2261 hiscore.dat: Updates [Leezer] 2016-07-24 10:21:56 -05:00
cracyc 2af957118a plugins/cheatfind: don't create 100 copies of a large function when we only need one (nw)
---
The stub keeps the current match in scope so it can be passed on if necessary
2016-07-19 19:53:05 -05:00
cracyc 8d9fb8e4a9 plugins/cheatfind: name cheats (nw) 2016-07-19 19:13:09 -05:00
cracyc fa6bd37265 plugins/cheatfind: add operand size to simple cheat and write cheats from cheatfind into simple file (nw) 2016-07-14 14:57:47 -05:00
cracyc 62f2777ce2 mark working
-----------
Digital Equipment Corporation VT240 [Carl]

vt240: fix scroll and complement (nw)
plugins/cheat: add simple cheat file format (nw)
2016-07-13 17:13:32 -05:00
cracyc 72a499b54a plugin path expansion (nw) 2016-07-09 15:11:30 -05:00
cracyc 1a54c90838 plugins/cheatfind: don't show arrow when one option (nw) 2016-07-08 18:52:57 -05:00
cracyc 3f58aa4548 plugins/hiscore: make hiscore.dat sorter stable so everything isn't rearranged every time (nw) 2016-07-08 15:44:54 -05:00
cracyc 1caf0d68c2 plugins/hiscore: doc (nw) 2016-07-08 10:11:12 -05:00
cracyc 45de5e113e plugins/hiscore: add optional value to prefill for software that clears ram and add examples (nw) 2016-07-08 09:49:03 -05:00
cracyc bccd9ad271 luaengine: add optional arg for physical address space to disable address shift (nw)
----
Cheats created with the cheatfinder won't work with the builtin cheat finder if the cpu has an address bus that isn't 8bits unless the addresses are fixed up.
2016-07-03 16:28:06 -05:00
cracyc e298801bb7 plugins/cheat: better error (nw) 2016-07-03 08:57:40 -05:00
cracyc e7755e4743 luaengine: add logical address space accessors, use by default in translated cheats (nw) 2016-07-02 19:04:32 -05:00
cracyc 200fc9859a plugins/cheat: don't turn off unless on (nw) 2016-06-21 09:35:09 -05:00
cracyc 671f8e3bb2 luaengine: share accessors (nw)
cheatfind: search share regions (nw)
2016-06-20 21:55:15 -05:00
cracyc d157408218 vt240: WIP (nw) 2016-06-11 22:38:01 -05:00
cracyc 77c20e43f0 hiscore.dat: sort by source file in an effort to make it somewhat maintainable, mark entries not in mame.lst, and add script to do the sorting and comparing (nw) 2016-05-31 13:24:24 -05:00
cracyc f9b5a025a5 hiscore.dat: remove remaining invalid sets (nw) 2016-05-31 08:18:52 -05:00
cracyc 249e77583e hiscore.dat: fix renamed/duplicated sets (nw) 2016-05-30 21:57:35 -05:00
Scott Stone 841724156c One remaining hiscore parse error (nw) 2016-05-30 21:52:46 -04:00
cracyc 07f297ae7a hiscore.dat: more fixes (nw) 2016-05-30 12:56:54 -05:00
cracyc d63cd99bc3 hiscore.dat: DEC Rainbow has no cheats (nw) 2016-05-30 11:39:32 -05:00
cracyc c35144d691 hiscore.dat: remove outdated info and email addresses (nw)
---
Those people shouldn't be bothered with issues from this (unless they want too but I don't know that)
2016-05-29 11:47:34 -05:00
cracyc b49334e70a hiscore: fix segaxbd games and improve error (nw) 2016-05-29 10:26:47 -05:00
cracyc 0522e44d2f boot.lua: make pluginspath apply here too (nw) 2016-05-26 17:24:56 -05:00
cracyc 295774fabb plugins/cheatfind: more (nw) 2016-05-03 09:39:16 -05:00
cracyc 37898321e2 plugins/cheatfind: small cleaups (nw) 2016-05-03 09:27:31 -05:00
cracyc 734436ac06 plugins/cheatfind: pages (nw) 2016-05-02 21:52:21 -05:00
cracyc ecc9d9d096 plugins/cheatfind: match is in closure scope (nw) 2016-05-02 10:23:53 -05:00
cracyc 216869186c plugins/cheatfind: make menu layout much more flexible (nw) 2016-05-02 10:09:42 -05:00
cracyc 82d38dc10d plugins/cheatfind: fix order (nw) 2016-05-01 18:53:31 -05:00
cracyc 1d31d7c55f plugins/cheatfind: yet more changes (nw) 2016-05-01 16:21:54 -05:00
cracyc 3cd9489038 plugins/cheatfind: fixes (nw) 2016-05-01 09:07:02 -05:00
cracyc df88aa07dc plugins/cheatfind: reverse operator order and add value comparison (nw) 2016-04-30 20:58:47 -05:00
cracyc 4b6237fbfd plugins/cheat: handle multiple cheat paths and missing dir in write back (nw) 2016-04-30 10:48:10 -05:00
cracyc 6bbd290d31 plugins/cheat*: indent the output (nw) 2016-04-28 21:17:09 -05:00
cracyc 29d7699569 plugins/layout: layout embedded script helper plugin [Carl]
luaengine: callbacks for plugins (nw)
rendlay: layout tag external handler support (nw)
fidel_csc and mdndclab: example layout scripts (nw)
--
Neither layout script is complete.  The chess doesn't handle castling or en passant and the Dungeons and Dragons only does the walls.
2016-04-27 09:37:23 -05:00
cracyc 2028ec2917 plugins/timer: don't fail if file is corrupt (nw) 2016-04-24 17:06:25 -05:00
cracyc 29f51e85db plugins/cheat*: various changes (nw) 2016-04-24 12:01:30 -05:00
cracyc 5a320aba4a plugins/cheatfind: nt (nw) 2016-04-23 17:51:29 -05:00
cracyc 6af9782d91 plugins/cheatfind: fix machines with >1 ram regions (nw) 2016-04-23 14:28:38 -05:00
cracyc 9c81ead8b0 plugins/cheat: make ram work properly (nw) 2016-04-23 13:51:08 -05:00
cracyc d80b977719 plugins/cheatfind: fix saved cheats (nw) 2016-04-23 11:13:49 -05:00
cracyc 21c89e6258 luaengine: fix ui (nw) 2016-04-23 10:52:45 -05:00
Miodrag Milanovic 3fc8cfd679 fix lua issue (nw) 2016-04-23 17:08:59 +02:00
cracyc a7bed872ee plugins/cheatfind: add bitwise comparisons (nw) 2016-04-22 20:55:07 -05:00
cracyc 0ed4ecb7c9 plugins/cheatfind: change match behavior and add on screen watches (nw) 2016-04-21 18:55:13 -05:00
cracyc b793232c97 plugins/cheat: clear popmessage (nw) 2016-04-17 17:38:16 -05:00
Miodrag Milanovic fc48cb17f3 added print_verbose, print_info, print_debug and print_error to lua, and used it instead of print (nw) 2016-04-16 18:01:48 +02:00
cracyc 37718e8602 plugins/cheatfind: write found cheats (nw) 2016-04-16 09:36:22 -05:00
cracyc 95309f461e plugins/cheat: load multiple files and fix load failure (nw) 2016-04-16 08:36:09 -05:00
cracyc c3735cd12c plugins/cheat: fix some stuff (nw) 2016-04-15 11:40:34 -05:00
cracyc 2d30a13824 plugins/cheat: copy-paste (nw) 2016-04-14 13:31:14 -05:00
cracyc 94007d2887 plugins/cheat: add game time for cheats which want a time delay (nw) 2016-04-13 11:40:06 -05:00
cracyc b66b2e679c plugins/cheat: make more compatible (nw) 2016-04-13 08:13:00 -05:00
cracyc b09ae03b65 plugins/cheat: add safe table functions to sandbox (nw) 2016-04-11 17:39:35 -05:00
cracyc d818313f8f plugins/cheatfind: preliminary support to inject cheats for testing (nw) 2016-04-10 21:42:33 -05:00
cracyc 6dcb009816 plugins/cheatfind: run same operation over a batch of data (nw) 2016-04-10 17:06:21 -05:00
cracyc 1132ce2870 plugins/cheatfind: add width and endian awareness
---
Need to handled alignment
2016-04-09 22:40:02 -05:00
cracyc 4c21370163 plugins/cheatfind: make ram scan work (nw) 2016-04-09 21:34:54 -05:00
cracyc 1550a25fde plugins/cheatfind: more gui work (nw) 2016-04-09 16:24:26 -05:00
cracyc cf8c7fb206 luaengine: make flags explicit (nw) 2016-04-09 09:02:07 -05:00
cracyc 74d1fbbdb9 plugins/cheatfind: start adding basic menu (nw) 2016-04-08 22:30:32 -05:00
cracyc aee051e46d plugins/timer: add play count (nw) 2016-04-08 13:18:04 -05:00
cracyc 978ab32a11 plugins/cheatfind: start lua cheat finder library [Carl] 2016-04-08 11:59:50 -05:00
cracyc 0e5c6cb8c1 plugins/timer: save to the correct file (nw) 2016-04-08 08:33:55 -05:00
cracyc 06e2aa26a2 oops++ (nw) 2016-04-07 21:42:42 -05:00
cracyc a94eeb628f plugins/timer: add sample plugin for game time [Carl] 2016-04-07 21:29:40 -05:00
cracyc 86007e7e29 oops++ (nw) 2016-04-07 20:17:42 -05:00
cracyc ea484da9a8 plugins/cheat: create temp[0-9] in case xml script doesn't (nw) 2016-04-07 20:02:33 -05:00
cracyc d88bdb6869 plugins/cheat: fix more (nw) 2016-04-07 19:42:18 -05:00
cracyc 4edb50a92a plugin/cheat: better conversion (nw) 2016-04-07 10:38:51 -05:00
cracyc dc885b1996 plugin/cheat: adjust path handling (nw) 2016-04-06 21:40:49 -05:00
cracyc badc9e8c73 oops 2016-04-06 17:06:47 -05:00
cracyc 55c9596f4c Add experimental cheat lua plugin [Carl] 2016-04-06 17:03:11 -05:00
cracyc 817f19fcc1 luaengine: add plugin options menu [Carl] 2016-04-04 18:17:18 -05:00
cracyc be431bd5a0 hiscore: checksum all the regions (nw) 2016-03-30 15:28:06 -05:00
cracyc 21390cd790 hiscore: only you can prevent namespace pollution (nw) 2016-03-29 07:47:04 -05:00
Miodrag Milanovic 699fa1462a Add ability for notifiers to add at front, fix for hiscore [Carl] 2016-03-29 08:15:17 +02:00
cracyc 5cfe38e481 hiscore: even if we can't save before a soft reset, at least load what we've got (nw) 2016-03-28 08:42:45 -05:00
cracyc 1e95b3b459 luaengine: add software name getter (nw)
hiscore: add support for softlist rom hiscores (nw)
2016-03-27 19:52:35 -05:00
Miodrag Milanovic f329db261f Populate plugins structures and start marked plugins (nw) 2016-03-25 08:42:30 +01:00
Miodrag Milanovic 315612190b Added parsing of plugin json files for machine_manager (nw) 2016-03-24 21:07:39 +01:00
Miodrag Milanovic ef86ee6cec added hiscore plugin (disabled for now) (nw) 2016-03-22 16:19:15 +01:00
Miodrag Milanovic fafeeb095a put license for plugins (nw) 2016-03-05 11:18:08 +01:00
Miodrag Milanovic 2d8aa85227 fix lua script on boot (nw) 2016-03-05 07:56:50 +01:00
Miodrag Milanovic 24276fc7db removed Apache 2 licensed library since it is not possible to mix with GPL2 (nw) 2016-03-04 20:18:47 +01:00
Miodrag Milanovic 686ba42466 Added plugin info json files and made system automatically load available plugins and start them if flagged so (nw) 2016-02-14 19:48:44 +01:00
Miodrag Milanovic ccae0382bb Added plugins and boot.lua as startup script [Miodrag Milanovic] 2016-02-14 10:58:18 +01:00