Commit Graph

54 Commits

Author SHA1 Message Date
Julian Sikorski
97bd2d20df
Strip CRs from history.xml (#8115) 2021-05-30 13:25:37 -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
9c14a66139 plugins/data: properly clear history data when loading new file 2021-04-03 20:13:56 -05:00
Vas Crabb
78f6ff34a5 srcclean in preparation for branching release 2021-01-24 13:33:07 +11:00
cracyc
ae2e3443f5 plugins/data: more hiscore improvements 2021-01-02 22:39:40 -06:00
cracyc
aea4460250 plugins/data: better hiscore parsing 2021-01-01 22:06:33 -06:00
cracyc
d961efa925 plugins/data: remove logging and fix query 2020-12-31 21:47:50 -06:00
cracyc
886bf9ac67 plugins/data: use history.xml and add xml parser for it 2020-12-31 15:06:57 -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
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
Vas Crabb
ac79c90607 srcclean (nw) 2018-04-22 09:24:13 +10:00
cracyc
71f9ff71d1 plugins/data: require returns true if package returns nil (nw) 2018-03-29 15:00:47 -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
6072f32c4a oops2 (nw) 2018-01-15 21:30:59 -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
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
89a97d353c data_marp: bail if database not open (nw) 2017-09-27 16:01:36 -05:00
cracyc
cf4c08014b plugins: gettextify localizable strings (nw) 2017-09-03 22:04:33 -05:00
Vas Crabb
ec3caa98bd srcclean (nw) 2017-08-27 11:07:21 +10:00
Vas Crabb
0a6f98cd7d font_osx: handle fonts where space glyphs return a null bounding box (e.g. Hiragino family)
restore ability to localise info box headings
2017-08-06 12:04:54 +10:00
cracyc
83adc109e7 plugins/data: add marp scores [Carl] 2017-07-30 21:33:23 -05:00
cracyc
97a4f94d17 plugins/data: fix small things (nw) 2017-07-27 22:14:09 -05:00
cracyc
8408a79059 plugins/data: use 2 column format and clean up some parse errors (nw) 2017-07-27 17:29:22 -05:00
Vas Crabb
8f15315a52 srcclean (nw) 2017-02-19 11:40:55 +11:00
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
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
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
cracyc
e3d02290c1 data/data_hiscore: parse more (nw)
luaengine: remove more leftovers (nw)
2016-11-03 15:29:19 -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
45ad154c87 ui/selgame: fix crash (nw) 2016-09-29 20:36:43 -05:00