News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mkwong98

Pages: [1] 2
1
Personal Projects / Re: NES Metroid HD Pack
« on: February 15, 2019, 05:13:56 am »
Concerning the resettable frame counter, there is a problem to it. Imagine two red skeletons in Castlevania. They have a two frame collapsing animation. I want to replace it with four frames. I hit one skeleton, he starts to collapse, the frame counter gets reset and starts counting. While the first skeleton is collapsing, I hit the second skeleton. The frame counter resets again. First skeleton's collapsing animation starts from the beginning, which is not what I want. Ideally there should be multiple frame counters. But even in that case I do not know, how to tie a specific counter to a specific skeleton.
You are right, it only works for animations which do not have multiple instances on screen at the same time.

2
Personal Projects / Re: NES Metroid HD Pack
« on: February 14, 2019, 10:27:44 pm »
Good job! :thumbsup: This is a very interesting way of doing it.

Currently you cannot match the footsteps because you have no control of which frame of the running animation is being shown first. I posted a feature request to Mesen for an advance of version of frameRange which can start and reset with conditions but I'm not sure how difficult it is for Sour to implement.

3
Personal Projects / Re: NES Metroid HD Pack
« on: February 12, 2019, 05:52:32 am »
Good work! I'm surprised by the number of conditions required to change that animation.  :o

4
Personal Projects / Re: NES Metroid HD Pack
« on: January 23, 2019, 11:19:56 am »
I think which leg is the front leg also contributes to the problem. Facing left, the left leg is in front in the frames before the desired frame and it is the right leg in the desired frame. The animation may look less odd if the frames have the same leg in front.

5
Personal Projects / Re: NES Metroid HD Pack
« on: January 20, 2019, 10:03:45 pm »
May be add a pass through OAM before rendering and if a sprite in OAM with matching tile data and palette data is found then add an OAM entry into a separate HD pack OAM with the same priority and flip but with x and y offset from that sprite. When rendering with HD pack, read the HD pack OAM too. The line can be something like this:
<ExSprite>[img index], [tile data], [palette data],
  • , [y], [offsetx], [offsety], [brightness], [default tile]



 


6
Personal Projects / Re: NES Metroid HD Pack
« on: January 20, 2019, 10:48:15 am »
I think the legs of her jumping pose while aiming up in Super Metroid is more compact. Would that fit?

7
Personal Projects / Re: NES Metroid HD Pack
« on: January 17, 2019, 08:44:45 pm »
You have to place those lines above the lines for walking, otherwise the lines for walking will have higher priority and always get rendered as those don't need to check for conditions. So basically the emulator will stop looking further down as soon as it finds one that matches the one it is trying to render and in this case it is the walking version.

8
Personal Projects / Re: NES Metroid HD Pack
« on: January 17, 2019, 11:57:27 am »
The current tile is the one that the system is rendering. So lets say the image index of SamusCustomJumpUpper.png is 1 and SamusCustomJumpLower.png is 2, Samus tiles face right in the ROM and 546(B) and 562(D) are the front tiles and 519(A) and 520(C) are the rear jumping tiles in the following arrangement:
AB
CD

<condition>CheckForTileA,spriteNearby,-8,0,519,FF161927
<condition>CheckForTileC,spriteNearby,-8,0,520,FF161927
[CheckForTileA]<tile>1,546,FF161927,0,0,1,N
[CheckForTileC]<tile>2,562,FF161927,0,0,1,N

So when rendering tile 546, the emulator finds the line with condition "CheckForTileA". The condition tells the emulator to check if a sprite 519 is located 8 pixels to the left of tile 546 (the current tile). If the sprite 519 is found then it will use SamusCustomJumpUpper.png

Unfortunately you cannot extend the replacement for sprite tiles, you can only do that for background tiles because the background tiles cover the whole screen but sprite tiles don't.

I use a tool to generate the conditions so they are pretty easy to work with.

9
Personal Projects / Re: NES Metroid HD Pack
« on: January 15, 2019, 11:32:55 pm »
Check this out:
https://www.mesen.ca/docs/hdpacks.html#lt-condition-gt-tag

You can use "spriteNearby" to do that.

I use it in my Double Dragon II title screen test. The "II" is made of sprites and many of them are repeated. I use condition to check the horizontal and vertical distance between a sprite and the unique sprite at the corner of the "II" and uniquely identify each of the repeated sprites. This means I'm not constrained by the repeated sprites when creating the HD version of the "II".

I use "tileNearby" in my Donkey Kong pack. The game use a series of flat tiles with height of 1 to 8 to represent a slop and simply reverse the order of the tiles when the slop changes from going up to going down. With 4X resolution, this will not look smooth so I have 2 HD versions for each of the tiles and use conditions to work out the direction of the slop.

Be aware a "spriteNearby"/"tileNearby" condition involves 2 tiles and both of them must be on screen in order to function. So a large object scrolling into the screen will have problems. You will need to consider the scroll direction and use tiles within the same column if the object scrolls in horizontally or use tiles within the same row if the object scrolls in vertically.

One fun use of "tileNearby" is that you can use it to identify the blank background tiles around a background object and expand the replacement graphics into those blank tiles.

10
Personal Projects / Re: NES Metroid HD Pack
« on: January 15, 2019, 10:39:30 am »
Have you tried using conditions to check for bottom-rear sprites to distinguish between jumping and running?

12
Does skill level affect anything besides CP cost?

13
But do you think about making a "Donkey Kong Original Edition" version (with an extra stage like the arcade)?

I can make one, but that will have to wait as I don't have much free time at the moment.

14
Personal Projects / Re: NES Metroid HD Pack
« on: August 13, 2018, 01:33:58 am »
Well done! :thumbsup:
I only played Super Metroid and Metroid Fusion and never play this one. Time to pick up the controller!

BTW, do you use any tool when working with the HD tiles?

15
Hi, I made a graphics pack for playing Donkey Kong on Mesen emulator:
https://youtu.be/AKmRSvfPRVs

https://drive.google.com/open?id=1MCK-SSgHVrMxOZAibeSE_saJBbw4CfQB

I made this tool to make it:
https://drive.google.com/open?id=1TkP0EtBNeCrccZy7QgIfvJFAJuBRiOnU

Any contribution is welcome!

Thank you.

16
HDNes doesn't support all the new HD pack features introduced by Mesen, so please use Mesen to play this upgrade. I have stopped updating HDNes and now uses Mesen to play/create HD packs.

17
News Submissions / Re: Other: Castlevania 30th anniversary
« on: April 24, 2018, 12:51:15 pm »
I made a new version of the prologue which matches the length of the scene and vampire killer which loops smoothly:
https://drive.google.com/open?id=1Jzt1SZXuhkXZeaSJedQhP0-iGpWWCPdd

19
Excellent work! How about posting a video of this on Youtube?
Also will you consider posting on the News Submissions?

20
News Submissions / Re: Other: Castlevania 30th anniversary
« on: October 05, 2017, 09:29:22 am »
Sorry, I completely missed that! This shouldn't be too hard to add - I'll try to get it done soon-ish.
That is great! Take your time, I haven't made much progress with the pack editor yet. So far I only made a ROM viewer similar to the CHR viewer in Mesen.

Pages: [1] 2