Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

Red Alert Map Preview Generator

Recommended Posts

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.



Share this post

Link to post
Share on other sites

Sadly that thing crashes directly after start.


  Problemereignisname:	BEX
  Anwendungsname:	RAFullMapPreviewGenerator.exe
  Anwendungszeitstempel:	525d0856
  Fehlermodulname:	StackHash_1612
  Fehlermodulzeitstempel:	00000000
  Ausnahmeoffset:	00a3f00c
  Ausnahmecode:	c0000005
  Ausnahmedaten:	00000008
  Betriebsystemversion:	6.1.7601.
  Gebietsschema-ID:	1031
  Zusatzinformation 1:	1612
  Zusatzinformation 2:	16124644c21b5089e62dc45ec2be09f2
  Zusatzinformation 3:	de08
  Zusatzinformation 4:	de08c6e294426f2d4b5c533a34eda359[/size]

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?

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.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.