(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-19-24 05:50 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Merry Christmas (Eve), guys.
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
HyperHacker
Posts: 656/5072
Just for one document?
MisterJones
Posts: 17/125
Originally posted by HyperHacker
Writing your documentation in MS Word = fail. Those of us who don't have crappy expensive word processors can't read it.


Abiword.
Sukasa
Posts: 229/2068
98SE.

Guys, have any of you used this yet? if so, how well did it work?
asdf
Posts: 75/4077
Originally posted by Sukasa
Hyperhacker, that's just wierd. I dunno what ersion of wordpad you have, but that's what I used to make it... I'll just have to have 2 READMEs next time- one the .doc, the other a .txt.

BTW, has anyone tried this? I'd like to know how well it works for other people.


It fails to load for me as well. It might be because of an incompatibility between older versions of Word and newer ones (or something like that). What version of Windows do you have?
Sukasa
Posts: 228/2068
OK. I duuno why it'd do that, though...
dcahrakos
Posts: 127/499
just what I was thinking, use RTF...
Boom.dk
Posts: 35/356
In WordPad, I get the same error as HH. You should just save them as .rtf. WordPad should be able to read those.
Sukasa
Posts: 224/2068
Hyperhacker, that's just wierd. I dunno what ersion of wordpad you have, but that's what I used to make it... I'll just have to have 2 READMEs next time- one the .doc, the other a .txt.

BTW, has anyone tried this? I'd like to know how well it works for other people.
Deleted User
Posts: 112/-7750
I can read the file , I have Word 2003
Boom.dk
Posts: 32/356
Super Mario World
Controller ASM Override V. 1.1
By Sukasa



Hi! If you're reading this, then that means you downloaded my Controller Override Patch, Version 1.0.

Let me go over the table of contents.

**************TOC**************
1. Preface
    -Introduction
2. Usage
    -Standard override activation
    -Which buttons are what?
    -Where to put the values
3. The Effects
    -Descriptions
    -How to use
4. Advanced
    -How this Patch works
5. The .IPS itself
    -Note about patching
6. Contact Me
    -My Email
    -PM me!
7. Versions
*******************************



1) Preface

This patch Contains two (2) ASM hacks. The first is the controller Override, and the second is a small addition to the Overworld code that makes sure you don't lose control of yourself on the OW!

The Controller ASM override came about because I was working on Chronicles Of The Mushroom Kingdom 1, and had rpoblems with some cinematic sequences where custom blocks wouldn't work because input from Y, X, B, and A was being processed before custom block code, therefore I needed to find a way to fix that. Boom, here comes this patch.

Right now, this is only a small patch, but as your suggestions come in, I can make it much better! (contact me!)



2) Usage

To use the patch, you have several options. The first option is the override, which I will describe here. The second option is to add an effect, but I will discuss those in section 3.

First off, you need to know which buttons you want pushed down. Those buttons are mapped as follows:

For $7E1602:
SL - $20
B - $80
Y - $40
ST - $10
DN - $04
UP - $08
LF - $02
RT - $01

For $7E1603:
A - $80
X - $40
L - $20
R - $10
C1 - $08
C2 - $04
C3 - $02
C4 - $01

Now, buttons C1 through C4 need some explaining. These are custom buttons- they can be used for any special hacks that you make elsewhere, and can ONLY be controlled through the override, and ONLY when it is ON. To get the values for the two RAM addresses, add up all of the values for the buttons you want pressed, and feed those values to $7E1602 and $7E1603, repectively.

Now that that's explained, I'll tell you how to activate the override! To do so, simply write a non-zero value to $7E1600, write the button states to $7E1602/3, and sit back as Mario jumps and runs around!

NOTE: This code also takes care of calculating out which buttons have just been pressed and which ones have been pressed for 2 or more frames. Therefore, Mario will jump if you write no B or A button pressed one frame, and write it pressed that next. If you want a control to stay the way it is, do not write anything to the RAM inputs, and they will not change.



3) The Effects

