[OUTDATED (Check Desc.)] Super Mario 64 Decomp Tutorial: Setup & Installation

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 เม.ย. 2024
  • This video is outdated. There currently is no newer video at the moment, but there is a written guide for installing HackerSM64. This guide also covers regular decomp installation.
    Guide: github.com/HackerN64/HackerSM...
    Commands:
    (copy and then right click on the Ubuntu window)
    cd /mnt/c/
    git clone github.com/n64decomp/sm64.git (project name here)
    sudo apt install -y binutils-mips-linux-gnu build-essential git libcapstone-dev pkgconf python3
    make VERSION=(region) -j(cores)
    Get Visual Studio Code:
    code.visualstudio.com/
    Learn C:
    www.learn-c.org/
    RomHacking.com Forums:
    romhacking.com/forum
    More Decomp Tutorials:
    • SM64 Decomp Tutorial S...
    Helpful Discord Communities:
    RHDC: / discord
    SF: / discord
    NDD: / discord
    RHQ: / discord
    SM64 Binary Tools:
    blueprint64.ca/
    pilzinsel64.com/sm64-rom-mana...
    Full Tutorial Script:
    bit.ly/32mE7l8
    Timestamps:
    00:00 Intro
    01:33 1) Enable Windows subsystem for Linux
    01:56 2) Install Ubuntu
    03:07 3) Install Visual Studio Code
    03:34 4) Clone the Decomp Repository
    05:00 5) Install Dependencies
    05:46 6) Add the Baserom
    07:03 7) Build the ROM
    07:48 MacOS & Linux
    08:22 Decomp Refreshes
    09:05 Resources
  • เกม

