Banner
Views: 925,759,527
Time:
14 users online:  bebn legg, Black Goku, codfish1002, dougeff, gui, Hammer bros, Luaxon, Mirann, NGB, No1129, PlagueofDoom, Ralshi02, TheJank,  ThirdWall - Guests: 76 - Bots: 75 Users: 51,756 (2,055 active)
Latest: gellys
Tip: Use Gopher Popcorn Stew to insert custom blocks into your hack.
Not logged in.
Camera hacking
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - Camera hacking
Pages: « 1 2 » Link
I feel like crying now,why! Why! Why is the world so cruel!
Originally posted by Skelux
If you're done trying to steal credit for my work, I'll let it be known that these camera codes are copy-pasted from multiplayer_1.2.txt available here. No credit is necessary for minor modifications such as these.


What a surprise! Well, I somehow expected that.

Originally posted by cackletta
I feel like crying now,why! Why! Why is the world so cruel!


Don't worry, man. There are much worse idiots like those that claim other people's hard work as theirs. MariosHub just claimed a little modification of skelux's code as his, which is actually no different to stealing.

--------------------
Tarek701 is dead.
By the way I fixed Skelux hide_hud.txt,because when you press R the camera mode changes and the hud also appears,so I made it press L to show hud,so yeah if skelux concurs,I'll post the asm code

I'm sorry I forgot to give credit to Skelux. He told me to give credit since I am borrowing his "Star Haven" music, then I realized and learned a lesson to give credit to those whom I borrowed and claimed.
To Skelux, I am compiling your list of codes from one of your docs I've downloaded. I have tested these out, and took many tries to compile, until these finally worked out. It also includes your Free-Rotate cam I found out in this thread. So if you don't mind, please don't underestimate me for I can make my hack complex because of ASM codes. In other words, I am still compiling other ASM codes and counting.
For the complete codes I've compiled from Skelux, here it is. I've used it in my hack "LEGEND OF THE STARS".
Code
SUPER MARIO 64 LEGEND OF THE STARS ASM CODES
============================================
These are ASM codes used in the game. Credit thanks to Skelux, the professional ASM hacker.

Camera Modifications:
//NO CAMERA DISPOSITION
0x3B554: MTC1 R0, F4
0x3B42C: BEQ R0, R0, $0003B4D0
0x4ADA8: 
LWC1 F0, $C528 (AT)
SWC1 F0, $0004 (T7)

//FREE ROTATE CAM
0x3F330: ORI A2, R0, $0000
0x46F88: NOP
0x46F24: LH T8, $0010 (T7)
0x46F14: ADDIU T6, R0, $0001
0x46FA8: LH T0, $0010 (T9)
0x4700C: NOP

//NO MARIO CAM
0x437B0: NOP
0x9EB70: NOP
0x43860: NOP
0x437C4: BEQ R0, R0, $00043854

//CAMERA DOES NOT MATCH DIRECTION
0x3F330: ORI A2, R0, $0000

Exit while Moving:
//CAN EXIT LEVEL WHILE MOVING
0x97B74: NOP

HUD on R Press:
//SHOW HUD ON R PRESS
0x9EDA0:
LUI S4, $8034
LB S1, $AFA1 (S4)
ANDI S2, S1, $0010
BEQ R0, S2, $0009EDEC
LH S0, $001E (SP)
JAL $002E3744
LUI S3, $8033
JAL $002E37A8
LB S1, $AFDB (S4)
JAL $002E380C
ANDI S2, S1, $0010
BEQ R0, S2, $0009EDEC
LUI A0, $701A
ADDIU A1, S3, $3F10
JAL $0031EB00
ORI A0, A0, $8081
NOP
NOP
NOP
ANDI T9, S0, $0010

CREDIT SPOTTING:
In my compilation note, I gave credit to Skelux.
In my game, I said:
Originally posted by CREDITS
CREDITS:
Skelux - hacking docs and tools

*It means I've claimed notes from Skelux, and I gave credit to him for these.

VINNYEDIT: If you don't mind, please do not close this thread, for some might be able to post their own camera modifications.

Check out my Facebook page!
And also Twitter!
Official site of SM64 - Legend of the Stars




SM64 - Legend of the Stars currently in progress.
what '-'

--------------------
guest6777's Youtube Channel

--------------------



Kario: Hello, i love much this site Smw Central!

Originally posted by proerd888
what '-'


The mods are going to kill you if they see you acting stupid like that... #w{:>}

