Bad Apple!! in Sonic 1 (32X)

By Ralakimus

Yay! Another Bad Apple!! demo thingy!

I originally made this last year as an exercise, and oh boy did it turn out to be an exercise in frustration. Simply put, this is the Bad Apple!! shadow art video, displayed on top of Sonic 1 by using the 32X. Because why not.

Technical Nonsense

This is the entire video, at 30 FPS (or 25 FPS in PAL), with its original audio played back via the PWM sound chip. It's displayed with only 2 colors mainly for optimization, meaning cramming 8 images into 1 and then using palette cycling to highlight the pixels of a specific image, by assigning an image per bit in each pixel (because 32X palette mode uses 8 bits per pixel). Helps with storing less data in the ROM, and also makes streaming a lot easier, as I only have to retrieve a new image every 32 frames (not 16, because each video frame is displayed for 2 frames, so yay, bonus time). The video and audio are streamed out into the 32X's memory from cartridge, which uses the Sega (SSF2) mapper to enable bankswitching and be able to store all the data.


In terms of emulation, I only know that it works on PicoDrive and ares, because they support both the 32X and Sega mapper simultaneously. I version of PicoDrive on RetroArch can run this just fine, but not the one on BizHawk, because it's out of date. Kega Fusion will not run this, because it doesn't do the 32X and Sega mapper simultaneously, and it has a 6 MiB limit for the mapper anyways (compared to the actual 32 MiB limit).

In terms of hardware playback, I actually have no idea, because I currently don't have the ability to test right now. I'm admittedly a 32X noob, and the 32X is honestly a massive pain to deal with (there's quite a bit wrong with it, let's put it at that). As a result, I cannot guarantee that it'll run on hardware. In fact, I'd actually be surprised if it does, but I'm not too optimistic, there's probably some kind of problem in the code.

Source Code

Here. If someone who knows the 32X better than me can point out some problems, I'd like to know.

  • Ralakimus - Programming
  • ZUN - Composed the original version of Bad Apple!!
  • Alstroemeria Records ft. nomico - Making the famous cover of Bad Apple!!
  • Anira - Creator of the original shadow art video
  • Sega - Made the 32X, the reason for my misery

File Type: rom/zip

File Size: 9 MB

Extra Public Downloads
PAL Version
8.63 MB

dilworks @ 2023-10-23 13:01:48

Still waiting for the day that someone makes a PROPER Touhou-themed Sonic ROM hack (like SM64's Star Revenge 8).

This is a nice proof of concept, a total waste of a 32X for lulz, a nice excuse to try Ares' 32X core, and a rather lunatic way to play vanilla Sonic.

MDTravis @ 2023-10-23 15:43:29

Confirmed works on hardware!!

Ralakimus @ 2023-10-27 13:25:30

WHAT. I need a video of this.

Last modified by Ralakimus @ 2023-10-27 13:29:25

Megapig9001 @ 2023-10-23 23:15:33

Yo. I'm Megapig9001, the creator of the video "[url=]Bad Apple Explained[/url]". Made an account just to say this hack is hilarious and also an extremely impressive showcase of Bad Apple. Thanks for making it!

HoodedEdge @ 2023-10-24 14:59:49

Funniest shit I saw today.

Tallcat @ 2023-10-24 23:09:21

This is incredible. Can't believe it just works. Great stuff!

Sewer56 @ 2023-10-27 19:36:13

This is amazing, what the heck

Roos333 @ 2024-01-02 10:25:32

For those wondering why there are anime girls throughout the game: They are from a video game called touhou project and the song would come from the fourth game called "lotus land history" but then fans made a version of the song and then someone in nico nico douga would upload the animation that we know