https://github.com/cwadge/junk-drawer
Collection of miscellaneous resources
https://github.com/cwadge/junk-drawer
amdgpu bash batocera emulation flac fluidsynth guide linux midi mp3 overclocking pipewire playstation-2 psp radeon rdna transcoding tuning wav wireplumber
Last synced: 6 months ago
JSON representation
Collection of miscellaneous resources
- Host: GitHub
- URL: https://github.com/cwadge/junk-drawer
- Owner: cwadge
- Created: 2025-08-24T22:41:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-10-06T04:56:25.000Z (6 months ago)
- Last Synced: 2025-10-06T06:42:47.633Z (6 months ago)
- Topics: amdgpu, bash, batocera, emulation, flac, fluidsynth, guide, linux, midi, mp3, overclocking, pipewire, playstation-2, psp, radeon, rdna, transcoding, tuning, wav, wireplumber
- Language: Shell
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Junk Drawer
A collection of miscellaneous resources for Linux gaming and system tasks. These are low-effort and largely unpolished, but I found them useful, so you might also.
## Scripts
| Category | Script | Description |
|----------|--------|-------------|
| Emulation | [network_tune_batocera](network_tune_batocera) | Sets custom network interface parameters (e.g., MTU, speed) at Batocera startup |
| Emulation | [nfs_mount_batocera](nfs_mount_batocera) | Mounts NFS exports locally as a client on Batocera Linux, e.g. for Kodi |
| Emulation | [psp-shrink-ray.sh](psp-shrink-ray.sh) | Compresses PS2/PSP images to CHD format, deleting originals on success |
| Hardware | [set-rdna-oc-fan.sh](set-rdna-oc-fan.sh) | Creates and applies overclocking / fan profiles for AMD RDNA GPUs |
| Multimedia | [midi2wav.sh](midi2wav.sh) | Convert MIDI file(s) to digital audio like WAV, FLAC, AAC or MP3 |
| Multimedia | [pipewire_tuning_guide.md](pipewire_tuning_guide.md) | Quick & dirty guide to setting up low-latency, multi-rate PipeWire |
| Multimedia | [sonicsqueezer.sh](sonicsqueezer.sh) | A multi-threaded audio converter for WAV and FLAC to MP3, AAC, OGG, and more |
| Multimedia | [transcode-monster.sh](transcode-monster.sh) | Transcode single titles (movies) or series to H.265 with hardware accelleration |
## Installation
Clone the whole repo:
```bash
git clone https://github.com/cwadge/junk-drawer.git
```
or download an individual script:
```bash
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/set-rdna-oc-fan.sh
```
You could also download & install with a one-liner:
```bash
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/set-rdna-oc-fan.sh -O /usr/local/sbin/set-rdna-oc-fan.sh && sudo chmod 755 /usr/local/sbin/set-rdna-oc-fan.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/psp-shrink-ray.sh -O /usr/local/bin/psp-shrink-ray.sh && sudo chmod 755 /usr/local/bin/psp-shrink-ray.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/midi2wav.sh -O /usr/local/bin/midi2wav.sh && sudo chmod 755 /usr/local/bin/midi2wav.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/sonicsqueezer.sh -O /usr/local/bin/sonicsqueezer.sh && sudo chmod 755 /usr/local/bin/sonicsqueezer.sh
sudo wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/transcode-monster.sh -O /usr/local/bin/transcode-monster.sh && sudo chmod 755 /usr/local/bin/transcode-monster.sh
```
On Batocera:
```bash
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/network_tune_batocera -O /userdata/system/services/network_tune && chmod 755 /userdata/system/services/network_tune
wget https://raw.githubusercontent.com/cwadge/junk-drawer/main/nfs_mount_batocera -O /userdata/system/services/nfs_mount && chmod 755 /userdata/system/services/nfs_mount
```
## Usage
Navigate to the script's folder and run it with appropriate arguments. See each script's `--help` or inline comments for details.
## Contributing
The usual: you're welcome to fork, submit issues, PRs, etc.
## License
MIT License ([LICENSE](https://opensource.org/license/MIT)) - feel free to use, modify, and share.
---
_A bunch of B-grade scripts by Chris Wadge_