*

Offline Iran

  • CnCNet Team
  • *
  • 976
Red Alert Map Preview Generator
« on: September 14, 2013, 11:34:21 AM »
I started working on and pretty much finished my C# (.Net 2.0) map preview generator tool. It's based on OpenRA code and a map preview tool that hifi wrote in PHP.

You can find the code at https://github.com/Iran/RedAlertMapPreviewGenerator

I've attached a compiled version of the tool with the needed data files. It's a command-line tool which works like:

RedAlertMapPreviewGenerator.exe InputMapFileName OutputImageFileName

Code: [Select]
C:\Users\Maikel\Desktop\RAMapPreviewGenerator>RedAlertMapPreviewGenerator.exe map.mpr sh.png
The size of the output image is doubled from the actual max map size (128x128). So the size is 256x256.

https://dl.dropboxusercontent.com/u/21865790/RAMapPreviewGenerator.zip
« Last Edit: September 26, 2013, 09:58:09 PM by Iran »

*

Offline Messiah

  • *****
  • 194
  • Brotherhood · Unity · Peace
Re: Red Alert Map Preview Generator
« Reply #1 on: September 15, 2014, 02:29:37 PM »
Sadly that thing crashes directly after start.

Code: [Select]
Problemsignatur:
  Problemereignisname: BEX
  Anwendungsname: RAFullMapPreviewGenerator.exe
  Anwendungsversion: 1.0.0.0
  Anwendungszeitstempel: 525d0856
  Fehlermodulname: StackHash_1612
  Fehlermodulversion: 0.0.0.0
  Fehlermodulzeitstempel: 00000000
  Ausnahmeoffset: 00a3f00c
  Ausnahmecode: c0000005
  Ausnahmedaten: 00000008
  Betriebsystemversion: 6.1.7601.2.1.0.768.3
  Gebietsschema-ID: 1031
  Zusatzinformation 1: 1612
  Zusatzinformation 2: 16124644c21b5089e62dc45ec2be09f2
  Zusatzinformation 3: de08
  Zusatzinformation 4: de08c6e294426f2d4b5c533a34eda359[/size]
« Last Edit: September 15, 2014, 02:32:37 PM by Goatmessiah »
Three games | One Campaign:
Discovert Ops for RA | Discovert Ops for TD | Discovert Ops for TS

*

Offline FunkyFr3sh

  • Maker of official unofficial stuff!
  • CnCNet Team
  • *
  • 2127
Re: Red Alert Map Preview Generator
« Reply #2 on: September 15, 2014, 06:18:32 PM »
that is all, no stack trace?

did you try to double click the map thumbnail in the cncnet5 lobby?

*

Offline Messiah

  • *****
  • 194
  • Brotherhood · Unity · Peace
Re: Red Alert Map Preview Generator
« Reply #3 on: September 15, 2014, 09:58:08 PM »
Thats all I got from the windows crash window.


Weird. When using the version then downloaded by the lobby, the preview tool is working perfect ;)
Maybe the linked version here misses a file or something else.
Three games | One Campaign:
Discovert Ops for RA | Discovert Ops for TD | Discovert Ops for TS