100 Commits
Author SHA1 Message Date
Daniel Brooks 3cbca3894c update vMac to list all disk images on the command line
It supports up to six images. In addition to `emulator_ext`, I added
support for `vmac_disk_N` like most of the other systems.
2024-01-27 01:51:46 -08:00
Daniel BrooksandGitHub 3195735cf4 Merge pull request #109 from aschmitz/patch-1
fix: don't double-load chd files for chd-based items
2023-10-01 06:49:48 +00:00
Daniel Brooks 6b318f03a8 Set the ruffle logo to a relative path like the others. 2023-07-15 13:39:02 -07:00
Daniel Brooks ed86e523d4 clean up indentation, semicolons 2023-07-15 13:29:04 -07:00
Daniel Brooks c33632e1f8 Merge in support for the v86 emulator 2023-07-15 13:04:45 -07:00
Daniel Brooks db41ddfc49 clean up indentation, braces, semicolons 2023-07-15 11:50:01 -07:00
Daniel Brooks 5f6367e022 Add CloudPilot support
I think someone at IA added this, but I have no idea who.
2023-07-15 11:45:28 -07:00
Daniel Brooks d6547c5799 IndexedDB is now used as a cache for game files
Emularity had been storing downloaded game files into the IndexedDB,
but if the file was already present then it would download it again
and overwrite it. Now it will skip the download if the file exists.

At present this only applies to files downloaded using the “saveFile”
method, not the “mountZip” method. The “mountZip” method doesn’t save
the zip file anywhere, so no caching is currently done.

Potentially this could cause you problems if a file gets corrupted or
edited, and reloading the page won’t fix it. Emularity doesn‘t provide
a UI for diagnosing or fixing such problems at present, so you may
want to implement some way to flush the IndexedDB containing the
filesystem.
2022-01-04 00:22:55 -08:00
Daniel Brooks 05390a4c91 Actually set the storeName option for real this time
Sgeo noticed that I did it wrong. Thanks!
2020-10-27 18:41:56 -07:00
Daniel Brooks 3b56360354 set the storeName for IndexedDB correctly
This prevents files from one game from showing up in others.
2020-10-27 14:49:53 -07:00
Daniel Brooks b22c2349b6 remove a few accidentally-duplicated lines of code 2020-10-27 14:13:49 -07:00
Daniel Brooks c2bafd0287 load CHD files for MAME items loaded from IA 2020-10-27 13:53:19 -07:00
Daniel Brooks 8014b7c259 Merge branch 'RuffleSupport' 2020-10-27 13:51:36 -07:00
Daniel Brooks 10cef14845 a few minor bug fixes, and some cleanup and polish improvements
closes #71
2020-10-27 13:50:08 -07:00
Daniel BrooksandGitHub 799ea8ea12 Merge pull request #68 from shaneriley/updates-fullscreen-handling
Updates fullscreen handling and BrowserFS
2020-10-27 19:53:39 +00:00
Daniel Brooks aaf75f5838 for MAME, put the extraArgs before the args for peripherals
Some arguments that you might put in extraArgs will add or remove
peripherals, and attempting to use those newly added peripherals
silently fails if we try to use them before they've been added.
2020-01-24 02:42:40 -08:00
Daniel Brooks e7fca84120 Clean up the code for fullscreen support 2020-01-24 02:42:07 -08:00
Daniel Brooks 6414a302be a little refactor to avoid using let 2019-11-18 12:06:12 -08:00
Daniel Brooks 4426cb0a32 -autoboot_command needs an escaped newline at the end 2019-11-17 22:58:00 -08:00
Daniel Brooks fc0d2a5e80 add an autoboot option for MAMELoader, and make IA's emulator_start metadata use it 2019-11-17 22:29:19 -08:00
Daniel Brooks 6403db035e fix the mute/unmute button for MAME
Fixes MAMERunner's mute/unmute functions, and starts MAME with the
volume turned down instead of with no sound emulation at all when the
mute cookie is set.
2019-08-03 06:43:04 -07:00
Daniel Brooks 8ad749e9e7 deprecate Emulator.setScale in favor of BaseLoader.setScale 2019-07-15 08:34:07 -07:00
Daniel Brooks e4388d12fa fix scaling at least for MAME
Turns out that a program that uses emscripten's SDL port to create a
"window" (by calling SDL_CreateWindow) gets exactly the canvas size
that they requested, and emscripten actually resets the canvas back to
this size on certain events (such as window resize).

