Homebrew Question Mario 64 port?

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,561
Trophies
3
Age
46
Location
At my chair.
XP
19,540
Country
Colombia
To me when I put
source $DEVKITPRO/switchvars.sh
-It gets me in msys2 the following error: bash: /opt/devkitpro/switchvars.sh: No such file or directory
Switchvars.sh is no needed anymore on windows MSYS, is only used on Linux.

you must check the variables


DEVKITARM="/opt/devkitpro/devkitARM"
DEVKITPPC="/opt/devkitpro/devkitPPC"
DEVKITPRO="/opt/devkitpro"


do exists

if not you can put


export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
export DEVKITPPC=${DEVKITPRO}/devkitPPC

export PATH=${DEVKITPRO}/tools/bin:$PATH


on your .bash_profile
Post automatically merged:






By the way the package

dkp-toolchain-vars

install the /devkitpro/switchvars.sh file

Try installing that package
 
Last edited by impeeza,

Gonax

Member
Newcomer
Joined
Oct 14, 2019
Messages
21
Trophies
0
XP
337
Country
United Arab Emirates
Switchvars.sh is no needed anymore on windows MSYS, is only used on Linux.

you must check the variables


DEVKITARM="/opt/devkitpro/devkitARM"
DEVKITPPC="/opt/devkitpro/devkitPPC"
DEVKITPRO="/opt/devkitpro"


do exists

if not you can put


export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
export DEVKITPPC=${DEVKITPRO}/devkitPPC

export PATH=${DEVKITPRO}/tools/bin:$PATH


on your .bash_profile
Post automatically merged:






By the way the package

dkp-toolchain-vars

install the /devkitpro/switchvars.sh file

Try installing that package
1709574883044.png

Now I have this error when compiling.
 

BryanTheArchivist

Active Member
Newcomer
Joined
Aug 27, 2021
Messages
33
Trophies
0
Age
26
XP
172
Country
United States
To me when I put
source $DEVKITPRO/switchvars.sh
-It gets me in msys2 the following error: bash: /opt/devkitpro/switchvars.sh: No such file or directory
Did you install the dependencies? See the steps for DEVKITPRO here: https://gbatemp.net/threads/mario-64-port.564633/post-9149081
Post automatically merged:

I never was able to user render96ex
Works fine. Just need to follow your same steps but git checkout 67a0da1d3c9fe817b656320b3721ff1c814e474f supposedly for use with model pack 2.1. I HAVE successfully done this before on Switch but I cannot for the life of me remember how I got the model pack working. I am trying to figure that out right now but I can confirm render96ex works on Switch albeit an older commit.
 
  • Love
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,561
Trophies
3
Age
46
Location
At my chair.
XP
19,540
Country
Colombia
Did you install the dependencies? See the steps for DEVKITPRO here: https://gbatemp.net/threads/mario-64-port.564633/post-9149081
Post automatically merged:


Works fine. Just need to follow your same steps but git checkout 67a0da1d3c9fe817b656320b3721ff1c814e474f supposedly for use with model pack 2.1. I HAVE successfully done this before on Switch but I cannot for the life of me remember how I got the model pack working. I am trying to figure that out right now but I can confirm render96ex works on Switch albeit an older commit.
yeah on windows the file is installed by the package:

dkp-toolchain-vars
 

BryanTheArchivist

Active Member
Newcomer
Joined
Aug 27, 2021
Messages
33
Trophies
0
Age
26
XP
172
Country
United States
From my testing today, I can report a weird bug on the render96ex version being that resuming after putting the system to sleep causes the audio to crackle permanently. Granted, I did skip the section of compilation having to do with audio libraries but I wasn't sure render96ex required that anyway?

I also know that TEXTURE_FIX breaks billboarding (ex: trees). I would avoid this option given my testing. This bug occured last I built this project too.
Post automatically merged:

yeah on windows the file is installed by the package:

dkp-toolchain-vars
Does SM64EX require the audio library to run on Switch still? Just compiled it and having the bug when exiting sleep mode again where the audio becomes distorted. Have you experienced this bug ever?
 
Last edited by BryanTheArchivist,
  • Like
Reactions: impeeza

BryanTheArchivist

Active Member
Newcomer
Joined
Aug 27, 2021
Messages
33
Trophies
0
Age
26
XP
172
Country
United States
I can confirm that SM64EX-ALO compiles fine but you need to make sure you do it in the msys64 shell, not msys2. Still having audio corruption when exiting sleep mode, vertexes now have gaps, and there are collision issues when disabling QOL build options which should be optional. Puppycam 2 works great but I don't think ALO supports texture packs? It does seem to have rumble however which is cool. I keep saying it but I really can't understand why we can't get a consistent SM64 project the likes of SOH; such a pain.
 
  • Love
Reactions: impeeza

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,561
Trophies
3
Age
46
Location
At my chair.
XP
19,540
Country
Colombia
I can confirm that SM64EX-ALO compiles fine but you need to make sure you do it in the msys64 shell, not msys2. Still having audio corruption when exiting sleep mode, vertexes now have gaps, and there are collision issues when disabling QOL build options which should be optional. Puppycam 2 works great but I don't think ALO supports texture packs? It does seem to have rumble however which is cool. I keep saying it but I really can't understand why we can't get a consistent SM64 project the likes of SOH; such a pain.
Did you need something special to build SM64EX-ALO?
 

BryanTheArchivist

Active Member
Newcomer
Joined
Aug 27, 2021
Messages
33
Trophies
0
Age
26
XP
172
Country
United States
Just updated my personal notes to build SM64EX-ALO and is very easy, have lots of improvements.

will make a tutorial soon.

I don't know how to add render and packs to it yet but will learn.
Awesome, you're a real one! I should have written a tutorial in addition to the one you had so I could have explained how to add model packs to Render96ex repo and what not so I wouldn't have forgotten by this point.

Do you happen to experience audio issues when entering sleep mode inside of ALO and then waking the system? This specifically applies to sleep mode and not loss on game focus like what happens with latest builds of SM64EX or R96 compatible ones. Docking/undocking works just fine as well.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,561
Trophies
3
Age
46
Location
At my chair.
XP
19,540
Country
Colombia
he he he I was about to ask if you know how to build including model packs! :P will try to learn.
Post automatically merged:

Awesome, you're a real one! I should have written a tutorial in addition to the one you had so I could have explained how to add model packs to Render96ex repo and what not so I wouldn't have forgotten by this point.

Do you happen to experience audio issues when entering sleep mode inside of ALO and then waking the system? This specifically applies to sleep mode and not loss on game focus like what happens with latest builds of SM64EX or R96 compatible ones. Docking/undocking works just fine as well.
I Just create a tutorial on

https://gbatemp.net/threads/building-sm64-for-nintendo-switch-from-sm64ex-alo-repository.652092/

about building the ALO Repo.
 
Last edited by impeeza,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Towelie runs my farm, he's awesome.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Polly is still around from what I've heard.
  • K3Nv2 @ K3Nv2:
    @SylverReZ, is Pollys alt I knew it
  • BigOnYa @ BigOnYa:
    Yea I see him every once whi!e , incognito
  • SylverReZ @ SylverReZ:
    @K3Nv2, I'm not him. Keep looking.
    +1
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +1
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    AncientBoi @ AncientBoi: lol