Pages: 1
Posted on 07-14-11, 11:51 am
Buster Beetle


Karma: 379
Posts: 79/464
Since: 06-29-11
I can't change the sprite data so that the height of the 276 is adjustable.
Posted on 07-14-11, 02:07 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 293/4457
Since: 06-08-11
Umm, can't you edit it in the Sprite DB and then update spritedata.txt?
Posted on 07-15-11, 02:34 am (rev. 1)
Buster Beetle


Karma: 379
Posts: 80/464
Since: 06-29-11
Posted by Dirbaio
Umm, can't you edit it in the Sprite DB and then update spritedata.txt?


How do I do that? You count the tiles when setting the height to keep the camera from scrolling. I have only done it via hex edit. And now, the hex order is different I think. I always use rev. 94 to set scroll stops.

I have been working way too many hours lately, so not much time this week.

Posted on 07-15-11, 07:21 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 298/4457
Since: 06-08-11
Yeah, the byte order has changed.

Before, sprite data was like this:

AB CD EF GH IJ KL
and now:
CD AB KL IJ GH EF

(The first 2 bytes and the last 4 bytes have been turned around)

This way you can convert the older sprite data to the newer byte order so you can add it to the Sprite DB.
Posted on 07-15-11, 10:52 am (rev. 1)
Buster Beetle


Karma: 379
Posts: 81/464
Since: 06-29-11
Posted by Dirbaio
Yeah, the byte order has changed.

Before, sprite data was like this:

AB CD EF GH IJ KL
and now:
CD AB KL IJ GH EF

(The first 2 bytes and the last 4 bytes have been turned around)

This way you can convert the older sprite data to the newer byte order so you can add it to the Sprite DB.


I am still trying to figure out how to enter it. So E and H are the height. F value 0 is scroll stop right. F value 1 is scroll stop left.

How do I enter this in the data base?

I updated the 276 data. Can you check it in the database to see if I did it right. If so, I can start updating more sprites if I know what I am doing now.
Posted on 07-15-11, 09:30 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 324/4457
Since: 06-08-11
I've already done it for you.

You should probably look at how I did it It's quite simple but you have to be careful and do it right.
Posted on 07-16-11, 12:45 am
Buster Beetle


Karma: 379
Posts: 83/464
Since: 06-29-11
Posted by Dirbaio
I've already done it for you.

You should probably look at how I did it It's quite simple but you have to be careful and do it right.


I added the selection for left or right scroll stop.

What is the retro scroll X and retro scroll Y?
Posted on 07-16-11, 12:50 am
Birdo


Karma: 3304
Posts: 55/2021
Since: 06-28-11
Posted by luckwii
Posted by Dirbaio
I've already done it for you.

You should probably look at how I did it It's quite simple but you have to be careful and do it right.


I added the selection for left or right scroll stop.

What is the retro scroll X and retro scroll Y?


Like in Super Mario Bros. (NES) You cant scroll to the right.
_________________________

Posted on 07-16-11, 07:55 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 338/4457
Since: 06-08-11
Hmm, luckwii, you forgot the masks for the checkboxes.
See that when Retro Scroll X is enabled, nybble 4 is 1? So the mask for the Retro Scroll X should be 1.
Retro Scroll Y should be 2.
Posted on 07-16-11, 01:07 pm (rev. 1)
Buster Beetle


Karma: 379
Posts: 84/464
Since: 06-29-11
Posted by Dirbaio
Hmm, luckwii, you forgot the masks for the checkboxes.
See that when Retro Scroll X is enabled, nybble 4 is 1? So the mask for the Retro Scroll X should be 1.
Retro Scroll Y should be 2.


Sorry, now you see why I haven't updated the database until now. But with your edit, now I understand how to do it. It makes sense.

Although look at the 276 data again. You have the retro scroll checkboxes set, but yet in the editor it is not allowing independent selection of either x or y. Is this working for anyone, or in other words, is my editor spritedata is not updating? Or is this something in the sprite db that is not entered correctly?
Posted on 07-16-11, 10:49 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 339/4457
Since: 06-08-11
Oh, true. It's a bug in the editor: Masks don't work. I forgot to code them.
Will fix it ASAP :|
Posted on 07-17-11, 01:34 pm
Buster Beetle


Karma: 379
Posts: 89/464
Since: 06-29-11
Posted by Dirbaio
Oh, true. It's a bug in the editor: Masks don't work. I forgot to code them.
Will fix it ASAP :|


Also, with the site Mini Mario feature, when editing the same sprite more than once, it posts multiple times. Can you limit Mini Mario reporting for the same user unless it is a different sprite? Kind of like how you cannot double post in the same thread, but it refreshes when someone else posts or you post in a different topic.
Pages: 1