map2map converter?

Discuss aspects of converting Blood maps to DarkPlaces.
xavior
Rat
Posts: 3
Joined: Fri Oct 29, 2010 03:36 pm

map2map converter?

Postby xavior » Fri Oct 29, 2010 03:39 pm

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,
User avatar
DustyStyx
2D Artist
Posts: 2069
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Postby DustyStyx » Fri Oct 29, 2010 05:23 pm

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.
xavior
Rat
Posts: 3
Joined: Fri Oct 29, 2010 03:36 pm

Postby xavior » Fri Oct 29, 2010 05:43 pm

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
User avatar
DustyStyx
2D Artist
Posts: 2069
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Postby DustyStyx » Fri Oct 29, 2010 06:49 pm

Good to hear. Good luck with your project.
User avatar
Tchernobog
Tchernobog's Love Child
Posts: 1168
Joined: Tue May 27, 2008 07:30 am
Location: Rural Alberta, Canada
Contact:

Postby Tchernobog » Fri Oct 29, 2010 06:54 pm

The converter souce code is available? Sweet! :)
User avatar
DustyStyx
2D Artist
Posts: 2069
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Postby DustyStyx » Fri Oct 29, 2010 09:16 pm

Sure, it's GPL. I'm sure it was around here someplace. Probably burred in the SVN.
User avatar
Elric
Cabal member
Posts: 168
Joined: Fri Aug 13, 2004 07:35 am
Location: Paris & Limoges, France

Postby Elric » Sat Oct 30, 2010 08:52 am

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/blood/trunk/qblood/tools/map2map/
xavior
Rat
Posts: 3
Joined: Fri Oct 29, 2010 03:36 pm

Postby xavior » Sun Oct 31, 2010 01:57 am

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..).
User avatar
DustyStyx
2D Artist
Posts: 2069
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Postby DustyStyx » Mon Nov 01, 2010 03:57 am

see now, that's the beauty of openSource :D
joppe38
Rat
Posts: 7
Joined: Sun Aug 01, 2010 07:48 pm

Postby joppe38 » Wed Nov 03, 2010 04:41 pm

What? I didn't know that converting from build to quake is possible! Will the textures be converted too?
User avatar
DustyStyx
2D Artist
Posts: 2069
Joined: Wed Aug 11, 2004 02:12 am
Location: Salt Lake
Contact:

Postby DustyStyx » Wed Nov 03, 2010 05:00 pm

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.
User avatar
Corbin
Zealot
Posts: 158
Joined: Sat Aug 16, 2008 09:48 pm
Location: california
Contact:

Postby Corbin » Sat Nov 06, 2010 09:59 pm

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?
User avatar
Bloodite
Cultist
Posts: 63
Joined: Fri Aug 13, 2004 05:14 am
Location: The Great White North
Contact:

Postby Bloodite » Sun Nov 07, 2010 03:54 am

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.
User avatar
Corbin
Zealot
Posts: 158
Joined: Sat Aug 16, 2008 09:48 pm
Location: california
Contact:

Postby Corbin » Sun Nov 07, 2010 07:45 am

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
User avatar
Elric
Cabal member
Posts: 168
Joined: Fri Aug 13, 2004 07:35 am
Location: Paris & Limoges, France

Postby Elric » Sun Nov 07, 2010 09:42 am

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.

Return to “Mapping Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest