Skip to content
Wanted files

iNES emulates Nintendo NES and Nintendo Famicom Disk System. It reads 17 files, 1 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.

About this profile
Detail Value
Type standalone
Classification Other
Source https://fms.komkon.org/iNES/
Upstream closed-source
Version 6.1.12, read from com.fms.ines.free APK versionName (versionCode 6112)
Releases announced at https://play.google.com/store/apps/details?id=com.fms.ines.free&hl=en
Profiled 2026-10-20
Profile YAML, JSON
Cores ines
Systems Nintendo NES, Nintendo Famicom Disk System
Author Marat Fayzullin (Garage Research)
Technical notes

NES and Famicom emulator by Marat Fayzullin, covering cartridges, the Famicom Disk System and the VS System. The build read here is the free Google Play package com.fms.ines.free, the package ES-DE launches, versionName 6.1.12 versionCode 6112, taken as the Play app bundle drop, xapk sha256 cddeedef6440eda7f18a389a7a5ea67e33fb8be21593aab93ab6b0fe10992496, base apk sha256 17577eced1829e0fe60ac128d94683d4bc1988c3ac627208e7de0e1e49a9abd8, native split config.armeabi_v7a sha256 c7076c05aca28e38d0343fbea4c1b904e6d197e7d8fcbdc4e29c0278fef0f0db. Both splits are signed by the author's own key, CN=Marat Fayzullin O=Garage Research issued 2011, fingerprint d09469e9b550cbc9005d3bd089f3df5f0ba89cba71cdd3b33736a0382d6f9848, as the v1 META-INF/BNDLTOOL.RSA and as the v2 and v3 signer, beside a Play distribution source stamp. The author's site still serves 6.1.4 as iNES-Android-6104.apk under package com.fms.ines, signed by the same key, and Google Play also carries the emulator inside VGBAnext as com.fms.ng, the author recording that Play removed the original com.fms.ines listing over its built-in cheats. The drop carries one native split, armeabi-v7a, whose libmain.so keeps its dynamic symbol table, so the readings below cite Thumb-2 offsets in that slice and Java lines in a jadx 1.5.6 decompile of the base apk. The free iNES 6.1 builds for Windows and Ubuntu were read beside it and open the same files under the same names. No source has ever been published: the author releases ColEm and fMSX as source archives, while every iNES download on the same site, from 0.7 for AIX and SunOS through 6.1, is a binary package. ref: com.fms.ines.free.apk META-INF/BNDLTOOL.RSA, APK Signing Block, https://fms.komkon.org/iNES/, iNES61-Windows-bin.zip, iNES61-Ubuntu-x86-bin.tgz

One directory holds everything the emulator reads. MainActivity hands EMULib.m to jniStart, which copies it into the buffer GetHomeDir returns and passes that same buffer to SetPrivateDir. Every open goes through mopen, which calls OpenRealFile: the name is tried as given and again as <PrivateDir>/<basename>, and when both open the larger of the two is kept. That directory is <ExternalStorage> joined with the application label up to its first whitespace, so iNES, falling back to getExternalFilesDirs(null) when the path is not a writable directory. mopen layers gzdopen over the result, so any of these files also opens gzipped, and a content:// name is routed to the Android storage framework instead. ref: MainActivity.java:1092-1105, EMULib.java:178, 315-361, 363-373, libmain.so jniStart 0x178b4-0x178f6, GetHomeDir 0x15490, libmain.so OpenRealFile 0x2fc94-0x2fdf3, libmain.so mopen 0x2fdf4-0x2fed7

DISKSYS.ROM is the only filename compiled into the emulator. LoadFDS reads the disk image first, taking a bare NINTENDO-HVC header or the 16 byte FDS wrapper ahead of it, then opens DISKSYS.ROM and reads 0x2000 bytes into RAM at 0xE000. A failed open leaves the status at NOT FOUND and a short read at FAILED, and either makes LoadFDS return zero, so the disk never starts. Nothing about the image is checked past the length of that read. Cartridge titles never reach this path. ref: libmain.so LoadFDS 0x3a188-0x3a523, open 0x3a414-0x3a41c, read 0x3a438-0x3a45a, status 0x3a2a0-0x3a2ae, iNES61-Ubuntu-x86-bin ines 0x38165-0x381a9

