Here's my fork (dunno where the original went) of DasBruce's wx frontend. Maybe you can coordinate/re-use some stuff of his when you actually tackle a GUI.
edit: will prolly have a buntu package for this sometime later today
If you do it it's ok , cause i didn't like wx last time i used it, otherwise i'll do it with Qt , the map compiler can be used as library too , if you want i can add function to pass raw data as image directly
I've tweaked compression so that it creates no artifacts at all, tiles that are equal 100% even if compression is disabled they are reused
so even with compression off you match 100% equal tiles. Ok what about compression on, you say no artifacts but at high compression how do you avoid that?
I've tweaked compression so that it creates no artifacts at all, tiles that are equal 100% even if compression is disabled they are reused
so even with compression off you match 100% equal tiles. Ok what about compression on, you say no artifacts but at high compression how do you avoid that?
I've added a nonlinear matching , that if a single pixel is more than 30 different ( noticeable by looking at it ) , it will count like 50 pixels different , so it is unlikely to be reused , unless you use more than 0.8 as th value
Forgot to mention that I've made this available via the spring ppa: https://launchpad.net/~spring/+archive/ppa Maybe you could start tagging commits that you deem notable advances? I'd then update the package for those.
Hmm, SpringMapConvNG.exe keeps crashing for me. To see if it was a problem with my map, I tried using decompiler.exe on DesertTriad, and then running the make.bat it spits out. It gets to "Compress done, ratio 99.4446" and then will either crash or seemingly quit normally. Either way, all that gets written is an empty (0 bytes) DesertTriad.smt and no DesertTriad.smf However, it did work once with my own map! I just can't seem reproduce that. I'm running Windows XP.
So nobody else has this problem? I thought maybe it was because I'm running XP, but i just tried it on a computer running Vista and it does the same thing. The strangest thing is that it crashes 90% of the time, but every once in a while, it works, and if I use the exact same command line options again, it will crash again. The one thing that seems almost consistent is that if I specify a minimap, it crashes after loading the minimap, and never gets to compressing tiles. But then, every once in a while, the minimap works, too. Am I in some sort of parallel universe?
From Windows Event Viewier:
Code:
Faulting application springmapconvng.exe, version 0.0.0.0, faulting module ntdll.dll, version 5.1.2600.6055, fault address 0x00018b9a.
So I have a Texture Map, Metal Map and Height Map that compiled fine on behe's mapconv, but when I compile it on Linux with mapconvng it doesnt complain and when I open it in Spring I just get the flat Texture Map rotated 180 deg and submersed under the water. Any Idea what is going on? Thanks in advance.
Users browsing this forum: Exabot [Bot] and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum