Thank you very much ComputerPhreak, I will try myself to see if it can works for my project.
Do you authorize me to use (on my website) the images you made by this way? (when I would use them, I'll thank you in the community page)
You can very well upscale the pictures by yourself, the algorithms are no secret.
But from my point, upscaling pixel art with a method different than n-fold Nearest Neighbour is a bad taste, because it ruins the very definition of pixel art.
ComputerPhreak wrote:
You don't have to thank me or ask for my authorization, I don't own the images as they are I guess copyrighted to Ubisoft or whomever controls New World Computing's assets.
Just to clarify, I don't mind if you use them, but I can't promise anything about the legality of using them, since (from my understanding, at least) they are derived from copyrighted assets.
I wouldn't think Ubisoft is any threat if I were you. Simply put, nobody cares.
________________________
Uhm Vampire
Messages : 446 Quality Points : 477 Registration Date : 2015-07-17 Age : 29 Location : Poland
Lol, with such technic we can prepare Heroes 2 HD at last But don't tell it Ubi... There's still chance that they will sell rights to Heroes to some competent people
Orzie Master Modder
Messages : 2166 Quality Points : 843 Registration Date : 2014-12-12 Age : 32 Location : Turkey
This algorithm upscale was in fact used for Heroes 3 HD Edition as well, with some hand treatment.
This is one of the reasons I will never pay for it.
Quote :
These algorithms are all designed for pixel-art, and work because said art isn't really photo-realistic. So for the intro screen, it won't produce a very good result:
But the main menu is not pixel art absolutely. And this is why upscaling works acceptably good there.
________________________
Orzie Master Modder
Messages : 2166 Quality Points : 843 Registration Date : 2014-12-12 Age : 32 Location : Turkey
I just want to update you and everyone and note that I searched through the strings of my EDITOR2W.exe and did not find "NWC", but I did find "/PUR", and after trying it as an argument it has the effect that you described. I have no idea what it stands for, though.
With this command you are able to edit tiles in the map editor ("?" button). Thanks to AlexSpl for info.
________________________
GodRage Webmaster
Messages : 1051 Quality Points : 229 Registration Date : 2009-09-21 Location : France
Yeah maybe HeroesII HD can looks good... I'm not sure though.
Omg I got an idea! What bout the Heroes II Fonts??? Because actually we have only a 11px or 12px font. Maybe it's just impossible? Or we have to extract letter by letters? Does fonts in 2016 can have alpha channel? Honestly I don't know any about fonts making, but having a "good sized" Homm2 font would make all Homm2 websites looking much better!
It really looks like what I imagine a possible H2 HD remaster would look like. Very impressive. I wonder what town screens and battles look like with this filter?
It really looks like what I imagine a possible H2 HD remaster would look like. Very impressive. I wonder what town screens and battles look like with this filter?
I have not tested it, but based on the poor results from the menu screen, I do not think town screens would see very good results with XBRz.
This is just a mock-up and has some visual errors, too, but the battle scenes would fare much better. The backgrounds are kind of hit-or-miss (I picked this grass one because it turned out better than the desert one, for example), but the actual units and heroes look quite good, imo:
I am experimenting with image interpolation to make the frame rate of creature animations smoother, but so far I am not having very good results. I got the idea from this post: https://sourceforge.net/p/fheroes2/discussion/335991/thread/7681e297/ He seems to have pretty decent results with the druid death animation.
A good (imo) example of a scale-up: XBR
XBRz
Orzie Master Modder
Messages : 2166 Quality Points : 843 Registration Date : 2014-12-12 Age : 32 Location : Turkey
It's not going to have a happy ending anyway. Using well-known algorithms is not a big deal, the problem is of another kind: all coordinates in HoMM2 are set as absolute numbers, so any possibility of H2 HD is less than unlikely.
Heroes 3 HD Mod by baratorch already uses algorithms - they work fine with 3D prerenders. But for pixel art it's looking ugly and soapy, in my opinion. So that I wouldn't even dream about H2 HD.
________________________
Sir Albe Mage
Messages : 871 Quality Points : 457 Registration Date : 2015-07-16 Age : 29 Location : Aalborg, Denmark
all coordinates in HoMM2 are set as absolute numbers, so any possibility of H2 HD is less than unlikely.
Is that the real prblem? If my website was in absolute numbers and suddenly I make all graphics x4, I will most probably make a script to transform all numbers in it's x4 value... (starts by highter one or it will be mess) and then fixing some maybe... it's not possible with C++?
It would be easy if we knew which numbers corresponded to pixel values. There are a lot of numbers in the code, and most of them don't. Such is the way of working with decompiled code.
GodRage Webmaster
Messages : 1051 Quality Points : 229 Registration Date : 2009-09-21 Location : France
I'm trying to learn a bit more about color cycling. I read some info Orzie posted earlier
Quote :
The color cycling is an in-game feature. Simply put, if you place color 214, it will be put in a cycle automatically: 214-215-216-217-214-... etc. If you start from color 215, it will go in the game like 215-216-217-214-215-... etc. This is how Heroes 2 are programmed to cycle specific color indexes.
The same cycling order goes for other color ranges I mentioned (by 4 colors), but there is one additional range which don't follow that rule. It is the ocean/river/lake colors (231-237). I won't talk about it in this message because I'm in a hurry and this range is more tricky, but you can surely save this question for future if you will need to work with oceans/rivers/lakes.
Can you post the information about ocean/lake color cycling?
Orzie Master Modder
Messages : 2166 Quality Points : 843 Registration Date : 2014-12-12 Age : 32 Location : Turkey
I am still investigating. There are 8 colors for water, some of them are duplicated, and some of them are possibly excluded from the palette cycle. I will try to bring the final info soon.
________________________
Uhm Vampire
Messages : 446 Quality Points : 477 Registration Date : 2015-07-17 Age : 29 Location : Poland
Mein Gott! I have described all that cycling in details a... year? ago. I also have used the cycles myself to reproduce animated pics for handbook. What was wrong with that explanation?
Spoiler:
(this png is correctly animated too for Opera and Firefox users)
-- Vladimir
P.S. Excellent-looking upscales. Glad to see.
P.P.S. Uhm has written the almost correct (I will check 5-cycle later) sequences of blue cycling two posts above. Hm... 241-240-239-238 and 236-237 are surely right. My sequence was 231-232-233-234-235. Uhm, are you sure about 232-234 switch reversed order with 235 inserted? For me it looks intricate.
Orzie Master Modder
Messages : 2166 Quality Points : 843 Registration Date : 2014-12-12 Age : 32 Location : Turkey
Mein Gott! I have described all that cycling in details a... year? ago. I also have used the cycles myself to reproduce animated pics for handbook. What was wrong with that explanation?
I just needed to re-check myself to be absolutely sure. Bad habit P.S. Hello, Vladimir
________________________
Uhm Vampire
Messages : 446 Quality Points : 477 Registration Date : 2015-07-17 Age : 29 Location : Poland
Yup, now I also checked, it's 231-232-233-234-235. I was looking at the four-step cycling; the inverted order and simple colour clarifying was there, sorry for misleading