Skip to content

Instantly share code, notes, and snippets.

View Cervator's full-sized avatar

Rasmus Praestholm Cervator

View GitHub Profile
@Cervator
Cervator / After
Created January 24, 2015 21:19
Shader warning
"C:\Program Files\Java\jdk1.7.0_67\bin\java" -Xms256m -Xmx1024m -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ14\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_67\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.7.0_67\jre\lib\ext\localedata.ja
@Cervator
Cervator / gist:bdb5f43bf2843920a19f
Created February 21, 2015 03:12
Client log including stack dump with "Requesting missing modules"
C:\Dev\Java\jdk7u55_64bit\bin\java -Xms256m -Xmx1024m -Didea.launcher.port=7533 -Didea.launcher.bin.path=H:\Dev\IntelliJ14U\bin -Dfile.encoding=UTF-8 -classpath C:\Dev\Java\jdk7u55_64bit\jre\lib\charsets.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\deploy.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\javaws.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\jce.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\jfr.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\jfxrt.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\jsse.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\management-agent.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\plugin.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\resources.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\rt.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\access-bridge-64.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\dnsns.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\jaccess.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\localedata.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\sunec.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\sunjce_provider.jar;C:\Dev\Java\jdk7u55_64bit\jre\lib\ext\sunmscapi.ja
@Cervator
Cervator / gist:7acc1c9c9b133566b731
Created February 22, 2015 19:29
Sample server config.cfg
{
"system": {
"dayNightLengthInMs": 1800000,
"maxThreads": 2,
"verticalChunkMeshSegments": 1,
"maxSecondsBetweenSaves": 60,
"maxUnloadedChunksPercentageTillSave": 40,
"debugEnabled": false,
"monitoringEnabled": false
},
{
"basedOn": "core:rock",
"displayName": "Hello Block",
"penetrable": true,
"entity": {
"prefab": "Sample:SomeBlock"
}
}
@Cervator
Cervator / keybase.md
Created July 16, 2017 02:04
keybase.md

Keybase proof

I hereby claim:

  • I am cervator on github.
  • I am cervator (https://keybase.io/cervator) on keybase.
  • I have a public key ASBCq2_P0LUO7NPUrDV7D5NTeAN8c-jOyyBWPnIZfAJrmAo

To claim this, I am signing this object:

This is an overview of the different parts of our primary codebase and will be primarily of interest to developers/modders. See also [[Project Overview]] for a higher level view across more different projects.

Gradle and Groovy

Most of our projects are organized using Gradle, a build automation tool similar to Maven, but using Groovy as its language. This allows for some pretty powerful scripting and customization of a local developer setup while leveraging maven repositories for dependency resolution.

You interact with Gradle using a gradlew wrapper script that downloads and installs the correct project-specific version of Gradle itself. No need to install anything locally yourself. You simply run the command gradlew on any OS in the directory you've cloned the primary Terasology engine repo to and the correct version will be fetched and executed.

Much like the Gradle wrapper as of September 2017 we've

@Cervator
Cervator / overview.md
Last active November 19, 2017 18:20
BTM Nov 2017 Panel - Terasology & Modding concepts

Who we are

Why

Started during the gold rush era caused by Minecraft's early success when new games inspired by MC were popping up like mushrooms.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000226e1066, pid=7060, tid=0x0000000000002d68
#
# JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [OpenAL64.dll+0x11066]
#
# Modding API:
## terasology engine
* org.terasology.particles.components.affectors.AccelerationAffectorComponent (CLASS)
* org.terasology.network (PACKAGE)
* org.terasology.physics (PACKAGE)
* org.terasology.rendering.nui (PACKAGE)
* org.terasology.world.block.loader.SectionDefinitionData (CLASS)
* - getDisplayName (METHOD)
* -- class java.lang.String (RETURN)
* -- [] (PARAMETERS)