PPCenter :: devblog

PPcenter. Arts and craft for my Sega Saturn. Since 1847 !

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

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

Pseudo Saturn Kai v6.314 - The newer the better

Written by cafealpha no comments
As indicated in the title : I'm glad to announce the release of Pseudo Saturn Kai v6.374 ! It is available for download at the usual address on my homepage.

This time, there aren't any "big" feature added, but rather a streak of small fixes as well as few minor improvements too. So don't wait to upgrade your cartridge and enjoy even more your favorite games with Pseudo Saturn

What's new :
  • Show error message when SD card is not inserted into Rhea/Phoebe ODE.
  • Added RmenuKai : enjoy cheat codes on Rhea/Phoebe even without cartridge !
  • Improved compatibility of JHL loader-only games with Rhea/Phoebe ODEs.
    (Panzer Dragoon Saga can now be correctly loaded from Rhea ODE)
  • Improvements in automatic selection of game in cheats codes feature.
  • Improvements regarding Virtual Memory Cartridge automatic settings.
  • Fixed support for some third party wireless pads.
RmenuKai for Rhea/Phoebe : test with cheat codes for NiGHTS
If you prefer hedgehogs, there is also a similar video with Sonic 3D.


And there's also a small Easter egg hidden in some menus ... will you be able to trigger it ?

What didn't changed :
  • Plays games backed up on CD-R, without the need of any hardware mod.
  • Comes with a bunch of pre-installed cheat codes.
  • Provides image selection menu for Rhea and Phoebe ODE.
  • Available for free and for everyone : it doesn't costs any license to install, and I didn't begged any money to develop Pseudo Saturn Kai too.

This version was thoroughly tested by same beta testers who followed development from last public release, but on the other hand it was tested by ... nobody else during beta testing phase ... this is probably a fault from me (it was announced for one week on segaxtreme forums, and ... for one day on this blog), but today is the third anniversary of initial release of Pseudo Saturn Kai as well as Gamer's Cartridge so I didn't wanted to miss this occasion 

So don't worry and happy playing ! I spent last 5 months in developing this version, and my favorite beta tester spent the same period in testing around twenty beta builds so it will run fine on your Saturn ! Trust me, I'm an engineer
 

Not my favorite PCB,
but at least it works.


It's time to pick up the kids at their Monday evening activities but I still have many tidbit stories to relate about ! So please stay tuned in future article(s)


Edit (2019/06/10) : it should be a good idea to add links for discussions on external sites :

Read more Pseudo Saturn Kai v6.314 - The newer the better

Pseudo Saturn Kai PRO edition - RC1

Written by cafealpha no comments
Once upon a night, I wanted to verify Pseudo Saturn Kai products lineup and realized PRO edition was recently added !

The PRO edition itself was based on same technology as lite one, but requiring a small subscription (in one-digit dollar range) in order to allow installation. In other words, the same contents as lite (free of charge) edition, but financially supporting firmware development and maintenance costs.

Pseudo Saturn Kai PRO edition was so popular that it was attracting enough money to cover my daily personal expenses and at some point it was even enough for apartment rent as well as family's cost of fuel and light ! On the other hand, Pseudo Saturn Kai PRO edition support team was greedier and greedier about new features, visual improvements of the firmware's UI, and the longer it went the more oppressed I was to maintain Pseudo Saturn Kai code base.

And then, the poor man's alarm clock (= in simpler words, light of the morning sun) woke me covered in sweat and experiencing high heart pulsations.
I had to verify this was a nightmare ! ... But before that it was time to start the day with laundry, because procrastinating the laundry duty delays all the subsequent tasks after that until the end of the day

So during my earliest spare moment during that day (somewhere between 6:30PM and 7PM), I could verify that everything was normal regarding Pseudo Saturn Kai project : the lite version free for everybody, and the full version also free but usable only in my hardware projects.
So no deadline, no pressure, and no impatient users ! I was relieved because I have enough of that at regular work !!

~ Development of Pseudo Saturn Kai PRO edition ~
By Mr Quino, from Mafalda  #1212


