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
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.

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.

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

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.

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]


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?

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.

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:


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.

Personal Projects / Re: NES Metroid HD Pack
« on: January 15, 2019, 11:32:55 pm »
Check this out:

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.

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?

Does skill level affect anything besides CP cost?

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.

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?

Hi, I made a graphics pack for playing Donkey Kong on Mesen emulator:

I made this tool to make it:

Any contribution is welcome!

Thank you.

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.

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:

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

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