Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 653 Bytes

File metadata and controls

30 lines (18 loc) · 653 Bytes

WADLib

WADLib is a library that allows reading throguh Wii WAD files, and modify their tickets in JavaScript.

Installation

npm install wadlib

Usage

import { readFileSync, writeFileSync } from "fs"
import { WAD } from "./wad"

const zelda = WAD.from(readFileSync("./Legend of Zelda, The - Skyward Sword - Save Data Update Channel (Europe) (Channel).wad"), true);

zelda.ticket.consoleID = 1001; // IDK

writeFileSync("./Channel_Modified.tik", zelda.ticket.toBuffer());

Contributing

Contributions are welcome! Please open issues or submit pull requests.

License

MIT License. See LICENSE for details.