OTA=> Spring Map Converter - Page 3

OTA=> Spring Map Converter

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

it was for the ota map "Fox Holes" a small 7x7 map. i managed to open the file in DXTbmp and re-save it as a bmp with a different name (which incidentally was bigger cos DXTbmp resized the file to 512x512) which i could open fine in both paint and gimp. i could see the preview in windowns pic & fax viewer, but not open it.

i also tried imporing it into Wings, that came up with an error message that i will post later.
Moop
Posts: 26
Joined: 26 Jul 2007, 09:49

Post by Moop »

Interesting... Maybe something wrong with the header.. its a V3 BMP (header 54 bytes) with BI_RGB compression (no compression at all)
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Re: OTA=> Spring Map Converter

Post by Sheekel »

sorry for the epic rez, but does anyone have a link to this file?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: OTA=> Spring Map Converter

Post by Forboding Angel »

OTA heightmaps are really bad news.

The tiles do not line up very well and if the height ranges are over 200 - 300 it starts showing up REALLY badly. That said, you can kinda remedy it to an extent with the smudge tool in photoshop. But it doesn't really solve it...

I'm not sure if this proggie still exists. Might try fileuniverse.com?
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: OTA=> Spring Map Converter

Post by Noruas »

He didnt ask for a lecture, he asked for a file link.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: OTA=> Spring Map Converter

Post by Das Bruce »

Noruas wrote:He didnt ask for a lecture, he asked for a file link.
He'll get what he's given.

That being said, just don't do it, remake them sure, but don't just recompile them, OTA maps were never designed with the intention of being viewed in true 3D, they fail, and so will you if you try it.
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Re: OTA=> Spring Map Converter

Post by Erom »

You know, it probably wouldn't be impossible to write a rescaler that multiplies the OTA heightmap by a tilt matrix that brings the hills back to true vertical and interpolates the backface. Just because OTA heightmaps fail at being directly imported doesn't mean the entire idea is dead in the water.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: OTA=> Spring Map Converter

Post by LordMatt »

Write the code.
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Re: OTA=> Spring Map Converter

Post by Sheekel »

though i have no idea what you're talking about erom, it sounds solid!

write teh code :)
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Re: OTA=> Spring Map Converter

Post by Erom »

The code to get the height data out of an OTA map file, and then get the fixed data back into a greyscale image appropriate for Spring doesn't really interest me (and probably involves C, which I don't really know well), but I'll take a stab at writing the actual conversion math if someone would use it. Python or Java, people?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: OTA=> Spring Map Converter

Post by lurker »

Python ftw.
Post Reply

Return to “Map Creation”