PPCenter :: devblog

PPcenter. Arts and craft for my Sega Saturn. Since 1847 :D

Dezaemon 2 Save Game Manager 3 : test on CD-R

Written by cafealpha 4 comments
As indicated in the title of this article, I tried to verify if Dezaemon 2 Save Game Manager 3 (DZ2SGM3) is working correctly from CD-R on an unmodded Saturn.


Dezaemon 2 Save Game Manager 3 (Beta v6.212)

The reason this video was taken is that somebody contacted me to know if DZ2SGM3 works correctly with an "all-in-one" ©®TM red cartridge. But as I don't own such kind of cartridge, I did my best with the few things I can use here.

Initial goal was to test public version (v6.274, 2018/12/28) with official memory cartridge on Saturn with modchip installed, but ...
  • My modded Saturn was buried too deep in my closet; I was too lazy to exhume it ...
  • The CD-R on which I burned public version of DZ2SGM3 didn't wanted to be read from Saturn; I was too lazy to re-burn it ...

So this ended in testing on an unmodded Saturn with Gamer's Cartridge  I couldn't test it by myself, but I'm confident DZ2SGM3 can be used on official memory cartridge and on "all-in-one" ©®TM red cartridge too. "It works, trust me I'm an engineer !"

I did my best to develop DZ2SGM3, but as of a self-produced project (developed on my free time, didn't begged any money for it and on the contrary, I pay my homepage provider to host it), I don't have the budget nor the time to test on all combinations of backup memory cartridges and modchips/ODE/Pseudo Saturn cartridge/whatever with this application.
So if someone is owning an "all-in-one" ©®TM red cartridge and appreciating shooting-up games, that would be cool to receive some feedback about DZ2SGM3 compatibility in the comments of this article



Additionally, I'm also sometimes asked what kind of cartridge is required to play Dezaemon 2 games.
The answer is both simple but also a bit complex too, so maybe it would be a good idea to write about it in this blog

The simple answer is "DZ2SGM3 is compatible with any cartridge providing in-game backup memory feature".
→ DZ2SGM3 was developed simply as an application using standard backup API detailed by SEGA and should work with any cartridge supported by this standard backup API.

Even if I'm the main developer and manufacturer of Gamer's Cartridge, that's not a reason to restrict my software projects to this specific kind cartridge  I kept support for a wide range of backup devices for the simple reason that it's cool to make more and more people appreciating games on Saturn


The complex answer comes from the two following points :
 - There are many kind of cartridges, and not all provide in-game backup memory
 - As DZ2SGM3 is not an official application, it is required for the Saturn to be able to boot applications from CD-R


Rather than writing boring theory about the internals of each kind of cartridge (is there somebody other than me interested in that ?), let's simply detail the compatibility status and the pro and cons and also the additional requirements needed to get DZ2SGM working for each kind of cartridge


① Official Memory Cartridge
That's the official memory cartridge, sold by Sega during the good old times Saturn was still a commercial product.
Because of that, production of theses cartridges stopped around 20 years ago and consequently cartridges available today may damage easily.
The only advantage is that it's an official product, made with genuine electronic parts ... but it's now a bit too late if you want any official support for repairing a broken cartridge
It's not possible to install Pseudo Saturn Kai on such kind of cartridge, so additional mod (installation of modchip or ODE) is required to use DZ2SGM.

Pro : Official product from Sega.
Cons : Contents may suddenly corrupt : don't use to store important save data.
Additional requirement : modchip or ODE


② Action Replay
The super famous Action Replay : main advantage is from being relatively cheap, widely available, and to provide 1MB/4MB expansion memory.

Disadvantage is that technology used in theses cartridge didn't changed significantly for the last 20 years and that in the meanwhile production of this technology (flash ROM and RAM) stopped. For that reason, quality may not be at the meet even if cartridge is sold as "brand new".

In-game backup memory feature is not available for such kind of cartridge : even if advertised as featuring "4M memory card", this is available only from cartridge :games aren't able to access it.
Additionally, this "4M memory card" is a bit ambiguous because it refers to the best effort when save data buffer (internally stored in cartridge 4M expansion memory) can be compressed into lower half of cartridge flash ROM = 128 KB ... if data can't be compressed then an error message will be displayed.
It would had been more honest to advertise that as "Guaranteed 128KB, maximum 4MB memory card not accessible from game", but this is a bit less sexy in term of advertising

Because of the lack of in-game memory feature, it is required to use a separate backup device (such as Saturn floppy disk drive) to use DZ2SGM.

Pro : Widely available, relatively cheap, and provides 1MB/4MB expansion memory.
Cons : In-game backup memory feature not supported.
Additional requirement : Saturn floppy disk drive.


③ Gameshark, and other clones
That's Action Replay without 1MB/4MB expansion memory and usually worse overall quality : if you have one still working, it is worth trying to use it but if that's not the case then considering for (at least) an Action Replay is usually wise decision.

Similarly to Action Replay, because of the lack of in-game memory feature it is required to use a separate backup device (such as Saturn floppy disk drive) to use DZ2SGM.

Pro : Worth using if you found a spare cartridge still in working condition.
Cons : No 1MB/4MB expansion memory. Poor hardware quality.
Additional requirement : Saturn floppy disk drive.


④ Memory Card Plus
That's more or less a Gameshark with a specific firmware installed. Main advantage of this firmware is that it allows games to directly access cartridge backup memory.

Similarly to Gameshark, hardware quality is questionable, which makes backup memory to be easily corrupted. Additionally, backup memory capacity is around 200 KB so that it usually can't handle more than three Dezaemon 2 user games.
Installation of Pseudo Saturn Kai will remove backup memory feature, so additional mod (installation of modchip or ODE) is required to use DZ2SGM.

The little side story about this cartridge is that its unique way of handling backup memory gave me the idea and motivation to develop Gamer's Cartridge
Back in end of 2012, I thought only mapped memory chip could be accessed as in-game backup memory.
But seeing that this cartridge was featuring only boot ROM (I tried to dump backup memory ROM, but didn't found anything there and instead there was a small firmware and save data stored in boot ROM area) made me realizing that anything could actually be shown as backup memory device to a game, which was the start point of Gamer's Cartridge project.

Pro : This gave me the idea to develop Gamer's Cartridge !
Cons : Access is not so reliable : whole contents can be wiped after writing one save there. Installing Pseudo Saturn Kai removes the memory cartridge feature.
Additional requirement : modchip or ODE.


⑤ "all-in-one" ©®TM red cartridge
That's the equivalent of Action Replay and official memory cartridge blended in a single PCB. Main advantage is to feature theses two cartridges in a single one, which is convenient for playing a wide range of games.

Major disadvantage is that similarly to Action Replay and official memory cartridge, technology used didn't changed significantly for the last 20 years and that in the meanwhile production of this technology (flash ROM and RAM) stopped. For that reason, quality may not be at the meet even if cartridge is sold as "brand new".

Additionally, similarly to official memory cartridge there is only limited save data integrity check available (file system is rudimentary, and only the first bytes of the ROM are check to verify if a backup memory cartridge is available or not), which is a design flaw from SEGA : it works fine in ideal conditions of cartridge correctly inserted and ROM not corrupted, but will ask to format the cartridge in all other cases.
That's acceptable if you just want to copy save data (there are plenty available in Pseudo Saturn Kai Save Data Manager, so have fun with them !) and play a little to a game, but not recommended if you want to play a RPG and won't stand to suddenly lose all your progression in the game.

Pro : Both official Memory and Action Replay in a same cartridge.
Cons : Contents may suddenly corrupt : don't use to store important save data.
Additional requirement : none.


⑥ Gamer's Cartridge
Well, that's my own cartridge project, so my opinion may be a bit biased, but it's recommended if you don't want your saves to be corrupted : as SD card file system is used, it is significantly stronger than the file system used on official memory cartridge.
It is also handy if you want to backup or share your save data because exporting saves to PC can be done by simply copying files from SD card.

Additionally, it features virtual floppy disk device support, which doubles the number of Dezaemon 2 user games simultaneously available : it is limited to 5 games with other backup memory cartridges (and count may be lower because of ROM size limitation) while a total of 10 games (5 on cartridge device, and 5 other ones on virtual floppy disk) can be handled by Gamer's Cartridge.

Moreover, DZ2SGM can be accessed directly from SD card so that there's no need to swap between DZ2SGM CD-R and Dezaemon 2 CD-ROM.
Major lack of this cartridge is the non-availability of expansion RAM. Also, as SD card access is not super fast, save data access is a bit slower than on other cartridges.

Pro : No risk of losing saves because of data corruption. Data can be easily backed up to PC or shared with other gamers.
Cons : Limited availability. 1MB/4MB expansion memory not available.
Additional requirement : none, and DZ2SGM can be run from SD card.



DISCLAIMER : play Dezaemon 2 (and other Saturn games) at your own risks ! I'm not responsible of any eventual damages caused to your save data, you Saturn, your cartridge, your dog or anything else !



SMALL REQUEST : I don't have the budget nor the free time to test DZ2SGM3 on all combinations and variations of cartridge and ODEs.
So it would be very appreciated to receive feedback about if it works on your own Saturn setup

Feedback can be left by simply adding a comment at the bottom of this article : it is free, doesn't requires any kind of registration, and takes something like 5 minutes to be written ♪ In advance, thank you for the feedbacks

Read more Dezaemon 2 Save Game Manager 3 : test on CD-R

Pseudo Saturn Kai v6.314 : Easter Egg !

Written by cafealpha no comments
That's a bit late for Easter, but did someone noticed the one hidden in Pseudo Saturn Kai v6.314 ?

Easter Egg in Pseudo Saturn Kai v6.314

This can be triggered by a key combo from Pseudo Saturn Kai main menu and ODE image selection menu. It's available in both lite and full versions of the firmware and can also be triggered from RmenuKai too.
Keys sequence was changed after taking the video above, so don't try to guess it from there ! Unsurprisingly, keys sequence is more complex in Pseudo Saturn Kai v6.314


Why such kind of technical demo in Pseudo Saturn Kai ? Simply because it was fun to implement
Additionally, this is also a small wink to the good old times I was daily using a TI-89 calculator : this Easter egg was ported from Voxel2Space demo by Kai Kostack.

I still keep using my TI-89, but way less more than when I was a student. It's actually quite handy to do quick math or binary to (hexa)decimal conversions at work : the more Windows evolves, the more horrible its builtin calculator becomes (seriously, my eyes are about to bleed each time I see the Windows 10 calculator ), so it's good to have a physical calculator at reach of hands




Let's play a game with this Easter egg : the first one to find the correct keys combo will be rewarded by a Gamer's Cartridge from my own collection !

During the last years, I was gathering Gamer's Cartridges with custom 3D printed shells and PCBs from various production batches and different times of the development of the cartridge.
Rather than just putting on sale, theses are kept for good occasions, and finding this keys combo is one of such kind of good occasions
Custom cartridge shell .
Thanks to zone66x for designing
and printing them


Rules :
 - Post the correct keys combo in the comments of this article.
 - This is limited to one Gamer's Cartridge, for one lucky Pseudo Saturn Kai user.
 - Don't forget to indicate an email address where you can be contacted !
   This is necessary for offering the reward.
 - Choice of the Gamer's Cartridge shell color etc is at my own discretion.
 - Application will end in December 31st, 2019 : if nobody find the key combo until that time, I shall re-use this Gamer's Cartridge for similar kind of games with my Saturn projects.

Read more Pseudo Saturn Kai v6.314 : Easter Egg !

Compiling Pseudo Saturn Kai

Written by cafealpha 2 comments
I was recently asked about the instructions to compile Pseudo Saturn Kai from sources archive provided with Pseudo Saturn Kai binaries, so let's write a short blog article to make things clear to everyone.

The simple answer is : Pseudo Saturn Kai can't be compiled with theses sources.


End of simple answer. Those who want more details can refer to the few lines below.
Technically, some sources files are missing from source archive, preventing someone from opening sources archive, making some few changes, and installing it on a cartridge.

Why ? For the simple reason nobody won't help me if ...
  1. Some dude takes sources, change logo and credits page and then release this as "Pseudo Saturn Kai Gold Edition made by some dude".
  2. Some dude adds a major new feature to Pseudo Saturn Kai, and start doing business by making this firmware (and the cartridges compatible with it) available for paying.
    This dude will eventually forget to release any source, but who care about that except me and few other nerds ...

Maybe I would be told this I'm overthinking, but case 1 and 2 above already exist. Theses are detailed in another blog entry, and deserve a look if your time allows it.

Concretely speaking, there is one model using Pseudo Saturn sources (whose sources are fully available, and with build instructions too), hacked to don't show any startup menu (why not would you say, it's more convenient for the consumer), and consequently not showing any credits nor any mention it was made from Pseudo Saturn ... why not would you say, but that's a massive NO for me, and the Pseudo Saturn team will certainly not appreciate that too.

Some other projects are using fancy case and label instead of Action Replay ones (I'm OK with that, especially because Action Replay design guidelines are completely outdated), but don't mention anything about Pseudo Saturn Kai on their covers and labels until booting the cartridge and discovering ... a vanilla version of Pseudo Saturn Kai without any mention of the fancy product name advertised on the cartridge box and label
I'm sorry for the consumers who were expecting firmware design to be unified with cartridge box and label : this wasn't done because some few files are missing in Pseudo Saturn Kai sources !


This case of "some people are making money from rebranded homebrew projects" is also detailed on Segaxtreme forums, which deserves a look if your time allows it.
The thread there is not by me, nor about Pseudo Saturn Kai, so I hope how real the fact is that there are people making money from other people's hard work ... that's maybe normal in any work place (), but that's a dick move in such a small Saturn homebrew community.


To sum up the bulky paragraph above, the way of sharing Pseudo Saturn Kai source code is not how it works in free software world.
In an ideal world, everybody share source code, and everybody other make contributions, and the project is getting brighter by brighter.
So if the story stops here, I'm the bad one, but in real world, people deface the credits page, rebrand the projects under fancy names and start making cash and show business from projects they didn't contributed on ... Maybe it's selfish from me, but I don't want that and consequently removed few files from Pseudo Saturn Kai source code.


And if I may add an additional paragraph about Pseudo Saturn Kai, I would like to say it is quite open in the magic world of application to play games on Saturn real hardware : modchips are completely closed-sources, ODE too.
In Pseudo Saturn Kai, the sources of the exploit to play CD-Rs, as well as the ones to redirect memory devices to SD card are available.
The source code of the implementation of cheat codes engine is available too. I coded it from scratch because sources of Action Replay firmware are not open source ...


To add a bit of melodramatic taste to this blog article, I would like to say I spent the last four years developing Pseudo Saturn Kai.

I didn't asked for any payment about it. The next day after I received a $5 donation for it, I changed my donation page from "send money here if you want" to "send me kind message or a comment on my blog".

I didn't begged for any kind of crowdfunding too, and just wanted to continue the project where CyberWarriorX left it.

While four years seems a long period for just two or three features, you probably may want to look at Pseudo Saturn Kai credits page, and all the people who contributed to it.
Theses two or three feature are not the kind of thing someone develop, test, re-test, fix, and keep testing more and more during a weekend. From my own experience, normal people don't continue development so far and just give up development after a couple of weeks.
And, I won't appreciate this credits page to be defaced. Not for my nick to be removed (I'm listed there only one time), but for the respect to all the contributors being lost.

And while I developed custom cartridge using Pseudo Saturn Kai, I kept support for Action Replay cartridge and their clones. That may sound obvious, but technically speaking it isn't, mostly because Action Replay have limited ROM size.
At some point of Pseudo Saturn Kai development, I hesitated to put cheat codes feature in a ROM portion larger than current one, but unavailable from Action Replay cartridges.
This would had made more cheat codes available, but the feature itself usable on Gamer's Cartridge only. I choose to keep a reasonable size for cheat codes list, so that it would be available for everyone on Action Replay cartridges


Words count for this initially expected "short" article is about to reach four digits soon (it's 827 words now), and as I doubt a lot of people will read it entirely, it's probably time to conclude :
  • No full sources for Pseudo Saturn Kai
  • If you want to make you own Saturn cartridge firmware, then feel free to use Pseudo Saturn sources as a starting point.
  • Feel free to technically refer to Pseudo Saturn Kai source code, and to merge whatever you find interesting there to your project.
Still begging for Pseudo Saturn Kai full source code ? No problem, I shall make it available to everyone ... if there's not a physical disaster on my dev laptop or its SSD in the meanwhile.
At that time, this will definitely be the end of Pseudo Saturn Kai development. For you, and for me too.

Read more Compiling Pseudo Saturn Kai

Happy Birthday Pseudo Saturn !

Written by cafealpha 2 comments
Just a small article to wish an happy birthday to Pseudo Saturn

I'm not sure about the exact birth date of Pseudo Saturn, but it seems to be around July 7th, 2014 as it was announced on Assembler Games forums at that date. The first commit of source code was on the next day, and as contributors of this projects are spread around several time zones, it's difficult to give an exact birth date.

(snip)
(Dated July 7th, 2014)



(Dated July 8th, 2014)

It is July 6th here, so I'm one day early to wish happy birthday to Pseudo Saturn, but as I will busy at home tomorrow (with non-Saturn things), and busy at work the day after tomorrow (with non-Saturn things too), it's better to wish this now than three months late

Now that I realize this project is already 5 years old, I feel a bit old But as at the moment of Pseudo Saturn initial release I was waiting for my turn of heavy surgery, it's cool to be alive 5 years after theses dark days for me

After adding virtual memory cartridge, then cheat codes and also doing some extra side quests (Dezaemon 2 Save Data Manager 3, cartridge-less cheat codes support for Rhea/Phoebe ODEs, etc) to Pseudo Saturn, I think I should take a little break regarding development of this project.

It's not an "I'm tired to continue that" farewell nor an "Everything is perfect in this project, so it should stay eternally as-is"; in fact Pseudo Saturn Kai was a reason to live (even if chemo is painful, or scars from surgery are hurting, or dudes at day work are boring), so I don't have plans to dump this project in a near future But on the other hand, I would like some extra time for other projects : I shall return back to Pseudo Saturn Kai development if theses other projects fail, or when I will miss the good old smell of Pseudo Saturn Kai source code


I was a bit in lack inspiration when choosing a closing picture, so please enjoy one about Vegeta from my collection.
I choose another picture of Vegeta in recovery machine as profile picture when registering on AG forums 5 years ago, to wish me a good recovery during relatively long (expected 3-5 weeks, but it latest 7 for me) hospitalization ... I'm still here so maybe it wasn't a bad choice 

Read more Happy Birthday Pseudo Saturn !

Pseudo Saturn Kai Installation Video

Written by cafealpha 3 comments
I sometimes have several nice stories about hardware/firmware/software development experiences I would like to develop on this blog, but when comes the time to write it's usually annihilated by ...
  • The lack of free time : my "free time" for Saturn is usually one hour or two in the early morning, or a similar duration during night
  • The lack of financial support : while Pseudo Saturn Kai kept me busy for around 5 years (I started by developing firmware flasher in August 2014, to then start developing my own Kai firmware from the following year), I only received 5 US dollars for it.
    Maybe it would had been smarter to do more aggressive show business about my Saturn projects to get more money from crowds, but while I consider development as a funny activity, show business isn't : bragging about some project super cool but shall be finished someday is not for me.
    I prefer to directly try finishing theses unfinished projects instead
  • The lack of motivation : after writing an article here, that usually ends in ...
     - People commenting, but about a Pseudo Saturn Kai setup trouble  on their clone cartridge usually not related to the blog article it was commented from.
     - People commenting, but about requiring about unrelated XYZ feature in Pseudo Saturn Kai, or any kind of technical collaboration that I should definitely volunteer on.
     - Nobody commenting : I personally consider this is as the best option because at least it doesn't requires me to spend time writing any reply.

    Okay, here is just a flaky blog about B-rank homebrew projects made by one random dude on a vintage video games console, so who care ?
    But whatever it may be, I continue unidirectional writing here in order to get fun stories to tell to grandchildren in the future

Back to the main topic : no motivation and no time for this blog. As a countermeasure let's write a short article

As indicated on the title, this is about installation videos of Pseudo Saturn Kai !
For the "no time and motivation for show business" reasons detailed above, I personally don't had time to do any kind of video, but Retro Sim was kind enough to prepare one

Pseudo Saturn Kai v6.314 installation video

I hope this video showed how easy to upgrade from an older version of Pseudo Saturn Kai to latest one : that's just the matter of burning a CD-R, to boot it in the same way as your favorite game, and to follow instruction displayed on screen !

The only difficult part during installation of Pseudo Saturn Kai (for example from Action Replay stock firmware) is that it requires usage of CD swap method to make setup CD-R booting correctly.
This is however not necessary when installing over an older version of Pseudo Saturn Kai, so there are no excuses to use outdated version of Pseudo Saturn Kai

This latest v6.314 flavor of Pseudo Saturn Kai was made with my heart, blood and tears as the previous ones, so I hope it will contribute to make Saturn more and more appreciated
There aren't major feature addition from previous (6.274) version, but cheat codes support was a bit improved and all control pads including third party ones should be now correctly supported. And as usual, it's free (like in free beer) to use

Read more Pseudo Saturn Kai Installation Video

Rss feed of the category