Newbie here!
Newbie here!
Hello everyone, I'm trying to port my SDL games to the Nintendo Wii, but in both tutorials I found I can't get through this step:
Download and copy the PPC ported libraries to your portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc)
I can't find these PPC libraries anywhere the links are broken (Maybe it is not necessary anymore?)
I have been working for 3 years in a SDL engine for the Sega Dreamcast and I would love to get the same games running on Nintendo Wii too
Here is my project:
https://titangamestudios.com/2017/04/22 ... titan-ide/
Thanks a lot for the help.
Download and copy the PPC ported libraries to your portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc)
I can't find these PPC libraries anywhere the links are broken (Maybe it is not necessary anymore?)
I have been working for 3 years in a SDL engine for the Sega Dreamcast and I would love to get the same games running on Nintendo Wii too
Here is my project:
https://titangamestudios.com/2017/04/22 ... titan-ide/
Thanks a lot for the help.
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Newbie here!
Sorry to say that all tutorials should be considered out of date and contain poor advice. Almost nobody consults us before trying to instruct people on how to use our tools and libraries and unfortunately we kind of ended up in a vicious cycle of trying to clean up after people who don't consider the wider picture and help victims of poor tutorials which leaves pretty much no time to address that situation better.
If you've installed anything within your devkitpro folder from 3rd parties (i.e. not from us) then we would advise nuking the install and starting over from scratch. wiki/Getting_Started isn't fantastic but we've iterated on install processes a lot before finally settling on pacman.
The parts in brackets depend on your host system and how pacman is provided - i.e. with msys2 there is no sudo & you can just run pacman. For systems where pacman has been provided by native package manager then it will be sudo pacman. For systems where we've provided the pacman binaries then it's sudo dkp-pacman.
Once you've done that you can use pacman to install the sdl libs you need. If there are other libraries you need that are missing then please let us know and/or submit a PR to the packages repo.
I still have to add an sdl demo or two to the the examples and the gamecube stuff hasn't been tested properly yet but wii should be all good.
If you've installed anything within your devkitpro folder from 3rd parties (i.e. not from us) then we would advise nuking the install and starting over from scratch. wiki/Getting_Started isn't fantastic but we've iterated on install processes a lot before finally settling on pacman.
Code: Select all
(sudo) (dkp-)pacman -S wii-sdl-libs
Once you've done that you can use pacman to install the sdl libs you need. If there are other libraries you need that are missing then please let us know and/or submit a PR to the packages repo.
I still have to add an sdl demo or two to the the examples and the gamecube stuff hasn't been tested properly yet but wii should be all good.
Re: Newbie here!
Thanks a lot for your help, I got SDL installed!!!
One last question if you can help me (Please XD) on my files should I import it like I do when I use SDL on PC? (#include <SDL/sdl.h>)
And on the makefile should I use the SDL flag? (LIBS := -lSDL)
Thanks a lot for your time.
One last question if you can help me (Please XD) on my files should I import it like I do when I use SDL on PC? (#include <SDL/sdl.h>)
And on the makefile should I use the SDL flag? (LIBS := -lSDL)
Thanks a lot for your time.
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Newbie here!
Neither of these things. You're supposed to use the include path and libs set from sdl-config or pkg-config and include <SDL.h> directly. The include you're using will also fail on case sensitive filenames so you should use the correct capitalisation for portability.
Using the standard template you can adjust CFLAGS and LIBS so they read like this :-
Code: Select all
CFLAGS = -O2 -Wall $(MACHDEP) $(INCLUDE) `$(PREFIX)pkg-config --cflags sdl`
Code: Select all
LIBS := `$(PREFIX)pkg-config --libs sdl`
Re: Newbie here!
I got it working, I don't know how to thank you As soon I port my games to Wii Ill post it on this forum
You're the best!
You're the best!
Re: Newbie here!
Hey guys! The port of my homebrews to the Nintendo Wii was a success thanks to this forum
All my templates are avaiable here for PC, Dreamcast and Wii:
https://github.com/TItanGuy99/Titan-IDE ... r/Projects
Now I want to do the same for the Nintendo Game Cube. I was able to compile my code with no erros, I just need to know where to put my image files to load the images using SDL_LoadBMP.
Could you explain how the Game Cube file system works?
Thanks a lot.
All my templates are avaiable here for PC, Dreamcast and Wii:
https://github.com/TItanGuy99/Titan-IDE ... r/Projects
Now I want to do the same for the Nintendo Game Cube. I was able to compile my code with no erros, I just need to know where to put my image files to load the images using SDL_LoadBMP.
Could you explain how the Game Cube file system works?
Thanks a lot.
Re: Newbie here!
i have the same question
Were you able to find out ?Now I want to do the same for the Nintendo Game Cube. I was able to compile my code with no erros, I just need to know where to put my image files to load the images using SDL_LoadBMP.
Could you explain how the Game Cube file system works?
..::Game Developer::..
Who is online
Users browsing this forum: No registered users and 2 guests