/MapEditor_RA2

想做一个没有UI的Editor

Primary LanguageC#

MapEditor_RA2

做一个没有UI的地图编辑器,先实现基本功能。 说明:全部代码来自zzattack和OPENRA的开源程序。本人只是对代码进行一个组合。

关于python程序: 需要先手动复制[isoMapPack5]下面的字符串到一个单独的txt中,再把程序中的txt路径改成这个txt,然后会把输出结果存到这个路径的另一个txt中,名称也在程序里改。

关于matlab程序: 是我读出来的rx、ry,用于研究地图的画点顺序。

关于Csharp程序: 请直接跳到末尾的main函数。如果想读取地图,直接把之前生成的那个txt中的字符串复制到某一行有好多字符串的地方。 至于想输出什么,就看你会不会用了。

致谢 Acknowledgments Special thanks go out to authors of several modding tools that have greatly benefited the community as well as development of this program:

·Olaf van der Spek for XCC and XWIS ·The OpenRA project ·All contributors to ModEnc ·The CNCMaps Renderer 's maker zzattack.

License —————————————————————————————————————————————————————————————————————————————————————— The license below applies only to those parts of the program that do not contain a conflicting license placed at the top of the source file. These include parts from the OpenRA and XCC projects, which are licenced under the GPL v3.

(The MIT License)

Copyright (c) 2007-2013 Frank Razenberg

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.