赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 11 |
经验 | 2045 |
最后登录 | 2024-5-31 |
在线时间 | 184 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 1133
- 在线时间
- 184 小时
- 注册时间
- 2007-2-27
- 帖子
- 144
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 fhxy 于 2019-1-31 14:59 编辑
如何安装这个JS版FC模拟器
安装教程我看不懂,大神指点一下教程如下:
# JSNES Web UI
A React-based web UI for [JSNES].
## Running in development
$ yarn install
$ yarn start
## Building for production
$ yarn build
The built app will be in `build/`.
## Running tests
$ yarn test
## Formatting code
All code must conform to [Prettier] formatting. The test suite won't pass unless it does.
To automatically format all your code, run:
$ yarn run format
## Adding roms
Open `src/config.js` and add a new key under the defined `config.ROMS`. For example:
myrom: {
name: "My Rom",
description: <span>This is my own homebrew NES rom</span>,
url: "http://localhost:3000/roms/myrom/myrom.nes"
}
If you add your rom file now under `public/roms/myrom/myrom.nes`, the game should start playing as you navigate to http://localhost:3000/run/myrom |
|