"Wow, look at what I saw in the newspaper :
a millionaire died from overwork !"
"Yeah, there are such kind of stupid people who
get accustomed to millions and then can't stop."


"And they want more ! Again !"
"Again ! Again millions !"


"Again ! AGAIN ! AGAIN !"





On a more serious note, I'm glad to announce that release candidate version for next release of Pseudo Saturn Kai is ready !
This RC version was thoroughly tested by same beta testers who followed development from last public release, so the risk of bricking cartridge or facing bugs bigger than an elephant are quite low.
I'm however not confident about usage in unusual configuration, so that I would like it to be tested by a few more people for my peace of mind before putting it on the wild.

So if you are volunteer for testing (and reporting me testing results) please contact me by PM on segaxtreme forums, or by email from my contact page.

On the other hand, if you just want to use latest version and don't plan to give testing feedback, then please *don't* contact me and wait patiently for one week or two until RC version becomes publicly available.

What's new in upcoming next release : basically there aren't new major feature available (like cheat codes in previous v6.274 release), but enough changes and/or improvements to make everybody wanting to upgrade.
  • Show error message when SD card is not inserted into Rhea/Phoebe ODE.
  • Added RmenuKai : enjoy cheat codes on Rhea/Phoebe even without cartridge !
  • Improved compatibility of JHL loader-only games with Rhea/Phoebe ODEs.
    (Panzer Dragoon Saga can now be correctly loaded from Rhea ODE)
  • Improvements in automatic selection of game in cheats codes feature.
  • Improvements regarding Virtual Memory Cartridge automatic settings.
  • Fixed support for some third party wireless pads.

And there's also a small Easter egg hidden in some menus ... will you be able to trigger it ?

To shortly sum up the changelog, Rhea/Phoebe ODE users will be happy to find that this release will allow usage of cheat codes without the need of any cartridge  And some Rhea users shall also appreciate Pseudo Saturn Kai finally loading Panzer Dragoon Saga correctly.
There are also some fixes and improvements around cheat codes (available for everybody, not requiring ODE or any special cartridge) and I sincerely hope theses will contribute to make more people enjoying playing Saturn


Rare footage of Pseudo Saturn Kai development room.
Foreground : me preparing next beta.
Background : privateye testing latest beta.

Read more Pseudo Saturn Kai PRO edition - RC1

One more new PCB color !

Written by cafealpha no comments
As indicated in the title, I tried a new PCB color ! This time, this is yellow


Rare picture where all PCB colors I tried so far are gathered

The manufacturing of theses yellow PCBs took a bit longer than usual : maybe was it because this color is not ordered frequently ? Or just a bad luck with timings ? I don't know, but anyway I'm definitely more at ease with good old green color

Blue PCB in the picture above also needs some attention because it's quite a long time I didn't soldered PCBs with such color. In fact, it was probably the first time for this Gamer's Cartridge PCB revision

So, what's the reason why this article is posted so early ? I mean, pictures of theses PCBs were taken around one month ago, while preparation for one article here is usually in the half a year range, with majority of articles are canceled in the midway of their preparation  Well, the reason comes from accidentally watching TV recently, and realizing that colors match a given pattern !


Gamer's Cartridge, Olympic Games Edition

That would had be the the occasion to do some fancy "Gamer's Cartridge Olympic Games (C) (R) TM Edition" advertisements on all major social networks, modifying prices during this period, make sponsorship with some whatever sportswear brands, but I don't like such kind of show business, and ... the fact PCB colors match those on the Olympic flag is a coincidence

So, I'm glad to introduce you Gamer's Cartridge at the Olympic Games colors ! There's no sponsorship, no changes in the prices, no super event (except this poor blog article), but Saturn projects are still my favorite hobby, which is the most important


PS : I unfortunately no longer have all PCB colors gathered in first picture of this article, so it's not possible the re-take a picture in same layout as Olympic flag.

PPS : there wasn't snowball fight Olympic discipline this time too Let's hope next edition will finally feature competition of a sport which I understand the rules

Read more One more new PCB color !

Rss feed of the tag