Staredit Network > Forums > SC2 Assistance > Topic: Legacy Map Reader (WIP)
Legacy Map Reader (WIP)
Jun 9 2010, 10:59 pm
By: Heinermann  

Jun 9 2010, 10:59 pm Heinermann Post #1

SDE, BWAPI owner, hacker.

See http://lmr.googlecode.com

I'm currently working on a legacy map reader for Blizzard Entertainment's true legacy games, in hopes that it can be used to convert Starcraft UMS maps (including triggers) to Starcraft II. I won't be writing a converter, just a reader.

The reader is intended to accurately interpret data (voiding all possible forms of legacy map protection) and may have other applications.

I hope to receive feedback. Please let me know if you are interested in joining the project.

(Wasn't sure where this would fit, so I put it in Starcraft II: Miscellaneous, since I'm hoping someone will come and write a converter)




Jun 9 2010, 11:57 pm Jack Post #2

>be faceless void >mfw I have no face

Looks nice. Unfortunately I don't have the coding skill to help :( This could be extremely useful if you find someone to write a converter.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jun 10 2010, 12:01 am ImagoDeo Post #3



Quote from Heinermann
The reader is intended to accurately interpret data (voiding all possible forms of legacy map protection) and may have other applications.


This has many potential uses, but what form would the interpreted data take?



None.

Jun 10 2010, 1:48 pm Heinermann Post #4

SDE, BWAPI owner, hacker.

Right now I'm just reading the raw data into global variables.




Jun 10 2010, 4:00 pm payne Post #5

:payne:

I'm sorry, but I'm not sure I understand the possibilities of use of a 'reader'.
I'm not even sure of what is a 'reader', even though I read your description.
All my mind come up with is a converter that actually doesn't convert data.
Sorry again for that, but this looks cool, so I wanted to understand... :|



None.

Jun 10 2010, 10:40 pm Heinermann Post #6

SDE, BWAPI owner, hacker.

It's so someone else can write a converter, they don't have to write the code to read the files.




Jun 10 2010, 10:43 pm payne Post #7

:payne:

So it can't be practically used by map makers, though a coder could use it to facilitate his task to create a converter.
Am I right? :O



None.

Jun 11 2010, 5:22 am Centreri Post #8

Relatively ancient and inactive

Good luck with this. Thinking that someone will write a working converter seems a bit far-fetched to me. Hell, they never did it for WCIII.



None.

Jun 12 2010, 3:02 am Heinermann Post #9

SDE, BWAPI owner, hacker.

Well it's a side project anyway, and I enjoy working on it. If someone wants to use it that's fine, if nobody will ever use it, that's fine with me too.




Jun 12 2010, 8:06 pm O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

Quote from Centreri
Good luck with this. Thinking that someone will write a working converter seems a bit far-fetched to me. Hell, they never did it for WCIII.
SC2's editor comes with one .. It doesn't do triggers or anything, though. It just murders your terrain.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 12 2010, 8:46 pm Heinermann Post #11

SDE, BWAPI owner, hacker.

Yeah, and they don't convert Marines -> Marines, instead they reference a unit type that doesn't exist. Most units aren't converted at all, and they don't read any unit properties. In some cases the terrain can't even be read correctly. It only reads like 5 sections and that's it. Everything else is garbage. The conversions are intended to be melee-oriented, so I'm hoping someone decides to convert triggers into their format.

I think I'll read triggers soon.




Jun 13 2010, 3:04 am Centreri Post #12

Relatively ancient and inactive

Farty, terrain conversion is the easy part. Converting SCI or, lord save us, WCIII units or triggers into a system that works very differently is the hard part, and it ain't gonna happen. SCI, okay, it's remotely possible - not WCIII. Completely different unit/spell/etc system, and though the trigger editor is similar it's also much more complex and even harder to completely convert.



None.

Jun 13 2010, 3:15 am Demented Shaman Post #13



I think the way to do it would be to compile the WC3 triggers into whatever language they have, jass or whatever, and then convert that to galaxy's language.



None.

Jun 13 2010, 4:45 am Centreri Post #14

Relatively ancient and inactive

Until I see a PHP -> Python converter or similar...

Yeah. :P



None.

Jun 16 2010, 10:42 pm O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Quote from Centreri
Farty, terrain conversion is the easy part.
Then why does it not work at all?



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 17 2010, 1:48 am Heinermann Post #16

SDE, BWAPI owner, hacker.

Well if the terrain appears black, it's because there are textures missing, which you can assign yourself. But other than that, it's more like a re-interpreter for the terrain layout. It doesn't convert all the tiles, or even perform an actual conversion. You can see the failure mostly in square terrain.




Jun 17 2010, 3:55 am Centreri Post #17

Relatively ancient and inactive

Worked for me, Farty. The one thing is fails at is converting cliffs into cliffs - it converts them into elevated terrain, as in higher-up and lower-down. It's nicer looking that way, and works as well with some pathing modification. You just need to properly assign SCII textures to SCI textures to replace them.



None.

Jun 17 2010, 6:50 am O)FaRTy1billion[MM] Post #18

👻 👾 👽 💪

SC1 doesn't have textures. The conversion adds those nonexistent textures. Also, SC1's terrain uses cliffs. Why does it convert them into hills?



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jun 17 2010, 1:03 pm Centreri Post #19

Relatively ancient and inactive

Yeah, yeah, tiles to textures, you get the point. Don't get all technical. I don't know why, but if I were to guess it would be because SC had weird heights - the elevation on space, the rusty under-platform in space, the raised jungle in jungle - it wouldn't work with SCII at all. So they convert them to hills, expecting you to manually add water and a pathing map. It's not ideal, but it's workable.



None.

Jun 17 2010, 2:58 pm O)FaRTy1billion[MM] Post #20

👻 👾 👽 💪

But especially for space platform ... D:
Also with space platform it works ... Make high platform +2 cliffs, platform +1 cliffs, and low platform/rusty pit +0 cliffs. Say good-bye to elevated catwalk.
For Jungle, high raised temple is +2, high dirt is +1, dirt is +0. Raised and high raised can work to be hills.

Also, the stupid thing is that when I imported a picture map (just to see what would happen), it generated cliffs.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Sylph-Of-Space, RIVE, Ultraviolet, Roy