다마고치 연구소 한국어판 소스 공개
Paramix Studio / build (push) Canceled after 0s
Paramix Studio / pages (push) Canceled after 0s

This commit is contained in:
syskiller committed 2026-11-10 21:17:44 +09:00
commit db23855630
661 files changed
+503597

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
// node mkimg.js <paradise.bin> <guest firmware> <emu.bin> <out.bin> [lang en|de]
// The Paradise image with TamaEmu as the main program (as the Studio builds it), for devemu.py
const fs = require('fs');
const E = require('../../src/emu.js');
const rd = (p) => new Uint8Array(fs.readFileSync(p));
const [rom, fw, app, out, lang] = process.argv.slice(2);
const r = E.emuPatch(rd(rom), rd(fw), rd(app), rd(__dirname + '/../stub_tpl.bin'), { lang: lang || 'de' });
fs.writeFileSync(out, r.rom);
console.log('device', r.device, 'blocks', r.blocks, 'big', r.big);