Banner
Views: 854,289,945
Time:
19 users online: ASSATAKKU,  Atari2.0, codfish1002, Darolac, DoodleMyNoodle,  dtothefourth, Helloworld, Ice Man,  JamesD28,  Lazy, Linatic, MiracleWater, MrDeePay, musicalman, Neexy, Nowieso,  patcdr,  Tahixham, TDWarrior - Guests: 38 - Bots: 57 Users: 47,147 (2,479 active)
Latest: Jardeson
Tip: When making your overworld, mix the terrain up! Angled land and multiple colors looks much more interesting than square land and plain colors.Not logged in.
Need help putting code into a decompiled SM64 ROM
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - Need help putting code into a decompiled SM64 ROM
Pages: « 1 »
Hello people.

So I'd decompiled an SM64 ROM and this is what I got.



I'd also downloaded a custom C code that adds the Super Mario Galaxy launch stars into SM64. The creator of the code did mention something about decompilation, so I was wondering how and where should I put the code in the files. And when I rebuild the ROM the code should be compiled.
Hi

I'm no expert with the file stuff when making a rom hack but I'll try to help because the other people here almost never respond.

Can you show me what the code looks like?

If it's a non sm64 vanilla object then it probably isn't as easy as just putting it in one of the files because the object has it's own behaviour, textures, collision and other things.

However I'm not the best at these things #w{=3} so I could be wrong.
Originally posted by fangalaxy09
Hi

I'm no expert with the file stuff when making a rom hack but I'll try to help because the other people here almost never respond.

Can you show me what the code looks like?

If it's a non sm64 vanilla object then it probably isn't as easy as just putting it in one of the files because the object has it's own behaviour, textures, collision and other things.

However I'm not the best at these things #w{=3} so I could be wrong.


The code is in the description of this video: https://www.youtube.com/watch?v=0Q8zOL7s7PM
N64 uses the C programming language, so the code can be put in one of the files for it to work.

a less easy solution is to just try to put it in every file until it works #wario{-_-"} but yeah that's not the best plan.

I found a decomp file of mario 64 online with a file named behaviour that had the same type of codes like this one maybe you can try to but in in the file named ''behaviour_data.s''

maybe I'll put the launch star in my hack too if this works. I always loved super mario galaxy.

if it doesn't work then we'll try something else :)

edit: make sure you paste it in right because I'm almost sue this is where the code has to be
That might be possible. I will try that out and tell you the results later on. Thanks for your help #smw{:TUP:} .
happy to help #tb{^V^} keep me posted, I'm curious if it will work because I'm thinking of using my own coded objects in my hack.
Hello again.

I found another decomp of SM64 here: https://github.com/n64decomp/sm64
There are a lot of files that can work with the Launch Star code but I can't see the behaviour_data.s anywhere. They only exist in forms of .c and .h files. Nevertheless, I think this is easier to work with.
Well I'm bad at that stuff #smw{^_^;} I don't really know what you mean with the .c and .h files but if you find out anything then tell me.

Just a question out of interest: :)
Are you making a rom hack or is this just for the vanilla game?

And how did you decompile the rom?

Sorry that I can't really help #tb{''}, I'll still try some things tho
Before I answer your questions, I've found an even better SM64 decomp here:https://github.com/justinwash/SM64-Decomp
This one has all the files I need and I've decided to just settle on it.
Originally posted by fangalaxy09
Are you making a rom hack or is this just for the vanilla game?

I'm just testing some stuff right now. But if it works, I might make a hack out of it #smw{;)}
Originally posted by fangalaxy09
And how did you decompile the rom?

Check this tool out: http://shygoo.net/o64-backup/sm64_hacking/n64split%20v0.4a_%20ROM%20splitter%20and%20build%20system%20-%20Origami64.html
Thanks, I'll try the tool out. I'll do it with a copy of my rom hack because I'm afraid it will maybe break. XD

Maybe I'll research the coding language for n64 I think it was C programming and try some things out. It's a bit chaotic these days with Covid-19 and all. I hope I have the time to try some things out soon.

Keep me posted (also when you plan to make the rom hack #w{=D})
Originally posted by fangalaxy09
also when you plan to make the rom hack #w{=D}

i h a v e n o i d e a
sorry I meant 'if' you plan to make a rom hack :O
Originally posted by fangalaxy09
sorry I meant 'if' you plan to make a rom hack :O


ǒ̧̜̞̬̖̙͔̗̖̳̱͉̬ͤ̾ͤͩ̒ͫ̔ͫͪͥ̓̓̾ͤ̆̚hͤͩͤ͛ͦ͛ͫ̋ͩ́̂ͣ̄́͏̼͓̦ͅo̸͎̜̜̙̭̔̅ͦͫ͛̽̈́ͬ̊͗̈́̚͜k̸̛̒ͮ̑̌ͭ̉͒̽̎҉̶͇̭̟̼͎̭̻̬͓̖̥̦͇̤͓͓̠̬
Sorry for posting this late. But I managed to get the compile working. The problem is it won't work if it's on another directory. So it'll take a little longer before I actually made it.
https://tcrf.net/Super_Mario_64_(Nintendo_64)
https://tcrf.net/Super_Mario_64_(Nintendo_64)/Unused_Objects
I want to add this stuff to the rom!

--------------------
Hey hey! No trollings in my topics!

errr... what?
Pages: « 1 »
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - Need help putting code into a decompiled SM64 ROM

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy