Homebrew [Release] (A newer) Sonic CD (2011) 3DS Port

Obscure

New Member
Newbie
Joined
Feb 8, 2021
Messages
4
Trophies
0
Age
33
XP
146
Country
United Kingdom
I'm having an issue with the new remap as I can't use the dpad at all, even with the right settings. I'm using the rsdk from the latest Google Play version.
 

OiaoaIsoq

New Member
Newbie
Joined
Oct 29, 2023
Messages
3
Trophies
0
Age
22
XP
27
Country
Albania
Hey this stuff's amazing, but i was wondering: is it compatible with mods at all?
edit: my bad i just read its not. just got it on my 2ds tho, it runs so well and for someone whos beat sonic cd on picodrive on that same o2ds with an amount of frameskip that hurt like hell, i really really appreciate this. Only issue is i cant access root on my phone, even though i tried to use an app for it so i cant get the proper data srdk. So idk what i can do to play tidal tempest now, it was my favorite level
 
Last edited by OiaoaIsoq,

OiaoaIsoq

New Member
Newbie
Joined
Oct 29, 2023
Messages
3
Trophies
0
Age
22
XP
27
Country
Albania
I recently pushed a new commit that re-enables mod support actually, but just haven't released a minor update with it yet. Feel free to compile it manually for the time being.

However, it also came to my attention while testing that the game completely breaks when trying to use the decompiled scripts folder (TxtScripts = true), even when using the non-mobile RSDK, which has me completely stumped so far. No clue why it would do it as I never messed about with or removed mod and script related code. If you try it, you'll see what I mean; can't even get past the title screen with it enabled.

So as far as mods go, only mods that don't touch the scripts are supported. I tried the smooth rotations mod and that
Wheres that commit, and how should we be able to compile it manually? I know how to do the pc compilation but not this one
Could you link us a quick guide if there is one
Thanks in advance
Edit: forget all this, i just checked your repo and found instructions. Now all i should need to do is just build manually and itll have all the features until the latest comitt, right?
last edit: i gave up trying to build the compilation, there seems to be a problem when i get to the make command with some libtinyxml2 stuff, which i was able to solve but then came up with another error. Guess ill just be patient till next release or till someone who knows how to do this can make a tutorial. If you could id really appreciate it, i dont wanna pressure anyone for this so whatever time it takes
 
Last edited by OiaoaIsoq,

Voxel

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2015
Messages
46
Trophies
0
Location
E1M1
Website
github.com
XP
754
Country
United Kingdom
Wheres that commit, and how should we be able to compile it manually? I know how to do the pc compilation but not this one
Could you link us a quick guide if there is one
Thanks in advance
Edit: forget all this, i just checked your repo and found instructions. Now all i should need to do is just build manually and itll have all the features until the latest comitt, right?
last edit: i gave up trying to build the compilation, there seems to be a problem when i get to the make command with some libtinyxml2 stuff, which i was able to solve but then came up with another error. Guess ill just be patient till next release or till someone who knows how to do this can make a tutorial. If you could id really appreciate it, i dont wanna pressure anyone for this so whatever time it takes
Sorry for the late reply. Anything that doesn't mod the game's scripts at all (animation mods, sprite mods, etc.) should work fine with those additional commits compiled in. However anything that does mod scripts will cause the game to crash/black screen. I've tested the version of smooth rotations mod that doesn't touch scripts, and it works great.
It's my understanding that you need to grab the original decompiled scripts from a separate repo and place them under the working directory (where data.rsdk resides), but regardless of this, any script mods will still fail to run (and also even when you don't use any mods at all...). I couldn't figure out why this is the case exactly. I was under the impression that script mods work under the mobile RSDK, from what I remember when trying to figure out the problem earlier in the year. Either I've inadvertently broken the code somewhere, or there's some sort of incompatibility in external library code between the 3DS and other platforms tripping up the script loading (somewhat doubt it).
 

OiaoaIsoq

New Member
Newbie
Joined
Oct 29, 2023
Messages
3
Trophies
0
Age
22
XP
27
Country
Albania
Sorry for the late reply. Anything that doesn't mod the game's scripts at all (animation mods, sprite mods, etc.) should work fine with those additional commits compiled in. However anything that does mod scripts will cause the game to crash/black screen. I've tested the version of smooth rotations mod that doesn't touch scripts, and it works great.
It's my understanding that you need to grab the original decompiled scripts from a separate repo and place them under the working directory (where data.rsdk resides), but regardless of this, any script mods will still fail to run (and also even when you don't use any mods at all...). I couldn't figure out why this is the case exactly. I was under the impression that script mods work under the mobile RSDK, from what I remember when trying to figure out the problem earlier in the year. Either I've inadvertently broken the code somewhere, or there's some sort of incompatibility in external library code between the 3DS and other platforms tripping up the script loading (somewhat doubt it).
Hey man, thanks a lot for the clarifications. I know not all mods are compatible, but i still wanna try some. Thing is i haven't really been able to try the compilation with the latest commits, because the thing i was having trouble with was the actual building process. You explained on the github and it was working fine, I had installed the required programs and everything but I seem to be missing some library called libtinyxml2, because errors related to it keep popping up whenever i get to the point of doing the make command on the RSDKv3.3ds folder, and I've been looking everywhere but i have no idea how to fix it. I know i might be too impatient for wanting the mod support already instead of waiting for your next official release, but i was still curious about how i should be able to fix this. I dont know if youd be willing to do a tutorial on how to properly set all this up, and regardless of your answer im still thankful for the port itself, i dont mind waiting for the next release and i fully encourage you to work on it
 

