Sign in to follow this  
Followers 0
Iran

Red Alert Map Preview Generator

4 posts in this topic

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

 

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

0

Share this post


Link to post
Share on other sites

Sadly that thing crashes directly after start.

 

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]

0

Share this post


Link to post
Share on other sites

that is all, no stack trace?

 

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0