Homebrew Space Cadet Pinball Switch port

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,181
Trophies
0
Age
47
XP
3,667
Country
Kazakhstan
I couldn't get the MIDI soundtrack to play despite having a soundfont and correct config, so I just converted it to mp3.
Thank you, super nice game! Love it!..

Have just two questions: how to turn on the music? I converted PINBALL.MID and PINBALL2.MID files into MP3s, put them and the new 1.1.1-NX1 release, but there's no bg music at all.

And the second: how one may change L and R buttons into the ZL and ZR?.. And Dpad left-right into L and R? Wish for some kind of cfg file!
 

averne

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
187
Trophies
0
XP
1,946
Country
France
Thank you, super nice game! Love it!..

Have just two questions: how to turn on the music? I converted PINBALL.MID and PINBALL2.MID files into MP3s, put them and the new 1.1.1-NX1 release, but there's no bg music at all.

And the second: how one may change L and R buttons into the ZL and ZR?.. And Dpad left-right into L and R? Wish for some kind of cfg file!
That release should have the MP3 embedded in its romfs so it doesn't need any additional work.
I converted the soundtrack with
timidity -c timidity.cfg PINBALL.MID -Ow -o - | ffmpeg -i - -c:a libmp3lame -b:a 64k PINBALL.MP3, with timidity.cfg pointing to my soundfont (soundfont gm.sf2). Place that in your assets directory right next to the original midi file. Make sure that the filename is all caps.

The controls can be configured here https://github.com/averne/SpaceCadetPinball-NX/blob/master/SpaceCadetPinball/options.cpp#L54-L59, with the values from here https://github.com/devkitPro/SDL/blob/switch-sdl2/src/joystick/switch/SDL_sysjoystick.c#L47-L55 (the index of the key inside that array).
 
  • Like
Reactions: mathew77

zerofalcon

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
814
Trophies
1
Location
Somewhere close to my NES
XP
2,914
Country
Thank you, super nice game! Love it!..

Have just two questions: how to turn on the music? I converted PINBALL.MID and PINBALL2.MID files into MP3s, put them and the new 1.1.1-NX1 release, but there's no bg music at all.

And the second: how one may change L and R buttons into the ZL and ZR?.. And Dpad left-right into L and R? Wish for some kind of cfg file!
Open the file "imgui.ini" created after launching the NRO. Edit "Music=0" to "Music=1" and save.
Thanks for this port! Brings a lot of memories.
 
  • Like
Reactions: mathew77

Shaneus

Well-Known Member
Member
Joined
May 25, 2006
Messages
117
Trophies
1
XP
519
Country
Australia
This is working amazingly well. But for some reason I can't get it to load CADET.DAT. Updated the .ini and made sure the file was in the same folder as the .nro, but the logo/picture on the right hand side still looks like the Windows one.

It looks like this:
DYK2plaW0AEHeir


I think it should look like this when using the Full Tilt! version:

space-cadet-pinball-original_5481.jpg
 

averne

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
187
Trophies
0
XP
1,946
Country
France
This is working amazingly well. But for some reason I can't get it to load CADET.DAT. Updated the .ini and made sure the file was in the same folder as the .nro, but the logo/picture on the right hand side still looks like the Windows one.

It looks like this:
DYK2plaW0AEHeir


I think it should look like this when using the Full Tilt! version:

space-cadet-pinball-original_5481.jpg
It uses assets embedded in the nro so that can't be changed easily. It needs a recompile, get in touch if you want me to help.

I changed the music and controls in the ini but still no music and the controls didn't change?
Those settings are hardcoded for now, I'll fix that this evening.
 

averne

Well-Known Member
OP
Member
Joined
Jan 21, 2020
Messages
187
Trophies
0
XP
1,946
Country
France
It's now possible to configure the game with a file. Upon the first launch, a file called "imgui_pb.ini", will be created, containing several settings such as music/sound activation/key mapping, etc. It also allows to save your high scores.

