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

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

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,845
Trophies
2
XP
7,965
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,347
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,347
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
    Psionic Roshambo @ Psionic Roshambo: In my opinion on all other factors they are pretty much the same. +1