SRB2 Message Board

SRB2 Message Board (https://mb.srb2.org/index.php)
-   Mods (https://mb.srb2.org/forumdisplay.php?f=69)
-   -   SRB2 Kart Switch Port (https://mb.srb2.org/showthread.php?t=44435)

heyjoeway 02-08-2019 06:24 PM

SRB2 Kart Switch Port
 
2 Attachment(s)
Sonic Robo Blast 2 Kart for the Nintendo Switch

https://mb.srb2.org/attachment.php?a...1&d=1549651495

SRB2 Kart (1.0.4) is finally playable on the Nintendo Switch! Not really sure what else to say except the notes below. Big thanks to carstene1ns for his work on the initial port; I really only did some polishing work to get this up and running. The game mostly runs at its full framerate (35 FPS).

Installation Instructions
1. Make sure your Switch can run homebrew.
2. Extract the contents of the zip to the root of your SD card.
3. Start SRB2 Kart via hbmenu (or whatever method you prefer).

Update Instructions
Kart 1.0.3/1.0.3.1 -> 1.0.4
- Download the update patch in the downloads section, extract it to the root of your SD card, and overwrite any conflicting files.
- If you still have kartexec.cfg, you can delete it. It was previously used to load bonuschars.kart when the add-ons menu wasn't working but now may cause issues if trying to join servers that don't use the add-on.

Features
- Full online support*
- Full mouse/keyboard support
- Software keyboard supported when able to pause game

* Online support requires full RAM access. This means you can't launch hbmenu from the album applet when running this. Here's a good tutorial on a fix: https://gbatemp.net/threads/use-atmo...ut-nsp.521240/

Notes
- I've included a kartconfig.cfg that sets the resolution to 800x450 by default. It doesn't really do anything else so you can leave it out if you'd like.
- The game takes a bit to boot. A faster SD card may help with this.
- Without a config file, the game's default resolution is 320x200. I recommend setting it to 800x450 for the best balance of performance and visuals.
- You are unable to use the software keyboard when you are unable to pause the game. This is because the software keyboard pauses the entire game while it is active and could effectively be used as a lag switch.
- The game continues to run while on the Switch's home screen when you are unable to pause for the same reason as above.
- If you want to play the game with mouse/keyboard, you'll have to bind most of the buttons yourself.
- All button bindings are set to match the Xbox controller layout (Xbox A -> Switch B, Xbox X -> Switch Y, etc.)

Issues
- OpenGL doesn't work. If anyone smarter than me wants to take a crack at this, please do. (Hint: I'm pretty sure Switch SDL2 only supports GLES.)
- Split joy-cons don't work.
- If you put the console to sleep while hosting a network game, your Switch will crash, so don't do that. I've had various other crashes related to sleep mode, but they're pretty much random.

Download
Full Game: https://drive.google.com/open?id=1A8...t8WPUrs58GOFct
Update Patch (1.0.3/1.0.3.1 -> 1.0.4): https://drive.google.com/open?id=1fR...VQAG1yqgtNrmZ9

Includes required data files and is built using the latest devkitPro bundle on Debian.
If you'd just like the NRO executable, you can find it attached to this post. You'll have to supply the data files yourself if you go that route.

Source
https://github.com/Joseph14078/Kart-...ee/switch-port

Changelog
Kart 1.0.4: (Current)
- Updated Kart to v1.0.4. No Switch-specific changes.

Kart 1.0.3.1:
- Fixed add-ons menu
- Added online support
- Added mouse/keyboard support
- Added software keyboard support
- Tweaked default controls
- Fixed multiplayer menu crash

Kart 1.0.3:
- Initial release

Prime 2.0 02-10-2019 04:17 AM

Obligatory: You jailbreak and run homebrew software on your switch at your own risk. STJr and the SRB2MB takes no responsibility for the results of doing so.

GreenKnight9000 02-10-2019 10:25 AM

OH MY GOD
HOLY FUCK
IS THIS REALLY HAPPENING
Looks like we may get SRB2 on the Switch!

PSI Pikachu 02-10-2019 05:09 PM

Well I'll be God damned...

Ya know, in my head I thought it would be nice to do this and possible to happen but I didn't think it would actually happen. BIG Kudos to you guys. I think I'm crying tears of joy.

KÝbito 02-10-2019 11:05 PM

Holy crap! This is Happening!.

I remember seeing a thread about doing this that went nowhere, so i never thought it would really happen, now i wanna own a switch even more!, big props to you, i'm sure it wasn't an easy task to do.

ESN 02-11-2019 02:05 PM

Oh my... I don't have a switch, but it's a still brilliant work!

P.S.: Will be android port soon?

Xkower8181 02-11-2019 06:54 PM

For the people asking for port of regular SRB2.

it already exists

https://mb.srb2.org/showthread.php?t=44434

heyjoeway 02-13-2019 03:14 PM

Hey all, I've just updated the port, and I think it's nearly feature-complete at this point. Some of the notable changes include:

- Online support (!!!)
- Mouse/keyboard support (yes, mouse support)
- Software keyboard support for text fields/console
- Add-ons menu fixed
- Multiplayer menu fixed

Make sure to read the update notes if you've already downloaded this.

heyjoeway 03-18-2019 07:59 PM

Just updated the port to 1.0.4. Enjoy!

SSNTails 03-19-2019 01:22 AM

I have a branch on the Kart git that contains a large optimization of OpenGL that you might be interested in. The next step is to make it GLES-compatible.


All times are GMT. The time now is 06:14 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.