Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

๐Ÿข Heads-up for real hardware and older flash cart users Sticky

A topic by slash_bytes created 14 days ago Views: 136 Replies: 7
Viewing posts 1 to 2
Developer

A player reported that 0.4.0 wouldn't boot on a PAL Mega Drive 1 with an old Chinese Everdrive clone (the kind that only takes ROMs up to 4 MB). 0.39d worked fine for them.

The most likely cause is the mapper. 0.4.0 is built with the SSF mapper (the Super Street Fighter II one), which some older carts and flash carts don't support. The ROM is under 4 MB, though, so it doesn't really need it.

So there are now two downloads:

โ€ข tmnt_megadrive_port_0.4.0.bin: the regular build, with mapper. For emulators and flash carts that support it (Mega EverDrive and similar).

โ€ข tmnt_megadrive_port_0.4.0_sin_mapper.bin: the same game, no mapper, with a standard header like 0.39d. If you have an older or 4 MB-limited Everdrive and the regular one won't boot, try this one.

Note: the no-mapper build hasn't been tested on real hardware yet. If you try it, let us know whether it boots and on which console and flash cart. If it fails, tell us what happens (black screen, freeze, reset) and we'll keep digging.

Thanks to the player who reported it, and to everyone testing on real hardware. Cowabunga! ๐Ÿ•

(1 edit)

Both versions worked on the MEDPRO (latest firmware).

Not so for the Everdrive MD v2.6. The 4.0 version did not boot on that even though the Everdrive MD v2.6 "sort of" supports the SSF2 mapper.  The single mapper version did boot and play.

Only the single mapper version worked on the Everdrive MD v2.6. Though it DOES support the SSF2 mapper, I've only seen one game other than Super Street Fighter 2 actually work with that mapper, and that was a 5 MB Shinobi Beta that was just released by Mr. Todd X.

Whatever Mr. Todd X did, they got a 5MB ROM to work with the bank switching SSF2 mapper for the old Everdrive MD.  I did not expect it to work., but it did. Perhaps Mr. Todd X would share his secret?

Developer

Thank you so much for testing this on real hardware and for such a detailed report, this is really valuable! ๐Ÿ™Œ

That confirms it: the problem was the SSF mapper. The ROM is under 4 MB, so it doesn't actually need bank switching, and the no-mapper build works on more hardware (MEDPRO and Everdrive MD v2.6) without losing anything. I'll keep it as the recommended download for older flash carts and real hardware.

As for how Mr. Todd X got a 5 MB ROM working with the SSF2 mapper on the old Everdrive, I don't know, but it's a great question. If we ever need to go past 4 MB, it would be worth asking him.

Thanks again, and Cowabunga! ๐Ÿ•

Well, the issue is that with the Everdrive MD anything over 4 megabytes won't boot, except Super Street Fighter 2 itself...
...and the Mr. Todd X version of Shinobi.

It could literally be 33 megabits and would not boot. I have to wonder if it isn't something simple, like  having a header that tells the Everdrive MD, "Yes, I am Super Street Fighter 2, please don't crash".

Developer

First of all, thank you so much for all the testing, and sorry for abusing your trust like this, you've already done a lot! ๐Ÿ™

Your comments about the SSF2 mapper were really helpful. I looked into it and I have a theory: at startup, the library I use (SGDK) writes to all seven bank registers of the mapper, while Super Street Fighter II (and probably Mr. Todd X's Shinobi) only uses banks 6 and 7. A partially-compatible cart like the Everdrive MD v2.6 may choke on those extra writes. I made a build that only touches banks 6 and 7, and I'd love to know if it works on your v2.6.

Whenever you have a moment, could you try these two files, in this order?

1. tmnt_megadrive_port_0.4.0_full.bin (about 3.9 MB, mapper build). This is the one that did NOT boot before, so we're checking whether the change fixes it.

tmnt_megadrive_port_0.4.0_full.bin

2. tmnt_megadrive_port_0.4.0_full_pad5mb.bin (same game, padded with empty data up to 5 MB). Your Everdrive only seems to enable the mapper with ROMs over 4 MB, so this tells us whether it works when it really is in mapper mode.

tmnt_megadrive_port_0.4.0_full_pad5mb.bin

For each one, it would help to know:

โ€ข Does it boot? If not, what happens (black screen, freeze, resets, garbled graphics)?

โ€ข If it boots, do the graphics, music and voices look and sound right, including the cutscenes and the later levels (these are the parts that read data through the mapper)?

These two are only for testing, so please don't share them around yet. The no-mapper version stays as the safe download in the meantime.

No rush at all, and thanks again for your patience. 

(1 edit)

You're fix appears to have worked! That is the third game that has successfully used the SSF2 mapper on my Everdrive MD v2.6 (including SSF2 itself). It does appear to have a few flickering pixels, but those may have been in the original as well. 

Developer

That's fantastic news, thank you so much for testing it! ๐ŸŽ‰ And great to hear it joins SSF2 and Mr. Todd X's Shinobi as a game that runs with the mapper on your Everdrive MD v2.6. Your report pointed me straight at the cause, so this fix is thanks to you. There's not much more I can do to thank you, other than putting you in the credits as a tester starting with the next update :D

Two quick questions if you have a moment:

1. Which file did you try, the regular full build (about 3.9 MB) or the one padded to 5 MB? Or both? That tells me whether the mapper only needed the fix, or also needs the extra size to kick in on that cart.

2. About the flickering pixels: could you tell me where and when you see them (which level or screen, during gameplay or in a cutscene, on sprites or on the background), and whether it happens every time? A photo or a short clip would be perfect. I want to rule out a bug on our side, since a few things in the game are read through the mapper, and I can't tell from here whether it's from the original arcade art or from us.

In the meantime, the no-mapper version stays as the safe download for everyone. 

I tried the 0.4.0 full pad 5MB.