Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

LaiNES Switch: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=LaiNES
|title=LaiNES
|image=lainesswitch.png
|image=lainesnx.png
|description=A cycle accurate NES emulator based on LaiNES.
|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/lainesswitch.7z
|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=
}}
}}
{{#seo:
LaiNES is a compact, cycle-accurate NES emulator in ~1000 lines of C++.
|title=Switch Homebrew Emulators (Console) - GameBrew
 
|title_mode=append
Original by AndreaOrru. Nintendo Switch port by Kevoot.
|image=lainesswitch.png
 
|image_alt=LaiNES
'''Note:''' LaiNES is no longer maintained.
}}
 
A cycle accurate NES emulator based on LaiNES.
==Installation==
Put the resulting LaiNes.nro file on the Switch's SD card under /switch/LaiNes/.
 
Place ROMs in sdmc:/switch/LaiNes/game/.


==To Use==
==User guide==
* Put the resulting LaiNes.nro file on the Switch's SD card under /switch/LaiNes
The emulator comes bundled with a simple GUI to navigate the filesystem and set preferences.  
* Place ROMs in sdcard:/switch/LaiNes/game


==Usage==
Use D-Pad and A to operate it. R toggles between emulation and menu.
The emulator comes bundled with a simple GUI to navigate the filesystem and set preferences. Use DPAD and 'A' to operate it. 'R' toggles between emulation and menu.


==Compatibility==
===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 37:
* CNROM (Mapper 003)
* CNROM (Mapper 003)
* MMC3, MMC6 / TxROM (Mapper 004)
* MMC3, MMC6 / TxROM (Mapper 004)
* AOROM (Mapper 007) <-- EXPERIMENTAL
* AOROM (Mapper 007) <- EXPERIMENTAL
You can check the compatibility for each ROM in the following list: http://tuxnes.sourceforge.net/nesmapper.txt
 
You can check the compatibility for each ROM in [http://tuxnes.sourceforge.net/nesmapper.txt this list]


==Controls==
==Controls==
* Direction -> DPad (Joystick too but there's a weird bug on the x-axis)
D-Pad - Direction (Joystick too but there's a bug on the x-axis)
* A -> A
 
* B -> B
A - A
* Select -> Minus
 
* Start -> Plus
B - B
* Program Menu -> R
 
Minus - Select
 
Plus - Start
 
R - Program Menu


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-01.png
https://dlhb.gamebrew.org/switchhomebrews/lainesnx2.png
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/lainesnx3.png
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/lainesnx4.png
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-04.png
 
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/lainesnx5.png
https://dlhb.gamebrew.org/switchhomebrews/lainesswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/lainesnx6.png
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>Rl-rlJ_f5Sk</youtube>
 
==Compatibility==
Tested on 5.0.2.


==Known Issues==
==Known issues==
*The quality of the audio emulation on Linux is very poor. Typing export SDL_AUDIODRIVER=ALSA before running the emulator has been reported to improve it.
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==  
'''v.1.4'''
'''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.
'''v.1.3'''
'''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.
'''v.1.2'''
'''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.
'''v.1.1'''
'''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.
'''v.1.0'''
'''v1.0 2018/05/23'''
* First Release.
* First Release.


==Contributors==
==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.
==References and credits==
* [https://github.com/Kevoot Kevoot] - Switch port, 007 integration, threading.
* Original by AndreaOrru
 
* Special thanks to Ulf Magnusson for the invaluable [PPU diagram] ([http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png http://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png]) and for his excellent implementation which was a big source of inspiration.
References and credits:
* blargg's APU sound chip emulator: http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu
* Original by [https://github.com/AndreaOrru/LaiNES AndreaOrru].
* Complete hardware reference: http://problemkaputt.de/everynes.htm
* 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 6502 instructions: http://nesdev.com/6502_cpu.txt
* blargg's [http://blargg.8bitalley.com/libs/audio.html#Nes_Snd_Emu APU sound chip emulator].
* For Switch version: TurtleP for reference material with SDL and listening to my whining.
* [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 ==
* Official Website - https://gbatemp.net/threads/laines-a-cycle-accurate-nes-emulator.505010/
* GitHub - https://github.com/Kevoot/LaiNESwitch
* 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

Latest revision as of 11:28, 28 Mayıs 2023

LaiNES
Lainesnx.png
General
AuthorKevoot
TypeConsole
Version1.4
LicenseBSD-2-Clause
Last Updated2018/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.

Note: LaiNES is no longer maintained.

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

lainesnx2.png lainesnx3.png lainesnx4.png

lainesnx5.png lainesnx6.png lainesnx7.png

Media

HOMEBREW Nintendo Switch (ORIGINAL NES EMULATOR) LaiNes (TESTING CLASSIC NES GAMES) (MrHomebrew)

LaiNes - NES Emulator on Nintendo Switch (Alex S)

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:

For Switch version: TurtleP for reference material with SDL and listening to my whining.

External links

Advertising: