Skip to content
A standalone application for loading Cube2 maps.
C++ Other
  1. C++ 98.4%
  2. Other 1.6%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
src
test_maps
CMakeLists.txt
LICENSE.md
README.md
conanfile.py

README.md

cube2-map-importer

A standalone application for loading Cube2 maps. Here is the output of loading Misan's map turmoil:

----------------------------------------------------------------------------
Attempting to load file turmoil.ogz.
Opened file successfully.
File size: 10306422 bytes.
Allocating memory.
Reading file data.
Read 10306422 bytes.
Clearing decompressed data buffer.
Half size: 5153211.
Allocating memory for decompressed data buffer.
----------------------------------------------------------------------------
Starting data decompression.
Allocating memory. Old: 15459633 New: 20612844
Allocating memory. Old: 20612844 New: 25766055
Allocating memory. Old: 25766055 New: 30919266
Allocating memory. Old: 30919266 New: 36072477
Allocating memory. Old: 36072477 New: 41225688
Finished decompressing.
----------------------------------------------------------------------------
Parsing map header.
Validating map header.
Magic number: OCTA
Worldsize: 4096
Entities: 565
Mapversion: 33
Extra bytes: 0
World size: 4096
World scale: 12
Map variables: 19
----------------------------------------------------------------------------
fogdomecap: 1
sunlightyaw: 350
sunlightscale: 1
skytexture: 0
blurskylight: 2
fogdomeheight: 0
skylight: rgb(195,160,120)
lightprecision: 32
maptitle: Turmoil by Misan, Shuzo & KI113R - 2019|mX
Misan found!
fogdomeclip: 0.2
sunlightpitch: 21
skybox: penguins/wrath
sunlight: rgb(250,217,168)
fogcolour: rgb(200,170,121)
fogdomemax: 1
lightlod: 0
ambient: rgb(10,8,6)
yawsky: 250
fog: 1600
----------------------------------------------------------------------------
game name: fps
extra info size: 0
bytes to read: 0
Loading texture cache.
Loading 1337 texture MRU bytes.
Loaded 1337 texture MRU bytes.
Loading entites.
Entities: 565.
Loaded 565 entities.
VSlots: 1337.
Shader parameter glowcolor: 0.9 0.7 0.2 0
Shader parameter glowcolor: 0.9 0.7 0.2 0
Shader parameter glowcolor: 0.7 0.1 0 0
Shader parameter glowcolor: 1 0.4 0 0
Shader parameter glowcolor: 1 0.9 0.5 0
Shader parameter glowcolor: 0.3 0.6 1 0
Shader parameter glowcolor: 1 0.8 0.4 0
Shader parameter glowcolor: 1 0.8 0.4 0
Shader parameter glowcolor: 1 0.7 0 0
Shader parameter glowcolor: 0 0 0 0
Shader parameter glowcolor: 0 0 0 0
Shader parameter glowcolor: 0 0 0 0
Shader parameter glowcolor: 0 0 0 0
Shader parameter glowcolor: 0 0 0 0
Shader parameter glowcolor: 0.7 0.4 0.2 0
Shader parameter glowcolor: 0.8 0.4 0.2 0
Shader parameter glowcolor: 0.3 0.7 1 0
Shader parameter glowcolor: 1 0.8 0.4 0
Shader parameter glowcolor: 1 0.8 0.4 0
Shader parameter glowcolor: 0.8 0.6 0.2 0
Shader parameter glowcolor: 0.2 0.5 0.7 0
Shader parameter glowcolor: 0.8 0.4 0.2 0
Shader parameter glowcolor: 0.8 0.4 0.2 0
Shader parameter glowcolor: 1 0.7 0.4 0
Shader parameter glowcolor: 1 0.7 0.4 0
Shader parameter glowcolor: 0.2 0.5 0.6 0
Shader parameter glowcolor: 1 0.5 0 0
Shader parameter glowcolor: 0 0 1 0
Shader parameter glowworld: 0 0 0 0
Shader parameter glowworld: 0 0 0 0
Shader parameter glowcolor: 0 0.3 1 0
Shader parameter glowcolor: 1 0 1 0
Shader parameter glowcolor: 1 0.7 0.4 0
Shader parameter glowcolor: 0.3 1 0.4 0
Shader parameter glowcolor: 0.3 1 0.4 0
Shader parameter glowcolor: 0.3 1 0.4 0
Shader parameter glowcolor: 0.3 1 0.4 0
Shader parameter glowcolor: 0.3 1 0.4 0
Shader parameter glowcolor: 0.4 0.5 1 0
Shader parameter glowcolor: 0.2 0.8 0.2 0
Shader parameter glowcolor: 1 1 0.2 0
Shader parameter glowcolor: 1 0.5 0.2 0
Shader parameter glowcolor: 1 0.7 0.4 0
Shader parameter glowcolor: 1 0.7 0.4 0
Shader parameter glowcolor: 0.4 0.5 1 0
Shader parameter glowcolor: 0.8 0.7 0.3 0
Shader parameter glowcolor: 0.8 0.7 0.3 0
Shader parameter glowcolor: 0.8 0.7 0.3 0
Shader parameter glowcolor: 0.2 0.8 1 0
Loaded 1337 vslots.
Loading octree geometry
Loaded 49959 octree nodes.
----------------------------------------------------------------------------

You can’t perform that action at this time.