Homebrew Official [Release] Snake WiiU (5.5.x / 5.3.2)

eliboa

Well-Known Member
OP
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
It's one of the best selling games of all time I think, but simplest controls, if that helps figure it out. :D

Tetris maybe ???
I wish I knew the random generator code of the Wii U, can't even find it in certain docs, but I'll have to implement some psuedo generator to finish it.
Yeah I had a hard time with this. You can use a pseudo generator function if you don't care about repetitions (at each lauching).
Maybe you can manage something by using the time function :
Code:
    int64_t (*OSGetTime)();
    OSDynLoad_FindExport(coreinit_handle, 0, "OSGetTime", &OSGetTime);
 
Last edited by eliboa,

chrisf4lc0n

Member
Newcomer
Joined
Jan 12, 2016
Messages
19
Trophies
0
Age
40
Location
London (Hayes)
XP
78
Country
Will get all the wiiubrew together create some simple index.html page and host it all together 2morrow :D

Could not host it earlier, as I did not have the Wii U, just bought it today... unfortunately on 5.5 :(
Gotta wait for IOSU Exploit :(
 
Last edited by chrisf4lc0n,

brienj

Trying to avoid getting cancer
Member
Joined
Jan 3, 2016
Messages
1,232
Trophies
0
Website
twitter.com
XP
2,142
Country
United States
Tetris maybe ???
Maybe ... ;)
Yeah I had a hard time with this. You can use a pseudo generator function if you don't care about repetitions (at each lauching).
Maybe you can manage something by using the time function :
Code:
    int64_t (*OSGetTime)();
    OSDynLoad_FindExport(coreinit_handle, 0, "OSGetTime", &OSGetTime);
Yeah, I found the time function, I was going to make a random number generator using that, since it's the best for seeding a random number.
 

eliboa

Well-Known Member
OP
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
Maybe ... ;)
Hahah ! This could be a challenge. You may have to rack your brain a littlle with draw functions (so slow in libwiiu). I'm sure we can do something nice with GX2 API but i know pretty much nothing about it. Good luck anyway ! :yay:
 

brienj

Trying to avoid getting cancer
Member
Joined
Jan 3, 2016
Messages
1,232
Trophies
0
Website
twitter.com
XP
2,142
Country
United States
Hahah ! This could be a challenge. You may have to rack your brain a littlle with draw functions (so slow in libwiiu). I'm sure we can do something nice with GX2 API but i know pretty much nothing about it. Good luck anyway ! :yay:
I started programming on the C64, so I know how to work with the minimal amount, and it's kind of funny that I complain about 32k nowadays. Speaking of which, the thought of having Frodo or VICE ported to the Wii U is kind of exciting.
 
  • Like
Reactions: eliboa

chrisf4lc0n

Member
Newcomer
Joined
Jan 12, 2016
Messages
19
Trophies
0
Age
40
Location
London (Hayes)
XP
78
Country
I started programming on the C64, so I know how to work with the minimal amount, and it's kind of funny that I complain about 32k nowadays. Speaking of which, the thought of having Frodo or VICE ported to the Wii U is kind of exciting.
Same here... C64's BASIC was my thing and to be honest I have left it there, never really came back to programming :( Tried a bit of Python, but nothing major...
Good Luck :D
 

ryuutseku85

Well-Known Member
Member
Joined
Dec 14, 2015
Messages
110
Trophies
0
Age
38
XP
406
Country
France
hi , i have a stupid question , but "a question is stupid until it's isn't ask "(thanks Math teacher ^^)
so i am new to C and i can figure where i have to put the wii u lib file on my pc to test it , i mean those one
Code:
#include "../../../../../../../devkitPro/libwiiu/src/coreinit.h"
#include "../../../../../../../devkitPro/libwiiu/src/vpad.h"
#include "../../../../../../../devkitPro/libwiiu/src/draw.h"

i have made a game that i want to play on the wiiu but first i want to know and test it on my computer (if i can)

thank
 

eliboa

Well-Known Member
OP
Member
Joined
Jan 13, 2016
Messages
157
Trophies
0
XP
1,257
Country
France
hi , i have a stupid question , but "a question is stupid until it's isn't ask "(thanks Math teacher ^^)
so i am new to C and i can figure where i have to put the wii u lib file on my pc to test it , i mean those one
Code:
#include "../../../../../../../devkitPro/libwiiu/src/coreinit.h"
#include "../../../../../../../devkitPro/libwiiu/src/vpad.h"
#include "../../../../../../../devkitPro/libwiiu/src/draw.h"

i have made a game that i want to play on the wiiu but first i want to know and test it on my computer (if i can)

Hello fellow countryman. You can put the libwiiu files anywhere you want but it's better if you put them in the devkitPro folder.
For example, if these are the paths to your loader.c (for example) and libwiiu folder:
C:/wiiu/my_homebrew/src/loader.c
C:/devkitPro/libwiiu/
Then you have to put these includes (relative path) in loader.h :
Code:
#include "../../../devkitPro/libwiiu/src/coreinit.h"
#include "../../../devkitPro/libwiiu/src/vpad.h"
#include "../../../devkitPro/libwiiu/src/draw.h"
Now, I don't think you can test your compiled program on your computer (we would need an emulator to do that I guess), you have to test it on the wiiu.

I wish I could create a homebrew game too. I'm interested.
But I don't know where to start at all, not even a bit.
You can check this thread posted by Josamilu,you'll find everything you need.
 

geheim

Well-Known Member
Member
Joined
Jan 4, 2013
Messages
272
Trophies
0
XP
1,246
Country
Germany
Tried the 532 Version with my 5.4.0 Wii U, but it crashes at the media player. Could a 5.4.0 Version be made as well?? Would really like to play this old classic on my gamepad ;) Thanks for your work!
 
  • Like
Reactions: memomo

wurstpistole

GBAtemp MVP
Member
Joined
Nov 19, 2015
Messages
4,645
Trophies
1
XP
5,376
Country
United Kingdom
It's one of the best selling games of all time I think, but simplest controls, if that helps figure it out. :D

I wish I knew the random generator code of the Wii U, can't even find it in certain docs, but I'll have to implement some psuedo generator to finish it.
Tetris
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Sorry for accidentally bending over