Started by mopa42, October 29, 2010, 10:28:04 AM
Quote from: mopa42 on October 29, 2010, 10:28:04 AMCustom background (if any) is base64-encoded image data (the game and editor are ok with .jpg or .png data of any size initially; if you set the image using the editor it converts it to a 700x480 jpg @ 85% quality)
Quote from: UpperKEES on November 14, 2010, 06:44:01 PMthe graphics I created after a lot of work currently get reduced a lot in quality....
Quote from: mopa42 on December 12, 2010, 06:09:24 PMFirst base64-encode your image (in whatever jpeg quality you desire). Make sure that the data isn't broken up into multiple lines, then add it in the XML file like this: <custombackground>/9j/4AAQSkZJRgABAQE....</custombackground>, and finally convert back to .cwm format.
Quote from: Echo51 on December 14, 2010, 03:49:09 AMNotepad and other loose tools ftw, eh? ;)
Quote from: mopa42 on October 29, 2010, 10:28:04 AMWays to use this knowledge about the custom map format:Easily delete all collectors/mines/totems/...Edit spore waves by handSet emitter settings to precalculated values (such as stacked emitters whose intensity doubles each minute)Automatically generate a custom background based on the terrain, or vice versa.Create a map with randomly-generated terrainSomeone very ambitious with too much extra time could even write their own map editor program, with whatever desired features (circle terrain brush, undo, etc) that the current map editor doesn't yet have.About the only things I found I could do only by editing the XML by hand:Set the terrain to 0 or 6 (which the game still displays, giving two additional elevations to work with).Set walls to other values than 0, 1, or 1000000 (a 2-value wall survives about twice as long as a 1-value wall; the editor doesn't display it even though the game does).Tweak timing values in smaller increments than tenths of a second.Bypass the 85% custom background compression.
Quote from: Kingo on February 06, 2013, 10:21:38 AMI downloaded both the offzip and packzip, but they don't have those files.
Quote from: Kingo on February 06, 2013, 10:21:38 AMAnd if I try to run either .exe, it just runs a line of code through the command prompt and exits before I can see anything. And it does nothing. I am using windows 7 and I got the "'offzip.exe'" is not a recognized file" type error message from the command prompt.