Coder Social home page Coder Social logo

Comments (9)

slinga-homebrew avatar slinga-homebrew commented on June 18, 2024

The problem is jo_backup_save() only returns a true/false. So i can detect the write fail, but I have no idea why. I can change it to no longer pop a blue error message and just say something like: "Failed to copy save". What do you think?

from save-game-copier.

RevQuixo avatar RevQuixo commented on June 18, 2024

Given the limitation that could work.

from save-game-copier.

amerika13 avatar amerika13 commented on June 18, 2024

I'd put something like, "Failed to copy the save to {target}, possibly due to a lack of space".

And, as part of this request, can you read how much internal and cart memory is allocated and how much is left available similar to how the BIOS screen displays it? Or, I guess since those values don't change, simply display the known quantity of memory for both internal and ram cart and then do a quick add for how much is being used at the time. This would let people who see the above message easily identify what the issue is on their own without much work on your part or a change to Jo I believe.

from save-game-copier.

slinga-homebrew avatar slinga-homebrew commented on June 18, 2024

I tweaked the error message in trunk. I need to look how to read the values of internal\cart memory. I know Jo Engine does it, I'm not sure there's a function to access it.

from save-game-copier.

amerika13 avatar amerika13 commented on June 18, 2024

I don't think you need that. The internal value and the cart value is always the same. Just do an add for the save files you currently have and then subtract from the total of the internal or the total of the ram cart.

Ex:
1800 blocks internal total
1500 blocks taken up by saves
300 blocks remaining

Those are random numbers but I think you get the idea. No need to actually access the values from the console unless it ends up being easier to do.

from save-game-copier.

slinga-homebrew avatar slinga-homebrew commented on June 18, 2024

I agree internal value should always be the same, but what about cart? There are different size carts available as well.

And blocks can be fragmented. A 1 byte save and a 25g byte save both take 1 block (assuming blocks are 256 bytes each, dunno). I am able to pull back the block size of each save. I hid it because I ran out of room.

from save-game-copier.

amerika13 avatar amerika13 commented on June 18, 2024

Hrm, I didn't know there could be different external cart values. My OEM and my all-in-one have the same size memory. I guess if you can't read in the actual values, you could do internal only, as it's the more important anyway, and do a best guess when it comes to block size count despite fragmentation. Mostly just need it to be in the ballpark. And, at the end of the day, it's just an QoL change that isn't super important.

from save-game-copier.

RevQuixo avatar RevQuixo commented on June 18, 2024

I also was unaware that there were different size external memory cards..are there ones bigger than the official?

from save-game-copier.

slinga-homebrew avatar slinga-homebrew commented on June 18, 2024

I'm basing my info on: https://segaretro.org/Saturn_third-party_memory_cartridges. Looks like there are multiple cart sizes.

from save-game-copier.

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.