{"action":"created","issue":{"url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/4","labels_url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/4/comments","events_url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/4/events","html_url":"https://github.com/dreamlayers/em-dosbox/issues/4","id":55361675,"number":4,"title":"Ability to save files?","user":{"login":"timdream","id":93093,"avatar_url":"https://avatars.githubusercontent.com/u/93093?v=3","gravatar_id":"","url":"https://api.github.com/users/timdream","html_url":"https://github.com/timdream","followers_url":"https://api.github.com/users/timdream/followers","following_url":"https://api.github.com/users/timdream/following{/other_user}","gists_url":"https://api.github.com/users/timdream/gists{/gist_id}","starred_url":"https://api.github.com/users/timdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdream/subscriptions","organizations_url":"https://api.github.com/users/timdream/orgs","repos_url":"https://api.github.com/users/timdream/repos","events_url":"https://api.github.com/users/timdream/events{/privacy}","received_events_url":"https://api.github.com/users/timdream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-24T06:57:16Z","updated_at":"2015-05-23T15:58:20Z","closed_at":null,"body":"I tried to figure out a way to make the saved games persistent. After extensive documentation searching, I realized the root filesystem is always MEMFS mounted from the data. Would it be possible to merge/remount(?) the root with IDBFS? If is possible with emscripten it should be configured in this repo right?\r\n\r\nThe alternatives I could think of is to create custom `shell.html` for this project and point `emcc` to it, and try to talk to `FS` API from JavaScript. A nicer em-dosbox UI can be created as a bonus with this approach. I would love to contribute to that as well :)"},"comment":{"url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/comments/104917230","html_url":"https://github.com/dreamlayers/em-dosbox/issues/4#issuecomment-104917230","issue_url":"https://api.github.com/repos/dreamlayers/em-dosbox/issues/4","id":104917230,"user":{"login":"timdream","id":93093,"avatar_url":"https://avatars.githubusercontent.com/u/93093?v=3","gravatar_id":"","url":"https://api.github.com/users/timdream","html_url":"https://github.com/timdream","followers_url":"https://api.github.com/users/timdream/followers","following_url":"https://api.github.com/users/timdream/following{/other_user}","gists_url":"https://api.github.com/users/timdream/gists{/gist_id}","starred_url":"https://api.github.com/users/timdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdream/subscriptions","organizations_url":"https://api.github.com/users/timdream/orgs","repos_url":"https://api.github.com/users/timdream/repos","events_url":"https://api.github.com/users/timdream/events{/privacy}","received_events_url":"https://api.github.com/users/timdream/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T15:58:20Z","updated_at":"2015-05-23T15:58:20Z","body":"I would also need to point out what I am working on is almost only referring to playing a game on a page generated by `packager.py` here. To be comparable with a BrowserFS filesystem setup like what [db48x/emdosbox-loader](https://github.com/db48x/emdosbox-loader) did,\r\n\r\n* The BFS exposed to Emscripten should be something similar to IDBFS (leveraging MEMFS and it's call to syncfs, as implemented) so that we could use a async backend there.\r\n* The new async backend should be a UnionFS backed by a Zip and IndexedDB\r\n\r\nI can move on and contribute to BrowserFS once patches to Emscripten are done."}}