1. zerofalcon

    zerofalcon GBAtemp Advanced Fan
    Member

    Joined:
    Mar 14, 2009
    Messages:
    666
    Country:
    AFAIK the "res" folder have to be copied to the root of the sdcard (I did something similar to sm64 on Switch after building a NSP from a NRO file). When running the rpx from the HBC where do you copy the res directory?
     
  2. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,847
    Country:
    United Arab Emirates
    Shouldn't really happen. When was the last time you downloaded the source code to compile it?
    Which version, specifically, were you using? Official port, ex master or ex nightly?
    Root of the sdcard, but here, I named it "sm64ex-res" for clarification.
     
    Lostbhoy and zerofalcon like this.
  3. Lostbhoy

    Lostbhoy HEY YOU GUYS!
    Member

    Joined:
    Aug 23, 2009
    Messages:
    367
    Country:
    United Kingdom
    @AboodXD.... Yeah.... I'm gonna come clean and say it's a precompiled version from reddit about a month old.... Can't get my head around the compiling on windows 10 with all that other linux virtualization... Sorry :shy:

    As you obvs can't help with that.... Not sure if this info is helpful or not but when loading the rpx from hbl it exits back to hbl no problem. It's only when i boot from the channel i made it hangs on wii u menu....

    Can i assume its looking to goto hbl but as it did not start from there, that's causing the freeze/wii u confusion?

    Listen, it's not really a problem for me. My son and I have been playing non stop, its great and thanks for all your hard work on it man!
     
  4. danny19901

    danny19901 GBAtemp Fan
    Member

    Joined:
    Feb 12, 2016
    Messages:
    312
    Country:
    I think it's a known issue which I think @AboodXD fixed in newer sources which may need to be updated

    Sent from my GM1920 using Tapatalk
     
    Lostbhoy likes this.
  5. Lostbhoy

    Lostbhoy HEY YOU GUYS!
    Member

    Joined:
    Aug 23, 2009
    Messages:
    367
    Country:
    United Kingdom
    Aw totally, that's what I get for taking the easy/lazy option!!

    No major biggie tho as its quite nostalgic having to hard reboot after playing everytime! :lol:
     
  6. danny19901

    danny19901 GBAtemp Fan
    Member

    Joined:
    Feb 12, 2016
    Messages:
    312
    Country:
    I have a version I'm working on creating a channel for it if fully works will PM you the link
    @Lostbhoy
    Sent from my GM1920 using Tapatalk
     
    Last edited by danny19901, Sep 22, 2020
    Lostbhoy likes this.
  7. Spidey_BR

    Spidey_BR GBAtemp Regular
    Member

    Joined:
    Feb 1, 2008
    Messages:
    205
    Country:
    Netherlands
    Congratulations on the port!

    How is WiiU development nowadays? Can you debug and test your code with Cemu before deploying and testing on the WiiU?
     
  8. Lostbhoy

    Lostbhoy HEY YOU GUYS!
    Member

    Joined:
    Aug 23, 2009
    Messages:
    367
    Country:
    United Kingdom
    That be great @danny19901 but shhhhhh.....Keep it on the downlow :rofl2::rofl2:
     
  9. danny19901

    danny19901 GBAtemp Fan
    Member

    Joined:
    Feb 12, 2016
    Messages:
    312
    Country:
    Development isn't to bad tbh games are still being released Emulators are still improving just shame there aren't any native Wii U emulators just Wii emu's that added Wii U support but it's cool to see there both alive and development is still going strong

    Sent from my GM1920 using Tapatalk
     
  10. The Frenchman

    The Frenchman GBAtemp Advanced Fan
    Member

    Joined:
    Apr 13, 2008
    Messages:
    690
    Country:
    Canada
    Man 3 pages back I was a total noob... I can now compile it pand swap models and stuff. Follow Abood's tutorial on discord.
     
    Lostbhoy likes this.
  11. elk1007

    elk1007 Member
    Newcomer

    Joined:
    Jun 23, 2017
    Messages:
    30
    Country:
    United States
    @AboodXD

    Can you please add the option to stay in level after getting a star?
    I think that's important for quality of life on this dinosaur of a game.
     
  12. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,306
    Country:
    United States
    you can with the 100 coin star. :P it's probably possible based on that.
     
  13. danny19901

    danny19901 GBAtemp Fan
    Member

    Joined:
    Feb 12, 2016
    Messages:
    312
    Country:
    TBH I'm surprised the SM64 PC tool hasn't been optimised to compile for Wii U etc... That tool is amazing tbh it's how I compiled the PC version with no issues

    Sent from my GM1920 using Tapatalk
     
  14. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,847
    Country:
    United Arab Emirates
    Yes, but Cemu's JIT recompiler still looks to be incomplete (especially for instructions used often in homebrew), so I still test homebrew on Wii U.
    Interpreter mode may give better results.

    As for testing anything other than homebrew, such as custom code in games, I just use Cemu as it is reliable enough.
     
    Spidey_BR likes this.
  15. elk1007

    elk1007 Member
    Newcomer

    Joined:
    Jun 23, 2017
    Messages:
    30
    Country:
    United States
    I read the feature was added to some other version (maybe android?).
    Being able to collect most stars in one run could be a new speedrun catagory.
     
  16. AboodXD

    OP AboodXD I hack NSMB games, and other shiz.
    Member

    Joined:
    Oct 11, 2014
    Messages:
    2,847
    Country:
    United Arab Emirates
    Will see when I have the time (and actually remember to do it).
     
    elk1007 likes this.
  17. mive

    mive Advanced Member
    Newcomer

    Joined:
    Jul 19, 2018
    Messages:
    57
    Country:
    Germany
    if someone is willing to help me testing (especially on wsl), there's a python script which should download and build the version you want (for those who struggle to compile themselves)
    https://gist.github.com/vetzki/a3b0107a38a19714889d0559b95b1469

    usage:
    ensure python3 is installed (not sure if thats the case on wsl ubuntu)
    download to your home folder
    chmod 755 filename (or execute with python)

    Code:
    py_build_sm64_wiiu.py [-h] [--install-devkitpro-pacman ]
                                 [--install-dependencies ] [--skip-compilation ]
                                 [--skip-download ] [-b BRANCH]
                                 [-v {sm64-port,sm64ex}] [-d DIRECTORY]
                                 [-r ROMFILE] [--add-build-opts  [...]]
    
    optional arguments:
      -h, --help            show this help message and exit
      --install-devkitpro-pacman []
                            Try to install dkp-pacman .deb package
      --install-dependencies []
                            Try to install needed build dependencies
      --skip-compilation []
                            Dont compile source
      --skip-download []    Skip download
      -b BRANCH, --branch BRANCH
                            Specifiy branch to use (default: master)
      -v {sm64-port,sm64ex}, --version {sm64-port,sm64ex}
                            Specifiy which version to use (sm64-port or sm64ex
                            default: sm64-port)
      -d DIRECTORY, --directory DIRECTORY
                            Used directory (default: /tmp/SM64)
      -r ROMFILE, --romfile ROMFILE
                            Base N64 Super Mario 64 Rom file (default
                            baserom.us.z64). use proper naming
      --add-build-opts  [ ...]
                            Specifiy build options (e.g. BETTERCAMERA=1
                            NODRAWINGDISTANCE=1 TEXTURE_FIX=1). (Check Makefile
                            after download or online for available options of
                            version and branch)
    
     
  18. Kawaii-Tora

    Kawaii-Tora Advanced Member
    Newcomer

    Joined:
    Sep 14, 2009
    Messages:
    84
    Country:
    Germany
    Im trying to complie SM64 for WiiU but U just get the following error while running make
    Code:
    src/pc/gfx/gfx_whb_window.c:5:10: fatal error: coreinit/foreground.h: No such file or directory
        5 | #include <coreinit/foreground.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [Makefile:859: build/us_wiiu/src/pc/gfx/gfx_whb_window.o] Error 1
    make: *** Waiting for unfinished jobs....
    
    Okay, after installing wiiu-sdl2 via pacman build runs just fine. Only thing I'm missing is, how do i use custom models/textures?
     
    Last edited by Kawaii-Tora, Sep 23, 2020
  19. SMVB64

    SMVB64 Now your playing with power! Super power!
    Member

    Joined:
    Feb 13, 2013
    Messages:
    221
    Country:
    Canada
    Perfect, worked like a charm! Also would it be possible to have both a vanilla build and ex build both on the home menu? I assume I would have to change the .xml file in the included folder to a different ID? So it doesn't overwrite the previous one.

    Cheers,
    Dan
     
  20. Ynovan

    Ynovan Newbie
    Newcomer

    Joined:
    Apr 18, 2017
    Messages:
    7
    Country:
    Mexico
    60fps patch works pretty laggy in sm64ex :unsure: at least in my compilation
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Super, Mario,