Skip to content

MysticAx0lotl/sonic3air-3DS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonic 3 A.I.R. 3DS

An attempt at a port of Sonic 3 A.I.R to the 3DS, based off the Switch version. No changes have been made yet, currently this repo is just a placeholder. (Also, I don't have any experience porting code to the 3DS, so this repo's probably going to be unchanged for a long time)

Original Project homepage: https://sonic3air.org/

Disclaimer

Sonic 3 A.I.R. is a non-profit fan game project. It is not affiliated in any way with SEGA or Sonic Team, the original creators of Sonic 3 and Sonic & Knuckles.

Sonic the Hedgehog is a trademark of SEGA. All copyrights regarding Sonic the Hedgehog, including characters, names, terms, art, and music belong to SEGA. All registered trademarks belong to SEGA and Sonic Team.

The developers of Sonic 3 A.I.R. have no intent to infringe said copyrights and registered trademarks. No financial gain is made from this project.

Any commercial use of this project without SEGA's explicit consent is strictly prohibited.

Repository overview

This repository is split into several different projects:

  • The larger external dependencies (namely SDL2, Ogg/Vorbis, zlib) inside the "framework" directory. These are copies of the respective open source projects, with a few custom changes applied where needed - see the "how-to-build.txt" files in there for details.
  • The librmx libraries that together with the external dependencies build a foundation for my own projects (S3AIR and my private stuff). This primarily consists of rmxbase, a collection of helper and utility classes, and rmxmedia, which is providing a basic game framework built on top of SDL2 & OpenGL.
  • Lemonscript language library, with compiler and runtime environment for script execution.
  • Oxygen Engine, the backbone game engine powering Sonic 3 A.I.R. This includes input, graphics, audio handling, and all the other game application stuff, as well as a simulation environment built around lemonscript that - as far as needed for the purposes of S3AIR - emulates aspects of Sega Genesis hardware. Note that Oxygen can be built as its own application (OxygenApp) that lacks the S3AIR C++ code.
  • S3AIR-specific C++ code, scripts and data in the "Oxygen/soncthrickles" directory. Yes, that's what it's named.

External dependencies

External libraries and code used in this project:

  • SDL2 - in "framework/external/sdl"
  • libogg & libvorbis - in "framework/external/ogg-vorbis"
  • zlib incl. minizip - in "framework/external/zlib"
  • jsoncpp - in "librmx/source/rmxbase/jsoncpp"
  • GLEW - in "librmx/source/rmxmedia/glew"
  • Sound chip emulation related code from Genesis Plus GX - in "Oxygen/oxygenengine/source/oxygen/simulation/sound"
  • Discord Game SDK - in "Oxygen/soncthrickles/source/external/discord_game_sdk"
  • xBRZ upscaler shader code - in "Oxygen/oxygenengine/data/shader" and once more in "Oxygen/soncthrickles/data/shader"
  • Hqx upscaler shader code & data files - in "Oxygen/oxygenengine/data/shader" and once more in "Oxygen/soncthrickles/data/shader"

How to build

For information on how to build for different platforms, find the readme files in the respective subdirectories of "Oxygen/soncthrickles/build":

  • Windows: "_vstudio"
  • Mac: "_xcode"
  • Linux: "_cmake"
  • Android: "_android"
  • Web: "_emscripten"
  • Switch: "_make"

Want to contribute?

Here's the bad news: This repository isn't meant for direct distribution. If you have your own changes that you want to share with the world, create a fork of this repo, instead of making pull requests. I'd very much appreciate that as I really want to avoid having too much overhead with managing / reviewing code changes made by others. I'd rather use the time to continue with implementing my own ideas into the project.

Plus there's a second reason, and that's an important one for me as well: It's about code ownership and software licenses. It's much easier to use the librmx, lemonscript and Oxygen Engine code elsewhere under a different license than GPL if I don't have to ask a larger group of contributors whether they are okay with it. Because there are some plans for possible future projects using these codes as a foundation, maybe even commercial ones where GPL could make things complicated.

-- Euka

About

Source and data to build Sonic 3 A.I.R. (Angel Island Revisited) and the Oxygen Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.9%
  • C 14.2%
  • Java 1.0%
  • GLSL 0.6%
  • CMake 0.1%
  • Makefile 0.1%
  • Other 0.1%