The startup palette is <HomeDir>/iNES.pal, assembled in Application from GetHomeDir and held in PalName, which StartNES loads when it is set. LoadPAL reads the first 256 bytes: exactly 192 is taken as 64 RGB triples fed to SetColor one at a time, anything else is parsed as text. A missing file leaves the built-in palette in place. The desktop distribution ships twenty candidates under Palettes/ to copy into that single name, the Android package none. ref: libmain.so Application 0x3818c-0x381b0, StartNES 0x38d9a-0x38da6, LoadPAL 0x38f6c-0x391f3 (read 0x38f94-0x38f9e, length 0x38faa), iNES61-Windows-bin.zip Palettes/

LoadNES derives five companion names from the ROM path through MakeFileName: .sav, .ips, .cht, .pal and .sta. Started with no ROM name at all, Application substitutes CART.NES. ref: libmain.so LoadNES 0x39f5e, 0x39ff4, 0x3a05e, 0x3a094, 0x3a0ac, libmain.so Application 0x38278-0x38286

Two package resources are read at runtime. assets/memfs.mp3 is passed whole to jniStart and mounted as an in-memory filesystem carrying one entry, CART.NES. assets/names.dat fills the title lookup and is then extended by <HomeDir>/names.dat, whose entries win on collision. The cheat browser asks the package assets for ROOT.chts first, and this build ships none, so Cheatopedia looks for it in the home directory and its subdirectories, then unpacks iNES-Cheats.zip from the Downloads directory into <HomeDir>/Cheats. A set that ROOT.chts names by a relative path is read from the directory where ROOT.chts was found, and a File= path starting with /sdcard/ has that prefix replaced by the home directory. The author publishes no iNES-Cheats.zip. The 6.1.4 package carried ROOT.chts and seven sets in its assets, and those are the files listed below. ref: MainActivity.java:1092-1105, libmain.so jniStart 0x17684-0x176a2, bi.java:183-213, Cheatopedia.java:195-202, 270-300, 335-344, 477, CheatHelper.java:16-49, iNES-Android-6104.apk assets/

17 files: 1 required, 16 optional. 2 more files come with the app.

By kind: 2 BIOS and 17 game data.

In this collection: 10 in repo, 0 missing and 7 unsourceable.

FileStatus

DISKSYS.ROM

Famicom Disk System BIOS

  • System: Nintendo Famicom Disk System
  • Opened by bare name, so it resolves against the working directory and then against the home directory. Read as 0x2000 bytes into RAM at 0xE000. A missing file reports NOT FOUND and a short read FAILED, and either aborts the disk load. Only the length of that read is checked, so a longer file passes on its first 8192 bytes and no hash is compared. The open is gzip transparent, so a compressed copy answers too.
Validation and source
  • Validation: size
  • Source: offset 0x3a188-0x3a523 in libmain.so LoadFDS (open 0x3a414-0x3a41c, read 0x3a438-0x3a45a), offset 0x38165-0x381a9 in iNES61-Ubuntu-x86-bin ines
required for Nintendo Famicom Disk System in repo
FileStatus

iNES.pal

startup colour palette

  • System: Nintendo NES
  • Built as <HomeDir>/iNES.pal and loaded at startup when present, otherwise the built-in palette stands. Exactly 192 bytes is read as 64 RGB triples, any other length as text. No single file answers to this name: the desktop distribution ships twenty palettes under other names for the user to copy over.
  • Not collected yet: any 64 colour palette the user picks, under the one name the code builds (files not collected yet)
Source
  • Source: offset 0x3818c-0x381b0 in libmain.so Application, offset 0x38d9a-0x38da6 in StartNES, offset 0x38f6c-0x391f3 in LoadPAL
