# DraStic

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/drastic/

DraStic emulates Nintendo DS. It reads 12 files, none of them required: it starts games without them.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Other |
| Source | [https://archive.org/details/dra-stic-ds-emulator-r-2.6.0.4a](https://archive.org/details/dra-stic-ds-emulator-r-2.6.0.4a) |
| Upstream | closed-source |
| Version | r2.6.0.4a, read from com.dsemu.drastic APK versionName (build 109) |
| Releases announced at | [https://web.archive.org/web/20250206164654/https://play.google.com/store/apps/details?id=com.dsemu.drastic](https://web.archive.org/web/20250206164654/https://play.google.com/store/apps/details?id=com.dsemu.drastic) |
| Run by | [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/) |
| Profiled | 2026-08-11 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/drastic.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/drastic.json) |
| Cores | drastic, drastic-sa, drastic_standalone |
| Systems | [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/) |
| Author | Exophase (Gilead Kutnick) |

**Install this emulator's files**

With ROCKNIX, AmberELEC or RetroPie: the installer finds ROCKNIX, AmberELEC or RetroPie and its BIOS folder, then downloads only the files DraStic reads there and checks each one.

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator drastic
```

**Technical notes**

Nintendo DS emulator by Exophase, closed source and distributed as a binary. Two releases are read here and they name the same files: the Android build r2.6.0.4a build 109, package com.dsemu.drastic, apk md5 7df979ef9420c5053b27c838e6a7e20c (sha256 d3a45b9bfd5a68cc), v1 signed by CN=Gilead Kutnick over every entry, whose loader is lib/arm64-v8a/libdrastic_arm64.so (sha256 3b27eee0c480df81) and whose installer is the smali of DraSticActivity. The second is the Linux AArch64 build r2.5.2.2, md5 17550db727f3b59d36b57746ad1944be (sha256 dab3275ef772451b), which ships unstripped with 2731 named functions and is cited by function name. r2.5.2.2 predates the firmware editor and the user database, and that is the whole of the divergence. Every reference below is an address in one of the two binaries, a line in the apktool decode of the Android one or a line of an asset it ships. ref: libdrastic_arm64.so r2.6.0.4a, drastic r2.5.2.2 (DWARF comp_dir /home/odroid/nds_emu/src/linux_odroid64), DraSticActivity.smali

One root holds everything. On Android it is a directory named DraStic at the root of shared storage, on Linux it is the working directory. Startup creates backup, savestates, config, unzip_cache, system, input_record, cheats, slot2, microphone and scripts below it, and the Android build adds backgrounds, icon_cache, users, shaders and virtual_controller. Paths below are relative to that root. ref: drastic r2.5.2.2 initialize_system_directories 0xf784-0xf838, drastic r2.5.2.2 initialize_system 0xf9e8, DraSticPathCache.smali:44-56, DraSticActivity.smali:4373-4429, DraSticActivity.smali:4187, DraSticActivity.smali:4482

load_system_file builds <root>/system/<name>, opens it read only, measures it by seeking to the end, refuses any length other than the one its caller asks for with "System file %s is the wrong size (should be %d bytes, is %d)", then reads it whole. Size is the only test: no hash is computed on any file. ref: drastic r2.5.2.2 load_system_file 0xea80-0xebe4, libdrastic_arm64.so r2.6.0.4a 0x1b4d4-0x1b510

Each BIOS slot has two candidates. The ARM9 slot takes nds_bios_arm9.bin, and on failure logs "Can't find Nintendo ARM9 BIOS. Trying free DraStic ARM9 BIOS." and takes drastic_bios_arm9.bin. The ARM7 slot does the same with nds_bios_arm7.bin then drastic_bios_arm7.bin. A slot left empty returns -1 from initialize_memory, and initialize_system answers that with the on-screen warning naming the two Nintendo files and their sizes, the line "FATAL: Could not load system files." and quit. Neither name in a slot is required on its own, both slots are. Taking the replacement sets a bit per slot, which is what savestates record so that a state made under one pair does not load under the other. ref: drastic r2.5.2.2 initialize_memory 0x1c398-0x1c3d4, drastic r2.5.2.2 initialize_memory 0x1c4b0-0x1c52c, drastic r2.5.2.2 initialize_system 0xf940-0xf944, drastic r2.5.2.2 initialize_system 0xf9f8-0xfa10, drastic r2.5.2.2 menu_bios_warning 0x801e0-0x80238, libdrastic_arm64.so r2.6.0.4a 0x2b6d0-0x2b764

Firmware is answered in code when no file loads: the 256 KB region is zeroed and patch_firmware_header_data writes the header, the console identity and the user settings block into it. r2.5.2.2 reads nds_firmware.bin alone, while r2.6.0.4a reads nds_firmware_modified.bin first, which is what its firmware editor writes back, and falls through to nds_firmware.bin. ref: drastic r2.5.2.2 initialize_memory 0x1c3e0-0x1c3f8, drastic r2.5.2.2 initialize_memory 0x1c560-0x1c578, drastic r2.5.2.2 patch_firmware_header_data 0x1b920, libdrastic_arm64.so r2.6.0.4a 0x2b768-0x2b7c4, libdrastic_arm64.so r2.6.0.4a 0x774e0-0x7751c

The Nintendo ARM7 image still decides one thing. gamecard_load_program passes the 0x1048 bytes at ARM7 BIOS offset 0x30 to gamecard_decrypt_secure_region as the Blowfish key table, and a secure area that does not decrypt to the id encryObj is reported and left alone. The free ARM7 replacement holds zeroes there, so encrypted cards need the dumped image. ref: drastic r2.5.2.2 gamecard_load_program 0x6fb98-0x6fbac, drastic r2.5.2.2 gamecard_decrypt_secure_region 0x6e2c0-0x6e38c, drastic r2.5.2.2 initialize_memory 0x1c3bc-0x1c3c8

Two databases sit at the root. game_database.xml carries the save type per title and a failed open only logs "Error: could not load game database file %s." r2.6.0.4a reads game_database_user.xml after it as a user overlay. usrcheat.dat is the Action Replay library, read by load_cheat_directory. ref: drastic r2.5.2.2 initialize_gamecard 0x709bc-0x70a30, drastic r2.5.2.2 initialize_game_database 0x73180, drastic r2.5.2.2 initialize_game_database 0x73d24-0x73d38, libdrastic_arm64.so r2.6.0.4a 0x76ab8-0x76b58

The Android package carries its own copies of the files it needs and lays them down on first run: the two free BIOS images into system, the default layout into config, game_database.xml, usrcheat.dat and the BSD-licensed source archive of the free BIOS at the root, and the shaders and virtual_controller trees whole. Nothing already present is overwritten. ref: DraSticActivity.smali:4052-4090, DraSticActivity.smali:5189-5200, DraSticActivity.smali:5459, DraSticActivity.smali:5619-5624, DraSticActivity.smali:5645, DraSticActivity.smali:5834, DraSticActivity.smali:5974

fxLoad hands the path of the chosen .dfx to the chain loader, which opens it, keeps its directory and reads it line by line. An <include> reads its file= whole, a <texture> whose input= is neither null nor framebuffer reads that file whole as a lookup texture, and the shader= of each <pass> opens a .dsd and splits its <vertex> and <fragment> blocks, all three relative to the .dfx. A stage that fails to compile has its log written to <path>.log beside the .dsd. A .dfx that does not open or parse leaves a built-in pass-through shader. Nine chains ship: None, Linear, Quilez, Scale2X, Scanline, HQ2X, FXAA, FXAA HQ and SMAA, and SMAA is the only one naming .raw textures. ref: libdrastic_arm64.so r2.6.0.4a Java_com_dsemu_drastic_DraSticJNI_fxLoad 0x18eec, libdrastic_arm64.so r2.6.0.4a FUN_1ff78 0x1ffd4-0x20214, libdrastic_arm64.so r2.6.0.4a FUN_1f0a0 0x1f17c-0x1f1c8, libdrastic_arm64.so r2.6.0.4a FUN_1f260 0x1f464-0x1f52c, libdrastic_arm64.so r2.6.0.4a FUN_1f734 0x1f850-0x1f894, libdrastic_arm64.so r2.6.0.4a FUN_1ebfc 0x1ec20-0x1ecec, assets/shaders/SMAA.dfx:108-122

Per-title inputs are read beside the ROM name. reset_spu answers the microphone with microphone/<game>.wav then microphone/microphone.wav, load_nds runs scripts/<game>.lua then scripts/default.lua through the built-in Lua 5.3, load_custom_cheats reads cheats/<game>.cht on top of the library, and gamecard_load_gba fills the slot 2 cart from slot2/<game>.gba with its save beside it. Homebrew turns on R4 flashcart emulation and opens drastic_dldi.img read-write for the fat:/ device, logging "Couldn't load drastic_dldi.img: " and carrying on without one. ref: drastic r2.5.2.2 reset_spu 0x6dba8-0x6dc5c, drastic r2.5.2.2 load_nds 0x6ff78-0x6ffd0, drastic r2.5.2.2 load_nds 0x70054-0x70094, drastic r2.5.2.2 load_custom_cheats 0x817b4, drastic r2.5.2.2 gamecard_load_gba 0x6ec98, drastic r2.5.2.2 gamecard_load_gba 0x6eda0, drastic r2.5.2.2 gamecard_initialize_homebrew 0x6e4e0-0x6e518, drastic r2.5.2.2 gamecard_initialize_homebrew 0x6e5a4

The Linux build alone draws a splash, reading drastic_logo_0.raw or drastic_logo_1.raw at 120000 bytes each, one of the two picked at random. ref: drastic r2.5.2.2 load_logo 0x7fad0-0x7fb78

## Files

**12 files**: 0 required, 12 optional. 2 have an HLE fallback. 12 more files come with the app.

By kind: 6 BIOS and 18 game data.

In this collection: 3 in repo, 3 missing and 6 unsourceable.

## Optional

| File | Status |
|---|---|
| ** ### `nds_bios_arm9.bin` ** Nintendo DS ARM9 BIOS - Path: `system/nds_bios_arm9.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- First candidate for the ARM9 slot. Booting continues on the free replacement when it is absent, and the slot ending empty is fatal. - Size: 4.0 KB (4,096 bytes)- Collection copy: [`bios/Nintendo/Nintendo DS/NDS_Bios9.bin`](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/#sha1-bfaac75f101c)- Platforms: `bios9.bin`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#nintendo-ds), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/#nintendo-ds), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#nintendo-ds), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#nintendo-ds), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#nintendo-ds). `bios/bios9.bin`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#nintendo-ds), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#nintendo-ds), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#nintendo-ds). `bios9.bin` and `nds9.bin`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#nintendo-ds), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#nintendo-ds), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#nintendo-ds). `nds/bios9.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#nintendo-ds), [RomM](https://abdess.github.io/retrobios/platforms/romm/#nintendo-ds). `NDS_Bios9.bin`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#nintendo-ds) **Validation and source** - Validation: size- Source: offset `0x1c398-0x1c3b0` in `drastic r2.5.2.2 initialize_memory`, offset `0xea80-0xebe4` in `drastic r2.5.2.2 load_system_file`, offset `0x2b6d0-0x2b6ec` in `libdrastic_arm64.so r2.6.0.4a` | in repo |
| ** ### `nds_bios_arm7.bin` ** Nintendo DS ARM7 BIOS - Path: `system/nds_bios_arm7.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- First candidate for the ARM7 slot, and the only image carrying the Blowfish key table at offset 0x30 that the card secure area is decrypted with. - Size: 16.0 KB (16,384 bytes)- Collection copy: [`bios/Nintendo/Nintendo DS/NDS_Bios7.bin`](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/#sha1-24f67bdea115)- Platforms: `bios7.bin`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#nintendo-ds), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/#nintendo-ds), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#nintendo-ds), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#nintendo-ds), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#nintendo-ds). `bios/bios7.bin`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#nintendo-ds), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#nintendo-ds), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#nintendo-ds). `bios7.bin` and `nds7.bin`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#nintendo-ds), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#nintendo-ds), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#nintendo-ds). `nds/bios7.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#nintendo-ds), [RomM](https://abdess.github.io/retrobios/platforms/romm/#nintendo-ds). `NDS_Bios7.bin`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#nintendo-ds) **Validation and source** - Validation: size- Source: offset `0x1c3bc-0x1c3d4` in `drastic r2.5.2.2 initialize_memory`, offset `0x6fb98-0x6fbac` in `drastic r2.5.2.2 gamecard_load_program`, offset `0x2b724-0x2b73c` in `libdrastic_arm64.so r2.6.0.4a` | in repo |
| ** ### `nds_firmware.bin` ** Nintendo DS firmware - Path: `system/nds_firmware.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Absent, the region is zeroed and patch_firmware_header_data writes a header, a console identity and a user settings block into it, so the emulator boots either way. r2.6.0.4a reads nds_firmware_modified.bin before this. - Size: 256.0 KB (262,144 bytes)- Collection copy: [`bios/Nintendo/Nintendo DS/NDS_Lite_Firmware.bin`](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/#sha1-87dae2500e88) **Validation and source** - Validation: size- Source: offset `0x1c3e0-0x1c3f8` in `drastic r2.5.2.2 initialize_memory`, offset `0x1c560-0x1c578` in `drastic r2.5.2.2 initialize_memory`, offset `0x1b920` in `drastic r2.5.2.2 patch_firmware_header_data`, offset `0x2b794-0x2b7c4` in `libdrastic_arm64.so r2.6.0.4a` | in repoHLE fallback |
| ** ### `nds_firmware_modified.bin` ** firmware image edited in the emulator - Path: `system/nds_firmware_modified.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Read before nds_firmware.bin in r2.6.0.4a and absent from r2.5.2.2.- Not collected yet: written by the firmware editor of r2.6.0.4a from the emulated user settings, so no dump of it exists ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) - Size: 256.0 KB (262,144 bytes) **Validation and source** - Validation: size- Source: offset `0x2b768-0x2b790` in `libdrastic_arm64.so r2.6.0.4a`, offset `0x774e0-0x7751c` in `libdrastic_arm64.so r2.6.0.4a` | unsourceableHLE fallback |

## Game data

| File | Status |
|---|---|
| ** ### `game_database_user.xml` ** user save type database - System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Read after game_database.xml in r2.6.0.4a and absent from r2.5.2.2.- Not collected yet: user overlay of the save type database, authored per collection ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Source** - Source: offset `0x76af8-0x76b28` in `libdrastic_arm64.so r2.6.0.4a` | optionalunsourceablegame data |
| ** ### `microphone.wav` ** default microphone input - Path: `microphone/microphone.wav`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Read when no per-title file answers, and logged as the default fake microphone audio file. ROCKNIX packages a microphone.wav of its own into microphone/ under the data root it launches DraStic from.- Not collected yet: audio the user records to stand in for the console microphone ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Packages and source** - Installed by the platform's own package on: rocknix- Source: offset `0x6dc30-0x6dc5c` in `drastic r2.5.2.2 reset_spu` | optionalunsourceablegame data |
| ** ### `<game>.wav` ** per-title microphone input - Path: `microphone/<game>.wav`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Tried before microphone.wav and named after the running title. **Source** - Source: offset `0x6dba8-0x6dbe8` in `drastic r2.5.2.2 reset_spu` | optionalmissinggame data |
| ** ### `default.lua` ** fallback Lua script - Path: `scripts/default.lua`- Loaded at game start when no per-title script answers, then handed the load-game callback.- Not collected yet: script the user writes against the built-in Lua 5.3 interpreter ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Source** - Source: offset `0x70054-0x70094` in `drastic r2.5.2.2 load_nds` | optionalunsourceablegame data |
| ** ### `<game>.lua` ** per-title Lua script - Path: `scripts/<game>.lua`- Tried before default.lua and named after the running title. **Source** - Source: offset `0x6ff78-0x6ffd0` in `drastic r2.5.2.2 load_nds` | optionalmissinggame data |
| ** ### `<game>.cht` ** custom cheat file - Path: `cheats/<game>.cht`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Plain text, one bracketed cheat name per block followed by its codes, a trailing plus marking the cheat active. Read on top of the entries usrcheat.dat holds and written back when a cheat is toggled. **Source** - Source: offset `0x817b4-0x817d8` in `drastic r2.5.2.2 load_custom_cheats` (sprintf %s%ccheats%c%s.cht, fopen rb), offset `0x81888` in `drastic r2.5.2.2 load_custom_cheats` (line opening with [), offset `0x818b4-0x818d4` in `drastic r2.5.2.2 load_custom_cheats` (code words parsed by strtoul), offset `0x819cc-0x81a04` in `drastic r2.5.2.2 load_custom_cheats` (strrchr ], then + marks the cheat active), offset `0x81d24` in `drastic r2.5.2.2 save_custom_cheats` | optionalmissinggame data |
| ** ### `<game>.gba` ** slot 2 cartridge image - Path: `slot2/<game>.gba`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Loaded into the slot 2 cart window, with its save read from slot2/<game>.sav beside it.- Not collected yet: Game Boy Advance cartridge the title reads for bonus content ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Source** - Source: offset `0x6ec98` in `drastic r2.5.2.2 gamecard_load_gba`, offset `0x6eda0` in `drastic r2.5.2.2 gamecard_load_gba` | optionalunsourceablegame data |
| ** ### `drastic_dldi.img` ** R4 flashcart disk image - System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Opened read-write when a homebrew title is recognised and mounted as the fat:/ device. Absent, the message is logged and the title runs without a card.- Not collected yet: FAT image the user builds for the emulated flashcart ([files not collected yet](https://abdess.github.io/retrobios/gaps-not-collected/)) **Source** - Source: offset `0x6e4e0-0x6e518` in `drastic r2.5.2.2 gamecard_initialize_homebrew`, offset `0x6e5a4` in `drastic r2.5.2.2 gamecard_initialize_homebrew` | optionalunsourceablegame data |

## Comes with the app

| File | Status | Hash |
|---|---|---|
| ** ### `drastic_bios_arm9.bin` ** DraStic free ARM9 BIOS replacement - Path: `system/drastic_bios_arm9.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Second candidate for the ARM9 slot. Installed from the package assets on first run. - Size: 4.0 KB (4,096 bytes), SHA1 4dc29a1560e1 **Hashes, validation and source** - SHA1: `4dc29a1560e1cbd7afef1998f7a6c25c5db1cc3a`- MD5: `5f34f9f6108f8d57fc26789b7a7ecf82`- Validation: size- Source: offset `0x1c4b0-0x1c4d4` in `drastic r2.5.2.2 initialize_memory`, offset `0x2b6f0-0x2b708` in `libdrastic_arm64.so r2.6.0.4a`, `DraSticActivity.smali:4084-4090` | - | MD5 `5f34f9f6108f` |
| ** ### `drastic_bios_arm7.bin` ** DraStic free ARM7 BIOS replacement - Path: `system/drastic_bios_arm7.bin`- System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Second candidate for the ARM7 slot. Offset 0x30 is zero filled, so cards whose secure area is encrypted do not decrypt under it. - Size: 16.0 KB (16,384 bytes), SHA1 31ae916c85d0 **Hashes, validation and source** - SHA1: `31ae916c85d012582c7cdf47de6943ac6778253b`- MD5: `c259d5dd2d1a8e1f58eaa26c08efae45`- Validation: size- Source: offset `0x1c508-0x1c52c` in `drastic r2.5.2.2 initialize_memory`, offset `0x2b740-0x2b758` in `libdrastic_arm64.so r2.6.0.4a`, `DraSticActivity.smali:4078-4083` | - | MD5 `c259d5dd2d1a` |
| ** ### `game_database.xml` ** save type database, one entry per title - System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Parsed from the root of the data directory. A failed open logs an error and the session continues without it. Installed from the package assets on first run. - Size: 1.6 MB, SHA1 b0ae5480c61b **Hashes and source** - SHA1: `b0ae5480c61bdb701b9a444a1a81c4970db06d77`- Source: offset `0x709bc-0x70a00` in `drastic r2.5.2.2 initialize_gamecard`, offset `0x73180` in `drastic r2.5.2.2 initialize_game_database`, offset `0x73d24-0x73d38` in `drastic r2.5.2.2 initialize_game_database`, `DraSticActivity.smali:5459` | game data | SHA1 `b0ae5480c61b` |
| ** ### `usrcheat.dat` ** Action Replay cheat library - System: [Nintendo DS](https://abdess.github.io/retrobios/systems/nintendo-nintendo-ds/)- Read from the root of the data directory and written back when a cheat is toggled, so the file carries the enabled state. Installed from the package assets on first run. - Collection copy: [`bios/Other/drastic/usrcheat.dat`](https://abdess.github.io/retrobios/systems/other/#sha1-bcc9fd3be241) **Source** - Source: offset `0x70a0c-0x70a30` in `drastic r2.5.2.2 initialize_gamecard`, offset `0x76b34-0x76b58` in `libdrastic_arm64.so r2.6.0.4a`, `DraSticActivity.smali:5974` | game data | - |
| ** ### `drastic_bios.zip` ** source archive of the free BIOS replacement - Copied to the root of the data directory on first run and never read back. Holds bios_common.S, a Makefile, drastic_bios_readme.txt and the two built images. - Size: 15.2 KB, SHA1 bb2e4f588db6 **Hashes and source** - SHA1: `bb2e4f588db69ec6d6ccf4fd6fe20a5fbbe9c5b0`- Source: `DraSticActivity.smali:5189-5200` | game data | SHA1 `bb2e4f588db6` |
| ** ### `LC_default.dat` ** default screen layout - Path: `config/LC_default.dat`- Android only. Copied out of the package assets into config on first run, and offered from there by the layout list, which filters that directory on the .dat extension. - Size: 76 B, SHA1 9a0f96436ad7 **Hashes and source** - SHA1: `9a0f96436ad7f0d6f3ee8338b5eb7cef23d0a46a`- Source: `DraSticActivity.smali:4052-4066`, `DraSticActivity.smali:4830-4925` | game data | SHA1 `9a0f96436ad7` |
| ** ### `<name>.dfx` ** post-processing chain definition - Path: `shaders/<name>.dfx`- Android only. Names the passes, the texture inputs and the headers of one chain, all resolved relative to its own path. The package ships None, Linear, Quilez, Scale2X, Scanline, HQ2X, FXAA, FXAA HQ and SMAA. **Source** - Source: `DraSticActivity.smali:5619-5624`, offset `0x18ea8-0x18f20` in `libdrastic_arm64.so r2.6.0.4a Java_com_dsemu_drastic_DraSticJNI_fxLoad` (path string handed to FUN_1d198, which tail-calls FUN_1ff78), offset `0x1ffd4-0x1ffe0` in `FUN_1ff78` (open rb), offset `0x1fff4-0x20024` in `FUN_1ff78` (strrchr '/' then '\', directory kept for relative names), offset `0x20040-0x201d0` in `FUN_1ff78` (fgets loop dispatching <options>, <header>, <vheader>, <fheader>, <include>, <texture and <pass>), offset `0x201ec-0x20214` in `FUN_1ff78` (built-in pass-through shader when the file fails) | game data | - |
| ** ### `<name>.dsd` ** GLSL stage source named by a chain - Path: `shaders/<name>.dsd`- Android only. Named by the shader entry of a pass relative to the .dfx, and carrying the vertex and fragment code for it. The .h and .hlsl headers an <include> of the .dfx names are read whole the same way. A stage that fails to compile has its log written to <name>.dsd.log beside it, and the chain falls back to the built-in shader. **Source** - Source: offset `0x1f850-0x1f894` in `libdrastic_arm64.so r2.6.0.4a FUN_1f734` (shader= value joined to the .dfx directory with %s/%s and passed to FUN_1ebfc), offset `0x1ec20-0x1ec60` in `FUN_1ebfc` (open rb, FUN_1eaa4 splits <vertex> and <fragment> at 0x1eb10-0x1eb90, close), offset `0x1eca0-0x1ecec` in `FUN_1ebfc` (compile, on failure FUN_1ed3c formats %s.log on the .dsd path and the log is written wb), offset `0x1f17c-0x1f1c8` in `FUN_1f0a0` (<include> file= opened rb relative to the .dfx), offset `0x1f138` in `FUN_1f0a0` (read whole) | game data | - |
| ** ### `<name>.raw` ** lookup texture named by a chain - Path: `shaders/<name>.raw`- Android only. Loaded when a texture tag names a file instead of the framebuffer or an FBO, read whole with no length check and uploaded with the dimensions and the format taken from the tag. An absent file leaves the texture unloaded. SMAA is the one shipped chain that names any, taking smaa/AreaTexRGB.raw and smaa/SearchTexRGB.raw. The package also carries the non-RGB pair of the same two tables, which no shipped chain names. **Source** - Source: offset `0x1f464-0x1f49c` in `libdrastic_arm64.so r2.6.0.4a FUN_1f260` (input= compared to null and framebuffer), offset `0x1f4c4-0x1f4d8` in `libdrastic_arm64.so r2.6.0.4a FUN_1f260` (any other name joined to the .dfx directory with %s/%s and opened rb), offset `0x1f4e0-0x1f52c` in `libdrastic_arm64.so r2.6.0.4a FUN_1f260` (length by fseek and ftell, read whole), offset `0x1f628-0x1f638` in `libdrastic_arm64.so r2.6.0.4a FUN_1f260` (no upload when the open fails), offset `0x1f690` in `libdrastic_arm64.so r2.6.0.4a FUN_1f260` (glTexImage2D with the width, height, format and type of the tag), `assets/shaders/SMAA.dfx:108-122` | game data | - |
| ** ### `<name>.zip` ** on-screen controller skin - Path: `virtual_controller/<name>.zip`- Android only. Installed from the package assets, which carry Simple, Simple-II and Neon. **Source** - Source: `DraSticActivity.smali:5645`, `DraSticActivity.smali:5834` | game data | - |
| ** ### `drastic_logo_0.raw` ** boot splash, first of two - Read from the root of the data directory in one 120000 byte request, so a shorter file is rejected. One of the two indices is picked at random and a missing file skips the splash. Shipped in the r2.5.2.2 Linux tarball, and the Android build reads neither. - Size: 117.2 KB (120,000 bytes), SHA1 13c0866a8fb9 **Hashes, validation and source** - SHA1: `13c0866a8fb945e3ff8db1bb06f7f923356f7c86`- Validation: size- Source: offset `0x7fad0-0x7fb78` in `drastic r2.5.2.2 load_logo` | game data | SHA1 `13c0866a8fb9` |
| ** ### `drastic_logo_1.raw` ** boot splash, second of two - Same read as index 0, and shipped beside it. - Size: 117.2 KB (120,000 bytes), SHA1 a5e63c52cda7 **Hashes, validation and source** - SHA1: `a5e63c52cda737f224e2772dcd91dfe5c06e9742`- Validation: size- Source: offset `0x7fad0-0x7fb78` in `drastic r2.5.2.2 load_logo` | game data | SHA1 `a5e63c52cda7` |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
