Homebrew WIP CannonBall - Outrun Engine ported to the Switch (5.0)

  • Thread starter MVG
  • Start date
  • Views 15,538
  • Replies 48
  • Likes 23

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,837
Trophies
2
XP
7,937
Country
United Kingdom
LANTUS!! Big fan mate. Awesome to see you working on Switch stuff now. Followed you during the Xbox/360 scene :) Wow with you and Ced2911 all we need is a Gligli then we'd have the Emulator masters together :P
 

yesimnathan

Well-Known Member
Newcomer
Joined
May 11, 2018
Messages
66
Trophies
0
Age
37
XP
301
Country
United States
I found your code on github! I can't post links yet but the github username is 'lantus' for those curious.

I'm having a weird issue attempting to compile it. This is the first switch homebrew using switch-SDL2 that I've tried to compile so it's possible that my dev setup just isn't quite right but I figured I'd post it here & see if anyone has any insight:

/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_ThreadID':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:66: undefined reference to `svcGetThreadId'
/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_SYS_SetThreadPriority':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:97: undefined reference to `svcSetThreadPriority'
collect2: error: ld returned 1 exit status
make: *** [makefile:44: release/cannonball.elf] Error 1

This is with switch-sdl2 2.0.8-7 from the devkitpro pacman repos.
 

MVG

Well-Known Member
OP
Newcomer
Joined
May 17, 2018
Messages
74
Trophies
0
Age
51
XP
1,026
Country
United States
I found your code on github! I can't post links yet but the github username is 'lantus' for those curious.

I'm having a weird issue attempting to compile it. This is the first switch homebrew using switch-SDL2 that I've tried to compile so it's possible that my dev setup just isn't quite right but I figured I'd post it here & see if anyone has any insight:

/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_ThreadID':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:66: undefined reference to `svcGetThreadId'
/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_SYS_SetThreadPriority':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:97: undefined reference to `svcSetThreadPriority'
collect2: error: ld returned 1 exit status
make: *** [makefile:44: release/cannonball.elf] Error 1

This is with switch-sdl2 2.0.8-7 from the devkitpro pacman repos.


hmm that is strange, i use the same libs. Let me see whats up
 
  • Like
Reactions: yesimnathan

DollyWhipDoll

Royalty & Unbothered. LMFAO!!! ;)
Member
Joined
May 18, 2018
Messages
451
Trophies
0
XP
991
Country
United States
I wasn't around the Xbox for the beginning of the scene, but around a month ago I discovered that interesting video on your YouTube channel about the work you did for it!

 

cpasjuste

Well-Known Member
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,483
Country
France
I found your code on github! I can't post links yet but the github username is 'lantus' for those curious.

I'm having a weird issue attempting to compile it. This is the first switch homebrew using switch-SDL2 that I've tried to compile so it's possible that my dev setup just isn't quite right but I figured I'd post it here & see if anyone has any insight:

/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_ThreadID':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:66: undefined reference to `svcGetThreadId'
/opt/devkitpro/portlibs/switch/lib/libSDL2.a(SDL_systhread.o): In function `SDL_SYS_SetThreadPriority':
/home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:97: undefined reference to `svcSetThreadPriority'
collect2: error: ld returned 1 exit status
make: *** [makefile:44: release/cannonball.elf] Error 1

This is with switch-sdl2 2.0.8-7 from the devkitpro pacman repos.
You need to update libnx.

--------------------- MERGED ---------------------------

LANTUS!! Big fan mate. Awesome to see you working on Switch stuff now. Followed you during the Xbox/360 scene :) Wow with you and Ced2911 all we need is a Gligli then we'd have the Emulator masters together :P
Was working with Ced too, "unfortunately" most of my releases where anonymous back in that time ;)
 

MVG

Well-Known Member
OP
Newcomer
Joined
May 17, 2018
Messages
74
Trophies
0
Age
51
XP
1,026
Country
United States
You need to update libnx.

--------------------- MERGED ---------------------------


Was working with Ced too, "unfortunately" most of my releases where anonymous back in that time ;)

i remember you man. good to see you! thanks for the tip about libnx :)
 

yesimnathan

Well-Known Member
Newcomer
Joined
May 11, 2018
Messages
66
Trophies
0
Age
37
XP
301
Country
United States
You need to update libnx.

Ahh yep, that did it! Thanks so much for the help! Odd, I had originally installed libnx from the devkitpro pacman packages I thought... but pacman wasn't aware of it. I had to blow away the files & reinstall.

