Sha256: ce8c9903d07d1e5ab8ecc1c02fbf2f5b222fb18967183a8d332c2a6dccfc9d77

Contents?: true

Size: 653 Bytes

Versions: 8

Compression:

Stored size: 653 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

# Maxime <3
export RUBY_YJIT_ENABLE=true

export AIARENA=true
sc2ai ladderconfig
exec sc2ai laddermatch "$@" 1>&2

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sc2ai-0.2.0 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.1.0 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.8 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.7 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.5 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.4 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.3 lib/templates/ladderzip/bin/ladder.tt
sc2ai-0.0.2 lib/templates/ladderzip/bin/ladder.tt