Repository navigation
Releases
FastEmu v0.3.1
Fixed
- Games that keep a lot in memory, such as online games that keep every picture their server sends, no longer stop with "OutOfMemoryError: Java heap space" once they pass the phone's heap. The heap starts at the phone's size, which is what a game first reads, and doubles as the game needs, up to 128 MiB (#166).
Get it
| System | Download |
|---|---|
| Windows 10 and 11, x64 | fastemu-0.3.1-windows-x64-setup.exe: installs FastEmu for your account, with no administrator rights. Or fastemu-0.3.1-windows-x64-portable.zip: unpack it anywhere and run fastemu.exe |
| Linux, x64 | fastemu-0.3.1-linux-x64.AppImage: make it executable and run it. fastemu-0.3.1-linux-x64.deb for Debian and Ubuntu, fastemu-0.3.1-linux-x64.rpm for Fedora and other RPM systems, or fastemu-0.3.1-linux-x64.tar.gz to unpack anywhere |
| Linux, Arm64 | fastemu-0.3.1-linux-arm64.AppImage: make it executable and run it. fastemu-0.3.1-linux-arm64.deb for Debian and Ubuntu, fastemu-0.3.1-linux-arm64.rpm for Fedora and other RPM systems, or fastemu-0.3.1-linux-arm64.tar.gz to unpack anywhere |
| macOS 11 or later, Apple silicon and Intel | fastemu-0.3.1-macos-universal.dmg: open it and drag FastEmu onto Applications. Or fastemu-0.3.1-macos-universal.zip: unpack it and move FastEmu to Applications |
| Android 12 or later | fastemu-0.3.1-android.apk: allow installing from this source when Android asks |
| Any Linux, sandboxed, x64 | fastemu-0.3.1-linux-x64.flatpak: flatpak install ./fastemu-0.3.1-linux-x64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
| Any Linux, sandboxed, Arm64 | fastemu-0.3.1-linux-arm64.flatpak: flatpak install ./fastemu-0.3.1-linux-arm64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
First launch on macOS. The app is not notarized: open it once from System Settings > Privacy & Security > Open Anyway, or run xattr -dr com.apple.quarantine /Applications/FastEmu.app.
First launch on Windows. The setup and the program are not signed: if SmartScreen warns, choose More info > Run anyway.
Games. FastEmu does not include any. Add .jar files, with their .jad files when you have them, with Add game in the library. The README tells how.
From a terminal. On Linux and macOS, curl -fsSL https://github.com/fzn0x/FastEmu/releases/download/v0.3.1/install.sh | sh installs this release, checked against SHA256SUMS. On Windows, irm https://github.com/fzn0x/FastEmu/releases/download/v0.3.1/install.ps1 | iex in PowerShell runs its setup.
Verify downloads with SHA256SUMS: sha256sum -c SHA256SUMS --ignore-missing on Linux and macOS, or Get-FileHash on Windows, compared with the line of the file.
Full Changelog: v0.3.0...v0.3.1
FastEmu v0.3.0
Added
- A built-in phone of 240x400 with a touch screen, the size of Nokia's Asha 311 and of many Samsung and LG touch phones. A game whose JAD or manifest declares 240x400 now starts on it (#142).
Changed
- Compiled game code now calls the methods it has compiled straight away, instead of through the virtual machine's own call path, so a game's small methods cost less to call. The bench's recursive call test runs 3.5 times faster than in 0.2.0, its object test 4.2 times, its sort 29 percent faster and its small object test 18 percent (#128).
- Compiled game code now runs a game's smallest methods, such as the getters, setters and constructors of its objects, inside the code that calls them, without a call at all. The bench's small object test runs 8 percent faster than with direct calls alone; the other tests run as before, since their methods are too large to run this way (#128).
- Compiled game code now works out
Math.max,Math.minandMath.absitself, the library calls games make most, instead of calling into the virtual machine for each: a call takes under 1 ns where it took about 20. Stick Fight makes 63 thousand of them a second. The library's other short calls (aString's length and characters,StringBuffer's appends,VectorandHashtablereads and writes,Integervalues) skip the frame they were given, with compiling on or off. The bench's string test takes 6 to 16 percent less time and its collection test 13 to 18 percent less (#129). - Games that build text or keep lists and tables run faster.
StringBufferadds numbers and text without copying them first, andVectorandHashtableno longer look their own parts up by name on every call, nor take a lock no other thread holds or waits for. The bench's string test runs in 70 to 72 percent of the time it took, and its collection test in 54 to 55 percent, with compiling on or off (#129). - Compiled game code now makes objects and arrays itself, without handing each one to the interpreter, unless the heap is full and must be collected first. The bench's small object test runs 13 percent faster and its array test 3 to 8 percent. A game that fills its memory gets
OutOfMemoryErrorat the same point as before (#130). - FastEmu now compiles a game's methods of up to 2000 instructions, such as its drawing, which stayed interpreted past 500. Those over 500 compile with Cranelift's quicker register allocator, more than twice as fast as the rest, so they hold the game up half as long. Stick Fight takes a little more processor time in its first 40 seconds, while it compiles them, and less after: 27 ms a second against 38 with 0.2.0, for 3 MiB more memory at its peak. Its main loop, of more than 3000 instructions, stays interpreted, since compiling it took 4 MiB more again.
cargo xtask bench --interpretedalso runs each game with compiling off, to compare the two (#131). - Compiling a game's methods no longer holds the game up. The game's thread only checks a method and prepares it, about a tenth of the work, and the machine code is made on a thread of its own while the game goes on. In Stick Fight's first 45 seconds the game's thread waited 28 ms in all for its compiles instead of 361, and never more than 4 ms at a time instead of 33, a whole frame. The game takes as much processor time and memory as before (#131).
- A game's threads that sleep or wait now wake only when their time is up, when another thread notifies or interrupts them, or when the lock they wait for comes free, not for every repaint, key press or task of another thread. On the Android emulator, Stick Fight's game thread went from one or two such wakes a second to none, with the same frames on screen (#143).
- On Android and Linux, FastEmu's window sends a game's new frame to the graphics card through memory it reuses, instead of making a buffer for it in every frame, so a frame makes 10 fewer graphics calls. In Block Fall on the Android emulator, making those buffers took a tenth of the window's processor time, and the window no longer does it (#144).
- The benchmark page gives FastEmu 0.3.0's numbers. On Windows, the bench's call test takes 18.1 ms where it took 60.5, and MicroEmulator's lead in it fell from 26.7 times to 8.0; in its object test it fell from 48.4 times to 11.8. Real games still take 1.2 to 6.0 times less processor time on FastEmu than on MicroEmulator, and show a first frame 3.9 to 7.4 times sooner. The bench now also runs each game with compiling off: with it on, a frame took the same processor time in most games and 1.1 to 1.2 times more in three, and the game held up to 8 MiB more memory at its peak. On Android, J2ME Loader's lead in the call test fell from 51.4 times to 14.7, and FastEmu's app takes 2.2 to 2.7 times J2ME Loader's processor time in games, down from 2.3 to 2.9 (#146).
- On Android and Linux, a game thread that sleeps reads the clock once a sleep, not three times: the wait now hands the system the time to wake it, instead of asking the time before and after. On the Android emulator each read is a call into the kernel, about 7 microseconds; the processor time this saves there is within the noise of a run, and games draw the same frames (#152).
Get it
| System | Download |
|---|---|
| Windows 10 and 11, x64 | fastemu-0.3.0-windows-x64-setup.exe: installs FastEmu for your account, with no administrator rights. Or fastemu-0.3.0-windows-x64-portable.zip: unpack it anywhere and run fastemu.exe |
| Linux, x64 | fastemu-0.3.0-linux-x64.AppImage: make it executable and run it. fastemu-0.3.0-linux-x64.deb for Debian and Ubuntu, fastemu-0.3.0-linux-x64.rpm for Fedora and other RPM systems, or fastemu-0.3.0-linux-x64.tar.gz to unpack anywhere |
| Linux, Arm64 | fastemu-0.3.0-linux-arm64.AppImage: make it executable and run it. fastemu-0.3.0-linux-arm64.deb for Debian and Ubuntu, fastemu-0.3.0-linux-arm64.rpm for Fedora and other RPM systems, or fastemu-0.3.0-linux-arm64.tar.gz to unpack anywhere |
| macOS 11 or later, Apple silicon and Intel | fastemu-0.3.0-macos-universal.dmg: open it and drag FastEmu onto Applications. Or fastemu-0.3.0-macos-universal.zip: unpack it and move FastEmu to Applications |
| Android 12 or later | fastemu-0.3.0-android.apk: allow installing from this source when Android asks |
| Any Linux, sandboxed, x64 | fastemu-0.3.0-linux-x64.flatpak: flatpak install ./fastemu-0.3.0-linux-x64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
| Any Linux, sandboxed, Arm64 | fastemu-0.3.0-linux-arm64.flatpak: flatpak install ./fastemu-0.3.0-linux-arm64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
First launch on macOS. The app is not notarized: open it once from System Settings > Privacy & Security > Open Anyway, or run xattr -dr com.apple.quarantine /Applications/FastEmu.app.
First launch on Windows. The setup and the program are not signed: if SmartScreen warns, choose More info > Run anyway.
Games. FastEmu does not include any. Add .jar files, with their .jad files when you have them, with Add game in the library. The README tells how.
From a terminal. On Linux and macOS, curl -fsSL https://github.com/fzn0x/FastEmu/releases/download/v0.3.0/install.sh | sh installs this release, checked against SHA256SUMS. On Windows, irm https://github.com/fzn0x/FastEmu/releases/download/v0.3.0/install.ps1 | iex in PowerShell runs its setup.
Verify downloads with SHA256SUMS: sha256sum -c SHA256SUMS --ignore-missing on Linux and macOS, or Get-FileHash on Windows, compared with the line of the file.
Full Changelog: v0.2.0...v0.3.0
FastEmu v0.2.0
Added
- The benchmark page compares FastEmu's Android app with J2ME Loader 1.9.0 on an Android emulator, and says plainly where J2ME Loader is faster.
cargo xtask bench --androidruns it again (#76). - The Android app can write a bench log to logcat, for measuring it from a computer: each game's first frame, what it prints, its frame count and how it ended. It stays off unless turned on with adb (#106).
- A game you add starts on the built-in phone whose screen matches the size its JAD or manifest declares, read from
Nokia-MIDlet-Original-Display-Sizeor LG'sLGE-MIDlet-WidthandLGE-MIDlet-Height. The game's settings say which phone it has and why, and a phone you pick always wins (#123). - A game's screen now fills the space its tile has, in one tile, in the grid and in focus, and its edges stay sharp. The Screen size setting switches back to Sharp, which scales by whole steps only. On Windows and macOS the graphics card now enlarges the screen too, so the window no longer enlarges each new frame on the processor (#124).
Changed
- FastEmu runs a game's own code faster. Its virtual machine does the bench's processor and memory tests in 49 to 83 percent of the time it took, and a call between methods costs half as much (#77).
- The benchmark page gives FastEmu 0.2.0's numbers. On Windows, with the methods a game runs most compiled to machine code, the CPU kernels run up to 21 times faster than in FastEmu's interpreter and floating point 2.5 times faster than on MicroEmulator, and real games still take 1.2 to 6.5 times less processor time than on MicroEmulator. On Android, FastEmu runs floating point 1.6 times faster than J2ME Loader and integer arithmetic about as fast, and its app takes 2.3 to 2.9 times J2ME Loader's processor time in games, down from 2.8 to 3.4.
cargo xtask bench --interpretedalso runs the kernels with compiling off and compares the two (#78). - A running game no longer keeps FastEmu's window drawing at every refresh of the display: the window draws when a game has something new. On Android the graphics card now enlarges a game's screen, still sharp. There a moving game takes four to six times less processor time than before, and every frame it draws reaches the screen (#108).
- On Android and Linux, FastEmu's window makes fewer graphics calls in each frame, and it reuses the texture that holds a game's screen. On Android a moving game takes 16 to 20 percent less processor time than before (#110).
- FastEmu compiles the parts of a game's code that run most and only compute, such as its math loops, to machine code. The bench's integer, long and float tests run 18, 23 and 19 times faster. Code that works on objects, arrays and calls runs as before (#114).
- Compiled code now also reads and writes fields and arrays, calls methods, makes objects, casts, throws and takes locks, so whole game loops run as machine code. The bench's sieve and sort tests run 9.7 and 6.4 times faster, its object test 2.2 times, its recursive calls 1.5 times, and its string, collection and allocation tests 6 to 12 percent faster. A method compiles after 10000 calls, not 1000, and one of more than 500 instructions, such as a game's main loop and its drawing, stays interpreted, so compiling no longer costs a game more than it gains: compiling Stick Fight's main loop held the game up for 145 ms. Each object a game makes takes 16 more bytes of memory while compiling is on (#115).
- On Android, FastEmu takes less processor time while a game runs. The window draws a game's new frame at once instead of waiting for the display's next refresh, and the app reads the clock much less often. The sound output pauses after 2 seconds with nothing to play, and starts again with the next sound. On the Android emulator, moving games took 8 to 20 percent less processor time, and a still screen 60 percent less, with the same frames on screen (#125).
- A game you add to the library now starts with network access and the touch screen on, so online games connect and games made for touch phones show their menus. Either can be turned off in the game's settings; games already in the library keep the settings they had (#126).
Security
- The TLS that games use for
httpsandsslconnections takescurve25519-dalek5.1.0, which fixes RUSTSEC-2026-0620. The bug is in a backend that FastEmu's builds never turned on (#139).
Get it
| System | Download |
|---|---|
| Windows 10 and 11, x64 | fastemu-0.2.0-windows-x64-setup.exe: installs FastEmu for your account, with no administrator rights. Or fastemu-0.2.0-windows-x64-portable.zip: unpack it anywhere and run fastemu.exe |
| Linux, x64 | fastemu-0.2.0-linux-x64.AppImage: make it executable and run it. fastemu-0.2.0-linux-x64.deb for Debian and Ubuntu, fastemu-0.2.0-linux-x64.rpm for Fedora and other RPM systems, or fastemu-0.2.0-linux-x64.tar.gz to unpack anywhere |
| Linux, Arm64 | fastemu-0.2.0-linux-arm64.AppImage: make it executable and run it. fastemu-0.2.0-linux-arm64.deb for Debian and Ubuntu, fastemu-0.2.0-linux-arm64.rpm for Fedora and other RPM systems, or fastemu-0.2.0-linux-arm64.tar.gz to unpack anywhere |
| macOS 11 or later, Apple silicon and Intel | fastemu-0.2.0-macos-universal.dmg: open it and drag FastEmu onto Applications. Or fastemu-0.2.0-macos-universal.zip: unpack it and move FastEmu to Applications |
| Android 12 or later | fastemu-0.2.0-android.apk: allow installing from this source when Android asks |
| Any Linux, sandboxed, x64 | fastemu-0.2.0-linux-x64.flatpak: flatpak install ./fastemu-0.2.0-linux-x64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
| Any Linux, sandboxed, Arm64 | fastemu-0.2.0-linux-arm64.flatpak: flatpak install ./fastemu-0.2.0-linux-arm64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
First launch on macOS. The app is not notarized: open it once from System Settings > Privacy & Security > Open Anyway, or run xattr -dr com.apple.quarantine /Applications/FastEmu.app.
First launch on Windows. The setup and the program are not signed: if SmartScreen warns, choose More info > Run anyway.
Games. FastEmu does not include any. Add .jar files, with their .jad files when you have them, with Add game in the library. The README tells how.
From a terminal. On Linux and macOS, curl -fsSL https://github.com/fzn0x/FastEmu/releases/download/v0.2.0/install.sh | sh installs this release, checked against SHA256SUMS. On Windows, irm https://github.com/fzn0x/FastEmu/releases/download/v0.2.0/install.ps1 | iex in PowerShell runs its setup.
Verify downloads with SHA256SUMS: sha256sum -c SHA256SUMS --ignore-missing on Linux and macOS, or Get-FileHash on Windows, compared with the line of the file.
Full Changelog: v0.1.1...v0.2.0
FastEmu v0.1.1
Added
- The README and the website show FastEmu playing games: the window with six games at once on a macOS desktop, beside the Android app (#82).
- A setup for Windows:
fastemu-<version>-windows-x64-setup.exeinstalls FastEmu for your account without administrator rights. It adds a Start menu shortcut, a desktop shortcut when you tick its box, and FastEmu under Open with for.jarand.jadfiles, and Settings, Apps uninstalls it. The zip is nowfastemu-<version>-windows-x64-portable.zip(#84). - A disk image for macOS: open
fastemu-<version>-macos-universal.dmgand drag FastEmu onto Applications. The zip with the same app stays (#85). - More ways to install on Linux, for x64 and Arm64 alike: an AppImage that runs on most distributions, an
.rpmfor Fedora and other RPM systems, and a.debfor Arm64 beside the x64 one (#86). - A Flatpak for any Linux, for x64 and Arm64: install
fastemu-<version>-linux-x64.flatpakwithflatpak installor your software center. In its sandbox FastEmu sees the display, sound and the network, and only the files you pick (#87). - One line installs FastEmu from a terminal, checked against the release's
SHA256SUMS:curl -fsSL .../install.sh | shon Linux and macOS, andirm .../install.ps1 | iexin PowerShell on Windows. Both take a version to install and uninstall again (#88). - FastEmu in Homebrew and Scoop:
brew install --cask fzn0x/tap/fastemuon macOS, andscoop install fastemufrom the fzn0x bucket on Windows (#89).
Fixed
- On Windows, opening FastEmu from Explorer, a shortcut or the Start menu no longer opens a console window beside it. Typed in Command Prompt or PowerShell,
fastemustill prints into the terminal and returns the exit code, throughfastemu.com, the console program besidefastemu.exe(#83).
Get it
| System | Download |
|---|---|
| Windows 10 and 11, x64 | fastemu-0.1.1-windows-x64-setup.exe: installs FastEmu for your account, with no administrator rights. Or fastemu-0.1.1-windows-x64-portable.zip: unpack it anywhere and run fastemu.exe |
| Linux, x64 | fastemu-0.1.1-linux-x64.AppImage: make it executable and run it. fastemu-0.1.1-linux-x64.deb for Debian and Ubuntu, fastemu-0.1.1-linux-x64.rpm for Fedora and other RPM systems, or fastemu-0.1.1-linux-x64.tar.gz to unpack anywhere |
| Linux, Arm64 | fastemu-0.1.1-linux-arm64.AppImage: make it executable and run it. fastemu-0.1.1-linux-arm64.deb for Debian and Ubuntu, fastemu-0.1.1-linux-arm64.rpm for Fedora and other RPM systems, or fastemu-0.1.1-linux-arm64.tar.gz to unpack anywhere |
| macOS 11 or later, Apple silicon and Intel | fastemu-0.1.1-macos-universal.dmg: open it and drag FastEmu onto Applications. Or fastemu-0.1.1-macos-universal.zip: unpack it and move FastEmu to Applications |
| Android 12 or later | fastemu-0.1.1-android.apk: allow installing from this source when Android asks |
| Any Linux, sandboxed, x64 | fastemu-0.1.1-linux-x64.flatpak: flatpak install ./fastemu-0.1.1-linux-x64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
| Any Linux, sandboxed, Arm64 | fastemu-0.1.1-linux-arm64.flatpak: flatpak install ./fastemu-0.1.1-linux-arm64.flatpak, which fetches the freedesktop runtime from Flathub the first time |
First launch on macOS. The app is not notarized: open it once from System Settings > Privacy & Security > Open Anyway, or run xattr -dr com.apple.quarantine /Applications/FastEmu.app.
First launch on Windows. The setup and the program are not signed: if SmartScreen warns, choose More info > Run anyway.
Games. FastEmu does not include any. Add .jar files, with their .jad files when you have them, with Add game in the library. The README tells how.
From a terminal. On Linux and macOS, curl -fsSL https://github.com/fzn0x/FastEmu/releases/download/v0.1.1/install.sh | sh installs this release, checked against SHA256SUMS. On Windows, irm https://github.com/fzn0x/FastEmu/releases/download/v0.1.1/install.ps1 | iex in PowerShell runs its setup.
Verify downloads with SHA256SUMS: sha256sum -c SHA256SUMS --ignore-missing on Linux and macOS, or Get-FileHash on Windows, compared with the line of the file.
Full Changelog: v0.1.0...v0.1.1
FastEmu v0.1.0
Added
- Games can read and write text in the encodings of Japan, China, Taiwan and Korea (Shift_JIS, EUC-JP, ISO-2022-JP, GBK and GB2312, GB18030, Big5, EUC-KR), in UTF-16, and in the ISO-8859 code pages for Greek, Hebrew, Arabic, Cyrillic, Turkish, Baltic and other European languages, under the names Java accepts for them, so their menus and dialogue show up instead of question marks or a startup error (#2).
- Games can use the whole CLDC 1.1 class library: lists and tables, random numbers that match a phone's for the same seed, dates and calendars in the computer's time zone, timers, and reading and writing saved data and text in the game's encoding. A timer task that fails stops only that task, so the rest of the game keeps running (#2).
- FastEmu opens MIDlet suites from a .jar or a .jad, including JARs with a damaged central directory, manifests with a byte order mark or wrapped lines, and JADs whose JAR sits elsewhere, and runs each MIDlet's lifecycle: start, pause, resume, stop and its own exit (#3).
- Games draw on their canvas with shapes, text and images, get keys with repeats and touch events, and show their commands on the soft keys or in an options menu (#5).
- Games made with MIDP 2.0's game API now run: game canvases read their keys and draw off screen, and sprites, tiled backgrounds and layer managers draw, animate and collide as they did on phones (#6).
- Games keep their saves, settings and high scores between runs. Each instance keeps its own saves, a save survives the emulator being closed or killed mid-write, and a damaged save file still opens with whatever could be read (#7).
- The desktop window runs real games, with sound through the system's audio device (silent, and still running, when there is none). Games named on the command line are added to the library and started, and
fastemu --mockshows test patterns instead, for work on the window itself (#8). - Typing switches to text on its own while a game shows a text box, and back to the keypad when it closes; the text button on a game's title bar still switches by hand (#8).
- A game that cannot start gets its tile all the same, with the reason and a button to try again, and a crash shows its message in the game's tile (#8).
- A game's settings have a touch screen switch, which gives the phone a touch screen whatever its profile, so a touch game made for a 320x240 phone, such as Pixelus, can be played (#8).
fastemu runruns a game without a window for a number of frames or seconds, presses keys from a script, prints the game's log and saves a screenshot, for testing games in scripts and CI (#9).- The key script of
fastemu runcan touch the screen:tap@XxY,press@XxY,drag@XxYandrelease@XxYplay touch games such as Lines and Pixelus without a window, and--touchgives any phone profile a touch screen (#9). fastemu run --data DIRkeeps the game's saves in DIR, so a later run continues from them (#9).fastemu run --record DIR --every Nsaves every Nth frame the game draws as a numbered PNG, for videos and pictures of real play (#9).- The Android app runs real games, several at once, with sound, in the same library, grid and focus layouts, keypad and settings as the desktop window. Picked games are copied into a folder of their own, so a newer file with the same name never replaces a running game's JAR (#10).
- On a touch screen, a finger holds an on-screen keypad key for as long as it stays down, and touching a game's screen sends the game presses, drags and releases (#10).
- Games pause when the app goes to the background and the ones it paused resume when it comes back; a game you paused stays paused (#10).
- On Android, a game's text box opens a dialog with the system keyboard, and what you type there goes into the game (#10).
- Games play sound: tones and tone sequences, WAV (PCM and ADPCM), MIDI through a built-in synthesizer, MP3 and AMR, through MMAPI players and Nokia's Sound API. Each game has its own volume and mute, and a format FastEmu cannot play stays silent instead of stopping the game (#13).
- Games show their menus, forms, text boxes and alerts: lists, text fields, choice groups, gauges, date fields, scrolling tickers and the items a game draws itself, in a phone's look at any screen size. Text boxes take typing from the keyboard or multi-tap on the keypad, and the app knows when to send typed text (#14).
- Samsung 176x220 and LG 176x220 phone profiles, so games made for those phones find Samsung's sound clips, backlight and vibration, or LG's soft key codes and backlight (#15).
- Games written for Nokia phones run: full-screen
FullCanvasgames get their soft keys, and Nokia'sDirectGraphicsdraws and reads pixels in every Nokia format, with flips, rotations and translucent colours (#15). - Games made for Siemens phones run on the Siemens profile: its game and colour game packages draw sprites, tiled backgrounds and layers, play melodies, and give pixel access to black and white pictures (#15).
- Samsung sound clips play on Samsung profiles, and every maker's light and vibration requests show in the game's log. Text messages are never sent (#15).
- Each phone profile offers only its own maker's extra classes, so games that look for them pick the right phone (#15).
- Games can reach the network when you allow it for them: web requests over HTTP and HTTPS, sockets and datagrams. With the network off, the default, they see no signal and carry on. Games that try to send an SMS are told the send failed (#16).
- A game can ask to open a web page, such as more games from its maker. Its screen then shows the address with Open and Dismiss, and nothing opens until you choose Open. Calls, messages, files and installs that a game asks for are refused (#16).
- The README opens with a picture of six free games running in FastEmu, recorded with its headless runner (#18).
- The compatibility page lists the free games FastEmu was run with, what each one does today and what it still needs (#19).
- The guides have a benchmark page that compares FastEmu with MicroEmulator 2.0.4 on one Windows computer: how soon a game shows its first frame without a window, how much memory and processor time a game takes, many games at once, and where MicroEmulator is faster, which is running game code through Java's compiler (#56).
Fixed
- On Windows, games that pause between frames now run at full speed. A game's 10 ms pause took about 16 ms, which held simple game loops near 52 frames a second; pauses and timed waits now end within about a millisecond of their time on every platform (#1).
- A game that builds its own list, stack, table or print stream on the library's (changing how adding, removing, counting or writing works) now has its changes used by the library's other methods too, as on a phone, instead of having some of them skipped (#2).
- A game that runs on a repeating timer no longer races through the ticks it missed when it is resumed after a pause (#2).
- A key you hold when you pause a game is let go in the game, instead of staying down after you resume it (#8).
- Holding a phone key on the keyboard and on the on-screen keypad at once no longer lets it go when only one of them is released (#8).
- A click or touch held on a game's screen is let go when another game or another window takes the focus, instead of staying down in the game (#8).
- The log panel keeps up with a game's new lines while it shows the last one, also for a paused or stopped game, and stays put while you read older lines (#8).
- The window stays smooth when you press keys or tap while many games run on a busy computer. Each key press waited until the game it went to let go of its machine: with eight games and every core busy, up to 74 ms, longer than four frames. Now it never waits for a game and returns within a few milliseconds (#8).
fastemu run --frames Ncounts frames of the screen, 60 a second, instead of pictures the game draws, so a game that redraws rarely, such as Tetris with one picture every 800 ms, no longer keeps the runner going for minutes. A still screen, such as a game-over screen, no longer fails the run after 30 seconds; only a game that shows nothing at all does (#9).- The README, the guides and the website say what FastEmu does today: touch games play on any phone profile with the touch screen switch, text messages are never sent, Samsung and LG classes wait for phone profiles of their own, and the FAQ says where saves are, why a game may ignore taps and whether 3D games run (#18).
- The contributing guide lists the test tools (the conformance MIDlets and
cargo xtask stubs,coverageandcompat) and asks for a JDK 9 or newer, which the tests need (#18). - Games that make new pictures all the time, such as Shooter, no longer take more and more memory while they run. Shooter grew by about 5 MB a second, so eight games side by side passed 400 MB in a minute; now they stay near 100 MB (#19).
- The compatibility report no longer calls a game hung when it waits for a key on a still screen, such as an About page. A game whose screen stays still counts as running when it still answers and none of its threads is busy; a stuck game stays hung, and the report says why (#48).
- A game that starts a new timer for each screen, level or effect, and lets the old ones go without stopping them, no longer fails with OutOfMemoryError after about 62 of them. The timers it has let go of give their threads back once they have nothing left to run (#49).
- A game that ends, by exiting or by crashing, gives its memory back once its threads have ended, while its tile still shows its last screen, its log and how it ended. Before, it held that memory until you closed the tile: over 30 MB for a game that filled an 8 MB phone with small objects, and closing that tile held up the window for 10 to 20 ms (#51).
- Changing a running game's volume, muting it or changing its settings no longer makes the window wait for the sound. ...