Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny graphical glitch in SFZ3Mix #1812

Closed
dezraj opened this issue Jun 20, 2024 · 20 comments
Closed

Tiny graphical glitch in SFZ3Mix #1812

dezraj opened this issue Jun 20, 2024 · 20 comments

Comments

@dezraj
Copy link

dezraj commented Jun 20, 2024

In Ryu's stage in Street Fighter Zero 3 Mix there is a tiny graphical glitch in the tree trunk, take a look:
KoHjrwe

You see that the tree trunk is broken. I'm not sure if this is an issue with FBNeo or the hack itself, but it doesn't happen in Raine emulator, which recently added support for the game. See:
wVc8GVn

Raine was having alignment issues with the layers (you see a black bar in the right of the red sky), but they have mostly been fixed lately.

You can get to Ryu's stage just by letting the demonstration run and waiting for the first fight to show. It should be in Ryu's stage. If you would like to play some more in this stage, here's a save state right before entering it:
sfz3mix ryu stage.zip

Thank you in advance for your time and work.

@barbudreadmon
Copy link
Collaborator

Raine might simply be using some kind of workaround for something they noticed.
We should probably tag @sfz3mix before attempting anything.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 21, 2024

I tried fixing this but it's being elusive. I will keep at it, and hopefully get it!

@sfz3mix
Copy link

sfz3mix commented Jun 21, 2024

It's good that your image alerted me to a palette error in the tree trunk too ........ I'll correct it in 0.31

0085

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 22, 2024

sfz3mix, I noticed that, too :P sorry I didn't mention it.

@dezraj
Copy link
Author

dezraj commented Jun 22, 2024

Hello everyone! It seems that this glitch is also reproduced in Raine emulator now after fixing the layers alignment in SFZ3Mix. You can have more details in Raine's forum, here:
https://www.1emulation.com/forums/topic/37621-raine-0969-hotfix/?do=findComment&comment=367566

If you think the solution is within the hack itself I suppose you may close the issue should you think so.

Thank you all for your time.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 22, 2024

Hi dezraj,
At this time I don't really know what's the source of the problem is, so, in the meantime we'll kep this open :)

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 23, 2024

I also wanted to say that I put about 6 hours into this, and don't have a solution :/

@dezraj
Copy link
Author

dezraj commented Jun 23, 2024

I also wanted to say that I put about 6 hours into this, and don't have a solution :/

I'm so sorry for that and I really appreciate your work put into this. Hopefully @sfz3mix will come with an answer to this problem. Otherwise just let it be, it's very tiny in the end... 😕

Thank you again for your work.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 23, 2024

dezraj,
It's not a problem, it was time well spent. What I meant was: I just don't think its possible for me to fix the problem on fbneo's side.

best regards,

  • dink

@sfz3mix
Copy link

sfz3mix commented Jun 23, 2024

I also wanted to say that I put about 6 hours into this, and don't have a solution :/

I'm so sorry for that and I really appreciate your work put into this. Hopefully @sfz3mix will come with an answer to this problem. Otherwise just let it be, it's very tiny in the end... 😕

Thank you again for your work.

I tried to identify it, made some changes but to no avail. When I have more time I'll try other approaches.

@sfz3mix
Copy link

sfz3mix commented Jun 24, 2024

dezraj, It's not a problem, it was time well spent. What I meant was: I just don't think its possible for me to fix the problem on fbneo's side.

best regards,

  • dink

This part of the memory moves the object (bottom of the tree trunk).
I can't see this in FBNeo, but could you compare if the same values are loaded into FBNeo's memory.
Change them and let me know if there are any values that can be fixed so that I can change them in the rom.

The movement of this object is slower than the movement of the scenery.

Ffc700 = enable / disable object
Ffc710 = x position
Ffc714 = y pos

image

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 25, 2024

sfz3mix, friends: I finally understand the problem, thanks for your patience! I hope to have a fix soon

@dezraj
Copy link
Author

dezraj commented Jun 25, 2024

Thank you sfz3mix and dinkc64 for your commitment in fixing this little issue.

I would like to report which I think is another little palette glitch in the game. It's in Balrog stage and it happens in the middle of the bush, here:
image
I'm not sure if it happens in the original game or even if it's really a glitch, but it blinks during the game play. I can also reproduce it in Raine.

If you would like to go to Balrog's stage, here's a save state:
sfz3mix balrog stage.zip

Thank you so much again for your work.

Edit: it also happens in M. Bison stage:
image

@sfz3mix
Copy link

sfz3mix commented Jun 25, 2024

@dezraj Add me on Discord by searching for the user Zero800.
I can give you some fixes and new features to try out if you're interested.

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 26, 2024

success! 2 minutes before bedtime.
will post fix and info tomorrow morning!

best regards,

  • dink

@dezraj
Copy link
Author

dezraj commented Jun 26, 2024

@dezraj Add me on Discord by searching for the user Zero800. I can give you some fixes and new features to try out if you're interested.

I have already. I am the person who was talking to you in the Raine forum. 👍

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 26, 2024

Here's the info for Raine developer (or, don't read further if you want a challenge)

Changing the SCROLL2 yoffset is actually a big deal, because it changes the offset at which the y-line(s) are looked up in the rowscroll ram. So, this value also must be deducted from the rowscroll offset when indexing said ram.
f.ex, offsets[sx] = -(RAM_LSCROLL[(sx+otheroffs-HERE)&0x3ff]);
note: if - doesn't work, try +

best regards,

  • dink

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 26, 2024

btw, fix is in :)
Please keep an eye out for other bugs that might have been caused by collateral damage of this fix

best regards,

  • dink

@taoenwen
Copy link
Collaborator

btw, fix is in :) Please keep an eye out for other bugs that might have been caused by collateral damage of this fix

best regards,

  • dink

Ohhhh, this is exciting news, SIR! You have worked hard!

@dinkc64
Copy link
Collaborator

dinkc64 commented Jun 28, 2024

thanks :)

@dinkc64 dinkc64 closed this as completed Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants