Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Super Mario World hacking: |
Acmlm's Board - I2 Archive - Super Mario World hacking - HDMA backgraounds? | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
mikepjr Ninji Level: 26 Posts: 132/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
I can't seem to find the thread haveing to do with do HDMA effects, can someone help me. Since i now know a bit about ASM hacking, i thoght that the first thing i might do, is figure out how to do those nifty effects like the ones in BMFs mario oddesy. |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1738/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Link | |||
mikepjr Ninji Level: 26 Posts: 133/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
Thanks..... Um he dose not say how to patch the bin files, just that you have to. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 870/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
For that, copy and paste the .bin files he gives you into your ROM, by highlighting his code (Hex editor specific), then in the ROM, locate a big enough area, RATS it, and paste the copied code over the FF's that are there. | |||
mikepjr Ninji Level: 26 Posts: 134/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
So, in other words, i have to open the BIN files with a hex editor and past the code from the BIN file to the rom? All i know is that, im probebly still too new to ASM hacking to be trying to do this now. I say that because im pretty confused already. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 874/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Do you understand everything that BMF says in that thread? It is pretty complicated, and I don't understand it yet. | |||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 934/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
If you can't understand the directions in that post, then HDMA is still too complex for you. I honestly can't explain it any better than I already did. Besides, even if you get the code inserted, you still need a pretty good understanding of ASM in order to get any use out of it... |
|||
mikepjr Ninji Level: 26 Posts: 135/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
Well, right now im just haveing a hard time understanding how to insert the bin file, i think that once i get past that it may not be as hard. But, i mainly just wanted to do gradiants. This is why a small program might be cool, i figured that by now smallhacker or someone, would have made a small tool for it. Kind of like those tools that are used to change the status bar and what not. And don't take it the wrong way BMF, it's just that after haveing smallhacker help me to understand some ASM, i thought i would be able to tackle this head on. Man, this is a bummer. |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1744/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Nonono. Don't look at me. My ASM knowledge is pretty much limited to jumping around the ROM and writing/reading stuff to/from the RAM... I'm too lazy to fully learn it. | |||
mikepjr Ninji Level: 26 Posts: 136/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
LOL, ok ok ok. But still, i hope someone might make something to edit background effects. But i am still a bit confused. Was what i said earlyer right thogh? I use a hex editor and open the bin file and copy code from it to the rom, or do i use something to patch the bin file to it? |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 881/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Your first guess was right. Anyways, I'm looking through that stuff because I am planning on learning it, so when I figure anything out, I will help you. | |||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 5067/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Originally posted by SmallhackerYou should. Once you're that far the rest isn't too hard, and is teh fun. |
|||
mikepjr Ninji Level: 26 Posts: 137/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
First off, id like to say that i am sorry that it takes me so long to reply back. But anyhow, thanks Darkflight, and i will do the same, that is ill help you if i can figure it out. It is a bit confusing, but i think if i try to stick with it, ill be able to understand it better myself. As is, im constantly reading what he says about it, and i think that sooner or later it will sink in and ill get it. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 885/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Well, I've gotten a bit... I think I know how to implement HDMA to an extent, but I also think I know how to fix a few glitches in it, with extra coding. Anyways, what are you looking to do? | |||
d4s Panser Level: 29 Posts: 236/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
i'd say im pretty experienced with hdma, ive coded various hdma effects in the last few months and actually, its pretty easy to use. knowing the ins and outs of assembler is a must, though. you can also implement it very fast, as a full hdma transfer setup doesnt take more than 10 lines of code. its just hard to understand how it works in the beginning. im not too sure if using precompiled code from someone else is the best way to learn it. try reading the hdma section of this text aswell: http://www.geocities.com/Qwertie256/attic/snesemu/qsnesdoc.html if you understand that one, you almost got it. |
|||
mikepjr Ninji Level: 26 Posts: 138/242 EXP: 92006 For next: 10269 Since: 03-15-04 From: houston texas Since last post: 4 days Last activity: 1 hour |
| ||
What am i planing to do? Mainly just the gradiants and the effect that has different parts of the backdrop move at different speeds, ya know, it make the background look as if it has more then one layer? And that is really all i care to do at the moment. No other effects really interest me at the moment, nor would any other effects benafit anything im working on. |
|||
Dark Ludwig Red Paratroopa Level: 21 Posts: 34/172 EXP: 45740 For next: 4203 Since: 09-17-04 From: Georgia Since last post: 9 days Last activity: 2 days |
| ||
I don't know very much about 65C816 assembly, but I have looked at numerous tidbits of imformation in threads, guides, and looked at opcode descriptions everywhere, so I have seemed to just start understanding it a little recently. I want to implement these HDMA effects into SMW, and I read BMF's post. I understood everything before and after the RATS tag, but I had no clue what it was. I have seen people talk about RATS tags here. What is an RATS tag? Is it some undefined opcode? Is it a sequence of integers that makes everything inside it special in some way? And, most importantly, what sequence of integers is required to open and close an RATS tag? If I'm correct, I copy and paste the data from hdmamain.bin somewhere into the rom, put it into an RATS tag, modify a pointer, then I put the data from hdmasub.bin somewhere into the rom, but what then? Someone, please answer (edited by dark ludwig on 06-20-05 12:56 PM) |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 896/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
I can't really explain it the best, just a part of it. Begin your RATS tag with STAR in the rom, by entering the ascii values for it into a four-byte section. Then there are four more bytes, that were explained to me by escherial.
|
|||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 942/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
Originally posted by DarkflightJust subtract the final size, minus 1, from 0xFFFF. That's your inverse. Example: Data is 378 bytes, or 0x17A hex. 0x17A - 1 = 0x179, little endian = 79 01 (size-1) 0xFFFF - 0x179 = 0xFE86, little endian = 86 FE (inverse of size-1) Simply add the size and the inverse together when you're done. If they equal FFFF, congrats! Also, there's no need to terminate a RATS tag with 0xFF... (edited by BMF54123 on 06-21-05 02:04 AM) |
|||
Dark Ludwig Red Paratroopa Level: 21 Posts: 35/172 EXP: 45740 For next: 4203 Since: 09-17-04 From: Georgia Since last post: 9 days Last activity: 2 days |
| ||
BMF and darkflight, Thanks for the description of an RATS tag and how to use it. I worked for a while on the thingies I had to do to get the HDMA effects into my backgrounds, and I ended up (just like smallhacker) corrupting my rom... Good thing I made a backup before I did it... I downloaded PALASM.zip, applied the IPS to the rom, and changed that pointer in the rom that PALASM.txt said to modify, it was a JSL (little endian). I might have done this wrong. Then, I downloaded hdmamain.bin and hdmasub.bin. I put hdmamain.bin into an RATS tag after all the used data in the rom (and I terminated the RATS tag with an FF), then I put hdmasub.bin into an RATS tag right after that, and I terminated that RATS tag with an FF, too. I then got the starting address for hdmasub.bin, assuming it was a pre-made HDMA effect. I converted it into SNES addresses, changed that byte somewhere around 0x80000 PC address in the rom to the first byte of that SNES address, and finally, on level 105 I made a custom palette, with palette entry 0xF8 being the last two bytes of the SNES address of hdmasub.bin, minus the 0x8000 bytes, of course. I tried after all those hours to run the rom, and it crashed. My only ideas of what possibly could have gone wrong are: 1.) There were FF's in hdmasub.bin, so putting it in an RATS tag probably caused it to terminate wrongly. 2.) I didn't get 127D60 converted to a SNES address correctly, I had 24FD60. 3.) I didn't modify the pointers right, I thought and still think that for pointers, for example, if it's pointing to PC address 456FB2, then you have 22-XX-XX-XX as your JSL. I thought you put in the first byte last and the last byte first, so then you have 22-B2-6F-45. Or do I have to perform a bitwise flip to the three pointer bytes? I dunno. 4.) I need to study more about 65C816 assembly. All I would like is some help from someone who has done this correctly, and their knowledge what what I did wrong. Thanks. |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - HDMA backgraounds? | | | |