(full disclosure: this is an AI-based project. If you object to such projects, that is your prerogative, and I respect that this post will not be for you).
So, hot on the heels of the port (and Spectrum Next enhancement) of the MSX version of Nemesis/Gradius, I have something special:
>> Download R-Type (PC Engine Port) << (edit: now displays full screen and removes the unnecessary vertical scrolling from the PC Engine original)
This is a full port of the PC Engine version of R-Type for the Spectrum Next. It should run on a 1Mb Next, has been tested on my KS2, an N-Go (KS1 clone) and Xpeccy+ and JNext (issues in ZEsarUX though, copper emulation isn't good enough).
The only accommodation I've made is that I have transplanted the music from the Atari ST version as the FM-based sound of the PCE really did not translate well. However, the original ST three channel soundtrack has been bolstered to 6 channels courtesy of Next TurboSound.
In many other respects, this runs better than the PC Engine original, in particular with far less flicker of sprites. Level 3 with the big ship was a particular mess on the original, and many of the flying "snakes" were messy too. Not on our Next!
I make these for fun, to stretch the limits of frontier models (I work in that field) and for my own amusement - but am sharing in case anyone else enjoys it too.
The story of this port is quite interesting too if anyone wants to stay with me to hear it. Consider this a coda. If you're just interested in the game, you can stop reading now. But if you read on there's two extra bonus "ports" of R-Type to try out. One is fully playable in its own right... the other is, shall we say, "interesting".
---
Still with me? This story is called "Any Port in A Storm":
Before this version, I tried two other approaches to getting a Next enhanced version of R-Type.
We Spectrum types already have a banger of an R-Type - Bob Pape's original, a real technical tour-de-force. My original plan was to enhance that, much as I did with my Nemesis port to make the Spectrum version.
I got the AI to pull out the sprites and push them into Next hardware sprites, and move them in single pixel increments. All the internal game logic was predicated on 8x8 character-based logic, so this was interpolation rather than a fundamental internal change. I didn't have that issue in Nemesis - Konami's logic was pixel based mostly, despite some of the scenery scrolling in 8x8 increments.
So I did end up with a smooth animation Bob Pape R-Type. And it was an interesting tech demo. But once you smoothed out the technical shortcomings the OG Speccy imposed on Bob Pape, what you had didn't make that great an R-Type. It didn't suddenly PLAY like R-Type. It was just... odd.
(If anyone wants to try it out, here it is).
So I looked around for a Z80-based version, with a view to doing what I'd already done with Nemesis. I wasn't planning to compete with Bob Pape on the OG Speccy, but maybe another Z80-based platform would be a better baseline for a Next version. And I thought I'd found it in the Sega Master System version. Played reasonably, Z80 code, hardware sprite capabilities that the Next could match. The plan was to extend it and plug in arcade-level graphics, as I had with the Next version of Nemesis.
Getting it working was relatively easy - and it's perfectly playable. Again, for those who want to try it out, here's the Sega Master System R-Type port). But when I sat down to try to enhance the graphics, I realised it lacked all sense of scale - the sprites were tiddly, sometimes even smaller than Bob Pape's version!
And then I saw the port of Xenon 2 to the SAM Coupe. And it got me thinking.
If Xenon 2 could be ported from an Atari ST with a 68000 to the SAM, perhaps I didn't need to use a Z80-based R-Type as my base.
The best version of R-Type was the arcade, but the PC Engine was a close second. Could I transplant that?
It was a lot of work. Many many late nights iterating with several AIs, guiding, prompting, testing. On Nemesis and on the Master System R-Type, the basic game code could run on the Next more or less as was. In those cases, the porting job was basically redoing the layer that accessed the hardware layer. For PCE R-Type we had to disassemble the HuC6280 (basically a 6502 with knobs on) code and the port it, and then port the sprites and graphics code to the Next equivalents. There was not a single byte of code which could be run in its original form.
There were some hurdles in the way. The funniest was perhaps when Claude decided to have an existential crisis about copyright, possibly prompted by Anthropic's recent tightening against game ports. This culminated in a moment where I had the chat for the Sega Master System version (which had happily undertaken the same job) talking the chat for the PCE version off of its high horse.
On Nemesis (and the Sega Master System R-Type) I think I could probably have done that myself, with no AI, given enough time. Maybe two years working on it full time. The Z80 code was already there, the work was in mapping the hardware. The PCE port, frankly... that is fearsome technology that borders on black magic. I put it into another AI which called it "research grade reverse engineering".
I teach Computer Science and AI, and the outputs from frontier models today are incredible. I tell my students "if you're not on board the AI train you'll get run over by it". But people think you just type in "port GTA6 to the ZX80" and ten minutes later you have something playable. Getting something worthwhile out of AI is a skill in and of itself, that requires problem solving skills, the ability to think creatively and strategically, but also logically. In fact the skills are very much like the skills we all developed back in the day writing code for our Speccies, trying to break our ideas down into lines of BASIC or Z80 opcodes!
I thought the story was interesting - and the perhaps the outputs before the PCE version might entertain some people too.
PS: and next time out (pun intentional), the Next is welcomed to the Fantasy Zone! Get ready!