Duke4.net Forums: SVGMAP - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

SVGMAP  "Free .map to .svg converter"

User is offline   oasiz 

  • Dr. Effector

#1

SVG MAP CONVERTER - 'SVGMAP'
[Logo with desert chrome and lasers]

Posted Image
More samples (D3D + LD)

FREE DOWNLOAD

Disclaimer: This is released as-is, it works really well with the stuff I have tried so far but I haven't tested Eduke32 limit removal that well as I added it just recently, from a quick glance, slum noir rendered without any trouble.

Some might have seen this being posted in the "what are you working on" thread.
Instead of sitting on it for years before releasing, I decided to release it now.
I hope that someone will find this useful or even take the idea further.

== TL;DR version ==

-> Requires windows
-> Eats in '.map' files from Duke3D and Lameduke, possibly other versions as well.
-> Outputs a '.html' that has SVG in it.
-> Able to do some basic comparisons between two .map files
-> All this with a pretty UI that belongs to the 80s!


== In more detail ==

"Behind the scenes"
=> Conversion between versions relies on CONVMAPx binaries being on the same directory as svgmap itself.
=> svagtemp.map gets output and used for reading and possible conversions.
- Convmap © Ken Silverman


== Usage ==

Upong starting, it will ask for a .map file.
=> Give the name without the .map extension, 'myhouse.map' would be 'myhouse'

It will ask you for another map file for comparison
IF you want to compare => enter another map file in here, same way as above
IF you don't want to => simply press enter without entering anything'

Question for extra parameters
=> <space> will get you to the extra params screen
=> <enter> will speed up skipping this part

---> (if using extra params)
EXTRA PARAMS:

Offsets: How much should the map#1 be offset compared to map#2 when comparing.
This is useful if the layout was shifted slightly between versions and you want to overlap them.

Scaling: Apply some sort of scaling to the canvas, not perfect but in some cases it makes it a lot better.

Every option is essentially a combination of auto-scaling / automatic offsets and manual tuning with offsets.
<---


You will begin to see bunch of fancy matrix-like stuff that is mainly a debug output showing on what is being done.
After this it will auto-quit and you will end up with 'mapname.html' i.e. 'myhouse.html'

Try to drag&drop the .html to any modern browse, behold!


== Other ==

Questions?
IRC: oasiz @freenode / ircnet / quakenet

I would gladly help if someone wants to make a better version of this, preferably an online version that is
cross-platform and more user friendly.

Some updates on this can of course be done.
Suggestions are welcome but I won't start applying textures as I have no idea how to approach that problem.
Maybe sprites at most.



Thanks
2

User is offline   Micky C 

  • Honored Donor

#2

Does it work with TROR?

What about an isometric view like in the newer mapsters?
0

User is offline   oasiz 

  • Dr. Effector

#3

It shouldn't work with TROR but I have actually never tried that.
The struct it relies on is v7 map format and anything below gets converted to it before processing trough convmap.

If TROR is trivial to implement then I could probably put it in, for now It's basic limit removal D3D.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options