Homebrew WIP NESalizer - Successor to LaiNES

Kevoot

Well-Known Member
OP
Newcomer
Joined
May 23, 2018
Messages
67
Trophies
0
Age
40
XP
430
Country
United States
Hey all,

Figured I'd make a thread for this as it's getting relatively close to an initial (albeit somewhat buggy at first) build of the successor to LaiNES, NESalizer

Why start a whole new emulator might you ask?

LaiNES was a giant pain in the ass to debug. Credit where credit is due to the original author, but they attempted to write the emu in as few lines as possible and as a result was nightmarish to debug. I spent many hours attempting to track down where all the memory leaks were to no avail. Additionally, LaiNES compatibility was very low and answering why games didn't run by constantly linking the compatibility chart wore me thin.

So how is this better?

For one, the initial port ran better even with the compiler optimization flag set to -O1, compared with -O3 for LaiNES. Now obviously the emulator this is based on may be a bit less accurate, but I'd rather my games playable frankly. In addition, the code is FAR more readable and means I can actually effectively debug.

What can it currently do?

Load a ROM one time, and run smoothly.
Warning: exit the emulator by hitting the home button. Trying to exit through the menu currently crashes the switch.

<thing> is broken! What am I doing wrong?

Probably nothing. The current state is a WIP. Here's a list of broken stuff I'm working on:

- Pausing emulation
- Loading a new ROM after the initial one is loaded.
- Configurable Controls
- Clean Exits
- Reconfiguring video settings
- Menu controls are janky as hell
- Palette seems...off. Red Looks very brown, not sure what's up with that yet.

So how do I test this out?

There is no release as of yet, because it's broken in many ways that will give bad first impressions.

So with all of that said, the repo is here:
https://github.com/Kevoot/NESalizer

As soon as I have a release, I'll be sure to update this immediately. See you all soon.
 
Last edited by Kevoot,

Kevoot

Well-Known Member
OP
Newcomer
Joined
May 23, 2018
Messages
67
Trophies
0
Age
40
XP
430
Country
United States
I hope I can play punch out in this emulator, in laines I could not. Thanks for working in this emulator
Can confirm so far working: Contra, Zelda 1&2, Mario 1, 2, and 3 (even the duck hunt version of no. 1), and of course Punchout. The mappers supported are in the readme, at some point I'll cross reference implemented mappers with game names and include a list of games expected to work.
 
  • Like
Reactions: slaphappygamer

Kevoot

Well-Known Member
OP
Newcomer
Joined
May 23, 2018
Messages
67
Trophies
0
Age
40
XP
430
Country
United States
Update: things are moving along smoothly. Implementing a pause for the emu/sdl threads for transitioning between UI and running game. Save/Load states are working, controls are all set. Been pretty busy with work and classes but I should be able to push out an initial release within the next week or two.

If opengl support makes its way into sdl before then I'll make sure that's working before the release as well.
 
Last edited by Kevoot,

Kevoot

Well-Known Member
OP
Newcomer
Joined
May 23, 2018
Messages
67
Trophies
0
Age
40
XP
430
Country
United States
Update: working out a weird bug where the video renders properly and at the right fps only when using nxlink for debugging. Once I get that bug sorted out I'll be doing an initial release. Possibly tomorrow if I can get through my other work in a reasonable time, otherwise probably Tuesday.
 

AcuRaw

Member
Newcomer
Joined
Jul 30, 2012
Messages
13
Trophies
0
XP
35
Country
United States
Sorry for the noob question but how do I run this?

When I go to the GitHub link, I see there are a dozen different files. What files do I need on my SD card?
 
Last edited by AcuRaw,

AcuRaw

Member
Newcomer
Joined
Jul 30, 2012
Messages
13
Trophies
0
XP
35
Country
United States
That's what I was having trouble with. I couldn't find a NRO file and there in nothing available under releases.
 

Kevoot

Well-Known Member
OP
Newcomer
Joined
May 23, 2018
Messages
67
Trophies
0
Age
40
XP
430
Country
United States
That's what I was having trouble with. I couldn't find a NRO file and there in nothing available under releases.
Read my first post again. This is a WIP and I have not posted an official release yet. I will be releasing as soon as I deem it to be useable enough by the general public. Right now there are a few outstanding issues I would like fixed before that state is achieved.
 

TamarindoJuice

Well-Known Member
Member
Joined
Jan 30, 2016
Messages
288
Trophies
0
XP
1,531
Country
Brazil
Read my first post again. This is a WIP and I have not posted an official release yet. I will be releasing as soon as I deem it to be useable enough by the general public. Right now there are a few outstanding issues I would like fixed before that state is achieved.

Not trying to bother you aboutETA but... It's going to be released anytime soon dear dev?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs