Skip to content

Instantly share code, notes, and snippets.

View simi's full-sized avatar
🇨🇿

Josef Šimánek simi

🇨🇿
View GitHub Profile
@simi
simi / modders.md
Created July 22, 2026 22:07
CWR Mod packing guide

Composing a mod for CWR

This guide is for mod authors: how to lay out a mod folder so CWR finds and loads each kind of content. It starts from a single addon and builds up to a pack that ships missions, templates, a campaign, an island with its own intro, and a replacement config.

For installing and enabling a finished mod, see the custom-mod guide. For where the game keeps missions, profiles, and saves, see the CWR folders guide.

CWR folders and user files

CWR normally keeps the installed game, personal settings, editable content, cache, and temporary files in separate places. This lets Steam or GOG update or move the game without moving profiles and saves, and it avoids writing into a protected installation directory.

Most players should use this default layout. --oldpaths is available for an original-game-style layout where nearly all writable files stay below one game directory.

@simi
simi / mods.md
Last active July 17, 2026 11:45

Using custom mods in CWR

CWR loads classic OFP/CWA addons from mod folders. A downloaded ZIP, 7z, or RAR archive is not itself a mod: extract it and arrange its PBO files below one mod folder.

Read the mod's own documentation before enabling it. Older mods often require other addons or a particular load order.

Contents

@simi
simi / squad.xml
Last active June 28, 2026 02:27
CWR MP squad XML insignia HTTPS raw test
<?xml version="1.0"?>
<squad nick="CWR">
<name>CWR MP Test Squad</name>
<email>test@example.invalid</email>
<web>https://example.invalid/cwr-mp-test</web>
<picture>synthetic_grid.paa</picture>
<title>CWR Test</title>
<member id="2227712454512799032" nick="client1">
<name>client1</name>
<email>test@example.invalid</email>
#!/usr/bin/env ruby
# Fuzzer for JSON float parsing - generates random numbers and verifies parsing
# Tests edge cases, precision limits, and ensures Ryu implementation is robust
require 'json'
require 'set'
class JSONFloatFuzzer
attr_reader :stats
@simi
simi / rc-wtf.md
Last active December 25, 2025 23:23

This document is an extension to my original statement.
It explains why I’m leaving Ruby Central and what has happened in recent weeks.


Terminology and Responsibility

Before diving into recent events, it’s useful to clarify how I’ll use certain terms in this post.
These definitions are not official Ruby Central terminology, but they reflect the way many of us in the Ruby open source community think about roles and responsibilities.

meta:
id: paa
file-extension: paa
endian: le
seq:
- id: type
type: u2
enum: pax_type
- id: tags
Mode: Workbench
Command line: "Z:\home\retro\.var\app\com.valvesoftware.Steam\.local\share\Steam\steamapps\common\Arma Reforger Tools\Workbench\ArmaReforgerWorkbench.exe" -EnableWARP
Exception: Access violation. Illegal read by 0x151553f at 0x646979f65470
[QString::fromUtf16]: ??? addr:0x151553f
[QString::fromWCharArray]: ??? addr:0x1458d08
[qt_plugin_query_metadata]: ??? addr:0x2d3141b
[qt_plugin_query_metadata]: ??? addr:0x2d2ee8d
[qt_plugin_query_metadata]: ??? addr:0x2d26a04
[qt_plugin_query_metadata]: ??? addr:0x2d28648