This means that the application must request the scaled size, or
explictly resize the canvas using a different API. Since MAME accepts a
-resolution command-line argument, I can at least make it request a
window of the scaled size. It's not as efficient as letting the
browser scale the window, but it works.
2019-07-14 13:00:03 -07:00
Daniel Brooks ddb1c28e15 remove stray debugging print 2019-03-19 17:31:56 -07:00
Daniel Brooks e2808c7006 support loading np2, xmil, and vmac items from IA 2019-02-10 20:42:58 -08:00
Daniel Brooks 2729449d94 clean up the indentation 2019-02-02 03:15:13 -08:00
Daniel BrooksandGitHub 7ce9158793 Merge pull request #53 from algestam/vice-doc-fix
Small doc fix in the Vice example
2018-11-27 02:43:11 -08:00
Daniel BrooksandGitHub 1ff6deb1c6 Merge pull request #47 from pengan1987/master
Fix PC98DosBoxLoader default mount behavior problem
2018-10-23 13:01:00 -07:00
Daniel BrooksandGitHub 0828c5ba4a Merge pull request #48 from Sgeo/patch-2
Support vice.conf
2018-10-19 19:19:04 -07:00
Daniel Brooks 91a3a6cba9 Merge branch 'pengan1987-master' 2018-10-11 09:48:39 -07:00
Daniel Brooks 5e9d3e4759 IALoader can easily use PCE's new extra_args support too 2018-10-11 09:48:21 -07:00
Daniel Brooks f0fe992c29 clean up the grammar and presentation of the explanatory comment somewhat 2018-10-11 09:47:41 -07:00
Daniel Brooks 8f195d41ff avoid default arguments for backwards compatibility 2018-10-11 09:27:37 -07:00
Daniel BrooksandGitHub abaefa7dd3 Merge pull request #44 from pengan1987/master
Support multiple floppy disks for SAE
2018-10-01 16:44:33 -07:00
Daniel Brooks 2145df1f4d just some minor cleanups, and a missing export 2018-09-30 11:32:08 -07:00
Daniel Brooks b713193ec8 add an example to show off ViceJS 2018-09-30 11:32:08 -07:00
Daniel Brooks 1404e481ad tweak the wording in the new dosbox-x example 2018-09-18 00:05:58 -07:00
Daniel Brooks 665e947fc9 add a logo for Vice 2018-09-01 15:30:26 -07:00
Daniel Brooks d9f3ee9ec9 Merge branch 'dosbox-urls' 2018-08-30 08:57:36 -07:00
Daniel Brooks 016862194e don't mention git-annex, it's not been kept up to date 2018-08-30 08:56:09 -07:00
Daniel Brooks 48088106dd I double-checked, and this is the one IA is currently using 2018-08-30 08:49:00 -07:00
Daniel BrooksandGitHub 60433ba064 Merge pull request #32 from Sgeo/master
VICE.js support
2018-08-30 08:45:26 -07:00
Daniel Brooks fd1ec3e28a forgot to handle a missing extension in files_with_ext_from_filelist 2018-05-05 08:55:26 -07:00
Daniel Brooks 1ceb58c9cc fix EmscriptenRunner 2018-04-26 12:56:48 -07:00
Daniel Brooks 666969bcbc fix muting in MAME 2018-04-23 04:03:09 -07:00
Daniel Brooks c175e7b782 support MAME's -keepaspect command-line option 2018-04-12 23:56:26 -07:00
Daniel Brooks 00d69a5b75 factor the loading process further, and introduce the EmscriptenRunner
The compliments the SAERunner for the Scripted Amiga Emulator.
2018-03-07 13:08:12 -08:00
Daniel Brooks 25e8ae8068 IALoader respects the emulator_ext metadata property when finding files for DosBox items
Also, clean up the various get_foo_files functions by factoring out
some common elements. Fixes #29.
2018-02-15 02:30:27 -08:00
Daniel Brooks 94035eb203 only append extra_args if it's defined
Otherwise Emscripten's JS chokes; it assumes that every element of the
argv array is a string, and converts them into an array of bytes for
the running program to use. Fixes #28.
2018-02-10 11:21:07 -08:00
Daniel Brooks 9258bf80fa support Emscripten's WebAssembly builds 2018-02-07 13:47:46 -08:00
Daniel Brooks 58d44e0d50 don't try to tell DosBox to mount things unless we mean it 2018-02-07 08:46:50 -08:00
Daniel Brooks 51b19bf2ae give callers a way to add arguments to the dosbox command line 2018-02-07 08:44:22 -08:00
Daniel Brooks bd4c63e362 the filename given to mountFile can include a path
all directories named in the path will be created in the in-memory
filesystem when the file is saved.
2018-02-05 09:44:31 -08:00
Daniel Brooks 84917c0ee1 forgot to properly test this, apparently 2018-02-04 20:01:24 -08:00
Daniel Brooks 6f7cb0fd30 document the default styles for the splash screen, and that you can customize them 2018-02-04 18:44:07 -08:00
Daniel Brooks be46bfb477 allow the user to supply their own style rules for the splash screen 2018-01-27 08:28:28 -08:00
Daniel Brooks 1f171ca013 file a bug about gamepad UI 2017-05-15 19:21:10 -07:00
Daniel Brooks 659a21bcae browserfs api changed slightly? 2017-04-18 18:05:50 -07:00
Daniel Brooks b08d9bbec5 add support for PCE emulators, particularly macplus
PCE supports several other personal computers of the era, but only
macplus is tested so far.
2017-04-03 22:08:46 -07:00
Daniel Brooks dfe5702a0d PCE stuff 2017-03-31 20:01:21 -07:00
Daniel Brooks 86c4097e42 upgrade to BrowserFS 1.2.1 2017-03-19 00:23:42 -07:00
Daniel Brooks b5feee41fe fix the workaround for the workaround
An embarrassing error. Thank you @phil-el for finding this and telling
me about it!
2017-03-17 18:22:55 -07:00
Daniel Brooks be247ecbcc file some bugs 2017-03-17 03:41:37 -07:00
Daniel Brooks a102a877c6 git-annex in db48x@erebor:~/projects/emularity 2017-03-05 02:54:10 -08:00
Daniel Brooks b608a098eb content removed from git annex 2017-03-05 02:52:12 -08:00
Daniel BrooksandGitHub 3cea6d49aa Merge pull request #12 from vitorio/patch-1
Fixing Markdown links in credits
2017-03-05 02:14:04 -08:00
Daniel Brooks 8e72207fd2 add a workaround to the workaround 2016-11-09 10:36:23 -08:00
Daniel Brooks d9f978a743 triage bugs 2016-11-07 00:22:09 -08:00
Daniel Brooks f06bc99580 use IA item metadata to override the default peripherals for a MAME system
Use metadata keys like mame_peripheral_PERIPH (where PERIPH is the
name of a MAME peripheral, such as 'flop1') whose values are
filenames.
2016-11-05 22:06:41 -07:00
Daniel Brooks da6c7ccc98 IALoader only uses the first item in the 'peripherals' list when configuring mame 2016-11-03 11:26:48 -07:00
Daniel Brooks 5a84f61aa8 add a license statement 2016-10-10 18:37:00 -07:00
Daniel Brooks d069b1d4ba fix comments in example_arcade as well 2016-10-10 16:05:06 -07:00
Daniel Brooks 710c8e7f89 status update 2016-10-10 13:07:58 -07:00
Daniel Brooks f628712ce6 Merge remote-tracking branch 'origin' 2016-10-10 13:06:17 -07:00
Daniel Brooks 6086f2c80a fix the file name in the arcade example 2016-10-10 12:54:21 -07:00
Daniel Brooks 8a35866e84 don't break new users by relying on undocumented hacks
The 'gofullscreen' element and 'unmute' cookies are hold-overs from
when this was written specifically for archive.org; I need to get them
to improve their code so that we can remove these rather than just
making them special cases.

