Great work, I love it!
Just a suggestion: wouldn't it be possible not to overwrite the original file, but to create a new one, just like the Ultimate does? Or make it selectable to overwrite or create a new one.
So could decide to keep my original file and rename the newly created file, in case I want to have a history wit all my previous achievements.

Hallo Besucher, der Thread wurde 468k mal aufgerufen und enthält 2210 Antworten
letzter Beitrag von MrKiesha am
Kung Fu Flash Cartridge
- kim_jorgensen
- Unerledigt
-
-
Great work, I love it!
Just a suggestion: wouldn't it be possible not to overwrite the original file, but to create a new one, just like the Ultimate does? Or make it selectable to overwrite or create a new one.Thanks. Yes, it would be possible, only work is needed
-
A new release has been created where it is possible to save the updated CRT back to the SD card, overriding the original file.
You will get prompted when pressing the menu button and the CRT has been updated.
AWESOME!!
For my liking, just a prompt "OVERWRITE Y/N" would be enough - and if you implement the option to rename and save to a different file please keep it simple. E.g. like "(O)VERWIRTE / (K)EEP / (R)ENAME" or better "OVERWRITE (Y/N) or (R)ENAME".
In terms of simplicity i'd even go further: is a general config setting possible so that the KungFu Cartridge always overwrites the original CRT-File when pressing menu?
I am a gamer and often play many games in a gaming session with friends and i love the fact that scores / states are automatically saved without any hassle. So that on the next gaming session you can recall them. An option disturbes the flow and might get overlooked / denied quite easily so scores / savestates might get lost.
marty : if you need the original state of a cartridge you can always re-download or copy from your existing source of files. And if you want to keep a game with a certain score or savestate you can always rename it first and add a copy to play instead. No offense, i am just afraid things could become more complicated (this is why i don't use EF Saving on the U64 - because it is too complicated in my eyes) - maybe kim_jorgensen can combine the best of both worlds..
-
I just had a quick go with Stephan Scheuer 's version of Enforcer Easyflash - Saving works fine
If not too hard to implement, what about instant saving to the image..? Like always writing back to the .crt when something has changed.
If you achieve a great score or whatever and forget to press menu it is lost.
Don't get me wrong, it is GREAT as it is, but to me it would be even better with instant saving.
Thanks a lot!!
-
If not too hard to implement, what about instant saving to the image..? Like always writing back to the .crt when something has changed.
I know what you mean and my first impulse was in the same direction. "Instant saving" would even feel more "natural", more like the original EF. But saving the CRT just isn't instantaneous, it will always take at least a few seconds. If the C64 is powered off or just reset at the wrong moment, the CRT might be corrupted. So, I actually think that kim_jorgensen has found and implemented a viable compromise as it is. That aside, I also suspect that saving the CRT requires "full attention" of the KFF. I could imagine that this would be hard, if not impossible to do in the background.
If you achieve a great score or whatever and forget to press menu it is lost.
If I'm not mistaken, the score won't be lost immediately. The state is still persisted by the KFF. You can power off your computer, switch it back on later, and still save the CRT. The state would be lost when you activated a different CRT -- but to do so you need to enter the menu at which point you'll be asked whether you would like to save or not. You just shouldn't switch SD cards before saving, that could indeed lead to loss of data.
-
It would be great if the updated state was reset resistant in flash but sounds logic as you describe - i'll have to test that.
So the Kungfu Cart would actually be instantly saving at the moment, just on a cart change one would have write back to the micro sd card. That's good
-
Bekommt man das vielleicht noch hin damit das Teil auch auf einer 64Ultimate läuft?
-
Bekommt man das vielleicht noch hin damit das Teil auch auf einer 64Ultimate läuft?
Müsste man meiner Meinung nach Gideon fragen...
-
Ohh, das ist dumm. Gideon war Samstag bei uns und haette ich das gewusst/dran gedacht, haette ich ihm ein KFF mit gegeben.
-
If not too hard to implement, what about instant saving to the image..? Like always writing back to the .crt when something has changed.
I know what you mean and my first impulse was in the same direction. "Instant saving" would even feel more "natural", more like the original EF. But saving the CRT just isn't instantaneous, it will always take at least a few seconds. If the C64 is powered off or just reset at the wrong moment, the CRT might be corrupted. So, I actually think that kim_jorgensen has found and implemented a viable compromise as it is. That aside, I also suspect that saving the CRT requires "full attention" of the KFF. I could imagine that this would be hard, if not impossible to do in the background.
Yes, it was the best compromise I could come up with. EAPI being developed as a way of programming a flash chip does unfortunately not define a function where it would be natural to save a CRT to disk. It would be horribly slow if you would save the CRT for every byte written and would cause a lot of writes to the SD card. And yes, KFF cannot write to the SD card while emulating a cartridge so it is not possible to do in the background.
If you achieve a great score or whatever and forget to press menu it is lost.
If I'm not mistaken, the score won't be lost immediately. The state is still persisted by the KFF. You can power off your computer, switch it back on later, and still save the CRT. The state would be lost when you activated a different CRT -- but to do so you need to enter the menu at which point you'll be asked whether you would like to save or not. You just shouldn't switch SD cards before saving, that could indeed lead to loss of data.
This is also correct. The KFF EAPI implementation does write data to flash so nothing is lost if you power off (like the original EF). There is an exception for EF bank 0-3 which content is saved in the DAT file, however it is unlikely that these banks will be chosen to persist game state.
-
An option has been added for saving a changed CRT as a new file.
The new filename will be <existing filename> (1).crt or (2) if (1) exists and so on.
It is now also possible to delete a file. Just select a file and open the options menu (shift+return or long press fire).
I know this 'save as a new file' feature would be more useful if you could rename the file, but this requires some more work
-
I have made one of these boards and flashed the firmware but when i plug it in my c64 i get a message saying insert a fat formatted card. My cart doesnt seem to reconize my sd card. I am using a sandisk 16gb card, but i have also tried a 32gb, 2gb and a 4gb card but still the same message appears.
-
My cart doesnt seem to reconize my sd card.
I assume that the SD cards are FAT formatted and works fine when connected to a PC.
It could be a bad connection between the SD card connector and the microcontroller so I would inspect the solder joints on these components with a microscope. If these are fine it could be that the SD card connector is broken.
If you did build other boards you could also check if they have the same problem.
-
Thanks. I've sorted it out now It seems that the sd connector was broken. Replaced that and all is working fine now. Thanks again for the quick response.
-
Bekommt man das vielleicht noch hin damit das Teil auch auf einer 64Ultimate läuft?
Für was verwendest du das KFF beim u64? Kann es das nicht mit boardmitteln selbst?
-
Ist doch egal wofuer das im U64 verwendet wird. Das U64 soll moeglichst kompatibel sein, von daher sollten auch alle Module darin funktionieren!
-
stimmt.Das mit der Kompatibilität sollte funktionieren.
-
Thought i would post a pic of my 3d printed case of the Kungfu Flash cart. Its been printed on a Prusa Mk3s with a textured bed.
-
Chuckcaley The print turned out nicely! Which brand of filament did you use for that?
-
I used esun pla+ filament.