Web based retro emulator. https://cool-emu.pages.dev/
Based on emulatorjs https://github.com/EmulatorJS/EmulatorJS
To deploy you need to run the build command and then create a cloudflare pages deployment using wrangler cli.
wrangler pages deploy dist
wrangler has 20k file limit.
check file count using find . -type f | wc -l
Don't forget to check if the js files of emulator.js are minified.
run npm run build.
npm run dev
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Fonts are installed locally, discover fonts using FontSource.
version used is https://github.com/EmulatorJS/EmulatorJS/releases/tag/v4.2.3
I have modified the turkish language pack btw.