OTA=> Spring Map Converter
Moderator: Moderators
OTA=> Spring Map Converter
Hey, I'm pretty new to the Spring, the forums, and especially mapping. I wanted to tell you mappers about the program I am making to convert OTA maps into Spring maps and to ask how you feel about this and to get help if I need it.
Its far from done right now, here are some screenshots.
Viewing an OTA map: http://www.geocities.com/breathfire2001 ... ushya2.png
Greyscale Heightmap: http://www.geocities.com/breathfire2001 ... ghtmap.png
From what I have gathered, I need to be able to generate 24-bit BMPs of the textures, heights, and metal patches. Unfortunately, for now, I have been unable to extract map features/metal locations from the OTA maps. If someone knew the format for those that would help a lot.
So far I am working on saving the BMPs via binary stream.
Its far from done right now, here are some screenshots.
Viewing an OTA map: http://www.geocities.com/breathfire2001 ... ushya2.png
Greyscale Heightmap: http://www.geocities.com/breathfire2001 ... ghtmap.png
From what I have gathered, I need to be able to generate 24-bit BMPs of the textures, heights, and metal patches. Unfortunately, for now, I have been unable to extract map features/metal locations from the OTA maps. If someone knew the format for those that would help a lot.
So far I am working on saving the BMPs via binary stream.
Perhaps instead of implementing a convertor, direct OTA map support in spring would be better? It would be far better support for OTA maps than a converter would ever be.Viewing an OTA map: http://www.geocities.com/breathfire2001 ... ushya2.png
Greyscale Heightmap: http://www.geocities.com/breathfire2001 ... ghtmap.png
Take a look at the TA3D project, they have OTA map support in their engine
I know the file you are talking about.. It usually has the map name and ends in the extension .ota.. It contains metal features, start locations, map schemas, but it doesn't seem to contain geovent or metal patch locations. I heard those were stored in the terrain data file (.tnt) somehow but I have yet to debunk the format. If I do debunk it, I could have the program generate a basic feature map with some stuff on it.
As of right now, I (finally) got a working BMP saving algorithm, but it takes a while
. I was thinking of incorporating a metal map and feature map editor into the program but I'm not sure about that one.
Also for OTA maps what are good values (metal and nonmetal maps) for MaxMetal and ExtractorRadius?
As of right now, I (finally) got a working BMP saving algorithm, but it takes a while

Also for OTA maps what are good values (metal and nonmetal maps) for MaxMetal and ExtractorRadius?
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
Alright, the program is ready for Alpha testing and it needs a place for me to upload it. I also need someone to run the BMPs through MapConv and give me screenshots or something.. The heighmap may be offcenter a bit >_>.
EDIT: I uploaded it on my friend's geocities because I am too lazy to put it on Unknown-Files. I guess someone else can do that? I hope this works, not tested on a PC as of yet.
EDIT EDIT: Oops I forgot to give the link <_< http://www.geocities.com/breathfire2001 ... amcv06.zip . Also, I just fixed some graphical glitches that were happening on the PC side. I heard it doesn't work well in Vista..
I added another link where I uploaded it on Rapidshare. It seems if the geocities low bandwidth is exceded it says the file doesn't exist.
http://rapidshare.com/files/46807027/tamcv06.zip.html
EDIT: I uploaded it on my friend's geocities because I am too lazy to put it on Unknown-Files. I guess someone else can do that? I hope this works, not tested on a PC as of yet.
EDIT EDIT: Oops I forgot to give the link <_< http://www.geocities.com/breathfire2001 ... amcv06.zip . Also, I just fixed some graphical glitches that were happening on the PC side. I heard it doesn't work well in Vista..
I added another link where I uploaded it on Rapidshare. It seems if the geocities low bandwidth is exceded it says the file doesn't exist.
http://rapidshare.com/files/46807027/tamcv06.zip.html
Last edited by Moop on 03 Aug 2007, 23:46, edited 4 times in total.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
use Unknown-FilesMoop wrote:Alright, the program is ready for Alpha testing and it needs a place for me to upload it. I also need someone to run the BMPs through MapConv and give me screenshots or something.. The heighmap may be offcenter a bit >_>. Anyway, PM me and I can directly send it to you and when I get a place to upload it I will post the link
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
i pulled teh bmp for Steel Jungle out of OTA, but i cant open it because apparantly 1GB of ram isnt enough >_< (the texture it generated was HUGE like 10000x5000, is there a way to reduce it?)Moop wrote:Regrettably in REALBasic. I am most comfortable in Basic and Java, as for C++... eek. I'm still trying to get a handle on it. Anyway, is it working >_>? I think I hammered out most of the graphical glitched my friends found.. I really want to see how certain OTA maps look under Spring
Depends. I haven't tried pulling the Terrain textures from any epic class maps yet. I'll have to work on further optimizing my BMP saving code. I am sure if you tried to grab the terrain for someting like Emperor Dracula's Real Earth you would need a ton of ram...2xPixel Width*Pixel height*3 bytes I think to be exact.
Also the textures it generates are real-size. I thought MapConv needed realsized textures.. doesn't it? >_>
Also the textures it generates are real-size. I thought MapConv needed realsized textures.. doesn't it? >_>
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
steel jungle is big, but not that big. i was just playing around, might pass this onto my girlfriend, since she is interested in mappingMoop wrote:Depends. I haven't tried pulling the Terrain textures from any epic class maps yet. I'll have to work on further optimizing my BMP saving code. I am sure if you tried to grab the terrain for someting like Emperor Dracula's Real Earth you would need a ton of ram...2xPixel Width*Pixel height*3 bytes I think to be exact.
Also the textures it generates are real-size. I thought MapConv needed realsized textures.. doesn't it? >_>
I was wondering if someone could convert this map (http://www.planetannihilation.com/tamec ... NEW&id=245 , linked off of TAMEC) into Spring format and post some pictures here.