Skip to content

Instantly share code, notes, and snippets.

@kalbasit
kalbasit / README.md
Last active July 12, 2026 19:23
RomM sync tool — click-to-run 'pull anything new from this device into RomM' (robocopy, idempotent/resumable, ps4=zip-only, switch=base-nsp; -Inspect dumps switch update/DLC layout)

RomM sync tool (Windows / EmuDeck → RomM)

Click-to-run: pulls any new games from this device into the RomM library on TrueNAS (mounted as Z:). Uses robocopy — idempotent, resumable across hibernate/disconnect, and it never deletes. Safe to run any time (e.g. after WiiUDownloader drops a game into roms\wiiu).

1. Install — paste into PowerShell

@kalbasit
kalbasit / copy-roms-to-romm.ps1
Last active July 12, 2026 01:02
copy-roms-to-romm.ps1 — robocopy EmuDeck's new-to-RomM platforms (gc/ps2/ps3/ps4/psx/switch/wii/wiiu/xbox360) from C:\Emulation\roms to the TrueNAS games dataset (Z:\emulation\roms); resumable /Z, ps4=zip-only, switch=base-nsp-only
<#
copy-roms-to-romm.ps1
Copies the platforms that are NEW to RomM from your EmuDeck library
(C:\Emulation\roms) onto the TrueNAS "games" dataset you mounted as Z:
(Z:\emulation\roms == RomM's /mnt/tank/emulation/roms).
Already-imported systems (nes / snes / gb) are intentionally NOT copied.
Per-platform rules (as agreed):
00g7zxnm0a7kqy2grsy0ra3af0c2f4da
01kpygqq1mhqjw4x0qbf42lmn8cnwkiy
02ifvxvbdw9b3847nn9sy7d8ld8mgvjk
02xdnz3yxq2ll1rfik3n3pzx0qrr94xv
03gxvq08jj2vwiihpkn4kz4cjrnh2haw
03vfjrq9ps66f2avzd4i9p014sbzj3hn
04344hrpsbjzy7wq7vhwgcyarpbliz1l
05kb14f9sk7w37bl0c4jc79h8d5vshw6
05v1w86iss2qhfsfjldccibhsr3b0pvp
06hsk2ar77xj11f9f8ad9w63qd37i2f3
U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.4(release):
NOTICE: BL31: Built : 00:00:00, Jan 1 1980
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x208abd8, model: Pine64 PinePhone (1.2)
NOTICE: PSCI: System suspend is available via SCPI
(_: topSuper: {
lib = topSuper.lib.extend(self: super: {
mkOption = { auto-enable ? true, ... }@attrs:
let
attrs' = builtins.removeAttrs attrs [ "auto-enable" ];
in
(super.mkOption attrs') // { inherit auto-enable; };
});
})
while evaluating the attribute 'xorg' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:3:
while evaluating 'recurseIntoAttrs' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:67:22, called from /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:10:
while evaluating 'callPackageWith' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/lib/customisation.nix:108:35, called from /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/pkgs/top-level/all-packages.nix:14990:29:
while evaluating 'makeOverridable' at /nix/store/rdsir7xmi2fgyk64idk2zxir0bcj6w41-nixpkgs-base-0419d983480a3dbc8583ac55c3dc849d2f65ccc2/lib/customisation.nix:67:24, called from /nix/store/rdsir7xmi2
@kalbasit
kalbasit / Gemfile
Last active May 20, 2020 19:02 — forked from jdennes/Gemfile
Export a list of members from a GitHub organisation
source "https://rubygems.org"
gem "octokit"
@kalbasit
kalbasit / full.nix
Last active March 15, 2020 08:06
Set all options named 'enable' to true
{ lib, options, ... }:
with lib;
{
config = mapAttrsRecursiveCond
(attrs: ! isOption attrs)
(path: value: mkIf (last path == "enable") true)
{ inherit (options) myOptions; };
}