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

Discussion in 'Wii U - Homebrew' started by eliboa, Feb 2, 2016.

  1. eliboa
    OP

    eliboa Member

    Newcomer
    49
    56
    Jan 13, 2016
    France
    Tetris 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);    
     
    Last edited by eliboa, Feb 3, 2016
  2. chrisf4lc0n

    chrisf4lc0n Member

    Newcomer
    19
    5
    Jan 12, 2016
    London (Hayes)
    Last edited by chrisf4lc0n, Feb 3, 2016
  3. CarefulCrysis

    CarefulCrysis GBAtemp Fan

    Member
    396
    112
    Jan 25, 2013
    Birmingham, United Kingdom
    Well done buddy :D
     
    chrisf4lc0n likes this.
  4. chrisf4lc0n

    chrisf4lc0n Member

    Newcomer
    19
    5
    Jan 12, 2016
    London (Hayes)
    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, Feb 3, 2016
  5. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,264
    4,698
    Jan 17, 2013
    Mexico
    Can someone post some pics of it? :P
     
  6. vgmoose

    vgmoose GBAtemp Regular

    Member
    229
    627
    Jan 31, 2016
    United States
    This is awesome! :D
     
  7. chrisf4lc0n

    chrisf4lc0n Member

    Newcomer
    19
    5
    Jan 12, 2016
    London (Hayes)
  8. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    7,264
    4,698
    Jan 17, 2013
    Mexico
  9. chrisf4lc0n

    chrisf4lc0n Member

    Newcomer
    19
    5
    Jan 12, 2016
    London (Hayes)
    No probs, that is the least I can do for this the Wii U Scene...
    Once some more homebrews arrive I will try to chip into the code too :D
     
  10. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,705
    Jan 3, 2016
    United States
    Maybe ... ;)
    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.
     
  11. eliboa
    OP

    eliboa Member

    Newcomer
    49
    56
    Jan 13, 2016
    France
    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:
     
  12. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,705
    Jan 3, 2016
    United States
    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.
     
    eliboa likes this.
  13. chrisf4lc0n

    chrisf4lc0n Member

    Newcomer
    19
    5
    Jan 12, 2016
    London (Hayes)
    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
     
  14. ryuutseku85

    ryuutseku85 Advanced Member

    Newcomer
    92
    150
    Dec 14, 2015
    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
     
  15. thekarter104

    thekarter104 GBAtemp Maniac

    Member
    1,243
    375
    Mar 28, 2013
    United States
    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.
     
  16. eliboa
    OP

    eliboa Member

    Newcomer
    49
    56
    Jan 13, 2016
    France
    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.

    You can check this thread posted by Josamilu,you'll find everything you need.
     
  17. Margen67

    Margen67 Dirty entited pirate

    Banned
    1,100
    4,589
    Nov 3, 2014
    United States
    Awesome! Now I can play Pong..
    AND Snake!!! :O:O:O:O:O:O:O:O:O:O
     
  18. geheim

    geheim GBAtemp Regular

    Member
    258
    76
    Jan 4, 2013
    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!
     
    memomo likes this.
  19. wurstpistole

    wurstpistole N3DS B9S

    Member
    2,658
    957
    Nov 19, 2015
    Gambia, The
    Tetris
     
  20. thekarter104

    thekarter104 GBAtemp Maniac

    Member
    1,243
    375
    Mar 28, 2013
    United States
    I have an idea:
    Green background, black text/snake, like the old Nokia Snake II :D