unsourceable
FileStatusHash

ROOT.chts

cheat database read by the Cheatopedia browser

  • This build ships no cheat set in its assets. Cheatopedia looks for the file in the home directory and its subdirectories, and otherwise unpacks iNES-Cheats.zip from the Downloads directory into <HomeDir>/Cheats, an archive the author does not publish. The directory where it is found becomes the cheat directory for every set it names. The copy here is the one 6.1.4 carried in its assets, and its File= lines pull in the seven sets below and /sdcard/iNES/custom.chts.
Hashes and source
  • SHA1: dbbaa1e149d1e3bbf62b1b16c9e23ecf5924636d
  • MD5: f8a3b82f873132e312764807346182c6
  • CRC32: d2814640
  • Source: Cheatopedia.java:195-202, Cheatopedia.java:477, Cheatopedia.java:527-547, CheatHelper.java:16-49, iNES-Android-6104.apk assets/ROOT.chts
optional in repo game data MD5 f8a3b82f8731

battle-toads.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: fc59b7662bdf8b888e4de42f788ac989fe6fab2a
  • MD5: 579c461a0060eae90c4f350e32dc6e56
  • CRC32: d8b4ca90
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/battle-toads.chts
optional in repo game data MD5 579c461a0060

dragon-warrior.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: 47767cd5557c166b2bd5255a9a2857a4a1288e03
  • MD5: 9dcd487b3c3c0b18a5264285e3c9868c
  • CRC32: 56462991
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/dragon-warrior.chts
optional in repo game data MD5 9dcd487b3c3c

dragon-warrior-2.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: c7199183d8f392bda14a8f8765bc6b3dd1951475
  • MD5: 3231f15a1434d039aeb101801a9ab807
  • CRC32: 1d7327b8
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/dragon-warrior-2.chts
optional in repo game data MD5 3231f15a1434

fceu.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: 7eac0cb88829e5d89645803fd6256049348ab593
  • MD5: 80ba1e0d24df2ae8a334492fcdf80ac9
  • CRC32: 8a6d479b
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/fceu.chts
optional in repo game data MD5 80ba1e0d24df

final-fantasy-2.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: 5d467c4da5bd62051b1732351ecb1bfb8ad2bf69
  • MD5: 9f5604c53f5e61611e0f5fc86bd12eda
  • CRC32: 0b26c1d3
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/final-fantasy-2.chts
optional in repo game data MD5 9f5604c53f5e

final-fantasy-3.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: a76c50557b35cf28b2f7456ac9f282ab3a0af3ae
  • MD5: d5e68a35ac2d17b48bf1604d03e4602d
  • CRC32: f1060bef
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/final-fantasy-3.chts
optional in repo game data MD5 d5e68a35ac2d

super-mario-brothers.chts

cheat set reached from ROOT.chts

  • Named by a File= line in ROOT.chts and read from the same cheat directory. Carried in the assets of 6.1.4 and absent from this build.
Hashes and source
  • SHA1: c1116b7e520541cf2925b30053106d85a4bae62e
  • MD5: 51beb6f9722b3c8a22f9d97c1401622c
  • CRC32: 42e09138
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-344, iNES-Android-6104.apk assets/super-mario-brothers.chts
optional in repo game data MD5 51beb6f9722b

custom.chts

user cheat sets added to the Cheatopedia menu

  • Pulled in by the File= line that ROOT.chts carries, written out as /sdcard/iNES/custom.chts. The browser swaps the leading /sdcard/ for the home directory, so the set is opened as <HomeDir>/iNES/custom.chts, an absolute path read straight from storage.
  • Not collected yet: cheat codes the user writes, in the format the documentation prints (files not collected yet)
Source
  • Source: Cheatopedia.java:270-300, Cheatopedia.java:335-341
optional unsourceable game data -

Controls.png

virtual joystick skin

  • Read as <HomeDir>/Controls.png by the overlay button loader when the custom skin is selected, and by the layout editor. A built-in drawable stands in when the file does not load. The author publishes the template to draw over at fms.komkon.org/EmuAndroid/Controls.png.
