Thanks for GC/Wii support, I made a thing... ^_ ^

Post Reply
eleriaqueen
Posts: 4
Joined: Sun Jan 07, 2018 1:33 pm

Thanks for GC/Wii support, I made a thing... ^_ ^

Post by eleriaqueen » Sat Mar 10, 2018 9:38 pm

Hello, I like doing little projects here and there. One of my small dreams was making a Section ID calculator (which basically gives you the color the game would assign to your character name in Phantasy Star Online Ep. 1&2 and earlier games) that would run on a gamecube and wii. So I did, thanks to this devkit.
GC version uses up/down on the controller to choose a letter, A to "save" a letter, and X / Y to display your Section ID, in (slightly inaccurate) color using esape sequences.
Wii version only has keyboard support.
(Only tested in Dolphin Emu so far /sadface)

I decided to make a very small financial contribution to the devkitpro today.

You rock!


Here's a link to my thing : https://github.com/eleriaqueen/wiiSeccy
(My knowledge of the C language is "a bit" limited, code isn't pretty, but advices/comments are always appreciated)
2018-03-05_18-45-15.gif
Slightly outdated Gif of Gamecube Version
(17.43 KiB) Not downloaded yet

WinterMute
Site Admin
Posts: 1336
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Thanks for GC/Wii support, I made a thing... ^_ ^

Post by WinterMute » Tue Jun 12, 2018 3:00 pm

Thanks for the donation, much appreciated.

Some quick tips.

The template makefiles for Wii and Gamecube are deliberately very similar to allow building the same code for Wii & Cube with minor changes. It's mainly swapping include $(DEVKITPPC)/gamecube_rules for include $(DEVKITPPC)/wii_rules in the makefile.

In your source you can then use #ifdef on __wii__ and __gamecube__ to differentiate code intended for different platforms.

I can do you a PR at some point with the build tidied up a bit so you can build both with the same source if you like?
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest