Homebrew Project SDL 2 port ongoing

JeffRuLz

Well-Known Member
Member
Joined
Sep 14, 2018
Messages
163
Trophies
0
XP
2,552
Country
United States
If you are willing to create a branch of Abbaye which calls SDL_SetWindowDisplayMode to set the video mode, then it will be easier for me to add the missing support.
Apologies dude, I didn't notice you requested this until now. I made a branch here: https://github.com/JeffRuLz/abbayedesmorts-3ds/tree/wii

First of all, I made it so it sets the display mode to 320x240 if it detects a file called 240p.txt (here). I'm not really sure if I did that correctly.
Also, setting SDL_WII_JOYSTICK_SIDEWAYS doesn't seem to change anything. The d-pad is still oriented like the remote is upright. It's set before SDL_Init so I'm not sure what I'm doing wrong there.

And lastly, since this game runs at 256x192 I wanted to display it in the center of the screen with a border filling the remaining space. When the window size doesn't match the logical size then the game is displayed in the top left corner. I believe the standard SDL behavior is to center the screen to the window, but I may be remembering wrong.
 

Fancy2209

Member
Newcomer
Joined
Aug 8, 2021
Messages
16
Trophies
0
Age
23
XP
108
Country
Portugal

Fancy2209

Member
Newcomer
Joined
Aug 8, 2021
Messages
16
Trophies
0
Age
23
XP
108
Country
Portugal
Also, I (succesfully this time) ported Sonic Robo Blast 2.1.25 to the Wii, but the Joystick api reports there are 0 Joysticks avaliable, this prevents me from using any kind of controller, Wii Remote, Classic Controller or GameCube Controller.
Any ideas? It's not that great to need to plug a keyboard in.
This is the repo: https://github.com/Fancy2209/SRB2/tree/Wii2125
 
Last edited by Fancy2209,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Not allowed here in Ohio without Duck hunting permit, n it not in season yet.
  • K3Nv2 @ K3Nv2:
    Just say it was trespassing and you thought it was ancientboi
    +1
  • BigOnYa @ BigOnYa:
    We can shoot racoon, possums, skunks, cayottes tho
    +1
  • AncientBoi @ AncientBoi:
    I can shoot guys :shy::blush::evil:
    +2
  • BigOnYa @ BigOnYa:
    Not from more than 2 feet tho
    +1
  • K3Nv2 @ K3Nv2:
    You confuse shooting for milking
    +3
  • K3Nv2 @ K3Nv2:
    @AncientBoi, hasn't shot anything since 1938
    +2
  • AncientBoi @ AncientBoi:
    I think that was "The great depression" time
  • BigOnYa @ BigOnYa:
    It like one of those fake guns, that shoot, then a flag comes out and says, "splash"
    +2
  • K3Nv2 @ K3Nv2:
    Yeah a world War wasn't going on or anything
  • K3Nv2 @ K3Nv2:
    Americans lied about camps for propaganda
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, where is your gun at?
  • K3Nv2 @ K3Nv2:
    I thought he already showed you his gun
  • BigOnYa @ BigOnYa:
    "This is my rifle, this is my gun. This is for fighting, this is for fun." - Full Metal Jacket
    +1
  • AncientBoi @ AncientBoi:
    We actually said that in Boot Camp, waaay before the movie :mellow:
    +1
  • K3Nv2 @ K3Nv2:
    I gotta raid0 these m.2s yay
  • BigOnYa @ BigOnYa:
    Do a raid10
  • K3Nv2 @ K3Nv2:
    That's tomorrow
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Damn Wal-Mart has 42" 4k TVs for only $150
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i bet it will not fit inside your bedroom
  • BigOnYa @ BigOnYa:
    Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get is, MLT (Missile Launch Today)
    BigOnYa @ BigOnYa: Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get...