ความคิดเห็น • 103

  • @Grayhome
    @Grayhome 3 ปีที่แล้ว +19

    This was uploaded less than an hour after I figured out the decomp from the first tutorial.

  • @FlameLFH
    @FlameLFH 3 ปีที่แล้ว +8

    6:08 caught me off guard. That was pretty funny.

  • @legendgames128
    @legendgames128 ปีที่แล้ว +4

    What tools do you recommend for modifying the healing value of coins or the damage value of enemies? (say I want a Goomba to do 2 slices of damage instead of 1 or I want big fall damage to do 8 slices of damage thus instantly killing Mario)

  • @MariHalo
    @MariHalo 3 ปีที่แล้ว +1

    thanks my guy! this’ll really help!

  • @mr.funnyguy1164
    @mr.funnyguy1164 10 หลายเดือนก่อน

    Hey followed the tutorial and everything worked as planned! I'm just curious what was outdated about the video?

  • @LowPoly64Gaming
    @LowPoly64Gaming 2 ปีที่แล้ว

    Thanks for these tutorials

  • @grackleking6413
    @grackleking6413 2 ปีที่แล้ว

    Was I supposed to input every command in order that you had on screen, or just the ones you specifically said to do? At 4:15 I skipped “sudo umount /mnt/c” and “sudo mount -t drvfs C: /mnt/c -o metadata” and input the git clone link command instead. This gave me errors. How can I fix this?

  • @patrikcuac1237
    @patrikcuac1237 ปีที่แล้ว

    I have a question, why or for what are the binary tools "necesary" in the decomp?

  • @theemeraldshield2152
    @theemeraldshield2152 2 ปีที่แล้ว

    Hey Rovert just wondering is there anyway to do this on windows 11 because it seems like ubuntu does not work on windows 11

  • @BluefireSorcererOfficial
    @BluefireSorcererOfficial 2 ปีที่แล้ว

    Hello. If i were to oh I don't know forget to put a folder does it put the decomp folder somewhere random or nowhere at all (I am new to decomp)

  • @buenothebear
    @buenothebear 2 ปีที่แล้ว +2

    For anyone stuck on step 7 like me... remember to put a "space" after "cd"

  • @Agyrof
    @Agyrof 2 ปีที่แล้ว +4

    for anyone having problems with step 5 just paste this command in first.
    sudo apt-get update -y

  • @SpikeRose
    @SpikeRose 3 หลายเดือนก่อน

    Seemingly still worked, doesn't seem outdated at all. Pain in the ass to have to install Linux/Ubuntu though.

  • @linkssfy7282
    @linkssfy7282 ปีที่แล้ว

    is this only for mario 64 or can you do it with other roms that aren't from 64?

  • @deinemama6303
    @deinemama6303 2 ปีที่แล้ว

    How do I apply patches? I find the readme in the enhancements folder a little unclear. Please help me, I want to apply the extended bounds patch

  • @MattRTGB
    @MattRTGB 2 ปีที่แล้ว

    Yo rov, how do you add or replace a texture or a sound in the decomp, since Im new and Im having problems. Also there is a guide of this type of stuff?

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว +2

      it should be literally as easy as replacing the file. however, you also have to make sure the file is formatted correctly, or else the compiler will probably give an error. audio replacement should be aiff files in the mono channel, and textures should be 32x32 and have transparency (the compiler doesn't like rgb only images, it wants rgba)

  • @TheWorldWideWebTheSqueakuel2
    @TheWorldWideWebTheSqueakuel2 2 ปีที่แล้ว +1

    The fact that you can run linux on top of windows, ring 0 and everything, is partially terrifying.

  • @willisaclown4190
    @willisaclown4190 2 ปีที่แล้ว

    Hi, Im on a mac and i actually somehow made it to step 5. I used homebrew and it didnt let me run root access, is there a way to fix this?

  • @mr.cooldude6529
    @mr.cooldude6529 ปีที่แล้ว

    Hello sir I’m trying to get into to sm64 rom hacking but I have no idea what to do should I do decomp sorry hackersm64 or sm64 rom manager

  • @nolo2gogo
    @nolo2gogo 3 ปีที่แล้ว +1

    DECOMP FINALLY!!!!!

  • @michaelgarcia5493
    @michaelgarcia5493 ปีที่แล้ว

    I'm a fighting game fan could I Rom hack one of my n64 fighting games with this program?

  • @idioticperson
    @idioticperson 3 ปีที่แล้ว

    the old decomp was more flexible but i like the newer versions

  • @MediksYT
    @MediksYT 2 ปีที่แล้ว +4

    I keep getting this error, Help!
    error: chmod on /mnt/c/RF/.git/config.lock failed: Operation not permitted
    fatal: could not set 'core.filemode' to 'false'

    • @TheWorldWideWebTheSqueakuel2
      @TheWorldWideWebTheSqueakuel2 2 ปีที่แล้ว +2

      type sudo in front of the command

    • @TechOfs7747
      @TechOfs7747 2 หลายเดือนก่อน

      @@TheWorldWideWebTheSqueakuel2 Thanks i had this error too

  • @ElGeezBoii
    @ElGeezBoii 3 หลายเดือนก่อน

    what do i have to write in VERSION=region?

  • @noot_64
    @noot_64 2 หลายเดือนก่อน

    I'm having problem putting my baserom into the root folder of my decomp. I can't give myself permission to and I don't know the command to put it in via the terminal. Any help?

  • @miguelpescado
    @miguelpescado ปีที่แล้ว

    Okay, hopefully this channel hasn't been abandoned or something, because I'm getting a very weird error when I try to type in the command in Step 7 "makeVERSION=us-j(cores). I'm reluctant to call this an error because all I get when I type this in is another command prompt. No code is being displayed on screen, and nothing is loading, and I did it exactly how you said.

    • @rovertronic
      @rovertronic  ปีที่แล้ว

      Did you put a space between the text? more specifically make, version=us, and -j(cores)

    • @miguelpescado
      @miguelpescado ปีที่แล้ว

      @@rovertronic Oh no, I didn't.

    • @mr.cooldude6529
      @mr.cooldude6529 ปีที่แล้ว

      @@rovertronic does this still work?

    • @GManTheSFMGuy
      @GManTheSFMGuy ปีที่แล้ว

      @@rovertronic can you help me? when i type make version=us -j6 i get this error in ubuntu (kinda long text warning):
      Version: us
      Microcode: f3d_old
      Target: sm64 .us
      Compare ROM: yes
      Build Matching: yes
      =======================
      make: gcc: No such file or directory
      make: * [Makefile:78: n64graphics] Error 127
      Traceback (most recent call last):
      File "/mnt/c/Decomp/extract_assets .py", line 284, in
      main()
      File "/mnt/c/Decomp/extract_assets .py", line 158, in main
      subprocess.check_call(
      File "/usr/lib/python3.10/subprocess .py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['make', '-s', '-C', 'tools/', 'n64graphics', 'skyconv', 'mio0', 'aifc_decode']' returned non-zero exit status 2.
      Makefile:184: * Failed to extract assets. Stop.

  • @welpsarchive
    @welpsarchive 2 ปีที่แล้ว

    so when (*correctly*) cloning the repository, no folder was created in the c directory
    please help and thank you:)
    Edit: it works now! :D

  • @TheBxzr
    @TheBxzr 2 ปีที่แล้ว

    How do I re-compile the edited ROM?

  • @kylesiegelin777
    @kylesiegelin777 2 ปีที่แล้ว

    I could use help on resetting my password for Ubuntu. Anything I look up on it is how to change the root password, and even doing that doesn't work when I type in the new password.
    Somehow I made a mistake on setting my password upon installation and it took me to something else and now when I try to do anything it asks for a password that I haven't set yet, leaving Ubuntu unusable and keeping me from getting access to Fast 64, which is unfortunate because I was planning on using it as an introduction to Blender so that I'll be able to tackle my bigger more urgent projects on Blender later on

    • @succojones
      @succojones 2 ปีที่แล้ว

      Just uninstall and reinstall ubuntu

  • @andyrocketplayz
    @andyrocketplayz 2 ปีที่แล้ว

    All I get on step 7 is an error code that says there is no such file or directory

  • @abe-smells
    @abe-smells 8 หลายเดือนก่อน

    Im glad scratch the robo chicken is doing something

  • @iv_pa996
    @iv_pa996 2 ปีที่แล้ว

    How do I apply the changes that I made???

  • @half-pipe9791
    @half-pipe9791 2 ปีที่แล้ว +4

    every time i try "git clone github.com/n64decomp/sm64.git test", no matter what folder its in, i always get the error
    "error: chmod on /mnt/c/users/culle/desktop/test/test/.git/config.lock failed: Operation not permitted
    fatal: could not set 'core.filemode' to 'false'"
    do you have any idea whats happening?

    • @jolteyplays6637
      @jolteyplays6637 2 ปีที่แล้ว +3

      Idk it happened to me just put sudo Infront of the command it worked for me.

    • @Grayhome
      @Grayhome 2 ปีที่แล้ว +1

      @@jolteyplays6637 Great tip, got me out of a jam. Thanks!

    • @SleepyCustardPuff
      @SleepyCustardPuff 2 ปีที่แล้ว +1

      @@jolteyplays6637 holy shit thanks for this!

  • @yemdjproductions8992
    @yemdjproductions8992 2 ปีที่แล้ว

    How do I do Super Mario 64 decomp on linux?

  • @Hyperboid
    @Hyperboid 2 ปีที่แล้ว +5

    If you use linux as your daily driver, you're probably smart enough to adapt these instructions yourself
    though, it's a good thing he provided mac instructions, as that is very necicary
    /j

  • @PK_SNESS
    @PK_SNESS 2 ปีที่แล้ว +4

    Ubuntu won't allow me to download source codes, only giving me a " could not set 'core.filemode' to 'false' " message

  • @leonardoalmazan537
    @leonardoalmazan537 2 ปีที่แล้ว +1

    how do you fix if it says 'baserom.us.z64' Makefile:184: *** Failed to extract assets. Stop. when I put make -j6?

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว

      Is the rom a clean sm64 us 8 mb rom, not extended or modified in any way?

    • @leonardoalmazan537
      @leonardoalmazan537 2 ปีที่แล้ว

      @@rovertronic well its already set when open it opens in my emulator do I need to change that?

    • @groundtank
      @groundtank 2 ปีที่แล้ว

      I realize this reply is 4 months late, but in case anyone else has this problem just remove '.z64' from the filename and try again.

  • @WackyKiddo64
    @WackyKiddo64 2 ปีที่แล้ว

    Heyo Rovert! So i cloned the repository over to my folder (C:/Wacky/), but the folder isn't there! Ubuntu says it is, because if i run "dir" in the non-existent Wacky folder, all the repository stuff is in the folder.

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว

      Did you assign a name to your clone? I think it puts it in another folder or does something weird if you don't assign the name. If it isn't that, I'm actually not sure why that's happening.

    • @catofmtb
      @catofmtb ปีที่แล้ว

      did you do dir in wsl or ls, ls is what you use

  • @Zakko64
    @Zakko64 2 ปีที่แล้ว +1

    I'm doing the Japanese version of SM64 and I type in make VERSION jp j4 and this error comes up
    baserom.jp.z64 has the wrong hash! Found 1d2579dd5fb1d8263a4bcc063a651a64acc88921, expected 8a20a5c83d6ceb0f0506cfc9fa20d8f438cafe51
    What do I do if this happens

  • @otesunki
    @otesunki 3 ปีที่แล้ว +1

    im on windows 7
    THANK GOD MSYS2 EXISTS

  • @retrogamer64x
    @retrogamer64x 2 ปีที่แล้ว +1

    sooo it wants me to install qemu-irix, how do i do that lol

    • @XENON2028
      @XENON2028 หลายเดือนก่อน

      you might be able to just add COMPILER=gcc

  • @yepthateggguy8886
    @yepthateggguy8886 ปีที่แล้ว

    I got an error message when I try to enable Windows Subsystem for Linux.

    • @rovertronic
      @rovertronic  ปีที่แล้ว

      What does it say?

    • @yepthateggguy8886
      @yepthateggguy8886 ปีที่แล้ว

      @@rovertronic It says "The changes couldn't be completed. Please reboot your computer and try again."
      And it tells me error code 0x800700C1

    • @yepthateggguy8886
      @yepthateggguy8886 ปีที่แล้ว

      @@rovertronic it might be because I have not activated windows.

  • @Redmyoldaccisgone
    @Redmyoldaccisgone 13 วันที่ผ่านมา

    rip pilzwhatever64

  • @joshp3446
    @joshp3446 2 ปีที่แล้ว

    I do apologize for my long winded error comment yesterday i think i may have actually done something wrong. just one of those things you think youre doing correctly because you watch someone else do it, anyways my bad, Thank You for the tutorial

  • @ChickenScratch
    @ChickenScratch 2 ปีที่แล้ว

    What's the point if you put in a .z64 file and get out a .z64 file?

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว +1

      The point is to legally extract the assets of the ROM. Decomp doesn't come with the assets, so it needs the data of the ROM to extract things like textures and sound. Otherwise, Nintendo would take down Decomp for basically being a copy of Super Mario 64.

  • @mr.cooldude6529
    @mr.cooldude6529 ปีที่แล้ว

    very angry tried very hard kept getting error while building rom that said pkg-config not found and it said failed to build tools and assets

  • @Lachrymogenic
    @Lachrymogenic 6 หลายเดือนก่อน

    "If you are on a Mac Device, you will need to run a WIndows virtual machine"
    or you could just run a linux vm...? DERP?

  • @mediaplayer8
    @mediaplayer8 2 ปีที่แล้ว

    is there any way for windows 7?

    • @RetroDarioGaming
      @RetroDarioGaming 2 ปีที่แล้ว

      via MYSYS2 it should work still on Win7

    • @dudetheftmay8375
      @dudetheftmay8375 2 ปีที่แล้ว

      @@RetroDarioGaming Is there a tutorial for that? I dont even know what that is

    • @mediaplayer8
      @mediaplayer8 ปีที่แล้ว

      NOOBZ UMM I GOT WINDOWS 10 X64 AND NOOB NOOB I CAB DO IT

    • @LeastUnhingedYoutubeUser
      @LeastUnhingedYoutubeUser ปีที่แล้ว

      vmware

  • @oldschoolminecraftfootage5065
    @oldschoolminecraftfootage5065 2 ปีที่แล้ว

    Will notepad++ work

  • @jakeofficialjtoh
    @jakeofficialjtoh 10 หลายเดือนก่อน

    Wow im so unlucky im stuck in the first step (i dont find the wsl setting :( )

    • @rovertronic
      @rovertronic  10 หลายเดือนก่อน

      This tutorial is outdated, I'll make a new one... Someday

    • @jakeofficialjtoh
      @jakeofficialjtoh 10 หลายเดือนก่อน

      @@rovertronic found the problem i think, i have windows 7

  • @kohiithebat
    @kohiithebat ปีที่แล้ว

    just wondering, is this safe.

    • @rovertronic
      @rovertronic  ปีที่แล้ว +1

      Of course it is, otherwise I wouldn't make a video on it.

  • @CrazyDavePlants
    @CrazyDavePlants 2 ปีที่แล้ว

    you put 9:96 in the discription

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว

      thank you lol, didn't catch that

  • @TheWharbleHarble
    @TheWharbleHarble ปีที่แล้ว

    Thank you Rovert

  • @NolanPoopz64
    @NolanPoopz64 2 ปีที่แล้ว +1

    i am having trouble with step 5, the commad dosent work, can someone fix it 4 meh? :(
    UPDATE: I GOT IT! HOTDOG HOTDOG HOT DIGGITY DOG!

    • @catofmtb
      @catofmtb ปีที่แล้ว

      how did you do it

    • @NolanPoopz64
      @NolanPoopz64 ปีที่แล้ว

      @@catofmtb reinstalling ubuntu

  • @mr.cooldude6529
    @mr.cooldude6529 ปีที่แล้ว

    hacker 64 is the new thing

  • @RepressedButton
    @RepressedButton ปีที่แล้ว

    6:19 for later

  • @mikoaj3283
    @mikoaj3283 3 ปีที่แล้ว +2

    win7 gang crying over here

  • @crashoveride879
    @crashoveride879 3 ปีที่แล้ว +1

    Inb4 outdated again in a week

    • @rovertronic
      @rovertronic  3 ปีที่แล้ว

      wouldn't be surprised if they dropped refresh 14 through 20 within the next month

  • @jacobsworld3014
    @jacobsworld3014 8 หลายเดือนก่อน

    I'm on mobile):

  • @The-E-Base
    @The-E-Base ปีที่แล้ว

    Ah yes. Stuff tat only works on Linux. Looks like this Windows user is trapped forever.

  • @suchdoggo6427
    @suchdoggo6427 2 ปีที่แล้ว +1

    Right after it finished building the rom, it gives me errors about it not being able to locate directory for “baserom.jp.z64” but The problem is that I’m using the us rom for it which makes no sense.
    Output: /mnt/c/romhacktest$ make VERSION=us -j4
    Failed to open baserom.jp.z64! [Errno 2] No such file or directory: 'baserom.jp.z64'
    Makefile:330: *** Failed to extract assets. Stop.

    • @rovertronic
      @rovertronic  2 ปีที่แล้ว

      Interesting... If you aren't using the vanilla decomp repo, it might require the jp version. Just try and add the jp ROM and see if that fixes it.

    • @suchdoggo6427
      @suchdoggo6427 2 ปีที่แล้ว

      @@rovertronic I fixed this shortly after posting it, it was just a problem with my decomp, all I had to do was get a new fresh decomp