Quick addendum - When you download Visual Studio, you'll also need to install the C++ Desktop Development package for it. I forgot to mention this because I did it ages ago, sorry about that!
I tried getting the latest version of the decomp to work with mods for almost 2 hours and just gave up until I saw this video that actually explained the problem. So kudos to you for properly explaining how to get everything working properly! On the other hand, after watching it still looks like a pain in the rear to set up so despite really wanting to try Miracle Edition, I think I might just stick with my ancient version of SCD Restored that still had Knuckles and Amy. At least until this process gets easier....
It won't get easier, same for the Sonic Mania Decompilation and the pretty useless S1 & S2 Decompilations. There is an easy way to do these, but you get no Amy or Knuckles, and you don't get the Encore DLC for Sonic Mania. You just have to build them manually.
i followed up to the large command at 5:58 and it didn't work. it gives me an error saying "-DCMAKE_TOOLCHAIN_FILE' is not recognized as an internal or external command, operable program or batch file."
Hey, I just wanted to say this tutorial got me finally understanding this stuff, so thanks. I felt like i was banging my head against the wall with this info for a while. (Goated physics for Frontiers, too, if you are that guy also, haha)
It took way too much time, but I finally (almost) set-up Sonic CD Miracle Edition with my Origins Plus RDSK, thanks to this video. That was a pretty painful process, but I did it, so thank you for this video. I really hope they simplify it down the line. The only thing is that the animated cutscenes from the original seem to be missing, so if anyone can point me in the right direction, that would be great.
@@brendanblair64 I know I'm 3 months late, but if you could send over a copy of the completed build for me through something like an email I'd really appreciate it. I'm on other social media platforms if you want to try contacting me in one of those instead.
@TrackerTD I Can't Open Up the Origins-Plus Branch and Download It When I Go into the Link It Says Page not Found and I Want To Play As Knuckles and Amy So is There Anything Like and Alternative To Play As Knuckles and Amy in Miracle Edition?
Question, how do you set up Miracle Edition WITH the Origins files? I just got Origins today and now I'm trying to figure out how to get Amy and Knuckles in.
6:16 when i do that is has this error CMake Warning: Ignoring extra path from command line: "here]/installed/x64-windows-static/" CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:152 (message): Could not find toolchain file: [vcpkg Call Stack (most recent call first): CMakeLists.txt:3 (project) -- Configuring incomplete, errors occurred!
The process is basically the same for 1 and 2. I think Mania's slightly different, but not very. The reason for the CMake change is actually to make the process essentially identical between each game.
@@TrackerTD No. It wasn't merged. On the contrary, they removed everything related to the Origins Plus expansion when I visited the Scripts site yesterday. You should check it.
Same issue. Building the decompilation with the "RETRO_DISABLE_PLUS" flag set to "off" results in the sprites used for the HUD and Knuckles glitching out, and setting the flag to "on" just causes Sonic to spawn in place of Knuckles. In both cases, attempting to select a stage as Amy crashes the game.
@@RoxieProxy I used the MegAmi's mod and the sonic CD miracle edition mod and the issues were fixed.. however the other sprites like shield, the signpost at the end of the stage and the big ring glitch out One more thing I noticed is that when I extracted the sonic CD data.rsdk (from origins) using the RSDKV5EXTRACT, Amy's base sprites were missing. And also her animation file Same for the Sonic 1 and 2 origins version. Only the sprites like level select, special stage, lives icon sprites were there
Note to everyone: Make sure that your decompilated builds are made in a directory that has NO SPACES. The CMAKE part is especially picky with that kind of thing, and it will not work otherwise.
6:07 WARNING! Do not name ANY of your folders with a SPACE in them, otherwise once you go and run this you'll get the error "Could not find toolchain file: D:/Altro/Giochi/PC/Sonic/Sonic" (in my case). I created a folder named "Sonic CD" and as you can see the program looks for a folder simply named "Sonic". In order to solve this you're gonna need to delete the cloned folder and re-clone it to start from fresh, then copy all the dependencies from the vcpkg subfolders back into the cloned folder. Of course after solving this error I got another one: CMake Error at D:/Altro/Giochi/PC/Sonic/SonicCD/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package): Could not find a package configuration file provided by "SDL2" with any of the following names: SDL2Config.cmake sdl2-config.cmake Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set "SDL2_DIR" to a directory containing one of the above files. If "SDL2" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): platforms/Windows.cmake:67 (find_package) CMakeLists.txt:62 (include) I'm not smart enough to figure this one out so I'm gonna peace out and hopefully a kind soul will come in my aid in the future.
Hey, I'm on 6:24 and for the life of me I cant get what I'm doing wrong. At first my "Cmakelist.txt" file was not in my "vcpkg" file. So I then moved it into the vcpkg file. And It was working until the code suddenly stopped at the first " C compile features" and it stated CMake Error at CMakeLists.txt:5 (project): No CMAKE_Fortran_COMPILER could be found. I'm so close to being done with this and would appreciate any outside help. thanks.
6:05 Where did that "build folder" came in? There was no build folder when i was following this step. I try to do 7:28 step, and it just says: _[Error: could not load cache]_ What "cache"? *EDIT:* IWAS FUMB, I FORGOT THE _cmake -Bbuild_ COMMAND
I hit a brick wall, for some reason cmake refuses to extract the powershell core zip correctly, i jave double and triple checked and i followed the steps correctly, but if theres a solution to this i would like to know
So, assuming it's the same issue I had and that you have devkitpro installed, you need to go to "c:\devkitPro\msys2\usr\bin\cmake.exe" and rename "cmake.exe" to something else other than cmake
Okay, 7:59, I'm stuck here. You show yourself putting the rsdk file into build>debug. There is no debug folder in my build folder, where am I supposed to put it? Did I screw up a step? Edit: Okay i think I figured it out, it just goes under "Release" it seems.
I had this same issue, to fix it you need to show it where Cmake is located, mine was in C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin So the full command would be set=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin I hope this helps, it worked for me
@@Brewski007oh my god dawg. Btw for guys reading this after follow his instructions but rather than set= it’s set PATH= Like he said it tells it where cmake is. Then paste in that long ass command for the decomp. I’ve been going back and forth for 2 HOURS and your comment finally helped me fix it
I watched the whole thing cuz it just popped up in my recommended feed. What's the goal exactly? Is it for patching ROM hacks? I was kind of hoping this was something that would help foster a "Sonic CD" ROM hacking community cuz there's only two (not including the Sonic 2 ROM hack with CD's time travel mechanic).
This is for the decompilation of the Sonic 1/2/CD mobile ports (and therefore the versions used in Sonic Origins) rather than the Mega Drive/Mega CD versions. The fact they’re decompiled allows for modding and porting those versions to other platforms.
This tutorial was pretty helpful and I have gotten the game working but I don't know if this was a problem on my end or i so how did something wrong, but for some reason I was unable to get the decomp working with the config set to release I was only able to get the game running on debug config, I already did this like a long time ago when the tutorial came out, but I was just wondering if I should try to do it again or I should just stick with the build I have as I haven't tried building a decomp since I initially followed this tutorial, I also tried to build a Sonic Mania decomp a while ago but that just straight up didn't work for some reason so I think it might be a problem on my end or maybe my computer is just being weird.
Hey I have a BIG question so I did everything thing right and the game worked I even had access to knuckles and Amy now. Only problem is it was REALLY SLOW IT TOOK ME MINUTES TO GET TO THE TITLE SCREEN it felt like if u play a video by 0.25x is there a way to fix this bc I looked in the settings.ini and I didn’t see anything that helped unless I have to go into the games manual settings and fix it there or fix it in RetroED somehow pls help if you see this. My guess is that it’s probably running at 8K by default because I saw another person having this problem on sonic one decompilation sonic origins plus but I don’t know how to fix it.
i have while playing sonic cd Knuckles and amy isn't available (partially) In save files i can't select them In dev menu when i'm trying to play as knuckles he turns into sonic When i'm trying to play as amy The hud sprites being replaced with sprites of amy
While making the build folder, did you do -DRETRO_DISABLE_PLUS=on? If so, you should make the build folder again (That's what I did) and after you do the code, write -DRETRO_DISABLE_PLUS=off instead.
I'm stuck at 4:31, it says error: in triplet x64-windows-static: Unable to find a valid Visual Studio instance Could not locate a complete Visual Studio instance. I have installed everything needed. Is there a solution?
No matter what I try I can't get the manual decomp for Sonic 1 and 2 to work. It always tells me on the final command that there isn't a cmakelists file in the vcpkg folder
An issue I found in this tutorial around 4:57 was that moving those files to the decompilation folder actually messed up alot of steps going forward for me, so I instead left them in the vcpkg folder and everything worked fine and I was able to build a release. I dont know if this will help anyone but it worked for me.
Could you describe how? I'm struggling with the Decomp, because although it does get built, whenever I try to launch a stage with Amy the game just crashes, and I did try that Tutorial in Gamebanana that told me to edit the files with hex edit (I do have the plus DLC)
I did everything right, but I got this : "CMake Warning: Ignoring extra path from command line: "CD\vcpkg/installed/x64-windows-static/" CMake Error at C:/Users/darwi/Downloads/Cmake 3.30.0/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:152 (message): Could not find toolchain file: C:\Users\darwi\Downloads\Sonic Call Stack (most recent call first): CMakeLists.txt:3 (project) -- Configuring incomplete, errors occurred!" What Did I do wrong?
Bro, there's already a lot to make a few more characters work, my god how do you do that??If anyone has the file ready or something similar, please send it to me.
Question! I managed to do pretty muc everything, and the build worked with a 2011 decomp RSDK. I swapped over to Origins Plus, downloaded the scripts, and unencrypted the OP RSDK, yet the game won't launch. Right now the scripts and SonicCDu folder are in the folder with the .exe as well. Is there something I'm missing?
Give it enough time and someone's going to pull off their own Forever/Absolute for CD seeing how messing with the many versions of it has been complicated for people.
I've run into a problem, don't know why, but Knuckles' and Amy's Sprites and Animations don't load properly. Amy doesn't have anything, while Knuckles has some sprites. How can I fix this?
How do i install github for windows? I know how to find its files and use cmd on it but what i need is the github for windows im using github desktop but idk if its usual to use it so pls reply
I have a small problem: while the decomp loads fine with my Origins Plus rdsk, somehow only Sonic is playable. Did I do something wrong? Edit: 2 months late but I got it working. It didn't work because I forgot to download MegAmi's mod. Sorry!!
I’m gonna be honest, I’m kind of stupid when it comes to this building stuff but when I put the vcpkg root stuff in the command line that you mentioned at 5:47 (and the folder root as well) I keep getting this error that says: CMake Warning: Ignoring extra path from command line: “Stuff/VCPkg/installed/x64-windows-static/“ CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:154 (message): Could not find toolchain file: C:/Build Call Stack (most recent call first): CMakeLists.txt:3 (project) - Configuring incomplete, errors occurred! I genuinely cannot think what I did wrong. Edit: Y’all I think I give up, I don’t know what to do at this point. I think I’d rather just someone upload their built copy of the decomp so I don’t have to get these bizarre errors. This is why I hate building these decompilations because I’m always afraid something is gonna go south.
@@SneakyGreninja I found out that if you name your folder that your building it in to something simple like ‘Sonic’ or ‘VCPKG’ or even GitHub as shown in the video, this error shouldn’t happen. For some reason I guess it hates somewhat long folder names lol
im having this problem where everytime i try to put vcpkg or whatever it is inside the command cmd, it just stops throughout 15% and doesnt actually put the file there, what do i do?
6:08 i got an error about the cmake lists and cache text files not being the same as the ones used to generate. should i copy and replace the files with the ones from vcpkg or my cmake installation or should i do something else?
Please update this, I tried so many times and don't pause little things that are incredibly important bc this has been updated so I think you might want to update the tutorial with it, Please I beg of you I tried so many methods... I give up please just update this man...
I'm quite confused on what you said about the datafile versions.. Can you play as Knuckles and Amy by using the CD Android data.rsdk? I tried this and I got a parsing error. Please could you clarify?
@@TrackerTD so by datafile, you mean the RSDK file? If so, I thought you said in the video that this version causes sound issues and stuff, which confused me.
@@XMB45 It does, but it's also the only way to use Origins content. You can fix the issues manually as I mentioned, but it's just a product of how Origins was put together. AFAIK mods such as Miracle Edition won't require say, an Origins datafile to use Knuckles - since they did their own port of him into CD. That'll just require the manually built decomp part. You'll still need it for Amy though.
@@TrackerTD I see! So, how exactly do I use Axanery's extract tool? Sorry for all the questions - I can't find any instructions on it for Origins or this decomp specifically :S
@@XMB45If you drag your rsdk file into the Extract tool’s exe, it should extract it into a folder. Inside that folder there’ll be a ‘Data’ folder you can use to run the decomp exe.
After using 'cmake --build build --config release' I got a bunch of errors saying 'No such file or directory [C:\Users\#####\Downloads\Sonic-CD-11-Decompilation\build\RetroEngine.vcxproj]' even though it exists, I saw it right there in the file explorer. Can anybody help?
@Ripthischannel7895 I have installed and enabled the c++ and thing but it still tells me that it couldn't find an instance of visual studio. Here's what the error said: "error: in triplet x64-windows-static: unable to find a valid Visual Studio instance Could not locate a complete Visula Studio instance"
There is no way i am installing visual studio, git and other shite just for that. Imagine downloading something just to use it for one thing only. I personally use visual studio code and i ain't bloating my pc with normal VS Why it has to be much hassle to just have access to origins plus content. Because what? "Plus" files already existing in the vanilla version of the game if you don't own the dlc?
Literally what do I do with the RSDKv5U extract? I have the origins plus file but I can't do anything with the extract file? Like what am I supposed to do, I try running it in CMD but nothing? You really should have made a seperate tutorial with origins plus files exclusively because this tutorial is not making any sense at all, especially with how you handled the extract.exe file.
Guys HELP ME HOW TO SOLVE THIS ERROR PLSS -- Could NOT find Ogg (missing: Ogg_DIR) libogg not found, attempting to build from source -- Could NOT find unofficial-theora (missing: unofficial-theora_DIR) could not find libtheora from unofficial-theora, attempting to find through Theora -- Could NOT find Theora (missing: Theora_DIR) could not find libtheora, attempting to build manually -- Could NOT find Vorbis (missing: Vorbis_DIR) libvorbis not found, attempting to build from source -- Could NOT find GLEW (missing: GLEW_DIR) could not find glew, attempting to build from source CMake Error at platforms/Windows.cmake:67 (find_package): Could not find a package configuration file provided by "SDL2" with any of the following names: SDL2Config.cmake sdl2-config.cmake Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set "SDL2_DIR" to a directory containing one of the above files. If "SDL2" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:62 (include) -- Configuring incomplete, errors occurred! When I put the command cmake -B build this error appears
If you shift + right click in Windows Explorer, you should be able to open Powershell or Terminal instead. They’re basically the same thing, you just have to type ./ before executing exe files and stuff sometimes. To be honest, they’re what I’ve always used - I didn’t know you could do the command in address bar thing until I started making this tutorial.
@TrackerTD When I Tried Using This Command On Time Code 6:04 cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=[vcpkg folder path here]/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_PREFIX_PATH=[vcpkg folder path here]/installed/x64-windows-static/ It Says Build Imcomplete Error Occurred Is There A Way To Fix That?
@@AlexVideoGamesandLongplaysYTI'm trying to access the plus content but the command is confusing, I would be grateful if you could help me by getting a tutorial or something on how to access that content since I don't understand the github tutorial
when i run this command [ vcpkg.exe install glew sdl2 libogg libtheora libvorbis --triplet=x64-windows-static ] i get this error '[' is not recognized as an internal or external command, operable program or batch file.
Not gonna lie, this tutorial is completely useless in my experience and I was never able to get it to work this way with all the errors I couldn't figure out. MegAmi's guide is *way* better.
Bro I completed all the steps and everything and I couldn't get this to work. Any chance I can give you my discord and you'll upload it on a google drive and send it to me?
As far as I know, there is no video for it; only GameBanana tutorials. (14111#H1_0 for setting up the decompilation, and 16686#H1_1 for Origins troubleshooting) Speaking of Origins troubleshooting, I have followed the former to a T, did the first section of the latter, and it still refuses to load. What do I do?
I’ve been waiting to purchase Origins Plus because I want to make sure I get a version that’ll work when trying to use the files for decomps, is there a specific platform or storefront I should get Origins Plus from or does it not matter as long as it’s the PC version? I remember hearing something a while back about the epic games store version of Mania not working for mods but I don’t remember if I ever learned any details about that so I figured I should check with someone who’s more knowledgeable about this subject before I potentially risk buying a copy of Origins that doesn’t let me access the necessary files or anything like that. Sorry if it’s a dumb question or anything, I’m assuming that just getting the collection on steam should be fine since that’s where I got CD 2011 and Mania Plus and used those, but I just wanted to be certain. Sorry for the long comment
I think I mention this in the video, but the Origins-Plus branch was only separate because of the Sonic Hacking Contest being inbound at the time - the ‘main’ GitHub for CD is now compatible with Origins Plus.
Quick addendum - When you download Visual Studio, you'll also need to install the C++ Desktop Development package for it. I forgot to mention this because I did it ages ago, sorry about that!
thank you, i installed the c++ and now im not getting the error anymore
godsent bro🙏
i can't install it because i don't have enough space
hey whats the bgm?
I Installed C++ And There Was No Error But The sdl2, libogg, libtheora and libvorbis files won't appear in the x64 windows static
5:00 Important note y'all. Copy *every* file in that folder, not just the four highlighted. I may or may not have made this mistake myself
Don't mind me. Just replying to your comment in hopes that it gets easier to find for everyone else
thanks :)
you here?
I tried getting the latest version of the decomp to work with mods for almost 2 hours and just gave up until I saw this video that actually explained the problem. So kudos to you for properly explaining how to get everything working properly!
On the other hand, after watching it still looks like a pain in the rear to set up so despite really wanting to try Miracle Edition, I think I might just stick with my ancient version of SCD Restored that still had Knuckles and Amy. At least until this process gets easier....
It won't get easier, same for the Sonic Mania Decompilation and the pretty useless S1 & S2 Decompilations. There is an easy way to do these, but you get no Amy or Knuckles, and you don't get the Encore DLC for Sonic Mania. You just have to build them manually.
i followed up to the large command at 5:58 and it didn't work. it gives me an error saying "-DCMAKE_TOOLCHAIN_FILE' is not recognized as an internal or external command,
operable program or batch file."
Pls tell me you already solved it
Hey, I just wanted to say this tutorial got me finally understanding this stuff, so thanks. I felt like i was banging my head against the wall with this info for a while.
(Goated physics for Frontiers, too, if you are that guy also, haha)
It took way too much time, but I finally (almost) set-up Sonic CD Miracle Edition with my Origins Plus RDSK, thanks to this video. That was a pretty painful process, but I did it, so thank you for this video. I really hope they simplify it down the line. The only thing is that the animated cutscenes from the original seem to be missing, so if anyone can point me in the right direction, that would be great.
I figured it out. I just installed a mod that uses Origins' versions.
@@brendanblair64 I know I'm 3 months late, but if you could send over a copy of the completed build for me through something like an email I'd really appreciate it. I'm on other social media platforms if you want to try contacting me in one of those instead.
I built Sonic 1 & 2 for Linux on my chromebook & it worked
@TrackerTD I Can't Open Up the Origins-Plus Branch and Download It When I Go into the Link It Says Page not Found and I Want To Play As Knuckles and Amy So is There Anything Like and Alternative To Play As Knuckles and Amy in Miracle Edition?
THANK YOU THIS REALLY HELPED ME, NOW I HAVE A BETTER VERSION OF SONIC ORIGINS
Question, how do you set up Miracle Edition WITH the Origins files? I just got Origins today and now I'm trying to figure out how to get Amy and Knuckles in.
6:16 when i do that is has this error CMake Warning:
Ignoring extra path from command line:
"here]/installed/x64-windows-static/"
CMake Error at C:/Program Files/CMake/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:152 (message):
Could not find toolchain file: [vcpkg
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
Oh, I kind of expected this to also go through Mania, 1 (2013) and 2 (2013) with a title like that. Still, helpful for the CD Decomp.
The process is basically the same for 1 and 2. I think Mania's slightly different, but not very. The reason for the CMake change is actually to make the process essentially identical between each game.
@@TrackerTD Ah, I see, thanks :)
@@TrackerTD I Need Help Installing Cmake In The CMD Thing
The "origins-plus" branch in the Script Decompilation of SCD11 doesn't exist anymore.
The branch was merged into the main one, so you can just use that now
@@TrackerTD No. It wasn't merged. On the contrary, they removed everything related to the Origins Plus expansion when I visited the Scripts site yesterday. You should check it.
@@TrackerTD No. It wasn't merged. They removed everything related to the Origins Plus expansion.
@@TrackerTD False...
I got the origins stuff working however when i play as knuckles the sprites start glitching and when I play as amy the game just crashes
Same issue. Building the decompilation with the "RETRO_DISABLE_PLUS" flag set to "off" results in the sprites used for the HUD and Knuckles glitching out, and setting the flag to "on" just causes Sonic to spawn in place of Knuckles. In both cases, attempting to select a stage as Amy crashes the game.
@@RoxieProxy I used the MegAmi's mod and the sonic CD miracle edition mod and the issues were fixed.. however the other sprites like shield, the signpost at the end of the stage and the big ring glitch out
One more thing I noticed is that when I extracted the sonic CD data.rsdk (from origins) using the RSDKV5EXTRACT, Amy's base sprites were missing. And also her animation file
Same for the Sonic 1 and 2 origins version. Only the sprites like level select, special stage, lives icon sprites were there
Thank GOD I took Comp Sci, or i'd be lost.
Note to everyone: Make sure that your decompilated builds are made in a directory that has NO SPACES. The CMAKE part is especially picky with that kind of thing, and it will not work otherwise.
6:07 WARNING!
Do not name ANY of your folders with a SPACE in them, otherwise once you go and run this you'll get the error "Could not find toolchain file: D:/Altro/Giochi/PC/Sonic/Sonic" (in my case).
I created a folder named "Sonic CD" and as you can see the program looks for a folder simply named "Sonic".
In order to solve this you're gonna need to delete the cloned folder and re-clone it to start from fresh, then copy all the dependencies from the vcpkg subfolders back into the cloned folder.
Of course after solving this error I got another one:
CMake Error at D:/Altro/Giochi/PC/Sonic/SonicCD/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package):
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
platforms/Windows.cmake:67 (find_package)
CMakeLists.txt:62 (include)
I'm not smart enough to figure this one out so I'm gonna peace out and hopefully a kind soul will come in my aid in the future.
Hey, I'm on 6:24 and for the life of me I cant get what I'm doing wrong. At first my "Cmakelist.txt" file was not in my "vcpkg" file. So I then moved it into the vcpkg file. And It was working until the code suddenly stopped at the first " C compile features" and it stated CMake Error at CMakeLists.txt:5 (project):
No CMAKE_Fortran_COMPILER could be found. I'm so close to being done with this and would appreciate any outside help. thanks.
I tried following all this and gave up. This is way too much effort.
6:05 Where did that "build folder" came in? There was no build folder when i was following this step. I try to do 7:28 step, and it just says:
_[Error: could not load cache]_
What "cache"?
*EDIT:* IWAS FUMB, I FORGOT THE _cmake -Bbuild_ COMMAND
Can you please make an updated vid for 2024?
We all know that some people will upload exes and apks letting you use Origins Plus content even though you didn't buy the DLC
i did that with mania
Unfortunately i havent found those people so im here
@@Arink22 i'd rather support the devs with the mania dlc cuz it's that good and for only 5 bucks
@@damonke7674 i buyed the dlc like on september 4
I hit a brick wall, for some reason cmake refuses to extract the powershell core zip correctly, i jave double and triple checked and i followed the steps correctly, but if theres a solution to this i would like to know
ran into the same issue here
So, assuming it's the same issue I had and that you have devkitpro installed, you need to go to "c:\devkitPro\msys2\usr\bin\cmake.exe" and rename "cmake.exe" to something else other than cmake
@@CuriousGuy_ a week later I'm hoping there's a fix still
@@somari8591 TH-cam keeps deleting my answer, I added you on twitter if you'd like some help with that
Okay, 7:59, I'm stuck here. You show yourself putting the rsdk file into build>debug. There is no debug folder in my build folder, where am I supposed to put it? Did I screw up a step?
Edit: Okay i think I figured it out, it just goes under "Release" it seems.
Thank you very much! Didn't where it was until i saw your comment
Replying to this comment as well in hopes that it becomes easier for others to find
I have an issue "'cmake' is not recognized as an internal or external command, an operable program or a batch file" am i doing something wrong?
I had this same issue, to fix it you need to show it where Cmake is located, mine was in C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin
So the full command would be
set=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin
I hope this helps, it worked for me
@@Brewski007oh my god dawg. Btw for guys reading this after follow his instructions but rather than set= it’s set PATH=
Like he said it tells it where cmake is. Then paste in that long ass command for the decomp. I’ve been going back and forth for 2 HOURS and your comment finally helped me fix it
@@bluecheckmiya Upvoting because this worked for me as well
Just use the "cmd" command
im having a weird issue, the decomp isnt working with the origins plus files, only the 2011 version
wait does that changes anything?
@@tophatanimationstij apparently, data.rdsk works but the Data folder does not
I watched the whole thing cuz it just popped up in my recommended feed. What's the goal exactly? Is it for patching ROM hacks? I was kind of hoping this was something that would help foster a "Sonic CD" ROM hacking community cuz there's only two (not including the Sonic 2 ROM hack with CD's time travel mechanic).
This is for the decompilation of the Sonic 1/2/CD mobile ports (and therefore the versions used in Sonic Origins) rather than the Mega Drive/Mega CD versions. The fact they’re decompiled allows for modding and porting those versions to other platforms.
I'm at the 4:20 mark, and I keep getting "This app can't run on your PC" when trying to do the glew sdl2 thing. Any help?
I had this error as well, but for whatever reason, redoing the previous step fixed it. I guess it needs to restart or something?
looks hard but if i want miracle edition im gonna have to lock in
This tutorial was pretty helpful and I have gotten the game working but I don't know if this was a problem on my end or i so how did something wrong, but for some reason I was unable to get the decomp working with the config set to release I was only able to get the game running on debug config, I already did this like a long time ago when the tutorial came out, but I was just wondering if I should try to do it again or I should just stick with the build I have as I haven't tried building a decomp since I initially followed this tutorial, I also tried to build a Sonic Mania decomp a while ago but that just straight up didn't work for some reason so I think it might be a problem on my end or maybe my computer is just being weird.
It took me over 2 hours, but I did it! thanks so much!!!
My decomp stopped working after an while, and I don't know why
I had Sonic CD steam original data.rsdk and I did your tutorial but after palmtree panic I always get a script error what do i do?
How do I do this on Linux? I don't use arch btw.
I got an error at 5:41 that has to do with something that says "Cmake cache"
Hey I have a BIG question so I did everything thing right and the game worked I even had access to knuckles and Amy now. Only problem is it was REALLY SLOW IT TOOK ME MINUTES TO GET TO THE TITLE SCREEN it felt like if u play a video by 0.25x is there a way to fix this bc I looked in the settings.ini and I didn’t see anything that helped unless I have to go into the games manual settings and fix it there or fix it in RetroED somehow pls help if you see this. My guess is that it’s probably running at 8K by default because I saw another person having this problem on sonic one decompilation sonic origins plus but I don’t know how to fix it.
i have while playing sonic cd
Knuckles and amy isn't available (partially)
In save files i can't select them
In dev menu when i'm trying to play as knuckles
he turns into sonic
When i'm trying to play as amy
The hud sprites being replaced with sprites of amy
While making the build folder, did you do -DRETRO_DISABLE_PLUS=on? If so, you should make the build folder again (That's what I did) and after you do the code, write -DRETRO_DISABLE_PLUS=off instead.
@@arandomhedgehog2544 i figured it out already
@crossover0994 Oh ok
I'm stuck at 4:31, it says error: in triplet x64-windows-static: Unable to find a valid Visual Studio instance
Could not locate a complete Visual Studio instance. I have installed everything needed. Is there a solution?
idk man im having the same problem
I know this was 2 months ago but incase anyone else ends up reading this, check out the pinned comment TrackerTD posted, it'll fix your issue.
No matter what I try I can't get the manual decomp for Sonic 1 and 2 to work. It always tells me on the final command that there isn't a cmakelists file in the vcpkg folder
An issue I found in this tutorial around 4:57 was that moving those files to the decompilation folder actually messed up alot of steps going forward for me, so I instead left them in the vcpkg folder and everything worked fine and I was able to build a release. I dont know if this will help anyone but it worked for me.
Could you describe how? I'm struggling with the Decomp, because although it does get built, whenever I try to launch a stage with Amy the game just crashes, and I did try that Tutorial in Gamebanana that told me to edit the files with hex edit (I do have the plus DLC)
I did everything right, but I got this : "CMake Warning:
Ignoring extra path from command line:
"CD\vcpkg/installed/x64-windows-static/"
CMake Error at C:/Users/darwi/Downloads/Cmake 3.30.0/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:152 (message):
Could not find toolchain file: C:\Users\darwi\Downloads\Sonic
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!"
What Did I do wrong?
same thing
Bro, there's already a lot to make a few more characters work, my god how do you do that??If anyone has the file ready or something similar, please send it to me.
Having the file ready for you is illegal, since the origins plus data.rsdk is used. You would basically be pirating the game.
i -cannot- get the origins one to build...
ami no me sale amy al momento de seleccionar el jugador
Question! I managed to do pretty muc everything, and the build worked with a 2011 decomp RSDK. I swapped over to Origins Plus, downloaded the scripts, and unencrypted the OP RSDK, yet the game won't launch.
Right now the scripts and SonicCDu folder are in the folder with the .exe as well.
Is there something I'm missing?
Figured it out! I had to take data out of the SonicCDu file.
@@e.s.4958How did you do it? I'm having the same error, it won't start, and I have the SonicCDu RSDK file inside along with the RSDKv3 exe
it wont work for me:(@@e.s.4958
There are a few things you'll need to update bc I am unable to add the origins sonic cd data so I'll need help with that
Give it enough time and someone's going to pull off their own Forever/Absolute for CD seeing how messing with the many versions of it has been complicated for people.
I've run into a problem, don't know why, but Knuckles' and Amy's Sprites and Animations don't load properly. Amy doesn't have anything, while Knuckles has some sprites. How can I fix this?
How do i install github for windows? I know how to find its files and use cmd on it but what i need is the github for windows im using github desktop but idk if its usual to use it so pls reply
legend. thanks.
I have a small problem: while the decomp loads fine with my Origins Plus rdsk, somehow only Sonic is playable. Did I do something wrong?
Edit: 2 months late but I got it working. It didn't work because I forgot to download MegAmi's mod. Sorry!!
im sorry but can you teach me how yo do it? the game just not opens
I’m gonna be honest, I’m kind of stupid when it comes to this building stuff but when I put the vcpkg root stuff in the command line that you mentioned at 5:47 (and the folder root as well) I keep getting this error that says: CMake Warning:
Ignoring extra path from command line:
“Stuff/VCPkg/installed/x64-windows-static/“
CMake Error at C:/Program Files/CMake/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:154 (message):
Could not find toolchain file: C:/Build
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
- Configuring incomplete, errors occurred!
I genuinely cannot think what I did wrong. Edit: Y’all I think I give up, I don’t know what to do at this point. I think I’d rather just someone upload their built copy of the decomp so I don’t have to get these bizarre errors. This is why I hate building these decompilations because I’m always afraid something is gonna go south.
I get the same error, did you eventually find a solution to this?
@@SneakyGreninja I found out that if you name your folder that your building it in to something simple like ‘Sonic’ or ‘VCPKG’ or even GitHub as shown in the video, this error shouldn’t happen. For some reason I guess it hates somewhat long folder names lol
@@SneakyGreninjaAlso best to build it in an folder that doesn’t contain multiple roots like one guy in this comment section did.
@@ThePlayerInBed I tried both "Sonic" and "GitHub" and neither of them worked
@@SneakyGreninjaShit man I don’t know then, that’s what worked for me.
im having this problem where everytime i try to put vcpkg or whatever it is inside the command cmd, it just stops throughout 15% and doesnt actually put the file there, what do i do?
But how set on android? Or there is another method for android?
cool Can you make a tutorial how to install mods into Sonic CD Decomplimation?
I Can't Find The Data Folder Where Is It?
6:08 i got an error about the cmake lists and cache text files not being the same as the ones used to generate. should i copy and replace the files with the ones from vcpkg or my cmake installation or should i do something else?
i really need to know, is all the script stuff for origins plus or not?
Please update this, I tried so many times and don't pause little things that are incredibly important bc this has been updated so I think you might want to update the tutorial with it, Please I beg of you I tried so many methods... I give up please just update this man...
I'm quite confused on what you said about the datafile versions.. Can you play as Knuckles and Amy by using the CD Android data.rsdk? I tried this and I got a parsing error. Please could you clarify?
To use Amy and Knuckles, you'll need a datafile from Sonic Origins Plus, as well as building the decomp manually.
@@TrackerTD so by datafile, you mean the RSDK file? If so, I thought you said in the video that this version causes sound issues and stuff, which confused me.
@@XMB45 It does, but it's also the only way to use Origins content. You can fix the issues manually as I mentioned, but it's just a product of how Origins was put together.
AFAIK mods such as Miracle Edition won't require say, an Origins datafile to use Knuckles - since they did their own port of him into CD. That'll just require the manually built decomp part. You'll still need it for Amy though.
@@TrackerTD I see! So, how exactly do I use Axanery's extract tool? Sorry for all the questions - I can't find any instructions on it for Origins or this decomp specifically :S
@@XMB45If you drag your rsdk file into the Extract tool’s exe, it should extract it into a folder. Inside that folder there’ll be a ‘Data’ folder you can use to run the decomp exe.
I got a question, if I just have the base origins decomp, can I still play as knuckles and amy I'm cd, or do I need the origins plus decomp.
Thou needs the decompilation.
@@minicritsstudent how do I decompile the switch version of Origins Plus?
Well this video has never been more unhelpful
Rude, at least tell us why it's "unhelpful"
Edit: It may be a dated tutorial, something about the origins plus branch...
will you eventually make a tutorial on how to build the sonic 1/2 decomps?
It’s basically the same as this.
ok thanks
@@TrackerTD
After using 'cmake --build build --config release' I got a bunch of errors saying 'No such file or directory [C:\Users\#####\Downloads\Sonic-CD-11-Decompilation\build\RetroEngine.vcxproj]' even though it exists, I saw it right there in the file explorer. Can anybody help?
How exactly can I get the Sonic Origins Data.rsdk file? I tried looking into the exe folder and it isn't there.
i tried this and this is too hard, i get a error message that saying there is no visual studio instance, i give up :(
@deadchannel7895 actually nvm I decompiled scd
@Ripthischannel7895 I have installed and enabled the c++ and thing but it still tells me that it couldn't find an instance of visual studio. Here's what the error said:
"error: in triplet x64-windows-static: unable to find a valid Visual Studio instance
Could not locate a complete Visula Studio instance"
Sonic CD Is the Best!
so weird thing that happend with me is that i try to use the cmake command and it just fails can you help me here?
The same thing happened to me but I decided to use "cmd" instead of "cmake". now my build is perfect so try using "cmd" instead of "cmake"
There is no way i am installing visual studio, git and other shite just for that. Imagine downloading something just to use it for one thing only. I personally use visual studio code and i ain't bloating my pc with normal VS
Why it has to be much hassle to just have access to origins plus content. Because what? "Plus" files already existing in the vanilla version of the game if you don't own the dlc?
just buy sonic origins plus and stop crying
@@thatdey I did and i hate it
@@thatdey I have Plus too but this is so frustrating to do
Been doing this for the past 4 hours now, no luck. Stuck at about the 5 minute mark. Never decomping ever again bro
Literally what do I do with the RSDKv5U extract? I have the origins plus file but I can't do anything with the extract file? Like what am I supposed to do, I try running it in CMD but nothing? You really should have made a seperate tutorial with origins plus files exclusively because this tutorial is not making any sense at all, especially with how you handled the extract.exe file.
You just drag the .rsdk file onto the Extract tool. That doesn’t really need its own video.
the game wont start even after i did that@@TrackerTD
How do i get the data folder
Guys HELP ME HOW TO SOLVE THIS ERROR PLSS
-- Could NOT find Ogg (missing: Ogg_DIR)
libogg not found, attempting to build from source
-- Could NOT find unofficial-theora (missing: unofficial-theora_DIR)
could not find libtheora from unofficial-theora, attempting to find through Theora
-- Could NOT find Theora (missing: Theora_DIR)
could not find libtheora, attempting to build manually
-- Could NOT find Vorbis (missing: Vorbis_DIR)
libvorbis not found, attempting to build from source
-- Could NOT find GLEW (missing: GLEW_DIR)
could not find glew, attempting to build from source
CMake Error at platforms/Windows.cmake:67 (find_package):
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files. If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:62 (include)
-- Configuring incomplete, errors occurred!
When I put the command cmake -B build this error appears
the same with me
@@nuuh-69hellnah yeah
What if I don't own origins or the 2011 port?
Then buy Origins. Otherwise Google is your best friend.
@@the-aspiring-creator4249 Otherwise you are using an illegal copy of the data.rsdk file.
For some reason at this part (3:56), when I type cmd into there, it's not opening up. Is there any workaround this?
If you shift + right click in Windows Explorer, you should be able to open Powershell or Terminal instead. They’re basically the same thing, you just have to type ./ before executing exe files and stuff sometimes.
To be honest, they’re what I’ve always used - I didn’t know you could do the command in address bar thing until I started making this tutorial.
@@TrackerTD Oh yeah, one more thing. Do I need Development with C++ for Visual Studio for building the decomp?
@@BetaNCoursesa bit late, but yes! Forgot to mention that, added a comment to mention it
@@TrackerTDok here’s another thing, Is it possible to switch up renders? Like I want to have SDL2 as my primary render for the RSDKv5 Decompilation.
nice battle garegga music
it wont open :(
i have a problem with the vcpkg path how do i do it i cant see how you did it
im having the same problem as well :(
@TrackerTD When I Tried Using This Command On Time Code 6:04 cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=[vcpkg folder path here]/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_PREFIX_PATH=[vcpkg folder path here]/installed/x64-windows-static/ It Says Build Imcomplete Error Occurred Is There A Way To Fix That?
where it says "vcpk path folder here" you must put where you left the vcpk folder
example: C: User/Desktop/folder name/vpck
@@pekesf6577 Okay
@@pekesf6577 Once I Do It How Can I Repay You Like Subbing To You
@@AlexVideoGamesandLongplaysYTI'm trying to access the plus content but the command is confusing, I would be grateful if you could help me by getting a tutorial or something on how to access that content since I don't understand the github tutorial
@@pekesf6577 Hmm I Don't know About That Because I'm Still Building The Decomp
im in mobile how can i do this?
someone can give the custom scripts?
I officially hate sonic origins if it didn't exist i have to do all this shit just to play as knuckles the fucking echidna
when i run this command [ vcpkg.exe install glew sdl2 libogg libtheora libvorbis --triplet=x64-windows-static ] i get this error '[' is not recognized as an internal or external command,
operable program or batch file.
you have to run said command without the [ ] symbols, do this for all commands and thank me later
Not gonna lie, this tutorial is completely useless in my experience and I was never able to get it to work this way with all the errors I couldn't figure out. MegAmi's guide is *way* better.
Bro I completed all the steps and everything and I couldn't get this to work. Any chance I can give you my discord and you'll upload it on a google drive and send it to me?
How much time did you spend following this tutorial to make you want to comment how useless it was?
Send the link of her video
As far as I know, there is no video for it; only GameBanana tutorials. (14111#H1_0 for setting up the decompilation, and 16686#H1_1 for Origins troubleshooting) Speaking of Origins troubleshooting, I have followed the former to a T, did the first section of the latter, and it still refuses to load. What do I do?
@@crustykeycap5670 (On an “unrelated note”) For me, It took me *_God Knows How Long_*
I’ve been waiting to purchase Origins Plus because I want to make sure I get a version that’ll work when trying to use the files for decomps, is there a specific platform or storefront I should get Origins Plus from or does it not matter as long as it’s the PC version? I remember hearing something a while back about the epic games store version of Mania not working for mods but I don’t remember if I ever learned any details about that so I figured I should check with someone who’s more knowledgeable about this subject before I potentially risk buying a copy of Origins that doesn’t let me access the necessary files or anything like that. Sorry if it’s a dumb question or anything, I’m assuming that just getting the collection on steam should be fine since that’s where I got CD 2011 and Mania Plus and used those, but I just wanted to be certain. Sorry for the long comment
any pc version should work
No dropdash? everything else works though
IIRC Drop Dash requires an edit to the GameConfig.bin file to enable, not tried it myself though
In the most recent update for sonic cd restored, you have to beat the game in 15 minutes or shorter to unlock it, it's pretty dumb LOL
could you do one for Mania decomp?
cmake command doesn't work
i understand it now
excuse me the site for the origins plus has shut down so could anyone please find the scripts for cd origins plus pack
I think I mention this in the video, but the Origins-Plus branch was only separate because of the Sonic Hacking Contest being inbound at the time - the ‘main’ GitHub for CD is now compatible with Origins Plus.
but i dont see it in the main
ohhhh the game doesn't run (barely worth it if the audio is broken anyway)
VCPKG Crashes Me Pls HELP
based
Is this work for android?
no
this left me even more confused
A bueno es mi fin, no hablo ingles ni tengo pc, hmmmm perfecto
i got a headache trying to understand this video
Can you make tutorial for Android version?
To be honest, this video seems outdated and it doesn't help me.
Me that doesn't a have pc for doing this: Fu-
i just can't pass through that fuckind cmake part. if only someone had that fucking custom build so that i could play this shitty game...
Lost me here 2:28