Homebrew Space Cadet Pinball Switch port

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,190
Trophies
0
Age
47
XP
3,698
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,966
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,934
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,966
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,966
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
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    That Dell data breach is worse than people probably realize....
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    +2
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=tG7fk_DUz5g +1