Iran Posted September 18, 2013 Share Posted September 18, 2013 https://github.com/Iran/CnCFullMapPreviewGenerator This tool generates a preview image of a map using the game's graphics. It's written in c# 2.0 and requires the .Net framework v2.0. This uses code from OpenRA and code that hifi gave me. Thanks go to Mailaender and pchote for helping me with using the OpenRA code and answering questions. Nyerguds also helped with answering my questions, documenting the tile sets ID mappings used by the game and documenting the remap colors stuff for every color remap. Additional thanks go to the FreeCNC documentation of the game's map format and XCC Editor for showing me how things should somewhat look like. Usage: ExeFile InputMap [OutputImage] [--DrawVisibleOnly] Example: CncFullMapPreviewGenerator.exe x.ini derp.png --DrawVisibleOnly The '--DrawVisibleOnly' option only draws the part of the map that's visible in-game. If 'OutPutImage' is left out the filename (minus .ini) + '.png' is used. THIS IS STILL A BETA SO THE TOOL MIGHT CRASH OR GIVE INCORRECT RESULTS https://dl.dropboxusercontent.com/u/21865790/CnC%20Full%20Map%20Preview%20Generator.zip Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now