GithubHelp home page GithubHelp logo

kurausukun / sonic-1-2-2013-decompilation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rsdkmodding/rsdkv4-decompilation

0.0 1.0 0.0 3.79 MB

Sonic 1/2 (2013) Decompilation

C++ 98.66% C 0.04% Python 0.27% Makefile 0.16% CMake 0.81% Shell 0.06%

sonic-1-2-2013-decompilation's Introduction

Sonic 1/2 2013 Decompilation

A Full Decompilation of Sonic 1 & 2 (2013)

SUPPORT THE OFFICIAL RELEASE OF SONIC 1 & SONIC 2

Even if your platform isn't supported by the official releases, buy it for the assets (you don't need to run the official release, you just need the game assets)

If you want to transfer your save from the Android pre-forever versions, you can go to Android/data/com.sega.sonic1 or 2/SGame.bin and copy it to the SData.bin in the EXE folder.

Additional Tweaks

  • added a built in script compiler, similar to CD, but tweaked up to match the new syntax for the scripts used in RSDKv4
  • There is now a settings.ini file that the game uses to load all settings, similar to Sonic Mania
  • Dev menu can now be accessed from anywhere by pressing the ESC key if enabled in the config
  • The f12 pause, f11 step over & fast forward debug features from sonic mania have all be ported and are enabled if devMenu is enabled in the config
  • If devMenu is enabled in the config, pressing f10 will activate a palette overlay that shows the game's 8 internal palettes in real time

TODOs:

  • the "native object" system has been implimented, but the objects (aside from RetroGameLoop and a temporary pause menu) and the proper HW rendering system have yet to be added
  • probably some more bug fixes, because there always are a few stragglers
  • create a cmakelists.txt file for windows compiling so builds can be added automatically via git actions
  • S2 networking code, we attempted to write code to handle the 2PVS mode in S2 but we couldn't finish for many reasons, we did leave our WIP code in the game, so if you think you could do it by all means give it a shot!

How to build:

Windows:

  • Clone the repo, then follow the instructions in the depencencies readme for windows to setup dependencies, then build via the visual studio solution
  • or grab a prebuilt executable from the releases section

Windows UWP (Phone, Xbox, etc.):

  • Clone the repo, then follow the instructions in the depencencies readme for Windows and depencencies readme for UWP to setup dependencies, copy your Data.rsdk folder into Sonic1Decomp.UWP or Sonic2Decomp.UWP depending on the game, then build and deploy via Sonic12Decomp.UWP.sln
  • You may also need to generate visual assets, to do so, open the Package.appxmanifest file in the designer, under the Visual Assets tab, select an image of your choice and click generate.

Mac:

  • Clone the repo, then follow the instructions in the depencencies readme for mac to setup dependencies, then build via the xcode project
  • a mac build of v1.0.0 by sappharad can be found here

Switch:

  • head on over to heyjoeway's fork and follow the installation instructions in the readme

Other platforms:

Currently the only supported platforms are the ones listed above, however the backend uses libogg, libvorbis & SDL2 to power it, so the codebase is very multiplatform. if you've cloned this repo and ported it to a platform not on the list or made some changes you'd like to see added to this repo, submit a pull request and it'll most likely be added

FAQ

Q: The screen is tearing, how do I fix it?

A: Try turning on vsync, that worked for me (tested on mac)

Q: I found a bug/I have a feature request!

A: Submit an issue in the issues tab and I'll fix/add (if possible) it as soon as I can

Q: Will you do a decompilation for Sonic CD (2011)?

A: I already have! you can find it here!

Q: Will you do a decompilation for Sonic Mania?

A: No. Sonic Mania is a ton bigger and requires that I'd decompile not only how the (far more complex) RSDKv5 works, but also all 600+ objects work

Special Thanks

  • RMGRich: for helping me fix bugs, tweaking up my sometimes sloppy code and generally being really helpful and fun to work with on this project
  • Everyone in the Retro Engine Modding Server: for being supportive of me and for giving me a place to show off these things that I've found

Contact:

you can join the Retro Engine Modding Discord Server for any extra questions you may need to know about the decompilation or modding it

sonic-1-2-2013-decompilation's People

Contributors

blawar avatar consoleskunk avatar cuckydev avatar frozenfish24 avatar kekun avatar kurausukun avatar rubberduckycooly avatar sedme0 avatar sonicmastr avatar stxticovfl avatar torutheredfox avatar wamwoowam avatar xeeynamo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.