# Slap ROM Patcher: Fast, Free, and Handles 20 Formats

> Hacker News story 49206028 · language: en · submitted 2026-08-07
> Web version: https://zeli.app/story/49206028
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 26 · by [apsec112](<https://news.ycombinator.com/user?id=apsec112>) · 💬 20
[original](<https://nyuu.page/projects/slap/>) · [HN discussion](<https://news.ycombinator.com/item?id=49206028>)

## Summary

Slap is a free, open-source ROM patcher that supports 20 formats and runs on multiple platforms. It was built for scripting, with structured errors and warnings, and it can apply, create, undo, convert, explain, and inspect patches. The author discusses the challenges of handling edge cases in various patch formats, such as IPS's 16MiB limit and BPS's out-of-order copying, and provides benchmarks showing Slap often outperforms reference tools.

## Key quote

> It assumes nothing about a patch. I am fairly confident that it’ll handle anything that _isn’t invalid_ gracefully; if something is malformed, or coherent but about to do something surprising, slap says exactly what and where.

## HN discussion (20 comments)

### [matheusmoreira](<https://news.ycombinator.com/item?id=49241326>)

> \> nyuu.page
>
> Is this in any way related to byuu, the SNES emulator author?

### [gblargg](<https://news.ycombinator.com/item?id=49240922>)

> Doesn't the undo functionality cause it to store copyrighted data from the original ROM in the patch?

### [yjftsjthsd-h](<https://news.ycombinator.com/item?id=49240082>)

> \> It is written in Haskell and Rust and this made getting it to work nicely in the browser, interesting
>
> I imagine. What motivated using that combination?

---

## Cite

- Page: https://zeli.app/story/49206028
- Date: 2026-08-07
- Source: nyuu.page (https://nyuu.page/projects/slap/)
- Hacker News: https://news.ycombinator.com/item?id=49206028

## Other languages

- zh: https://zeli.app/zh/story/49206028 · markdown: https://zeli.app/zh/story/49206028.md
- ja: https://zeli.app/ja/story/49206028 · markdown: https://zeli.app/ja/story/49206028.md
- ko: https://zeli.app/ko/story/49206028 · markdown: https://zeli.app/ko/story/49206028.md
- de: https://zeli.app/de/story/49206028 · markdown: https://zeli.app/de/story/49206028.md
- es: https://zeli.app/es/story/49206028 · markdown: https://zeli.app/es/story/49206028.md
