PPCenter :: devblog

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

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

Pseudo Saturn, Kai, and Dragon Ball too

Written by cafealpha 14 comments
The kids are currently on winter holidays, I don't want unexpected and messy task at work before entering new years holidays, so today was spent at movie theater with kids
We went to see Dragon Ball Super - Broly, and it was cool !! I really appreciated the "フリーザー!「カコク」ってなんだ!?" from Goku just after Freezer used "過酷" word in a dramatic scene

So well, it seems it's the good moment to announce a new public section in my homepage, which is about Dragon Ball cards
More than 15 years ago (but it feels like last week ... I'm really getting old !), I spent many afternoons in scanning my collection of Dragon Ball cards, and then put everything on a CD-R ... because internet was paid for each minutes connected, and my maximum transfer speed at that time was around 7KB/s, hence not suitable for uploading hundreds of megabytes of data

All theses limitations are no longer a problem, so please enjoy my digital cards collection

Broly when I was a kid


Oh, I forgot to say that everything in more or less in its original state, including the html, so in advance I'm sorry for any reaction to Comic Sans MS font and flashy image background Also, the textual contents are left as-is in omelette du fromage language



My main Saturn project during the last four years was named after watching a Dragon Ball Kai episode on TV, so in a related note, I'm glad to announce a new version of Pseudo Saturn Kai is available
But ... there's currently a bug so I shall re-release it soon
After everything will be fixed and verified, I shall make a proper announcement in this article, so if you don't want to flash your cartridge twice, please keep tuned for one day or two !

Edit (2018/12/31) : version v6.274 was released a couple of a days ago, and so far I didn't received major claims about it, so let's consider this version a stable one ! Please find below an overview of the changes and additions in this release.

What's new in Pseudo Saturn Kai v6.274

Automatic Game Loader

So far in Pseudo Saturn Kai 6.074, user had to choose which game loader to choose before starting a game, but this is now done automatically on Pseudo Saturn Kai side.
There's no magic around this feature : it just uses a list of games not compatible with CWX loader, and decides accordingly
Pseudo Saturn Kai boot menu
No need to worry about which loader to choose ♪

Cheat Codes

That's a big addition for this release. Its development spans around June 2017 to Spring 2018.
The main features for cheat codes are :
  • Built-in : don't need to manually enter the cheat codes
  • User friendly : just push X button when booting a game, and then select the cheat(s) to enable.
  • Maintained by cafe-alpha () : rather than adding an "enter cheat codes by yourself" feature, I plan to continue improving and maintaining the cheat codes list

Disc image selection menu for Rhea/Phoebe ODEs

Back in 2015, I added a stub of alternate rmenu to Pseudo Saturn Kai, but didn't had the technical information regarding Rhea/Phoebe API so the feature was disabled in its unfinished state.
And this summer, an enthusiast friend helped a lot to get this technical information, so that I could finally finish this feature
Development of this feature was an occasion to bring usage of proportional font in image selection menu, thus showing more information on a single screen. Base of menu module was developed around 2010 without any consideration for proportional font, so development of this side feature was a nightmare, but I don't regret for having done it now it is finished

Image selection menu for Rhea/Phoebe ODEs

Dezaemon 2 Save Game Manager 3

Dezaemon 2 is a shooting game maker application for Saturn. And Save Game Manager is a collection of user games for Dezaemon 2.
By the past, there were two volumes released by Madroms : SGM1 in 2007 and SGM2 in 2008.
And 10 years after that, SGM3 is released and contains some new user games as well as all the games from SGM1 and SGM3 : one SGM to rule them all

Special thanks to Dezaemon DB for gathering a community around Dezaemon 2, and dumping the user games


A stylish logo for Pseudo Saturn Kai

That's maybe a detail, but that was really missing from a long time !
Special thanks to Alien^PDX for the logo, and CyberWarriorX for putting me in touch with him
Pseudo Saturn Kai logo, 2017/12/31
Yes, taken one year ago !

In-game connectivity for USB dev cart

This uses cheat codes routine, hence requires at least a valid master code to be set. It can do USB connectivity while doing transfer with PC, but that's a bit slow (because of unoptimized C running from cartridge ROM), and consequently may cause glitches on some games.
As a countermeasure, there is another mode who does only USB connectivity (hence no cheat codes) but does it fast since the code for it is written directly in assembly and running in RAM.

That may be cool for game hacking, or looking for new cheat codes ... but I still need to add a proper cheat codes finder feature on SatLink before looking for cheat codes on my favorite games

I stopped USB dev cart support, so this feature is disabled and software on PC side won't be released.

In-game USB connectivity in action.
Radiant Silvergun was one of the very first games
to work correctly with Pseudo Saturn Kai cheat codes


Virtual Memory Cartridge support via USB dev cart

This is similar to "Virtual Memory Cartridge" used in Gamer's Cartridge, but access save data files on PC via USB dev cart instead of SD card.
That's convenient for save data hacking, or testing several saves, but for normal use then using SD card is (in my opinion) a better choice.
As a consequence, full firmware can now be installed on USB dev cart. But cartridges not using SST39SF040 flash chips are not supported (because there's not enough room in flash ROM) and in that case only lite firmware can be installed.

I stopped USB dev cart support, so this feature is disabled and software on PC side won't be released.

Virtual Memory Cartridge via USB dev cart
It was convenient for taking screenshots
for Dezaemon 2 Save Game Manager 3

Fixed support for 3D pad

In previous version, using 3D pad would sometimes cause an emergency exit to multiplayer screen when touching analog buttons. This is now fixed, and additionally supports input from analog buttons.
Pseudo Saturn Kai is not a 3D game, so the interest of using analog buttons is a bit questionable, but at least it is supported now



And the most voluminous change is ... :
Fixed many bugs everywhere, added other bugs here and there
Everything should work now ! Trust me, I'm an engineer



Congratulations, you reached the end of this long article
Last but not least, I wish you a Merry Christmas, happy new year 2019 and happy gaming

Read more Pseudo Saturn, Kai, and Dragon Ball too

Happy Birthday Panzer Dragoon Saga !

Written by cafealpha no comments
According to wikipedia, it seems that Japanese version of Panzer Dragoon Saga turned 20 years old this week, so,

Happy Birthday

 Panzer Dragoon Saga !

Hrm, I feel old to hear over and over that games I played in my childhood are becoming vintage ... time flies

So well, I don't want to write an article for the anniversary of each Saturn game That's too depressing, and I prefer to use this time for other things The reason for this article is to help people wanting to play Panzer Dragoon Saga, but not from level 1, and failing to find appropriate save states for use on their Saturn.

There aren't many saves for Panzer Dragoon save files available for importing from Save Data Manager, but good quality saves can be found on Panzer Dragoon Legacy homepage :


The reason why theses saves aren't added to Pseudo Saturn Kai Save Data Manager CDROM is because the readme included with theses saves states that saves can't be hosted elsewhere than on Panzer Dragoon Legacy. I personally think this is a pity, because theses saves are really good.
(2018/02/12 : it seems OK regarding copyright See the bottom of this article for details)

Panzer Dragoon Saga is one of the few games not allowing in-game usage of Gamer's Cartridge. A workaround to that is to use Saturn's internal backup memory.
So, it is possible to import theses saves to Saturn's internal backup memory by using Gamer's Cartridge and Save Data Import feature :
 1. Copy all save data folders from archive to SD card → SAVES folder
 2. Insert Gamer's Cartridge into Saturn, power on Saturn
 3. From main menu, select "Save Data Manager"
 4. Select "Save Data Import"
 5. Browse for save data file where to import from
    Example : SAVES folder → saga_01 → BKRAM1.BIN
 6. Select all saves with Y button and confirm import to internal memory device with A button

Then, it is possible to use theses saves from the game. Unfortunately, Panzer Dragoon Saga is one of the few games not supporting in-game memory cartridge support with Gamer's Cartridge, so the only workaround is to use Saturn internal backup memory.
2018/02/12 : the steps above are still valid, but work on Gamer's Cartridge only. Next release of Pseudo Saturn Kai will feature theses saves directly from Save Data Manager, so that theses will be available for Action Replay cartridges users too (See the bottom of this article for details)

I hope I will be able to make this game compatible with Gamer's Cartridge in the future ! I recently tried to find what's causing this game not working ... and realized it would be harder to fix (I thought game was re-authenticating CD-ROM just before starting to play, but I didn't found any code doing that)
I'm not a genius programmer, but on the other hand, I don't give up on the first failure I meet, so hope next attempt to fix support for this game will be the good one



Update 2018/02/12
: I just received the agreement to add theses saves to Save Data Manager More details can be found on Panzer Dragoon Legacy forums, and screen copy of related posts are available here for the records.
Special thanks to Solo_Wing, who solved this problem in a couple of messages ! Please keep the good work







Read more Happy Birthday Panzer Dragoon Saga !

Rss feed of the tag