模拟器JS
EmulatorJS

原始链接: https://github.com/EmulatorJS/EmulatorJS

## EmulatorJS 总结 (v4.0+) EmulatorJS 是一个基于插件的 JavaScript 模拟器,现已完成重写(v4.0 版本起),与最初的 emulatorjs.com 不同。**重要变化:**核心文件和压缩文件*不再*包含在仓库中,必须通过发布版或新的 CDN ([https://cdn.emulatorjs.org/](https://cdn.emulatorjs.org/)) 获取。不建议克隆仓库用于生产环境;请使用发布版或 CDN。 EmulatorJS 提供三个版本:**稳定版**(经过充分测试)、**最新版**(新代码,稳定核心)和 **夜间版**(alpha 版,最新代码和核心)。 该项目没有广告,但演示页面可能会显示广告以用于资助。欢迎通过 Patreon 和错误报告(附带控制台日志!)进行贡献。它被设计为插件,而不是独立网站,因此不提供 Docker 容器,但集成信息可在 [https://emulatorjs.org/docs/3rd-party](https://emulatorjs.org/docs/3rd-party) 找到。 对于本地开发,请安装依赖项并运行压缩过程,然后访问 http://localhost:8080/ 处的演示。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 EmulatorJS (github.com/emulatorjs) 4 分,来自 avaer 1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Note

As of EmulatorJS version 4.0, this project is no longer a reverse-engineered version of the emulatorjs.com project. It is now a complete rewrite.

Warning

As of version 4.0.9 cores and minified files are no longer included in the repository. You will need to get them separately. You can get it from releases or the * new CDN (see this for more info). There is also a new version system that we will be using. (read here for more info).

Tip

Cloning the repository is no longer recommended for production use. You should use releases or the CDN instead.

This project has no ads.
Although, the demo page currently has an ad to help fund this project.
Ads on the demo page may come and go depending on how many people are
funding this project.

You can help fund this project on patreon

If something doesn't work, please consider opening an Issue
with as many details as possible, as well as the console log.

EmulatorJS itself is built to be a plugin, rather than an entire website. This is why there is no docker container of this project. However, there are several projects you can use that use EmulatorJS!

Looking for projects that integrate EmulatorJS? Check out https://emulatorjs.org/docs/3rd-party

There are three different version names that you need to be aware of:

  1. stable - This will be the most stable version of the emulator both code and cores will be tested before release. It will be updated every time a new version is released on GitHub. This is the default version on the Demo.
  2. latest - This will contain the latest code but use the stable cores. This will be updated every time the main branch is updated.
  3. nightly - This will contain the latest code and the latest cores. The cores will be updated every day, so this is considered alpha.

EmulatorJS provides a CDN at https://cdn.emulatorjs.org/, allowing access to any version of the emulator.

To use it, set EJS_pathtodata to https://cdn.emulatorjs.org/<version>/data/, replacing <version> with stable, latest, nightly, or another main release.

Be sure to also update the loader.js path to: https://cdn.emulatorjs.org/<version>/data/loader.js

Run a local server with:

  1. Open a terminal in the root of the project.

  2. Install the dependencies with:

  3. Start the minification with:

  4. Open your browser and go to http://localhost:8080/ to see the demo page.

Before pushing the script files onto your production server it is recommended to minify them to save on load times as well as bandwidth.

Read the minifying documentation for more info.

If you want to help with localization, please check out the localization documentation.

>> When reporting bugs, please specify what version you are using



Star History Chart
联系我们 contact @ memedata.com