Fixes #6
2016-10-10 12:33:38 -07:00
Daniel Brooks f952e2ef3d bug report 2016-09-06 10:41:19 -07:00
Daniel Brooks a8fbd36252 support full screen in SAE 2016-08-10 18:25:13 -07:00
Daniel Brooks cc34a432f2 idea 2016-08-09 22:52:41 -07:00
Daniel Brooks e7f842d72a fix the IndexedDB issue that breaks game loads in some cases (including private browsing mode) 2016-08-09 21:05:09 -07:00
Daniel Brooks 476dd351aa don't forget 2016-08-09 17:09:51 -07:00
Daniel Brooks 6847994a75 tweak a few things with the documentation that I happened to notice 2016-08-09 17:04:33 -07:00
Daniel Brooks ff2019457b document the SAE support
could use more details perhaps, but for now...
2016-08-09 16:54:33 -07:00
Daniel Brooks 9a3ec6fe64 fix up muting and unmuting, and wire it up to mute/unmute SAE correctly 2016-08-07 18:15:59 -07:00
Daniel Brooks f1d99848e5 bug reports from HN 2016-08-07 11:58:15 -07:00
Daniel Brooks 91ff9d09eb upgraded browserfs 2016-08-04 10:19:05 -07:00
Daniel Brooks 14709bedcf spaces in urls? 2016-08-04 01:14:17 -07:00
Daniel Brooks ad53da596c update to the newest BrowserFS 2016-08-04 00:17:05 -07:00
Daniel Brooks 70ad117a20 and a different one that sometimes shows up 2016-08-03 20:31:35 -07:00
Daniel Brooks 81c8a69a7a silence a minor error that sometimes shows up 2016-08-03 20:28:48 -07:00
Daniel Brooks a4361644ab webaudio bug is fixed 2016-08-03 17:58:57 -07:00
Daniel Brooks 03c4d4e3a7 remove webaudio buffer copying for MAME; MAME is now doing this itself 2016-08-03 17:56:36 -07:00
Daniel Brooks d554a01a8b fix a small bug that has crept in 2016-08-03 17:47:41 -07:00
Daniel Brooks 1b052e34b5 some bug tracking in Bugs Everywhere 2016-08-03 17:02:39 -07:00
Daniel Brooks 7acd3d89aa add an example for amiga emulation 2016-08-03 16:48:40 -07:00
Daniel Brooks 6c63e41d24 tweak error handling slightly 2016-08-02 08:08:03 -07:00
Daniel Brooks 1ff5ba7eec make the download progress less likely to wrap across two lines, or to make everything wobble 2016-08-01 16:14:30 -07:00
Daniel Brooks 459da3f49d resize the canvas just before starting SAE
this duplication won't survive the refactoring that I have in mind
2016-08-01 16:13:27 -07:00
Daniel Brooks 4282d996ec we don't need to have sae in debug mode all of the time 2016-08-01 14:26:14 -07:00
Daniel Brooks fe2d12cb8d cosmetic change to the sae configuration 2016-08-01 13:37:59 -07:00