A pure frontend save conversion tool for Nintendo Switch and PC games.
Users upload a zip archive, the browser performs extraction/transformation locally, and then downloads the converted zip archive.
- Fully client-side conversion (no backend file processing).
- Bidirectional conversion:
Switch -> PCandPC -> Switch. - Plugin-based architecture: each game converter is isolated and extensible.
- Currently implemented games:
- Balatro
- Disco Elysium
- The Witcher 3
This is a flat frontend project. Source files are in the repository root.
npm install
npm run devnpm run build
npm run previewnpm run deploy:8080- Framework preset:
Vite - Build command:
npm run build - Build output directory:
dist - Root directory:
/
CLI option:
npm run build
npx wrangler pages deploy dist --project-name <your-project-name>Create a new file in src/plugins/, for example myGame.ts, and implement GamePlugin:
import type { GamePlugin } from "./types";
export const myGamePlugin: GamePlugin = {
id: "my-game",
name: "My Game",
description: "Convert save files for My Game.",
supports: ["switch_to_pc", "pc_to_switch"],
detect: (tree, direction) => true,
convert: async (tree, direction) => {
return {
tree,
suggestedName: "my-game.zip",
notes: [],
};
},
};Import and add your plugin in src/plugins/index.ts to PLUGINS.
Add a new entry in src/data/games.ts:
id(must match pluginid)nameandnameZhappId- card image path
pcDirExample,pcToSwitchInputZip,pcToSwitchOutputZip
npm run lint
npm run build
npm run test:e2e