Comments (9)
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.
Given the limitation that could work.
from save-game-copier.
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.
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.
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.
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.
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.
I also was unaware that there were different size external memory cards..are there ones bigger than the official?
from save-game-copier.
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)
- Create Backup-Memory Interface
- Add Support for Action Replay Saves HOT 2
- When Soft Reset to Menu option on Terraonion MODE is set to "CDPlayer->MODE" Save Game Copier does not load HOT 6
- Standardize on a Single Directory for all Backup Devices HOT 2
- Satiator Doesn't Exit to Multiplayer with AR Cart
- Seed SGC with More .BUP Saves HOT 1
- I got error message of "Failed to copy the save ,Possibly due to a lack of space." HOT 8
- Implement save compression/decompression? HOT 3
- Move Backup Devices To Backends Folder HOT 1
- Better Documentation For Backup.c Functions
- Add isBackupDeviceWriteable() HOT 1
- Add a backup/write option for cart firmware. HOT 1
- Save List Position in List Saves HOT 1
- Double Check NULL Termination of Comments
- saturnReadSaveFile() is recieving a Filename ending in .BUP
- action replay saves missing file extension when saving to satiator HOT 3
- Rhea\Phoebe Support
- Fenrir 21pin support HOT 3
- game.iso/cue goes in which folder? HOT 4
- bup_parse.py unable to read comment field from Shining The Holy Ark save file imported by Save Game Copier v3.6.15 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from save-game-copier.