@mathew77 For mapping the bumpers to ZL/ZR, change "Left Flipper key" and "Right Flipper key" to 8 and 9, respectively.
@NGT You can now turn off the music with "Music=0"
@Shaneus if CADET.DAT is present in the same directory as the nro, it will be loaded. Note that all music/audio will be broken for now, as the upstream decompilation didn't implement it. See screenshot:
2021101922224600-DB1426D1DFD034027CECDE9C2DD914B8.jpg


The release is available at: https://github.com/averne/SpaceCadetPinball-NX/releases/latest
 

NGT

Well-Known Member
Newcomer
Joined
Feb 4, 2018
Messages
88
Trophies
0
XP
565
Country
United States
It's now possible to configure the game with a file. Upon the first launch, a file called "imgui_pb.ini", will be created, containing several settings such as music/sound activation/key mapping, etc. It also allows to save your high scores.

@mathew77 For mapping the bumpers to ZL/ZR, change "Left Flipper key" and "Right Flipper key" to 8 and 9, respectively.
@NGT You can now turn off the music with "Music=0"
@Shaneus if CADET.DAT is present in the same directory as the nro, it will be loaded. Note that all music/audio will be broken for now, as the upstream decompilation didn't implement it. See screenshot:View attachment 280586

The release is available at: https://github.com/averne/SpaceCadetPinball-NX/releases/latest
I meant if we can turn on and off music from within the game itself. The psvita port has access to the settings that windows has from the game itself. Anyway thanks for this!
 

Dfox44

Member
Newcomer
Joined
Oct 2, 2020
Messages
15
Trophies
0
Age
31
XP
269
Country
Canada
Where do I throw everything, and what Files are needed?

switch/SpaceCadetPinball/SpaceCadetPinball.nro
Take all Files and throw it in this Directory. Should work perfectly, and here is the Forwarder
https://mega.nz/file/vVMymTja#o51SVT5Z2U9KEc0YGh7sDoDGYoYXLr-Zo_jVokz8KUI
Unfortunately after using this once during the first launch. It stopped working. I did edit my high scores with the .ini file so not sure if that has something to do with it, it just crashes everytime I try to use the forwarder :(

NVM figured it out!
 
Last edited by Dfox44,
  • Like
Reactions: Smoker1

ThinWalls

Member
Newcomer
Joined
Sep 30, 2021
Messages
6
Trophies
0
Age
34
XP
94
Country
United States
Unfortunately after using this once during the first launch. It stopped working. I did edit my high scores with the .ini file so not sure if that has something to do with it, it just crashes everytime I try to use the forwarder :(

NVM figured it out!
please share how you fixed it, my forwarders don't seem to work :/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Never heard of tiger crust. What is it?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Its known as tiger bread, also known as dutch crust.
  • Maximumbeans @ Maximumbeans:
    It's fuggin gooooood
    +1
  • RedColoredStars @ RedColoredStars:
    I mean. Whats different about it?
  • RedColoredStars @ RedColoredStars:
    Never even seen a tiger crust pizza in any stores around here. Walmart, Cub, or otherwise.
  • RedColoredStars @ RedColoredStars:
    Must be a regional thing.
  • RedColoredStars @ RedColoredStars:
    Gonna smoke this bowl then go get kitties ashes. <3
  • RedColoredStars @ RedColoredStars:
    Last thing I told her is how much I love her, and that Im not leaving her there forever and I promise to come back and take her back home with me.
  • Bunjolio @ Bunjolio:
    halllo
  • Black_Manta_8bit @ Black_Manta_8bit:
    hello, anyone is able to create cheat patches for cemu? i have a simple request if anyone can help
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Rest in piece. Hope she rests well, she'll always love you too. :sad:
    SylverReZ @ SylverReZ: @RedColoredStars, Rest in piece. Hope she rests well, she'll always love you too. :sad: