More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=LaiNES | |title=LaiNES | ||
|image= | |image=lainesnx.png | ||
|description= | |description=Cycle accurate NES emulator based on LaiNES. | ||
|author=Kevoot | |author=Kevoot | ||
|lastupdated=2018/07/26 | |lastupdated=2018/07/26 | ||
Line 8: | Line 8: | ||
|version=1.4 | |version=1.4 | ||
|license=BSD-2-Clause | |license=BSD-2-Clause | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/lainesnx.7z | ||
|website=https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/ | |website=https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/ | ||
|source=https://github.com/Kevoot/LaiNESwitch | |source=https://github.com/Kevoot/LaiNESwitch | ||
|donation= | |donation= | ||
}} | }} | ||
LaiNES is a compact, cycle-accurate NES emulator in ~1000 lines of C++. | |||
Original by AndreaOrru. Nintendo Switch port by Kevoot. | |||
==Installation== | |||
Put the resulting LaiNes.nro file on the Switch's SD card under /switch/LaiNes/. | |||
LaiNES is a | |||
Place ROMs in sdmc:/switch/LaiNes/game/. | |||
== | ==User guide== | ||
The emulator comes bundled with a simple GUI to navigate the filesystem and set preferences. | |||
Use D-Pad and A to operate it. R toggles between emulation and menu. | |||
== | ===Game compatibility=== | ||
LaiNES implements the most common mappers, which should be enough for a good percentage of the games: | LaiNES implements the most common mappers, which should be enough for a good percentage of the games: | ||
Line 36: | Line 35: | ||
* CNROM (Mapper 003) | * CNROM (Mapper 003) | ||
* MMC3, MMC6 / TxROM (Mapper 004) | * MMC3, MMC6 / TxROM (Mapper 004) | ||
* AOROM (Mapper 007) < | * AOROM (Mapper 007) <- EXPERIMENTAL | ||
You can check the compatibility for each ROM in | |||
You can check the compatibility for each ROM in [http://tuxnes.sourceforge.net/nesmapper.txt this list] | |||
==Controls== | ==Controls== | ||
D-Pad - Direction (Joystick too but there's a bug on the x-axis) | |||
A - A | |||
B - B | |||
Minus - Select | |||
Plus - Start | |||
R - Program Menu | |||
==Screenshots== | ==Screenshots== | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx2.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx3.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx4.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx5.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx6.png | ||
https://dlhb.gamebrew.org/switchhomebrews/ | https://dlhb.gamebrew.org/switchhomebrews/lainesnx7.png | ||
== | ==Media== | ||
'''HOMEBREW Nintendo Switch (ORIGINAL NES EMULATOR) LaiNes (TESTING CLASSIC NES GAMES)''' ([https://www.youtube.com/watch?v=ZbOiCBGgFms MrHomebrew]) <br> | |||
<youtube>ZbOiCBGgFms</youtube> | |||
'''LaiNes - NES Emulator on Nintendo Switch''' ([https://www.youtube.com/watch?v=Rl-rlJ_f5Sk Alex S]) <br> | |||
<youtube></youtube> | |||
==Compatibility== | |||
Tested on 5.0.2. | |||
==Known issues== | |||
You can use Joystick for directions as well, but bugs out when going left. | |||
ROM browsing menu can't go back. So, make sure you choose right the first time or you'll have to relaunch. | |||
==Changelog== | ==Changelog== | ||
''' | '''v1.4 2019/07/26''' | ||
* Threading has been removed as there was a deadlock I had neither the time nor patience to track down. Speed is still relatively good, same compatibility as before. Mapper7 is still experimental, and unlikely to entirely work. | * Threading has been removed as there was a deadlock I had neither the time nor patience to track down. Speed is still relatively good, same compatibility as before. Mapper7 is still experimental, and unlikely to entirely work. | ||
* IMPORTANT: place the res folder on the root of your sdcard or it'll crash. Will fix paths in a patch asap. | * IMPORTANT: place the res folder on the root of your sdcard or it'll crash. Will fix paths in a patch asap. | ||
''' | '''v1.3 2018/07/05''' | ||
*Folders no longer have limits, have fun scrolling through your mega ROM packs | *Folders no longer have limits, have fun scrolling through your mega ROM packs. | ||
''' | '''v1.2 2018/07/01''' | ||
*Threading has been added, tested with LoZ, runs full speed. | *Threading has been added, tested with LoZ, runs full speed. | ||
''' | '''v1.1 2019/05/24''' | ||
* Fixed: | * Fixed: | ||
** Crashes for all games which loaded and ran only briefly | ** Crashes for all games which loaded and ran only briefly. | ||
** Menu bugs (mostly by removing most of them as they weren't needed) | ** Menu bugs (mostly by removing most of them as they weren't needed). | ||
* Added: | * Added: | ||
** Stability | ** Stability. | ||
** Exit cleanly | ** Exit cleanly. | ||
** Scaffolding for render quality improvements for when hw acceleration becomes available | ** Scaffolding for render quality improvements for when hw acceleration becomes available. | ||
* Next up: | * Next up: | ||
** Add support for 2 players | ** Add support for 2 players. | ||
** Make the menus even better | ** Make the menus even better. | ||
''' | '''v1.0 2018/05/23''' | ||
* First Release. | * First Release. | ||
== | ==Credits== | ||
* AndreaOrru - Original Author | Contributors: | ||
* Jeff Katz - Mapper 002, 003, initial 007, and configuration. | * [https://github.com/AndreaOrru/LaiNES AndreaOrru] - Original Author. | ||
* Kevoot - Switch port, 007 integration, threading | * [https://github.com/kraln Jeff Katz] - Mapper 002, 003, initial 007, and configuration. | ||
* [https://github.com/Kevoot Kevoot] - Switch port, 007 integration, threading. | |||
* Original by AndreaOrru | |||
* Special thanks to Ulf Magnusson for the invaluable | References and credits: | ||
* blargg's | * Original by [https://github.com/AndreaOrru/LaiNES AndreaOrru]. | ||
* | * Special thanks to [https://github.com/ulfalizer Ulf Magnusson] for the invaluable [http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png PPU diagram] and for his [https://github.com/ulfalizer/nesalizer excellent implementation] which was a big source of inspiration. | ||
* Tick-by-tick breakdown of | * blargg's [http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu APU sound chip emulator]. | ||
* [http://problemkaputt.de/everynes.htm Complete hardware reference]. | |||
* Tick-by-tick breakdown of [http://nesdev.com/6502_cpu.txt 6502 instructions]. | |||
For Switch version: TurtleP for reference material with SDL and listening to my whining. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/Kevoot/LaiNESwitch | ||
* | * GBAtemp - https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/ | ||
* ForTheUsers - https://apps.fortheusers.org/switch/laines |
Revision as of 11:08, 28 Mayıs 2023
LaiNES | |
---|---|
General | |
Author | Kevoot |
Type | Console |
Version | 1.4 |
License | BSD-2-Clause |
Last Updated | 2018/07/26 |
Links | |
Download | |
Website | |
Source | |
LaiNES is a compact, cycle-accurate NES emulator in ~1000 lines of C++.
Original by AndreaOrru. Nintendo Switch port by Kevoot.
Installation
Put the resulting LaiNes.nro file on the Switch's SD card under /switch/LaiNes/.
Place ROMs in sdmc:/switch/LaiNes/game/.
User guide
The emulator comes bundled with a simple GUI to navigate the filesystem and set preferences.
Use D-Pad and A to operate it. R toggles between emulation and menu.
Game compatibility
LaiNES implements the most common mappers, which should be enough for a good percentage of the games:
- NROM (Mapper 000)
- MMC1 / SxROM (Mapper 001)
- UxROM (Mapper 002)
- CNROM (Mapper 003)
- MMC3, MMC6 / TxROM (Mapper 004)
- AOROM (Mapper 007) <- EXPERIMENTAL
You can check the compatibility for each ROM in this list
Controls
D-Pad - Direction (Joystick too but there's a bug on the x-axis)
A - A
B - B
Minus - Select
Plus - Start
R - Program Menu
Screenshots
Media
HOMEBREW Nintendo Switch (ORIGINAL NES EMULATOR) LaiNes (TESTING CLASSIC NES GAMES) (MrHomebrew)
LaiNes - NES Emulator on Nintendo Switch (Alex S)
'"`UNIQ--youtube-00000001-QINU`"'
Compatibility
Tested on 5.0.2.
Known issues
You can use Joystick for directions as well, but bugs out when going left.
ROM browsing menu can't go back. So, make sure you choose right the first time or you'll have to relaunch.
Changelog
v1.4 2019/07/26
- Threading has been removed as there was a deadlock I had neither the time nor patience to track down. Speed is still relatively good, same compatibility as before. Mapper7 is still experimental, and unlikely to entirely work.
- IMPORTANT: place the res folder on the root of your sdcard or it'll crash. Will fix paths in a patch asap.
v1.3 2018/07/05
- Folders no longer have limits, have fun scrolling through your mega ROM packs.
v1.2 2018/07/01
- Threading has been added, tested with LoZ, runs full speed.
v1.1 2019/05/24
- Fixed:
- Crashes for all games which loaded and ran only briefly.
- Menu bugs (mostly by removing most of them as they weren't needed).
- Added:
- Stability.
- Exit cleanly.
- Scaffolding for render quality improvements for when hw acceleration becomes available.
- Next up:
- Add support for 2 players.
- Make the menus even better.
v1.0 2018/05/23
- First Release.
Credits
Contributors:
- AndreaOrru - Original Author.
- Jeff Katz - Mapper 002, 003, initial 007, and configuration.
- Kevoot - Switch port, 007 integration, threading.
References and credits:
- Original by AndreaOrru.
- Special thanks to Ulf Magnusson for the invaluable PPU diagram and for his excellent implementation which was a big source of inspiration.
- blargg's APU sound chip emulator.
- Complete hardware reference.
- Tick-by-tick breakdown of 6502 instructions.
For Switch version: TurtleP for reference material with SDL and listening to my whining.