Page 1 of 2

map2map converter?

Posted: Fri Oct 29, 2010 03:39 pm
by xavior
Hi everyone,

I wanted to fiddle with porting BUILD maps (specifically duke) to quake format, and I was wondering if anybody still has this elusive "map2map" program? thanks,

Posted: Fri Oct 29, 2010 05:23 pm
by DustyStyx
Welcome to the forums xavior,

I couldn't find the exe, it's around here someplace, I'm not one of the mappers, but I copied the source code here: map2map

I'm not sure if that's the latest version, but you might find it useful.

If you want to convert Blood maps, you will have to convert the Blood map file to a build map file first, using Blud2B. You can fine that on our sourceforge page in the ReBUILD section. I think you can just use map2map to convert Duke maps straight off tho.

Thanks go to BlackB, Some1, Timothy Hale for writing map2map it in the first place.

Posted: Fri Oct 29, 2010 05:43 pm
by xavior
Yay, it compiled and worked :) Only problem now is that there are no texture names and there are a ton of "Extra" pieces of geometry.. did a better job than dukeconv though! Thank you very much DustyStyx

Posted: Fri Oct 29, 2010 06:49 pm
by DustyStyx
Good to hear. Good luck with your project.

Posted: Fri Oct 29, 2010 06:54 pm
by Tchernobog
The converter souce code is available? Sweet! :)

Posted: Fri Oct 29, 2010 09:16 pm
by DustyStyx
Sure, it's GPL. I'm sure it was around here someplace. Probably burred in the SVN.

Posted: Sat Oct 30, 2010 08:52 am
by Elric
DustyStyx wrote:Sure, it's GPL. I'm sure it was around here someplace. Probably burred in the SVN.
Indeed. Years ago, I imported the various versions of it I had back then into our SF.net SVN : http://blood.svn.sourceforge.net/viewvc ... s/map2map/

Posted: Sun Oct 31, 2010 01:57 am
by xavior
I was fiddling around with the code and implemented (hackishly) duke3d texture support. If anyone's interested you can get the code here. Many of the textures and brushes are mis-aligned and the sprites spawn as solid blocks, but if someone wanted to invest the time in it, I believe many duke3d maps may be quite salvageable (although lunatic fringe might pose a problem..).

Posted: Mon Nov 01, 2010 03:57 am
by DustyStyx
see now, that's the beauty of openSource :D

Posted: Wed Nov 03, 2010 04:41 pm
by joppe38
What? I didn't know that converting from build to quake is possible! Will the textures be converted too?

Posted: Wed Nov 03, 2010 05:00 pm
by DustyStyx
Well, it's more of a suggestion than a conversion. It still needs a lot of work to bring the map up to anything worth calling a map. I'm not certain about the textures, but I don't think so. I'd be nice if ILA, Slink or Predator would comment about it, but there's nothing that substitutes for experimenting. I think there are a few threads around that discuss some of the processes.

Posted: Sat Nov 06, 2010 09:59 pm
by Corbin
I remember using these tools early in my project's development.

The only problem with b2build is that it always doesn't work with bigger maps (like E3M1). I thought there were different versions of those executable which could do different conversions, but oh well.

Has anyone had trouble converting from Blood > Duke?

Posted: Sun Nov 07, 2010 03:54 am
by Bloodite
Corbin wrote:I remember using these tools early in my project's development.

The only problem with b2build is that it always doesn't work with bigger maps (like E3M1). I thought there were different versions of those executable which could do different conversions, but oh well.

Has anyone had trouble converting from Blood > Duke?
I dont remember if it was blud2b or map2map, it was probably map2map, but During my conversions of some of the sp maps I definitely used 2 different versions of the same program, one would make the map nearly complete and the other wouldnt, but converted tricky shapes the other didnt, I ended up using both and merging the results. I believe Tim was trying to make the converter more reliable.



Hmm, after going through my archived stuff, it appears I still have that test executable.

Posted: Sun Nov 07, 2010 07:45 am
by Corbin
Yeah, when converting Blood's maps to Build's format, sometimes it won't process the map fully (gives errors then bombs), but I have yet to try another version.

If you have that test executable do you think you could upload it somewhere online or PM it to me? I'm trying to convert E3M1 at the moment to Duke's format but not having the best luck in the world. Sometimes it's easier converting a map 3 way (the end result being a Doom map) rather than building it from scratch.


EDIT: Foolish me, thinking newer is always better than older. I used an older ReBuild toolset and the version of blud2b from '04 worked like a charm. Converted it to DOOM with map2wad and it's cherry.

Thanks for the suggestion! :D

Posted: Sun Nov 07, 2010 09:42 am
by Elric
Corbin wrote:Yeah, when converting Blood's maps to Build's format, sometimes it won't process the map fully (gives errors then bombs), but I have yet to try another version.
Please, if you have problems with Blud2b or if you find bugs in it, let me know.