Skip to content

Instantly share code, notes, and snippets.

@Mailaender
Mailaender / .log
Created February 6, 2014 22:00
voclipse log file
This file has been truncated, but you can view the full file.
!SESSION 2014-01-19 17:15:57.562 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.standard.product -product org.eclipse.epp.package.standard.product -product org.eclipse.epp.package.standard.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.standard.product -product org.eclipse.epp.package.standard.product -data /home/matthias/.eclipse/workspace/eclipse-plugins -product org.eclipse.epp.package.standard.product
!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-01-19 17:16:01.421
!MESSAGE Could not load repository template extension contributed by org.eclipse.mylyn.bugzilla.ide with connectorKind bugzilla
@Mailaender
Mailaender / DOCUMENTATION.md
Created April 21, 2014 13:59
sorted by namespace and given headers as well as non-technical type names

This documentation is aimed at modders. It displays all traits with default values and developer commentary. Please do not edit it directly, but add new [Desc("String")] tags to the source code. This file has been automatically generated for version {DEV_VERSION} of OpenRA.

DeadBuildingState

DeadBuildingState
	LingerTime: 20 # Type: Integer

IonCannonPower

IonCannonPower
	CameraActor:  # Type: String. Actor to spawn when the attack starts
@Mailaender
Mailaender / DOCUMENTATION.md
Created April 21, 2014 14:37
tabular view, sorted by namespace and given headers as well as non-technical type names

This documentation is aimed at modders. It displays all traits with default values and developer commentary. Please do not edit it directly, but add new [Desc("String")] tags to the source code. This file has been automatically generated for version {DEV_VERSION} of OpenRA.

DeadBuildingState

PropertyDefault ValueTypeDescription
LingerTime20Integer
### IonCannonPower CameraActorStringActor to spawn when the attack starts
PropertyDefault ValueTypeDescription
# check if DRI is available, show an error and exit if it isn't
function checkDriOK ()
{
if [ `glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3` != Yes ]; then
zenity --error --text="Your system currently is not capable of hardware \
accelerated 3D. Therefore $1 cannot run.
Usually the cause of this error is that there are no Free Software drivers \
for your graphics card, please contact your graphics card manufacturer and \
kindly ask them to provide Free Software support for your card."
@Mailaender
Mailaender / cnc-rules.ini
Created July 7, 2014 06:57
Tiberian Dawn RULES.INI extracted from the binaries by @Nyerguds
; Command & Conquer RULES.INI
; If placed in game directory, it will not override built in values. Values to be used as
; multipliers or percentages can be specified as either a simple floating point number (embed ".")
; or as a conventional percentage number (append "%"). Values used as cell distances or time delays
; are specified as simple floating point number. Distance values are expressed in cells. Time
; values are expressed in minutes.
; This is not the real file because there is none - the C&C rules were hard-coded into the game.dat
; file (C&C95.exe in Win95 Edition). This is what the file could have been like, based on what
; editors/testing tells us, as well as what the values were in Red Alert, which is VERY similar to
======================
Dune 2 SHP file format
======================
Sourced from Red Horizon Utilities by Emanuel Rabina
http://www.ultraq.net.nz/redhorizon/
The Dune 2 SHP file, is a multiple image filetype, where each image can have
it's own set of dimensions. The file is structured as follows:
File header:
@Mailaender
Mailaender / spread-damage-warhead
Created September 28, 2014 19:34
OpenRA.Mods.RA.dll decompiled with ikdasm
.class public auto ansi beforefieldinit OpenRA.Mods.RA.SpreadDamageWarhead
extends [OpenRA.Game]OpenRA.GameRules.DamageWarhead
{
.field public initonly valuetype [OpenRA.Game]OpenRA.WRange Spread
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 1C 52 61 6E 67 65 20 62 65 74 // .......Range bet
77 65 65 6E 20 66 61 6C 6C 6F 66 66 20 73 74 65 // ween falloff ste
70 73 2E 00 00 ) // ps...
.field public valuetype [OpenRA.Game]OpenRA.WRange[] Range
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 3F 52 61 6E 67 65 73 20 61 74 // ......?Ranges at
20 77 68 69 63 68 20 65 61 63 68 20 46 61 6C 6C // which each Fall
@Mailaender
Mailaender / spread-damage-warhead-whole
Created September 28, 2014 19:37
OpenRA.Mods.RA.dll decompiled with ikdasm
.class public auto ansi beforefieldinit OpenRA.Mods.RA.SpreadDamageWarhead
extends [OpenRA.Game]OpenRA.GameRules.DamageWarhead
{
.field public initonly valuetype [OpenRA.Game]OpenRA.WRange Spread
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 1C 52 61 6E 67 65 20 62 65 74 // .......Range bet
77 65 65 6E 20 66 61 6C 6C 6F 66 66 20 73 74 65 // ween falloff ste
70 73 2E 00 00 ) // ps...
.field public valuetype [OpenRA.Game]OpenRA.WRange[] Range
.custom instance void [OpenRA.Game]OpenRA.DescAttribute::.ctor(string[]) = ( 01 00 01 00 00 00 3F 52 61 6E 67 65 73 20 61 74 // ......?Ranges at
20 77 68 69 63 68 20 65 61 63 68 20 46 61 6C 6C // which each Fall
@Mailaender
Mailaender / Traits.md
Created May 20, 2015 15:21
OpenRA bleed-20150520
@Mailaender
Mailaender / dupFinder.xsl
Created June 8, 2015 18:21 — forked from dmimat/dupFinder.xsl
fix total size of duplicated fragments
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes" />
<xsl:template match="/">
<html>
<body>
<h1>Statistics</h1>
<p>Total codebase size: <xsl:value-of select="//CodebaseCost"/></p>
<p>Code to analyze: <xsl:value-of select="//TotalDuplicatesCost"/></p>
<p>Total size of duplicated fragments: <xsl:value-of select="//TotalFragmentsCost" /></p>