[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 - เกม
This was uploaded less than an hour after I figured out the decomp from the first tutorial.
6:08 caught me off guard. That was pretty funny.
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)
thanks my guy! this’ll really help!
Hey followed the tutorial and everything worked as planned! I'm just curious what was outdated about the video?
Thanks for these tutorials
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?
I have a question, why or for what are the binary tools "necesary" in the decomp?
Hey Rovert just wondering is there anyway to do this on windows 11 because it seems like ubuntu does not work on windows 11
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)
For anyone stuck on step 7 like me... remember to put a "space" after "cd"
for anyone having problems with step 5 just paste this command in first.
sudo apt-get update -y
sudo pacman -Syu
Seemingly still worked, doesn't seem outdated at all. Pain in the ass to have to install Linux/Ubuntu though.
is this only for mario 64 or can you do it with other roms that aren't from 64?
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
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?
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)
The fact that you can run linux on top of windows, ring 0 and everything, is partially terrifying.
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?
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
DECOMP FINALLY!!!!!
I'm a fighting game fan could I Rom hack one of my n64 fighting games with this program?
the old decomp was more flexible but i like the newer versions
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'
type sudo in front of the command
@@TheWorldWideWebTheSqueakuel2 Thanks i had this error too
what do i have to write in VERSION=region?
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?
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.
Did you put a space between the text? more specifically make, version=us, and -j(cores)
@@rovertronic Oh no, I didn't.
@@rovertronic does this still work?
@@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.
so when (*correctly*) cloning the repository, no folder was created in the c directory
please help and thank you:)
Edit: it works now! :D
How do I re-compile the edited ROM?
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
Just uninstall and reinstall ubuntu
All I get on step 7 is an error code that says there is no such file or directory
Im glad scratch the robo chicken is doing something
How do I apply the changes that I made???
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?
Idk it happened to me just put sudo Infront of the command it worked for me.
@@jolteyplays6637 Great tip, got me out of a jam. Thanks!
@@jolteyplays6637 holy shit thanks for this!
How do I do Super Mario 64 decomp on linux?
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
Ubuntu won't allow me to download source codes, only giving me a " could not set 'core.filemode' to 'false' " message
@AquaPlays Thank you!
how do you fix if it says 'baserom.us.z64' Makefile:184: *** Failed to extract assets. Stop. when I put make -j6?
Is the rom a clean sm64 us 8 mb rom, not extended or modified in any way?
@@rovertronic well its already set when open it opens in my emulator do I need to change that?
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.
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.
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.
did you do dir in wsl or ls, ls is what you use
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
download other rom
im on windows 7
THANK GOD MSYS2 EXISTS
What's that
i use vmware lol
sooo it wants me to install qemu-irix, how do i do that lol
you might be able to just add COMPILER=gcc
I got an error message when I try to enable Windows Subsystem for Linux.
What does it say?
@@rovertronic It says "The changes couldn't be completed. Please reboot your computer and try again."
And it tells me error code 0x800700C1
@@rovertronic it might be because I have not activated windows.
rip pilzwhatever64
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
What's the point if you put in a .z64 file and get out a .z64 file?
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.
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
"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?
is there any way for windows 7?
via MYSYS2 it should work still on Win7
@@RetroDarioGaming Is there a tutorial for that? I dont even know what that is
NOOBZ UMM I GOT WINDOWS 10 X64 AND NOOB NOOB I CAB DO IT
vmware
Will notepad++ work
yes
Wow im so unlucky im stuck in the first step (i dont find the wsl setting :( )
This tutorial is outdated, I'll make a new one... Someday
@@rovertronic found the problem i think, i have windows 7
just wondering, is this safe.
Of course it is, otherwise I wouldn't make a video on it.
you put 9:96 in the discription
thank you lol, didn't catch that
Thank you Rovert
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!
how did you do it
@@catofmtb reinstalling ubuntu
hacker 64 is the new thing
I know
6:19 for later
win7 gang crying over here
Inb4 outdated again in a week
wouldn't be surprised if they dropped refresh 14 through 20 within the next month
I'm on mobile):
Ah yes. Stuff tat only works on Linux. Looks like this Windows user is trapped forever.
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.
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.
@@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