Code Monkey home page Code Monkey logo

Comments (7)

akamboj avatar akamboj commented on May 28, 2024 1

Sorry was on the wrong account before, but this is the same person.
I only have a cursory familiarity with the web dev tools, but I'll do my best.
In the network tab I see a GET request when the save is loaded, but not when I save. But when I save a state in the emulator I see a message to the "states" endpoint.
I do see the .srm save file in IndexedDB /data/saves. This may be a red herring but I have to click "Restart" in the GBA emulator menu for it to appear there.

from romm.

azerioxal avatar azerioxal commented on May 28, 2024 1

It seems to only save to RomM for me when pressing the menu button. Using the Quick Save keybind only saves to the browser from what I've been able to tell.

EDIT:
From what I can see with a quick peek at the code, this looks like this is an issue on the EmulatorJS side. It seems that Quick Saves/Loads don't fire the relevant events.

from romm.

gantoine avatar gantoine commented on May 28, 2024

Currently, when a game is saved, it seems that save is stored in browser. It would be nice if the save could work similarly to save states in the way they seem to automatically upload and become available to select when loading a rom.

This is how it's supposed to behave, there's likely something wrong with your setup. How comfortable are you with the developer console?

In a somewhat related request, it would also be nice to have the option to select a save file that a rom would load automatically each time I start a given rom.

Playing on browser is not this project's main goal, and is mostly an afterthought, a way to let players casually play sometimes.

from romm.

akambojTC avatar akambojTC commented on May 28, 2024

@gantoine I have the same issue of the save not saving on the server most of the time. It seems like it works correctly 1/20 times. I'm happy to try any suggestions that may help debug it.

from romm.

gantoine avatar gantoine commented on May 28, 2024

Well that's strange, I'd expect it either doesn't work at all, or works all of the times (unless the internet interrupts). Is it still saving a copy to the IndexedDB/browser cache? And can you try seeing what (if any) requests go out on save in the network tab of the dev tools?

from romm.

akambojTC avatar akambojTC commented on May 28, 2024

How do I access the dev tools? Do I need to go through the dev setup?

from romm.

gantoine avatar gantoine commented on May 28, 2024

I meant the browser dev tools, Web Developer Tools/Developer Tools. Are you familiar with the dev tools and browser console?

from romm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.