Anyhow, is there a way to zoom in or out of default camera views? Like the Mario cam, swimming cam, or flying cam for example? I bring this up because some views are either too close or too far away from the player, causing distraction. XML Tweak files for Importer v1.9 would be perfect for this!
Hey guys. Thanks for the work!! Im new here and wondering how I can use this code? Looking for a better camera in the original version of the game. Not sure what tools or files needed to compile this to test this camera.Just ordered a Everdrive and hopefully it will work with this script. Im a quick learner when it comes to editing roms just havnt dealt much with scripts and compiling into the rom. Any help would be great thanks.
http://www.youtube.com/watch?v=jS-w20Dbnd8

Here's a vid by Skelux explaining how to enter ASM code. Hopefully this'll help you get started.

Also, I should totally try this myself with these camera ASM codes, since I too have an ED64.

(Just a bit of advice: try starting with a regular American SM64 ROM, without extending it or anything; extended SM64 ROMs don't work on real hardware).

--------------------
How is it that you can say you want complex characters, and you want depth in video games, and you want art in video games, and you want them to compete with movies and novels, and yet anytime somebody tries to fucking insert anything that's above and beyond some 2D cutout, you flip your shit because it's not being handled in the way YOU want it to be handled in? Art and entertainment [aren't] always comfortable; they're not meant to be. Sometimes, they're meant to invoke or provoke different emotions and reactions. - Internet Aristocrat
Thanks!
Cant figure out a problem with LemAsm though. Followed that tutorial using this code.
Code
//NO CAMERA DISPOSITION
0x3B554: MTC1 R0, F4
0x3B42C: BEQ R0, R0, $0003B4D0
0x4ADA8:
LWC1 F0, $C528 (AT)
SWC1 F0, $0004 (T7)

//NO MARIO CAM
0x437B0: NOP
0x9EB70: NOP
0x43860: NOP
0x437C4: BEQ R0, R0, $00043854

//CAMERA DOES NOT MATCH DIRECTION
0x3F330: ORI A2, R0, $0000


I searched 3B554 and pressed Enter and delete, copy and paste "MTC1 R0, F4". Then pressed Enter again. It then goes to the next line. I need to search "3B42C" now but want to exit that line with changing it at all. I tried to F4 and search next line and it did but now the code I was on is now on that line. Not sure what the issue is. All messed up to me. Maybe someone already has a patch ready so I dont need to code this? Any help please? Thanks.

Still waiting on that Everdrive. Im thinking it will work just because its not a huge mod or anything.
Originally posted by copyman
Thanks!
Cant figure out a problem with LemAsm though. Followed that tutorial using this code.
Code
//NO CAMERA DISPOSITION
0x3B554: MTC1 R0, F4
0x3B42C: BEQ R0, R0, $0003B4D0
0x4ADA8:
LWC1 F0, $C528 (AT)
SWC1 F0, $0004 (T7)

//NO MARIO CAM
0x437B0: NOP
0x9EB70: NOP
0x43860: NOP
0x437C4: BEQ R0, R0, $00043854

//CAMERA DOES NOT MATCH DIRECTION
0x3F330: ORI A2, R0, $0000


I searched 3B554 and pressed Enter and delete, copy and paste "MTC1 R0, F4". Then pressed Enter again. It then goes to the next line. I need to search "3B42C" now but want to exit that line with changing it at all. I tried to F4 and search next line and it did but now the code I was on is now on that line. Not sure what the issue is. All messed up to me. Maybe someone already has a patch ready so I dont need to code this? Any help please? Thanks.

Still waiting on that Everdrive. Im thinking it will work just because its not a huge mod or anything.


After pressing enter to change a code, you have to press escape to get out of the next line it goes to...it's pretty annoying, I know.
Thanks that did it! Easy enough now:) Going to wait for my everdrive in the mail before I test it.

To copyman
There are two XML files in my uploaded files. No need to worry about copy-pasting. By the way, I used Level Importer v1.9S to make these. You also need to use the said program in order to patch those.

Check out my Facebook page!
And also Twitter!
Official site of SM64 - Legend of the Stars




SM64 - Legend of the Stars currently in progress.
Thanks! Where are these files? At your site?

Originally posted by copyman
Thanks! Where are these files? At your site?

What do you mean? I created them by converting Skelux's ASM codes to hex, and compiling them in his Level Importer 1.9S. I created and applied my tweak, and it worked 100%.

Check out my Facebook page!
And also Twitter!
Official site of SM64 - Legend of the Stars




SM64 - Legend of the Stars currently in progress.
Pages: « 1 2 » Link
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - Camera hacking

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

Copyright © 2005 - 2021 - 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
  • sm64romhacks