SM64 Decomp Tutorial 1: Setting Up and First Code Changes

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ค. 2024
  • This tutorial is aimed to help people get started with Romhacking using SM64 Decomp and Fast64. The first episode goes over basic setup and adds a simple feature to sm64: the ability to ground pound out of a long jump. Next episode will be a beginning to Fast64 use and will release alongside a video explaining how to set up warps. Please leave any feedback that would help make it easier to show new people how to romhack, as I think it's an amazing thing to take part in.
    Downloads:
    Fast64: github.com/Fast-64/fast64
    Simpleflips Romhacking Site: romhacking.com/
    SM64 Decomp: github.com/n64decomp/sm64
    Links to resources:
    Wiki for installing HackerSM64 (Recommended repository for romhacks):
    github.com/HackerN64/HackerSM...
    [Outdated] Rovert's setup tutorial (Quick and extremely useful): • [OUTDATED (Check Desc....
    Romhacking.com forums: romhacking.com/forum/6065b1f5...
    Romhacking Master Document: docs.google.com/document/d/1p...
    00:00 - Intro
    00:22 - Decomp Installation
    00:36 - Fast64 Installation
    01:15 - States
    02:07 - Adding Code

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

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

    Awesome video, thanks man. You're a good teacher and very easy to follow! Really enjoyed the vid.

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

    oh my god thank you, i really wanted to actually learn what stuff does what, yet i have barely any knowledge of C, i hope to make use of this valuable info someday

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

    You are the hero we needed

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

    Very nice video 👍. Thank you very much!

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

    Is there a way to make the hack compatible with Cheat codes like the Freeze Camera code so I can use it for machinimas

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

    Really awesome video! Just a general question- Is the code in the decomp the actual source code for SM64? Or is it like a "rebuilt" version of the source code?
    I'm curious how classic Nintendo games were programmed, but I don't really understand ROM hacking/modding. Like does it involve exposing the actual source code of these games or rebuilding it in other languages? And how does it work if games were built in a proprietary game engine?
    Thanks and love your vids!!

    • @sayphe2.012
      @sayphe2.012 11 หลายเดือนก่อน

      rebuilt obviously

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

      i think they wrote the whole game in C then compared the compiled assembly to the code for SM64 until it matched up. not sure if its perfect

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

    Is the Fast64 Webpage still updated? Cause I couldn't find the download link on the left sided bar where. And other links led only to a dead page. As far as I understand, it is a requierment to import objects created with Blender onto the ROm right? Is where an alternative download link?

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

    can u help me install the build dependencies proprely?

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

    Hey I'm having a problem with a texture and code changing, so basically I've edited the power meter code to make the segments split in two different parts, I have the texture in the same folder too, but when I run the rom it's not changing it, do you know how can I fix this? Thanks :)

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

      I'm not too sure, I haven't messed around with that specific stuff, I'd recommend checking out the n64 decomp server and checking if you can find help in the #sm64-help channel: discord.gg/gPGYJszTdN

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

    can you help me how to use decomp code of castlevania sotn

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

    Thanks for the video. Are these hacks compatible with original N64 hardware?. I want to make a game with this Mario engine, but I also want the rom to be playable on original consoles.

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

      Absolutely, I have an Everdrive X7 and everything I've done has been compatible with my N64. Obviously if you go overboard the N64 will lag more than emulator, but even all of the crazy texture stuff I've screwed with has been console compatible.

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

      @@Bitlytic Thanks!. I also want to make skinning animations, like the lego hack I saw a few days ago. Fast64 doc says N64 supports skinning, (the object is not composed of small separate parts that move, like default Mario, but it is a unique mesh that deforms with movement, like banjo kazooie characters). Does mario64 support that?. and does it also work on real hardware?.

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

      @@Oosystem You absolutely can do that, using Fast64 you can edit the model and make your own skinned model, if you want an example (sadly I don't know of any tutorials for this yet), you can check out this video by Kaze, where he talks about his optimized bowser model. At around 1 minute he shows that his model uses skinning rather than separate pieces. th-cam.com/video/a1eURX04dB8/w-d-xo.html

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

      @@Bitlytic Thanks a lot!. I just tested a skinned model (on emulator) It seems to work ok. Skinning seems to have many limitations, but it works :).

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

    hey so the video you linked about how to setup the decomp has "[OUTDATED]" added to the title of it.

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

      Ah you're right, there's not really an up to date tutorial in the community afaik, but most people use HackerSM64 for hacking which you can find a text tutorial here:
      github.com/HackerN64/HackerSM64/wiki/Installing-HackerSM64
      I'll also be updating the description

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

    Any recommendations for learning how to code in the language this uses?

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

      I don't have any specifics, but the language is called C, and there are plenty of youtubers who go over C/C++ (Very similar, if you know C++, you know C) like Javidx9 and The Cherno. There's a popular book called "The C Programming Language" that a lot of people recommend, but you could honestly learn just by watching people on TH-cam

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

      This is merely a recommendation, but I think one of the best people for teaching programming in the simplest way possible that makes sense is ChiliTomatoNoodle, with his C++ series (here it is if you wanna check it out: th-cam.com/video/PwuIEMUFUnQ/w-d-xo.html). SM64 uses the C programming language, which is not C++, and doesn't have as many of the features. However, his channel is absolutely rich with language about the base language enough to get the absolute most out of it. After watching his beginnier series, I'd recommend continuing through to the intermediate section, but once you get to that point, I'd say maybe try this series out to learn about OpenGL, which is a cross-platform graphics API that will pretty much do anything you need graphically. th-cam.com/video/XpBGwZNyUh0/w-d-xo.html
      Again, these are merely suggestions, and they're definetly a commitment if you decide to really dedicate to learning the language, but really, if you get through the beginner series, it's just a matter of applying the same logic to base C, with its own quirks, but once you have a solid understanding of C, everything else would make sense.
      Another really important thing would be understanding bit-wise operators, and how to utilize them. Here's a good tutorial for that th-cam.com/video/cLcQyOy73c0/w-d-xo.html. And if that's not quite enough, you can always just type "bitwise operators in c" into TH-cam, there's always good stuff.

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

      Wow that’s a lot! Ty for the info 👍

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

      Oh interesting. I’ll go take a look and see what I find. Thanks for the info 👍

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

    Thanks for these tutorials. You need to stop the five finger shuffles before your brain collapses. Your speech indicates damage has been done. Good luck.

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

    Sorry, but I have a problem. Where I can download Fast64? because, if I open it, there stand that I haven't the agree to open this file.

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

      This should be the new link, you just download as zip and add that to blender as a plugin
      github.com/Fast-64/fast64

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

    will you make a tutorial about changing Mario's model?

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

      I would need to learn that first, but I could probably do that in the future

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

      @@Bitlytic theres one tutorial about that but it doesn't go that in-depth

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

    Can you do this on windows 7?

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

      I don't believe so, since WSL isn't on Windows. However, if you know how to use docker, I believe you can use that to build. I'd recommend checking the N64 Decomp official discord, which you can find here: discord.gg/zEDBsBPQ

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

      @@Bitlytic someone called Chumous helped me decomp it on windows 7 so it is possible

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

      @@dudetheftmay8375 That's great! Did they have you run through a VM or something?

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

      @@Bitlytic no no, theres a terminal called MSYS2, it can decomp sm64 and clone the sm64 git

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

    i wish there was a fast64 version for blender 2.79 -_-

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

      Yeah, unfortunately the differences are so great it would be like rewriting the entire plugin to get it to work with 2.79. I don't believe there's any plans to backport Fast64 to 2.79, but you could always create the level model in the older version and export .obj into 2.8 to apply Fast64 materials if learning 2.8 modelling isn't something you feel like doing.

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

      @@Bitlytic the thing is my pc, it can't handle 2.8, so i'm stuck modeling stuff on 2.79

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

    i cant download wsl

    • @sayphe2.012
      @sayphe2.012 11 หลายเดือนก่อน

      do an update of windows

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

    Thanks for all the help! I have to remember to put you in my credits! If I ever get to that point hahaha (am noob)

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

      You don't need to credit me! What kind of romhack are you working on as your first one?

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

    Is this tutorial still valid in 2022?

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

      It should be, there may be a few discrepancies, but for the most part it should be relevant to the current Refresh of decomp