Sha256: 758bb5814117d4079160d6614f871924b8899d292db2f7fbddb46f69e7c7565d
Contents?: true
Size: 611 Bytes
Versions: 6
Compression:
Stored size: 611 Bytes
Contents
#!/usr/bin/env bash # Ladder startup # Sets Ruby path to local folder, env vars and base_dir=$(realpath ${0%/*}/) ruby_dir=$base_dir/.ruby export PATH=$ruby_dir/bin:$PATH export LD_LIBRARY_PATH=$(ruby -e 'puts RbConfig::CONFIG["libdir"]') # Conservative heap sizes are based on 2x a tested medium-sized game export RUBY_GC_HEAP_INIT_SIZE_40_SLOTS=340000 export RUBY_GC_HEAP_INIT_SIZE_80_SLOTS=50000 export RUBY_GC_HEAP_INIT_SIZE_160_SLOTS=18000 export RUBY_GC_HEAP_INIT_SIZE_320_SLOTS=2000 export RUBY_GC_HEAP_INIT_SIZE_640_SLOTS=1000 export AIARENA=true sc2ai ladderconfig exec sc2ai laddermatch "$@" 1>&2
Version data entries
6 entries across 6 versions & 1 rubygems