Map2Curve is a tool for processing Goldsource map formats and their elements.
- CMake 3.10 or higher
- Compatible C++ compiler (supporting C++11)
- Windows operating system
- Create and enter the build directory:
mkdir build
cd build
- Configure the project:
cmake ..
- Build the project:
cmake --build . --config Release
- Create and enter the build directory:
mkdir build
cd build
- Generate Visual Studio project files:
cmake .. -G "Visual Studio 16 2019" -A Win32
Note: Adjust the command according to your Visual Studio version
- Open the generated
.slnfile and build the project in Visual Studio
The project was originally written for GCC compiler but now includes MSVC support through the following modifications:
- Using
msvc_compat.hheader file to handle compiler differences - Using
std::vectorinstead of Variable Length Arrays (VLA) - Added macro definitions to resolve function parameter compatibility issues
- Disabled certain warnings that would prevent compilation
If you encounter compilation issues, they typically relate to:
- VLAs (Variable Length Arrays) not being supported by MSVC
- GetVector function parameter differences
- Data type conversion warnings
This project is based on GNU C++ 11, originally developed using DevC++ 5.11.
For more information, please refer to the code comments or contact the original author:
This project was originally using Dev-C++ IDE's .dev project file format and has been converted to the cross-platform CMake build system. The conversion maintains the original functionality and structure while improving the build process.