Banner
Views: 934,400,113
Time:
24 users online: AppleBoy54321,  Ayami, BootaNoBijuu, cangrejo,  Carld923, chickaDEE Magazine, codfish1002, Dark Prince, Darknubs, dougeff, drxmario, Hooded Edge, JX444444, Katerpie, MercyFalls, Nitrogen, OrangeBronzeDaisy, Professor Parabeetle,  RussianMan, shibby_markus, SonicFan214, StayAtHomeStegosaurus, WhiteYoshiEgg, yogui - Guests: 82 - Bots: 129 Users: 52,124 (2,119 active)
Latest: AmnesiaSilence
Tip: Before asking for help on the forums, make sure you've tried to figure out the problem on your own first.
Not logged in.
[ASM Tweak] Eyerok boss fixed for custom levels
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - ASM & Data Repository - [ASM Tweak] Eyerok boss fixed for custom levels
Pages: « 1 » Link



Here is a tweak that will let you use the Eyerok boss in any custom level. Eyerok crashed in custom levels because the game was trying to process his collision data which didn't exist. The actual collision data is located with the SSL level geometry data in segment 0x07. I fixed the crash by optimizing eyerok's ASM code to free up enough data to make Eyerok's collision data become global, so now he should work in any level you put him in. All of the changes I made are self-contained, so this should not interfere with any other code in the game. This patch works with the 8MB ROM, though I haven't tested it on console.

You can apply this code by either using the .xml tweak for the level importer, or the ASM source code with CajeASM v7.24.

Tweak: http://bin.smwcentral.net/u/26355/EyerokBossFix.xml
ASM source (right-click->save link as...): http://bin.smwcentral.net/u/26355/EyerokBossFix_ASM.txt

How to apply the tweak (Level Importer)

1.) Put the .xml file within the Tweaks folder:


2.) Open the Tweak Manager in the Level Importer:


3.) Select the tweak and hit the apply button:


Assembling the source code (CajeASM)

Just select your ROM file and the "EyerokBossFix_ASM.txt" source file, then click "Assemble!":



That's all there is to it. How easy was that?
Mh, that's really cool. Btw, just saw the code and the errors with c.lt.s etc. I'm gonna put that on my fix list too. I always wondered there was still something left to fix and you just found it. Thank you for that.

-Tarek701-

--------------------
Tarek701 is dead.
Pages: « 1 » Link
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - ASM & Data Repository - [ASM Tweak] Eyerok boss fixed for custom levels

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