Now for the fun part. Right now, there is only one effect, but I will add more as I come out with newer versions of this patch. The only effect right now is the "Filter" effect. This effect simply filters out all of the inputs you will not allow to be pressed, while allowing all other inputs to act normally.

NOTE: This effect does not take effect when using the override, NOR will it affect the C1 through C4 buttons!

To use this, write a value with bit 7 set (#%00000001) to $7E1602 enable the filter. The filter uses the same inputs as the override, and the settings use the same button codes, i.e. to allow the B, Y and START buttons only, you'd write #$D0 to $7E1602, and #$00 to $7E1603. (check that against the bitflags for the override input! They should match!)



4) Advanced

For those of you who are interested in finding out how this patch works, you can download a copy of the source code from

http://www.freewebs.com/darkflight_devil/contASM1.asm

Also, if you wish to add your own effects to the override, you can do so by replacing 4 or the 12 NOP's at the end of the code with JSL statements. This makes room for up to 3 JSL's (or did I make room for 4...?)

You can find the start of the code at PC $7F198. The NOP's are at the end.



5) The .IPS itself

Just so you know, I don't feel you need to be careful with this patch, as I placed it in what was originally the unexpanded area of the ROM, at the very end. Therefore, it shouldn't mess up any special LM hacks or your levels or anything. Just be careful with Bio's Mario/Luigi jump patch- he placed it in the same general area. If it messes up because the two overlap, please tell me right away.



6) Contact Me

If you'd like to contact me, you can either E-mail me at darkflight_devil@hotmail.com, or you can PM me at acmlm's board. (Just go to http://board.acmlm.org/profile.php?id=113, scroll down to the bottom, and click "send this user a private message".)



7) Versions

Version 1.1
*Fixed bug in original code, I had to change a JMP to a BRA.

Version 1.0
*First version- created override, original code, filter effect, and added space for 4 JSL's to your own custom code.
HyperHacker
Posts: 357/5072

Looks like failure to me. If you really need rich text in your documentation and can't fake it with ASCII tables, just use HTML or even RTF.
drjayphd
Posts: 91/1170
Originally posted by Sukasa
Dude, try word 6, y'know, windows stnadard, wordpad?

I don't fail, I play smart.


Quoted for general winningness.
Sukasa
Posts: 218/2068
Dude, try word 6, y'know, windows stnadard, wordpad?

I don't fail, I play smart.
dcahrakos
Posts: 126/499
I do, but only because I cant stand how huge the standard version of MS office is(over 4GB...) when I can use open office, and it has the same functionality pretty much.

anyway,

good work with the control override sukasa
HyperHacker
Posts: 334/5072
Originally posted by dcahrakos
Originally posted by HyperHacker
Writing your documentation in MS Word = fail. Those of us who don't have crappy expensive word processors can't read it.


*cough* open office *cough*



Yeah, I should get around to downloading that sometime. Most people don't have it, though.
Kailieann
Posts: 166/808
Most office-style programs are too lag-inducive anyways.
For a simple readme like this, txt would have been far preferable.

Especially since there's something completely insane with your formatting that makes all the relevant text go right off the side of the page.

And speaking of text files, one including the source would have been nice, as well.
dcahrakos
Posts: 123/499
Originally posted by HyperHacker
Writing your documentation in MS Word = fail. Those of us who don't have crappy expensive word processors can't read it.


*cough* open office *cough*

Kyoufu Kawa
Posts: 257/1353
Originally posted by HyperHacker
Those of us who don't have crappy expensive word processors can't read it.
Exwhative?
HyperHacker
Posts: 323/5072
Writing your documentation in MS Word = fail. Those of us who don't have crappy expensive word processors can't read it.
Kailieann
Posts: 164/808
Originally posted by andres
What does this really?


Originally posted by Sukasa
there documentation is in the .rar file, please reda it carefully!
This is a long thread. Click here to view it.
Acmlm's Board - I3 Archive - ROM Hacking - Merry Christmas (Eve), guys.


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.003 seconds; used 373.44 kB (max 442.05 kB)