Lol, here... just take my old project from a long time ago...
It's newestcoserver but it has a gamemap.dat creator and such...
I stopped because there is no hope for NewestCoServer.
PS: put dmaps into "ConquerFX\bin\Debug\database\maps\map"
They have a fixed structure to them which you can read using the BinaryReader built into C# (using System.IO; will be needed but w/e)
If you're actually interested in writing your own program rather than finding someone who will upload something you can just run and forget then I could load up some old projects I have laying around. I have all the map files structured.
[Release]GameMap creator/dumper 05/06/2012 - CO2 PServer Guides & Releases - 23 Replies Well this is the first application I ever made and I decided to share it here and the source is included.
When executed you'll see 2 buttons, Create GameMap.dat and Dump GameMap.dat.
Create GameMap.dat will add a new map to the GameMap.dat (specified in the config.ini)
Dump GameMap.dat will dump a list of map names/IDs/sizes in a text file.
The config file:
[MiniRelease] Make new GameMap.dat work with Korv's DmapHandler 02/16/2012 - CO2 PServer Guides & Releases - 6 Replies Ok so for those who don't know...
GameMap.dat in new clients refers to the new packed dmaps that tq uses (.7z). This poses an issue for those wanting to use Korv's dmap handler for their server/bot/etc. It will give all sorts of errors because it is trying to read .7z files as though they were still .DMaps.
This simple program edits your GameMap.dat file to change extensions back to .dmaps.
TO USE
Select all .7z files in the map folder and extract them. Winrar does this without...
GameMap Reading 02/28/2011 - CO2 Private Server - 13 Replies Well, I'm having problems reading the decoded GameMap ... It keeps reading the first map , it Doesn't go down...
IniFile I = new IniFile(ThePath+ @"ini\TheGameMap.txt");
uint TotalMaps = 260;
for (uint i = 0; i < TotalMaps; i++)
{
ushort MapID = I.ReadUInt16("AllMaps", "MapID");
string Path = I.ReadString("AllMaps", "Path");
DMap D = new DMap(MapID, Path);
Decoding GameMap.dat 09/21/2010 - CO2 Programming - 15 Replies Well I was working on a project tonite, it was decoding Gamemap.dat.
Thanks to the help of haydz I finally got this and it works!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication1