Source code for 8 NES, SNES, Genesis and Sega CD games available, including unreleased "Hero Quest" for NES

1668547166925.png

The source code for a bunch of retro games ranging from the NES, Genesis and Sega CD is currently available at GitHub.
The source comes from programming veteran, Chris Shrighley, who has more than 30 years in the industry, having worked with companies like Eurocom developing games for the NES, and more popular ones like Disney Interactive, working on games for the Genesis. He also worked on the Sega CD version of Batman Returns.

The list of games that had source code released by him:
  • Magician (NES)
  • John Smith Special Agent (aka James Bond Jr.) (NES)
  • Hero Quest (previously unreleased NES game)
  • Ex-Mutants (Genesis)
  • Cliff Hanger (Genesis)
  • Batman Returns (Sega CD)
  • Gargoyles (Genesis)
  • Gargoyles Protype/Test (SNES)

Chris Shrigley's words on the release said:
I’ve been a games programmer for a very long time now, and over the years I’ve collected quite a lot of source code from the games I’ve worked on. Unfortunately, a lot of the code is still owned by other people, and cannot be shared. I have older archives though, on the NES, and Sega Genesis, that I can share, and they are linked below.

Feel free to download and play with the code as you will. One important thing to note, this code is made available for educational purposes only! You are NOT allowed to make money from this source code, in any way, shape or form.

Cheers!

While the release is nowhere recent, it's always nice to see more and more developers that consider releasing the source code as open source and available to the public for others to delve into.

:arrow: Source
 

Vague Rant

Deceptively cute
Member
Joined
Aug 7, 2008
Messages
2,464
Trophies
2
Location
Melbourne
Website
vaguerant.tumblr.com
XP
3,316
Country
Sorry to be a bummer, but it's worth tempering your excitement here. Games of this vintage (SNES and older) were mostly written in processor-specific assembly code, meaning they can only be compiled into code that runs on the specific CPU they were developed for.

In the PlayStation era and beyond, development largely moved to portable, high-level languages like C, so having the source code to those games (either by direct release or reverse engineering ala Mario 64 and Ocarina of Time) makes porting them to other platforms very achievable. But that's not the case for these older games.

As one example, Gargoyles from this set is written in Motorola 68000 assembly, to target the CPU used in the Sega Mega Drive/Genesis. Now, if you wanted to use that code, you could replace everything that's Mega Drive-specific and port it to other 68k-based platforms like the Atari Jaguar or Amiga. But you can't use any of that code on an ARM-based Switch, a PPC-based Wii or an x86(_64)-based computer because they each use their own, unrelated assembly languages.

If you were especially dedicated and had a good understanding of the assembly language used, it would be possible to painstakingly hand-convert this code into something more portable by following what the original code is doing and writing something equivalent in your preferred language, but ultimately it's far more complicated than taking some existing C code and getting it running on PC or other platforms.
 

ciaomao

Well-Known Dude
Member
Joined
Feb 20, 2014
Messages
572
Trophies
1
XP
1,946
Country
Albania
The Milton Bradley board game "Hero Quest" this NES game is based on, is what forced Sierra to change to Quest for Glory.

s-l1600.jpg
I played that table top game a lot with my friends back in the old days, but sold it just a few years ago. even if I painted all figurines, it was a nice deal.
 

x65943

i can be your sega dreamcast or sega nightmarecast
Supervisor
GBAtemp Patron
Joined
Jun 23, 2014
Messages
6,243
Trophies
3
Location
ΗΠΑ
XP
26,749
Country
United States

chrisrlink

Has a PhD in dueling
Member
Joined
Aug 27, 2009
Messages
5,569
Trophies
2
Location
duel acadamia
XP
5,777
Country
United States
The Milton Bradley board game "Hero Quest" this NES game is based on, is what forced Sierra to change to Quest for Glory.

s-l1600.jpg
thank's for clarifying
Post automatically merged:

since this is source code how is it compiled any legal compilers for NES/SNES source code or no
 
Last edited by chrisrlink,

duwen

Old Man Toad
Member
Joined
Sep 6, 2013
Messages
3,199
Trophies
2
Location
Bullet Hell
Website
www.exophase.com
XP
4,311
Country
United Kingdom
Though the batman that has a source code I'm sure people would want to see is batman forever. Instead of trying to turn mortal kombat gameplay into a 2D platform beat 'em up... like mortal kombat mythologies sub-zero... Maybe with source code, can turn it into a actual fighting game like... proper mortal kombat. :P
That wouldn't require the source code, just the sprites... so it's probably already been done. Look up the crazy world of MUGEN
 
  • Love
Reactions: phil3254

SylverReZ

The planet is fine. The people are crazy.
Member
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,255
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,277
Country
United Kingdom
Mugen truly is a collectors dream i collected 3000 some mugen characters pokemon eat your heart out! lol
MUGEN was truely a work of art. So much infact that there is an entire fanbase dedicated to creating tons of mods for it. Fun fact: It started out as an MS-DOS game before being ported to Windows.
 

phil3254

Well-Known Member
Member
Joined
Nov 14, 2022
Messages
208
Trophies
0
Age
41
XP
172
Country
United States
i helped sophia try and port infinite cat mugen to the psp and even when we had the ability to overclock it from 222 mhz to 333 thanks to cfw it just couldnt handle it. Mugen is harder to port to a handheld console than ya know lol! TOO MANY VARIABLES when it comes to hundreds of thousands of "add my favorite hd stages and characters" but try not and let all the subjectives that result from that crash my psp. I also tried to port quake 3 arena to the psp but again even over clocked it was abysmal. I love mugen to the moon but its not a port friendly title for limited hardwares.
 
  • Like
Reactions: Impossible_Igntiz

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
  • K3Nv2 @ K3Nv2:
    White fries hold up
    K3Nv2 @ K3Nv2: White fries hold up