![]() |
Nw2png
2 Attachment(s)
Hello everyone ;)
I've made a new tool in java which generates an PNG Image from a given level - The latest download is attached below - For the developers under you I've also attached the source code Please gimme comments + Ideas of what I should add / change =D ------------------------------------------------------------------ Latest version is 2.1, by Dusty! Patch Notes: Quote:
|
HTML Code:
'java' is not recognized as an internal or external command, |
@ Andrew you can download the java runtime (JRE) here:
http://java.com/en/download/inc/windows_upgrade_xpi.jsp Oh and I just saw I had a quick typo when parsing the gmap file (Width was Height and Height was Width) Ive attached the changed one 1.1 now I always prefer Java since you only have to compile it once and you can run it under every OS |
1 Attachment(s)
Haha cool-alot quicker than using the map editor!
Can you please add a tileset changer on to it- ie the tileset you want to use (I know you can just re-name pics1.png, but would be cool of an option) rep++ |
Already done it, but that's pretty cool. I'm still working on the new version of mine with GMAP support so I guess you beat me to that :p.
Nice work. |
The image looks so smooth <3
Thanks for repp + uploading your picture =) The changer will be added in the next version 2.0 until then we will have an auto parse of the level to read the addtiledefs =P Also im doing a GUI version soon Programs written in C++ / Java gives more possibilites like you can see the image is Rendered Intepolated (very smooth) not like the usuall horrible pixeled M map (no Interpolation rendering) Did I already mentioned that it also supports pics1.png's with alpha =) ? oh and you can also skip Levels when creating the gmap - just dont add the .nw level to skip in the folder and the NW2PNG will auto skip this level if it doesnt exist so you have an alpha hole where this level should be Actually this is the very first Alpha version I just started with this Project a few hours ago =o |
Wow, this is awesome man!
Thanks alot :D rep+ |
NW2PNG v1.2 released
Here comes v1.2 - including several changes + support for Tilelayers ;) Please read the readme.txt file in the folder |
Add anti-aliasing ;) Maybe as an option
PHP Code:
|
Mhm I already played around with the rendering to get the best quality
Bicubic Interpolation > everything else with the Quality I just wish I could use the Lanczos sinc Interpolation in Java =( |
Quote:
Edit: Here is Chromium's implementation of Lanczos in C++ http://src.chromium.org/svn/trunk/sr..._operations.cc |
Quote:
(Even Bicubic is already perfect) PHP Code:
|
I haven't downloaded the program yet as I don't really need it, but it sounds like some nice work.
|
2 Attachment(s)
NW2PNG v1.3 released
Again a new version =) Changelog: - Added support for normal NPC images - Added ignorecase for "pics1.png" npcs and npcs containing "light" in their name (Parsing of setimgpart() not added yet) - Small source code changes |
Quote:
|
| All times are GMT +2. The time now is 02:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.