1. eliboa

    OP eliboa GBAtemp Regular
    Member

    Joined:
    Jan 13, 2016
    Messages:
    141
    Country:
    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

    Joined:
    Jan 12, 2016
    Messages:
    19
    Country:
    Last edited by chrisf4lc0n, Feb 3, 2016
  3. CarefulCrysis

    CarefulCrysis GBAtemp Fan
    Member

    Joined:
    Jan 25, 2013
    Messages:
    467
    Country:
    Well done buddy :D
     
    chrisf4lc0n likes this.
  4. chrisf4lc0n

    chrisf4lc0n Member
    Newcomer

    Joined:
    Jan 12, 2016
    Messages:
    19
    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, Feb 3, 2016
  5. ShadowOne333

    ShadowOne333 GBAtemp Guru
    Member

    Joined:
    Jan 17, 2013
    Messages:
    9,789
    Country:
    Mexico
    Can someone post some pics of it? :P
     
  6. vgmoose

    vgmoose GBAtemp Fan
    Member

    Joined:
    Jan 31, 2016
    Messages:
    316
    Country:
    United States
    This is awesome! :D
     
  7. chrisf4lc0n

    chrisf4lc0n Member
    Newcomer

    Joined:
    Jan 12, 2016
    Messages:
    19
    Country:
  8. chrisf4lc0n

    chrisf4lc0n Member
    Newcomer

    Joined:
    Jan 12, 2016
    Messages:
    19
    Country:
    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
     
  9. brienj

    brienj Trying to avoid getting cancer
    Member

    Joined:
    Jan 3, 2016
    Messages:
    1,232
    Country:
    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.
     
  10. eliboa

    OP eliboa GBAtemp Regular
    Member

    Joined:
    Jan 13, 2016
    Messages:
    141
    Country:
    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:
     
  11. brienj

    brienj Trying to avoid getting cancer
    Member

    Joined:
    Jan 3, 2016
    Messages:
    1,232
    Country:
    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.
  12. chrisf4lc0n

    chrisf4lc0n Member
    Newcomer

    Joined:
    Jan 12, 2016
    Messages:
    19
    Country:
    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
     
  13. ryuutseku85

    ryuutseku85 GBAtemp Regular
    Member

    Joined:
    Dec 14, 2015
    Messages:
    110
    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
     
  14. thekarter104

    thekarter104 GBAtemp Advanced Maniac
    Member

    Joined:
    Mar 28, 2013
    Messages:
    1,737
    Country:
    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.
     
  15. eliboa

    OP eliboa GBAtemp Regular
    Member

    Joined:
    Jan 13, 2016
    Messages:
    141
    Country:
    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.
     
  16. Margen67

    Margen67 Dirty entited pirate
    Banned

    Joined:
    Nov 3, 2014
    Messages:
    1,100
    Country:
    United States
    Awesome! Now I can play Pong..
    AND Snake!!! :O:O:O:O:O:O:O:O:O:O
     
  17. geheim

    geheim GBAtemp Regular
    Member

    Joined:
    Jan 4, 2013
    Messages:
    272
    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!
     
    memomo likes this.
  18. wurstpistole

    wurstpistole GBAtemp MVP
    Member

    Joined:
    Nov 19, 2015
    Messages:
    4,349
    Country:
    United Kingdom
    Tetris
     
  19. thekarter104

    thekarter104 GBAtemp Advanced Maniac
    Member

    Joined:
    Mar 28, 2013
    Messages:
    1,737
    Country:
    United States
    I have an idea:
    Green background, black text/snake, like the old Nokia Snake II :D
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [Release], Snake,