Homebrew Space Cadet Pinball Switch port

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,690
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,957
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,925
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,957
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,957
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.
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • 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!
    TwoSpikedHands @ TwoSpikedHands: I appreciate the insight!