You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
lizzie d9067d85af
[tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453)
4 days ago
..
cpm [externals] Update dependencies (#3664) 3 months ago
maxwell-disas [tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453) 4 days ago
maxwell-ir [tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453) 4 days ago
maxwell-spirv [tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453) 4 days ago
translations [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
windows [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
README.md [tools] add separate maxwell disassembler, ir dumper, and spirv translator (#3453) 4 days ago
VectorDrawable2Svg.py [android] Android 7.0 support (#2654) 8 months ago
clang-format.sh [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
cpm-fetch-all.sh [cmake, docs, tools] update CPMUtil (#3183) 5 months ago
cpmutil.sh [cmake, tools] update CPMUtil and add support for CPMUtil bundled Qt, module updates, cleanups (#3289) 4 months ago
dtrace-tool.pl [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
gendynarm.cpp [dynarmic] fix GetDecoderTable() making the compiler nervous due to the big table that gets made into the stack (#3799) 2 months ago
generate_converters.py [tools, hle/kernel] generate condensed version of svc.cpp; move svc_generator.py and generate_converters.py to tools (#2791) 7 months ago
lanczos-gen.pl [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
llvmpipe-run.sh [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
optimize-assets.sh [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
shellcheck.sh [cmake, tools, docs] Update CPMUtil (#2790) 7 months ago
stale-translations.sh [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
svc_generator.py [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
unused-strings.sh [tools] refactor, use #!/bin/sh, update license files (#3998) 5 days ago
update-icons.sh [dist] New 2026 Saint Patrick's icon; drop named variants (#3617) 3 months ago

README.md

Tools

Tools for Eden and other subprojects. When adding new scripts please use #!/bin/sh -e or #!/usr/bin/env <interpreter> (for .py, .rb, or .perl). Keep scripts POSIX compliant (i.e not require hard bash to run, just plain old sh).

Third-Party

Binaries

  • maxwell-spirv: Converts Maxwell shaders (dumped from .ash files) into SPIR-V code (emitted into STDOUT).
  • maxwell-disas: Dumb raw Maxwell dissasembler.
  • maxwell-ir: Dump generated IR of Maxwell shaders.

Scripts

  • generate_converters.py: Generates converters for given formats of textures (C++ helper).
  • svc_generator.py: Generates the files src/core/hle/kernel/svc.cpp and src/core/hle/kernel/svc.h based off prototypes.
  • shellcheck.sh: Ensure POSIX compliance (and syntax sanity) for all tools in this directory and subdirectories.
  • llvmpipe-run.sh: Sets environment variables needed to run any command (or Eden) with llvmpipe.
  • optimize-assets.sh: Optimizes PNG assets with OptiPng.
  • update-cpm.sh: Updates CPM.cmake to the latest version.
  • update-icons.sh: Rebuild all icons (macOS, Windows, bitmaps) based on the master SVG file (dist/dev.eden_emu.eden.svg)
    • Also optimizes the master SVG
    • Requires: png2icns (libicns), ImageMagick, svgo
  • dtrace-tool.sh
  • lanczos-gen.pl: Generates constants for the Lanczos filter.
  • clang-format.sh: Runs clang-format on the entire codebase.
    • Requires: clang
  • find-unused-strings.sh: Find any unused strings in the Android app (XML -> Kotlin).

Android

It's recommended to run these scritps after almost any Android change, as they are relatively fast and important both for APK bloat and CI.

  • unused-strings.sh: Finds unused strings in strings.xml files.
  • stale-translations.sh: Finds translated strings that aren't present in the source strings.xml file.

Translations