Repository navigation
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