Hashes and source
  • SHA1: 14c4ab8ccc8ecb81ebf99fec336a3e872c13aabc
  • MD5: d10635cb6f101ed733f3d1133bc78f61
  • CRC32: dc9da322
  • Source: MainActivity.java:1589-1600, LayoutEditor.java:226
optional in repo game data MD5 d10635cb6f10

Backdrop.png

backdrop drawn around the emulated screen

  • Read as <HomeDir>/Backdrop.png while the decorum option is on. A built-in drawable stands in when the file is absent.
  • Not collected yet: any picture the user places behind the emulated screen (files not collected yet)
Source
  • Source: MainActivity.java:1720-1745
optional unsourceable game data -

<game>.back.png

backdrop for one title

  • Named from the loaded ROM path and preferred over the shared backdrop for that game.
  • Not collected yet: any picture the user places behind one title (files not collected yet)
Source
  • Source: MainActivity.java:1734-1736
optional unsourceable game data -

<game>.ips

IPS patch applied to the loaded ROM

  • Named from the ROM path by MakeFileName and applied by ApplyIPS when present. A file chosen by hand that starts with the PATCH signature goes to LoadIPS from LoadFile.
  • Not collected yet: a patch the user supplies for one title (files not collected yet)
Source
  • Source: offset 0x39ff4 in libmain.so LoadNES (ApplyIPS 0x3a02c), offset 0x392ac-0x392c4 in LoadFile
optional unsourceable game data -

<game>.cht

cheat codes for one title

  • Named from the ROM path by MakeFileName and read by LoadCHT when present. Distinct from the .chts sets of the Cheatopedia browser. A file picked by hand whose name ends in .CHT reaches the same loader through LoadFile, and so does the menu handler.
  • Not collected yet: cheat codes the user writes or collects per title (files not collected yet)
Source
  • Source: offset 0x3a05e in libmain.so LoadNES (LoadCHT 0x3a06a), offset 0x392e2-0x392ec in LoadFile, offset 0x388d2 in Joystick
optional unsourceable game data -

<game>.pal

colour palette for one title

  • Named from the ROM path by MakeFileName and read by LoadPAL when present, taking precedence over the startup palette for that game. A file picked by hand whose name ends in .PAL reaches the same loader through LoadFile.
  • Not collected yet: any 64 colour palette the user picks for one title (files not collected yet)
Source
  • Source: offset 0x3a094 in libmain.so LoadNES (LoadPAL 0x3a09e), offset 0x392ce-0x392d8 in LoadFile
optional unsourceable game data -
FileStatusHash

CART.NES

sample ROM image started when no game is given

  • System: Nintendo NES
  • The only entry in assets/memfs.mp3, which MainActivity reads whole and jniStart mounts as an in-memory filesystem. A 16 byte header plus one 16 KB PRG bank and one 8 KB CHR bank. Application passes this name to StartNES only when it is invoked without a ROM.
  • Size: 24.0 KB, SHA1 486eede1bb74
Hashes and source
  • SHA1: 486eede1bb748d95efc8a2a3d46ef1a530100559
  • MD5: c1db31a2aa8a12432705fc8bd3c1156a
  • CRC32: 2e03cb7f
  • Source: MainActivity.java:1092-1105, offset 0x17684-0x176a2 in libmain.so jniStart, offset 0x38278-0x38286 in libmain.so Application
game data MD5 c1db31a2aa8a

names.dat

title database keyed by system and CRC32

  • Parsed from assets as lines of key colon title, keys reading NES-4C629A95. The copy at <HomeDir>/names.dat is read straight afterwards into the same map, so user entries extend and override the packaged ones.
  • Size: 20.9 KB, SHA1 bb1a86caeb1b
Hashes and source
  • SHA1: bb1a86caeb1b6351da6e7d46ed2051e8e5ec5a15
  • Source: bi.java:183-213
game data SHA1 bb1a86caeb1b
.