GamerestBoi

New Member
Newbie
Joined
Jan 13, 2024
Messages
1
Trophies
0
Age
21
XP
3
Country
Poland
I setup my controls (with help of those bitmarks you gave the link to) and if you know you know, I ruined my game. I need serious help. Can you help me bring those controls to their default settings, and then let me use the D-Pad as the directional keys? Thanks!

EDIT: Sorry, I have a serious BRAIN problem but it somehow fixed itself? 😐

YET ANOTHER EDIT: Now all my selection buttons (A, B, START) go to the Exit Game button. Why and how can I fix that?
 
Last edited by GamerestBoi,

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,380
Trophies
1
Age
41
XP
4,587
Country
Argentina
Would it be possible to use the FMVs from the old Sega CD version for this? Or coding that would be too complicated?
 

Voxel

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2015
Messages
46
Trophies
0
Location
E1M1
Website
github.com
XP
754
Country
United Kingdom
Would it be possible to use the FMVs from the old Sega CD version for this? Or coding that would be too complicated?
I'm glad you brought up FMVs actually, because since I released this port, the libctru maintainers seem to have added support for the pthreads API, which is the missing puzzle piece for theora-play (video playback) to work. I did initially try to use libctru's existing threads API, but I just couldn't get it to work back then since I'm terrible at working with threads lol. So I may try to give this new pthreads stuff a go and see if I'll have better luck this time.
 
Last edited by Voxel,
  • Like
Reactions: raxadian

ber71

Well-Known Member
Member
Joined
Apr 24, 2019
Messages
562
Trophies
0
Age
58
XP
2,470
Country
Spain
Why do you need Citra? If you are using Windows or Linux just use the PC port. If you are using Android just buy the game.

If you already have and emulator installed, it can serve as a sandbox, so you avoid throwing unreliable shit at your PC.
 

legaiaflame

Well-Known Member
Newcomer
Joined
Nov 21, 2008
Messages
69
Trophies
1
XP
743
Country
United States
Why do you need Citra? If you are using Windows or Linux just use the PC port. If you are using Android just buy the game.

Because I want to play the game in 3D on PC with my Oculus VR headset with the Citra emulator split screen merged using virtual desktop, making it 3D. Is it possible?
 

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,380
Trophies
1
Age
41
XP
4,587
Country
Argentina
Why do people even make this kind of reply?
"You have a question? Too bad! Your question is stupid!"

Citra was discontinued so use it at your own risk.

If you already have and emulator installed, it can serve as a sandbox, so you avoid throwing unreliable shit at your PC.

You can also sandbox Apps.

Because I want to play the game in 3D on PC with my Oculus VR headset with the Citra emulator split screen merged using virtual desktop, making it 3D. Is it possible?

First Citra was discontinued, second you should just have asked somewhere else if Citra can play 3D in the Oculus VR headset.
 

legaiaflame

Well-Known Member
Newcomer
Joined
Nov 21, 2008
Messages
69
Trophies
1
XP
743
Country
United States
Citra was discontinued so use it at your own risk.



You can also sandbox Apps.



First Citra was discontinued, second you should just have asked somewhere else if Citra can play 3D in the Oculus VR headset.

Citra being discontinued has no bearing on my question. And Citra 'can' play any 3DS game in 3D using your Oculus or any VR headset, when connected to your PC. All you need to do is connect the VR headset to your PC, start Virtual Desktop, start the emulator in split screen, and merge the screens together with Virtual Desktop. It's very simple. What does the emulator being discontinued have to do with anything?

I'm more so asking if the Sonic CD .cia, could be converted to work with the emulator, that's all. I've tried decrypting the .cia file for use with CItra, but when you load it up in the emulator it says it's missing the Data.rsdk file. I have the Data.rsdk file in the same folder but Citra won't recognize it regardless. Unless there is a way to merge the two files?
 
Last edited by legaiaflame,

Voxel

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2015
Messages
46
Trophies
0
Location
E1M1
Website
github.com
XP
754
Country
United Kingdom
Citra being discontinued has no bearing on my question. And Citra 'can' play any 3DS game in 3D using your Oculus or any VR headset, when connected to your PC. All you need to do is connect the VR headset to your PC, start Virtual Desktop, start the emulator in split screen, and merge the screens together with Virtual Desktop. It's very simple. What does the emulator being discontinued have to do with anything?

I'm more so asking if the Sonic CD .cia, could be converted to work with the emulator, that's all. I've tried decrypting the .cia file for use with CItra, but when you load it up in the emulator it says it's missing the Data.rsdk file. I have the Data.rsdk file in the same folder but Citra won't recognize it regardless. Unless there is a way to merge the two files?
Sorry about that guy. Lately, this subforum has been crawling with lazy/snark replies to people with questions, it's kinda sad.

Anyway, yeah this port works great in Citra. I actually used to use it from time to time with my old 3D monitor and apart from a couple of special stage backgrounds being a bit buggy in 3D, it looks and plays really good otherwise. You should be able to just put dspfirm.cdc into the Citra user folder at /sdmc/3ds/ and then also create the "SonicCD" folder (no spaces) in /sdmc/3ds/ with the Data.rsdk inside of it. Once that's done, both 3DSX and CIA versions should work as intended. With the CIA version, are you using File -> Install CIA?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro