iNES emulator by Marat Fayzullin

iNES emulator by Marat Fayzullin
by on (#138069)
The legendary and oldest NES emulator for Windows is free now:
http://fms.komkon.org/iNES/
Re: iNES emulator by Marat Fayzullin is free now
by on (#138070)
Long Live iNES!
Image
Re: iNES emulator by Marat Fayzullin is free now
by on (#138071)
I see it still has accuracy problems that negatively affect compatibility. So who wants to be the first to try some of blargg's tests (or others) on the latest version?
Re: iNES emulator by Marat Fayzullin is free now
by on (#138072)
It won't be me. It crashes after I select a .pal file to open.
Re: iNES emulator by Marat Fayzullin is free now
by on (#138073)
iNES sound is horrible. I don't hear DPCM-channel ;)
I think iNES still very buggy because it was non-free all these years.
Few people used it...
Re: iNES emulator by Marat Fayzullin is free now
by on (#138074)
:?
I just tested one of my own silly experiments in this emu.
Music sounds off and somewhat lower, chr not loaded correctly from rom(?!) or something.
Re: iNES emulator by Marat Fayzullin is free now
by on (#138077)
If folks want to bang on gongs over iNES incompatibility and issues, I also suggest you do the exact same for the ridiculous number of other NES emulators out there. The list grows long.

And on a positive note: did anyone actually see the debugging feature? I at least thought that was kinda neat/unique (given that it's implemented where it is, and not as an external window).
Re: iNES emulator by Marat Fayzullin is free now
by on (#138116)
Sure, start a thread about any of those other emulators and maybe I'll try one of them long enough to complain in its thread.
Re: iNES emulator by Marat Fayzullin is free now
by on (#138126)
koitsu wrote:
If folks want to bang on gongs over iNES incompatibility and issues, I also suggest you do the exact same for the ridiculous number of other NES emulators out there. The list grows long.

The problem is, iNES was that inaccurate AND you were expected to pay for it. Other emulators are free with or without accuracies. No disrespect to Marat; he obviously wrote all of his emulators long before the research into loopy timing etc. was even done.

koitsu wrote:
And on a positive note: did anyone actually see the debugging feature? I at least thought that was kinda neat/unique (given that it's implemented where it is, and not as an external window).

Clever. That way it can be ported to any platform without using any platform specific code.
Re: iNES emulator by Marat Fayzullin is free now
by on (#138135)
//
Re: iNES emulator by Marat Fayzullin is free now
by on (#185179)
iNES 4.7 for windows is out. APU is rewritten, but DPCM still buggy.
rainwarrior wrote:
It crashes after I select a .pal file to open.

When i try to set SONY_CXA2025AS.pal (comes with puNES/FCEUX)
there is "Failed loading palette" error.

Marat say about it:
"iNES can load palettes as text-code but not binary files (you can open .pal-files comes with iNES windows via text-editor)"
Re: iNES emulator by Marat Fayzullin
by on (#185182)
At least it has a Windows menu interface! Yay! :shock: :shock: :roll:
Re: iNES emulator by Marat Fayzullin
by on (#185259)
All *.pal-files what i can found on net are binary. Even old nesticle.pal (comes with nesticle 0.42)
But all palettes of iNES package are text-files. This is strange.
Re: iNES emulator by Marat Fayzullin
by on (#185263)
Post a text palette in a zipfile, and if I can figure it out, I might be able to write a converter between binary palettes and iNES text palettes. (If you're lucky, I might throw in support for GIMP text palettes as well.)
Re: iNES emulator by Marat Fayzullin
by on (#185268)
Thank you:
Re: iNES emulator by Marat Fayzullin
by on (#185270)
You can convert binary pal files to iNES format with hexdump (on Linux, etc.):

Code:
hexdump -ve '3/1 "%02X " "\n"' bin.pal > ines.pal
Re: iNES emulator by Marat Fayzullin
by on (#185277)
The palette consists of 64 lines, one for each value of $3Fxx. Each line is 3 hex bytes, case insensitive, separated by a space ($20), terminated by a UNIX newline ($0A) or CP/M newline ($0D $0A). A full 64-entry palette file is thus 576 bytes (UNIX) or 640 bytes (CP/M).

The above translated into Python (untested):
Code:
#!/usr/bin/env python3
# By Damian Yerrick; license: WTFPL
with open("bisqwit.pal", "rb") as infp:
    p = infp.read(192)
p = bytearray(p)  # for compatibility with old Python where str is bytes
with open("bisqwit.ines.pal", "w") as outfp:
    outfp.writelines("%02X %02X %02X\n" % (p[i], p[i + 1], p[i + 2]) for i in range(0, 192, 3))
Re: iNES emulator by Marat Fayzullin
by on (#186467)
iNES 4.8 released.
- fixed triangle channel
- improved DPCM channel (but still need some work)
- added support of binary PAL files (iNES can remember last palette now)
- added classic 4:3 display aspect ratio
- fixed bug when 44kHz audio + 50 Hz video output was selected.
screenshot

Android-version updated to 4.8.1 as well.