I've gotten it to compile but now I can't seem to get it to launch - just launches to a black screen. I dropped the arcade roms in a 'roms' folder. I should just need the cannonball.nro and roms dir with the roms in it right? Directory structure is /switch/cannonball.nro & /switch/roms/*. I also made sure that I had all of the files mentioned in the roms/roms.txt file (except for the extra japanese tracks). Maybe I'm missing something else?
 

MVG

Well-Known Member
OP
Newcomer
Joined
May 17, 2018
Messages
74
Trophies
0
Age
51
XP
1,026
Country
United States
Ahh yep, that did it! Thanks so much for the help! Odd, I had originally installed libnx from the devkitpro pacman packages I thought... but pacman wasn't aware of it. I had to blow away the files & reinstall.

I've gotten it to compile but now I can't seem to get it to launch - just launches to a black screen. I dropped the arcade roms in a 'roms' folder. I should just need the cannonball.nro and roms dir with the roms in it right? Directory structure is /switch/cannonball.nro & /switch/roms/*. I also made sure that I had all of the files mentioned in the roms/roms.txt file (except for the extra japanese tracks). Maybe I'm missing something else?

you also need tilemap.bin and tilepatch.bin in /res
 

Mnecraft368

I hate my name.
Member
Joined
Aug 8, 2015
Messages
1,763
Trophies
0
XP
3,334
Country
United Kingdom
I wasn't around the Xbox for the beginning of the scene, but around a month ago I discovered that interesting video on your YouTube channel about the work you did for it!


I also saw that video not too long ago.
Nice to see someone talented coming to the switch! I hope you do great things @OP!
 

yesimnathan

Well-Known Member
Newcomer
Joined
May 11, 2018
Messages
66
Trophies
0
Age
37
XP
301
Country
United States
you also need tilemap.bin and tilepatch.bin in /res
Ahh I see. I gave that a try but I'm oddly still just getting a black screen. Those files should go in /switch/res/ on the SD card & not /switch/roms right? Is there something else I'm missing perhaps? Thanks for the help by the way & sorry for the pestering!
 

Mnecraft368

I hate my name.
Member
Joined
Aug 8, 2015
Messages
1,763
Trophies
0
XP
3,334
Country
United Kingdom
Ahh I see. I gave that a try but I'm oddly still just getting a black screen. Those files should go in /switch/res/ on the SD card & not /switch/roms right? Is there something else I'm missing perhaps? Thanks for the help by the way & sorry for the pestering!
Pretty sure he ment *root*/res
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,837
Trophies
2
XP
7,937
Country
United Kingdom
You need to update libnx.

--------------------- MERGED ---------------------------


Was working with Ced too, "unfortunately" most of my releases where anonymous back in that time ;)
I know with you guys around the Switch Homebrew scene is in great hands ;)
 
  • Like
Reactions: Dillw33d

angelhp

Well-Known Member
Member
Joined
Nov 30, 2014
Messages
512
Trophies
0
XP
2,378
Country
United States
Thanks for this port...run very well
a bug
a small flicker on right side of the screen
 
  • Like
Reactions: MVG

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I went to auction at a mom/pops video game store few months ago that was closing, and bought 11 slims for $200, 1 was DOA but 10 work fine. so hella deal. Already rgh3'ed 8 of them. But most younger kids don't even want anymore, unless it plays stupid "fortnight", or newer shit.
  • K3Nv2 @ K3Nv2:
    Think I'm gonna use my giftcard balance on a nice pair of headphones but $100 is still limited
  • K3Nv2 @ K3Nv2:
    Soundcore q30s are nice but they leak so much sound it sounds like speakers
  • Psionic Roshambo @ Psionic Roshambo:
    Ken spend the 100 on a gun and skii mask, wait for a jogger at the park jewelry money and headphones!
    +1
  • K3Nv2 @ K3Nv2:
    If only Amazon sold guns
    +1
  • K3Nv2 @ K3Nv2:
    Fucking dick heads think it's a bad idea to get a gun 2 days later
    +1
  • BigOnYa @ BigOnYa:
    Wait, I thought you were the dickhe...nvm
    +1
  • K3Nv2 @ K3Nv2:
    I got balls on my chin and two dicks on my forehead sir
    +1
  • BigOnYa @ BigOnYa:
    Sorry, no offense there double dickhead chinballs.
    +1
  • K3Nv2 @ K3Nv2:
    Chicks still love it
    +1
  • BigOnYa @ BigOnYa:
    "Mommy, look, what is that?". "That's your soon to be daddy."
    +1
  • K3Nv2 @ K3Nv2:
    That you'll only see once
    +2
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
    +1
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    +1
  • Veho @ Veho:
    Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
    +1
  • K3Nv2 @ K3Nv2:
    4k portrait mode?
    +1
    K3Nv2 @ K3Nv2: https://youtu.be/Rx-KuevU4h4?si=1MoSvL-y5fFFHf58 Damn kinda sad for Iran +1