r/decomps • • 3d ago

Made with AI assistance PC Engine Recomp — an open-source toolkit for making native PC Engine / TurboGrafx-16 ports

Some of you might've seen my EarthBound, Lagoon or Secret of the Stars posts. I've also been working on PC Engine Recomp, and it's at a point where I'd like to get more people using it.

Ys III was the reason I started this, but I wanted the toolkit to be useful for other PC Engine projects too. The idea is to handle more of the common work so people don't have to build the same tools from scratch for every game.

It translates the game's CPU code into C++20 and provides shared graphics, audio, CD, controller and save handling. Both HuCard and CD games are supported.

Some of what's already there:

- Code discovery, CD overlay tracking and reports showing what still needs native coverage.

- Native project generation, incremental builds and recovery from interrupted builds.

- Square pixels, fullscreen, shader controls and reusable widescreen/ultrawide rendering tools.

- Five-player keyboard/controller profiles and rebinding.

- Debugging tools with screenshots, checkpoints, frame stepping and automated input testing.

Games used in testing include Ys III, Rondo of Blood, Bomberman '94, Street Fighter II: Champion Edition, Boxyboy and Soldier Blade.

There's still work involved in each game, but the goal is to make that work easier and let improvements benefit the next person using the toolkit too. There’s also an example you can build without a game or BIOS if you just want to try the workflow.

Source and setup:

https://github.com/rages4calm/pcenginerecomp

Bugs and feature requests:

https://github.com/rages4calm/pcenginerecomp/issues

If you give it a try, please open an issue for bugs, missing features or anything confusing in the setup. Include the game, what you were trying to do and what went wrong. Contributions are welcome too.

Most of the implementation and automated testing has been done with Codex and Claude, with me directing the project.

No ROMs, BIOS files or game assets are included. You'll need your own game files.

35 Upvotes

9 comments sorted by

3

u/vxz-z 2d ago

Good job! Btw I’ve done NEC PC98 - it specifically targets vns tho

3

u/rages4calm 2d ago

Lot of people wanting to do pc98 stuff

2

u/vxz-z 2d ago

I did it for the sake of eroges lmao I took Alice soft system 3 and reverse engineered it to run it in c++ skipping disks to run games raw for cutscenes images and audio it no longer emulates at all for any function, that is how I got wide screen natively and incredibly high resolution

2

u/Great-Inspector-7335 2d ago

I wish someone would make something like this for the PC-95/98.

1

u/rages4calm 2d ago

There are tools already for this I've seen a few shared in the retro ai development discord (RAID) which is linked in the bottom of my github. They aren't my tools but I know people use them. Plus i'm certain i've seen 1 pop up here on this subreddit in the past.

2

u/gustavolorenzo Recomp enthusiast 2d ago

Does it work fo PCE-CD games? I'm dying for a Rondo of Blood Recomp but with little QoL tweaks.

2

u/rages4calm 2d ago

Yes works with anything PC Engine / Turbografx 16 and there is actually a Rondo of blood recomp already out but they didnt use my engine, it's listed on here somewhere in this subreddit. i tried it, it's tons of fun.

2

u/ninjaurbano 2d ago

Nice! I hope we get to see something from the Nectaris series released someday.

2

u/PrinceOfLeon 1d ago

Well, Bonk me!

This is Legendary!

You have my... Axe!