davechurchill / stardraft Goto Github PK
View Code? Open in Web Editor NEWStarCraft Map Visualization
License: MIT License
StarCraft Map Visualization
License: MIT License
After successfully building the project on MacOS, then cd
into bin
and running the program, loading
(2)Destination.scx.txt
work fine.
However there is also a zip called StarDraft_Maps.zip
in the maps folder, which is available/visible in the menu, but if you select it the program crashes with
stardraft(1348,0x118e82dc0) malloc: can't allocate region
*** mach_vm_map(size=4711630319722168320) failed (error code=3)
stardraft(1348,0x118e82dc0) malloc: *** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
fish: './stardraft' terminated by signal SIGABRT (Abort)
full stacktrace
abort() called
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6f7a57fa __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6f862bc1 pthread_kill + 432
2 libsystem_c.dylib 0x00007fff6f72ca1c abort + 120
3 libc++abi.dylib 0x00007fff6c7c6be8 abort_message + 231
4 libc++abi.dylib 0x00007fff6c7c6d84 demangling_terminate_handler() + 238
5 libobjc.A.dylib 0x00007fff6e2f2792 _objc_terminate() + 104
6 libc++abi.dylib 0x00007fff6c7d3dc7 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff6c7d3b6c __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27
8 libc++abi.dylib 0x00007fff6c7c545d __cxa_throw + 113
9 libc++abi.dylib 0x00007fff6c7c474f operator new(unsigned long) + 95
10 stardraft 0x00000001022999a8 Grid<char>::Grid(unsigned long, unsigned long, char) + 72
11 stardraft 0x00000001022983c3 StarcraftMap::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 323
12 stardraft 0x0000000102298245 StarcraftMap::StarcraftMap(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 37
13 stardraft 0x0000000102295901 GameState_Map::GameState_Map(GameEngine&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 449
14 stardraft 0x000000010229b524 GameState_Menu::sUserInput() + 340
15 stardraft 0x000000010229b3be GameState_Menu::onFrame() + 14
16 stardraft 0x0000000102294e44 GameEngine::run() + 52
17 stardraft 0x000000010229d3f3 main + 35
18 libdyld.dylib 0x00007fff6f65e7fd start + 1
Probably just an issue with opening an unknown file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.