| |||
Views: 88,510,848 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 05-02-24 06:16 AM |
|
Guest: Register | Login |
0 users currently in SMW Hacking | 1 guest |
Main - SMW Hacking - Undocumented autoscroller! Horizontal AND vertical! | New thread | New reply |
joe |
| ||
Red Paratroopa Level: 31 Posts: 5/172 EXP: 178106 Next: 7257 Since: 04-08-07 From: Justus League 2 Last post: 6122 days Last view: 6091 days |
Forte,
Sprite F1 is actually a scroller too when horizontal and vertical scrolling is set to "none". Compare EC and F1: http://67.183.146.143/scroll.ips (EC is in YI1, F1 in YI2) From the looks of things, I started something. Back to experimenting... Edit: Ahh, I've been meaning to do this. Here's a picture of how Lunar Magic probably should render levels with sprite EC or F1. http://67.183.146.143/F1render.png ____________________ "I'm sick of it and I'm out. See you around." ~Cpu's last post here |
Kles |
| ||
Level: 75 Posts: 924/1301 EXP: 3719152 Next: 107752 Since: 02-19-07 From: Canada |
Wow, this is sweet. Know what would really hit the spot?
Autoscroll right to up to left. That would be nuts. |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 139/2112 EXP: 7692921 Next: 64016 Since: 02-19-07 Last post: 4453 days Last view: 3225 days |
Hm, Don't sprites above $C-Something have their sprite data stored in a second sprite table from the first set of sprites? It would be nice to be able to find and disassemble this sprite's code in order to figure out how it changes level mode mid-level.
My question is, does anyone know the location of the second sprite data table? |
joe |
| ||
Red Paratroopa Level: 31 Posts: 6/172 EXP: 178106 Next: 7257 Since: 04-08-07 From: Justus League 2 Last post: 6122 days Last view: 6091 days |
I may not know the location of the second sprite table or how it switches mode mid-level, but I can take an educated guess on the latter. As FuSoYa said way back in archive one:
Posted by FuSoYa (http://acmlm.cjb.net:2/boardb/thread.php?id=5760) The mixed memory map is a horizontal layer 1 and a vertical layer 2. (To see that, switch the level mode from 6 to 7 and hide layer 1.) This allows the final screen to scroll in the right side of layer 2, hide layer 1, and start scrolling vertically. However, sprites don't interact properly (incomplete programming?) and the exit setting for the final screen applies to the entire vertical section. ____________________ "I'm sick of it and I'm out. See you around." ~Cpu's last post here |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 140/2112 EXP: 7692921 Next: 64016 Since: 02-19-07 Last post: 4453 days Last view: 3225 days |
Hm. for the Exit settings, that might be explained by the initial horizontal setting, and the fact that after you hit the vertical section, the screen number horizontally never changes.
The sprite interaction could possibly be explained by the horizontal setting, and not changing from that to vertical |
joe |
| ||
Red Paratroopa Level: 31 Posts: 7/172 EXP: 178106 Next: 7257 Since: 04-08-07 From: Justus League 2 Last post: 6122 days Last view: 6091 days |
I just tried changing some sprite settings, but when I changed them back, sprite interaction worked fine. I guess there was a problem with one of my earlier tests.
I'll have to check sprite interaction with other sprites and see if I can figure out what went wrong. Edit: Ha, I finally nailed the little bugger. Apparently the sprites were appearing before layer 2 was solid. That's why it didn't work. ____________________ "I'm sick of it and I'm out. See you around." ~Cpu's last post here |
HyperHacker |
| ||
... Level: 73 Posts: 296/1220 EXP: 3368351 Next: 117517 Since: 03-25-07 From: no Last post: 6097 days Last view: 6081 days |
Posted by BMF54123Is there any way we could prevent that garbage? |
Smallhacker |
| ||
Panser Swedish weirdo times eleven Level: 42 Posts: 64/339 EXP: 494704 Next: 26658 Since: 02-19-07 From: Stockholm, Sweden Last post: 5190 days Last view: 5190 days |
Posted by HyperHackerPosted by BMF54123Is there any way we could prevent that garbage? Is the garbage used for anything at all? If not, one could write a block or whatever that overwrites the garbage tile data with background tiles. ____________________ |
Sukasa |
| ||
Red Birdo Level: 92 Posts: 144/2112 EXP: 7692921 Next: 64016 Since: 02-19-07 Last post: 4453 days Last view: 3225 days |
AFAIK, the garbage is caused by the horizontal layer 2 tilemap not being 32 tiles tall, and thus when it's scrolled, the garbage shows up. |
joe |
| ||
Red Paratroopa Level: 31 Posts: 8/172 EXP: 178106 Next: 7257 Since: 04-08-07 From: Justus League 2 Last post: 6122 days Last view: 6091 days |
You can prevent the garbage by setting the level mode to 05 or 06. But that's not the full potential of sprite EB. This is a list of all functions that I could find... It's really interesting.
http://67.183.146.143/eb.txt edit: I just now noticed... Cx 1 isn't layer 2 only. But this IPS demonstrates by far the most interesting feature of sprite EB. http://67.183.146.143/left.ips ____________________ "I'm sick of it and I'm out. See you around." ~Cpu's last post here |
Bloodstar |
| ||
Red Cheep-cheep Level: 33 Posts: 64/201 EXP: 225862 Next: 3317 Since: 02-19-07 From: Philadelphia, PA Last post: 4453 days Last view: 4450 days |
|
Xkeeper |
| ||
Level: 105 Posts: 1291/2846 EXP: 12033805 Next: 228455 Since: 02-19-07 Last post: 6066 days Last view: 2803 days |
That would by far be more interesting if it wasn't maximum speed left You can't move and even jumping rarely works... and if I recall correctly, you can't even end a level without being crushed to death. ____________________ I dealt with it. |
Ninetales |
| ||
Panser Level: 42 Posts: 200/338 EXP: 492513 Next: 28849 Since: 02-19-07 Last post: 5517 days Last view: 4915 days |
Posted by joeThis IPS, when used, crashes the game on selecting 1 Player Game. What version of the SMW ROM did you use to make it? |
Xkeeper |
| ||
Level: 105 Posts: 1292/2846 EXP: 12033805 Next: 228455 Since: 02-19-07 Last post: 6066 days Last view: 2803 days |
It worked fine for me (using a "Super Mario World (US).smc" ROM).
Make sure yours is clean. ____________________ I dealt with it. |
Pac |
| ||
Flurry Level: 37 Posts: 32/262 EXP: 336117 Next: 2136 Since: 02-19-07 From: Japan Last post: 4480 days Last view: 2882 days |
|
joe |
| ||
Red Paratroopa Level: 31 Posts: 9/172 EXP: 178106 Next: 7257 Since: 04-08-07 From: Justus League 2 Last post: 6122 days Last view: 6091 days |
I notice that you were all interested by that. After more searching, I found that sprite E8 (and its copy, E7) can be used for a much more useful scroll.
http://67.183.146.143/slowleft.ips (Ninetales: I've checked and the ROM I used is clean, so it should work.) ____________________ "I'm sick of it and I'm out. See you around." ~Cpu's last post here |
Main - SMW Hacking - Undocumented autoscroller! Horizontal AND vertical! | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 92, rows: 127/128, time: 0.018 seconds. |