Super Mario Land 2 DX GBC PC-Port by edremix

Release 2.3 | Windows x64 and Android ARM64

Windows first run

Use the main Start-menu shortcut or Launch.exe. The launcher checks the ROM, starts the game without a console window, and writes Game.log into %LOCALAPPDATA%\edremix\SML2_DX. Use the Original, 4:3 and 16:9 Start-menu shortcuts to select a format directly. The main shortcut uses your saved preference.

- Arrow keys: move. Z: A. X: B. Enter: Start. Right Shift: Select.

- F10 or Escape: runtime settings. The local options section is labelled Spieloptionen in the current German game UI.

- F2: cycle Original, 4:3 and 16:9. The last two stretch the original image; black bars can remain outside the selected aspect rectangle on a differently shaped monitor.

- Hold R: rewind. Hold Tab: approximately 2.5x fast-forward. The settings menu also offers 4x speed and an approximately one-second rewind button. Actual speed depends on the device; fast-forward can mute audio.

- Controller: D-pad/left stick for movement, LT for rewind, RT for fast-forward, L3/R3 for the runtime menu. Configure the controller bindings in the runtime menu. Availability depends on the Windows/SDL controller mapping.

Cheats and rewind

Cheats are initially off on each program start. Enable them individually in the local game options section. This game includes Keep 999 coins and Freeze timer. Disabling a cheat stops forcing its value; it does not undo already awarded lives/coins. Timer cheats are limited to normal play so level-completion sequences can proceed.

Rewind is an in-memory history, not a replacement for a persistent save. Its available duration depends on memory/runtime behavior (up to approximately 30 seconds in the current configuration). Changing aspect resets the rewind history. Back up save files before experimenting with cheats.

Android menu and touch setup

The application UI can be switched between English and German. English is the default. Windows: select Language / Sprache at the top of the settings menu. Android: Menu > Display & orientation > Language / Sprache. The choice is saved and applies immediately; controller/touch layouts and gameplay settings are preserved. The following German labels are included as a reference. The top bar offers Menü (Menu), Bildformat (Aspect) and Tasten ein/aus (Show/hide controls). The compact menu pauses play. Weiterspielen (Resume) closes it. Main buttons: Cheats, Bild & Lage (Display & Orientation), Touch-Steuerung (Touch Controls), Gamepad, Tempo (Speed), and 1 Sekunde zurück (Rewind One Second).

Under Bild & Lage choose Hochformat (Portrait), Querformat (Landscape) or Automatisch drehen (Auto-rotate). Original preserves the original ratio; Vollbild strecken (Stretch Full Screen) fills the available game area. Portrait with visible controls reserves a control deck below the game. The toolbar remains available.

Under Touch-Steuerung adjust Tastengröße (Button Size) and Deckkraft (Opacity). Select Tasten verschieben (Move Buttons), drag the controls and tap Fertig (Done). Portrait and landscape store separate positions, sizes and opacity. Layout zurücksetzen (Reset Layout) affects the current orientation. Play remains paused while editing. Tasten aus/ein hides or shows all game controls without opening the menu.

Android gamepad setup

Pair the controller through Android Bluetooth settings. For GameSir G8 Plus, the manufacturer's normal Android mode uses a yellow indicator and the name GameSir-G8+. The separate GameSir-G8+_G mode is G-Touch screen mapping. In Menü > Gamepad, Eingaben testen (Test Inputs) displays Android input devices and received button/axis events. Tasten belegen (Map Buttons) offers two short action pages; choose an action, then press the physical button. A/B tauschen swaps A/B; Belegung zurücksetzen resets custom mappings. Use D-pad/stick and A to operate the native menu; B closes it. During the input test, buttons are recorded instead of navigating.

The Android path directly merges digital, analog and touch input without requiring an SDL controller mapping. A deadzone filters stick drift. LT/L1: rewind; RT/R1: fast-forward; L3/R3: menu. Input is released on disconnect, app pause or focus loss. A connected Bluetooth device still needs to emit standard Android controller events. The user has reported successful device/controller testing on the reported Samsung/G8 Plus combination.

Troubleshooting and backups

- Rejected/missing ROM: use the exact size/hash in Installation.html. Re-run the installer or restore the matching game.gbc; the launcher verifies it before starting.

- Missing DLL: re-run the installer; keep all runtime files together.

- Game exits or shows a blank window: inspect Game.log, update the graphics driver, and report the level/action and log. Full game coverage has not been established.

- Controller connected but no input: check the Android input test and controller mode; on Windows inspect the controller bindings.

- Settings/save problem: open User Data, close the game before editing files, and back up the folder. The optional SML_DATA_DIR environment variable can redirect the Windows launcher's data folder to an absolute writable path. Leave it unset for normal use.

- Android app data survives a same-key update but is normally removed by uninstalling the app. Back up important progress before reinstalling.

Provenance

GameSir connection reference: https://gamesir.com/pages/tutorial-how-to-connect-g8-plus

Runtime/recompiler: https://github.com/mstan/gbrecompiled

Import and export save games — new in 2.3

Windows: press F10 or Escape, then select Save games / Spielstände near the top. Android: Menu / Menü > Save games / Spielstände. Select Export checkpoint / Spielmoment exportieren or Import checkpoint / Spielmoment importieren. Use the system file picker to choose the location.

A .smlsave checkpoint stores the current game moment, including RAM and hardware state. It requires the same game, platform and a compatible build. Windows/Android checkpoint interchange and compatibility with other emulators are not promised. The loader validates ROM identity, build ABI, size and checksum. Existing compatible .state slot files can also be selected. A damaged/incompatible import leaves live progress unchanged.

Before each import, the current moment is saved automatically to User Data / Save Backups. A failed backup prevents import. Windows: open User Data from the Start menu; import a backup checkpoint to restore it. Android: use Export latest backup in the Save games menu, then import that file. Keep important exports somewhere outside the app; uninstalling Android can remove private backups.

Super Mario Land 2 DX additionally offers Export .sav and Import .sav for its normal cartridge progress. A matching raw .sav must contain exactly 8,192 bytes. Raw .sav files carry no ROM identity: choose a save from the same DX version. A .sav import restarts the machine so the game reads the imported progress. These battery saves are the format to use for normal progress transfer between Windows and Android. Super Mario Land DX has no original battery saving and uses checkpoints to preserve progress.

The game stays paused during the transfer. Rewind history is cleared after an import. Settings, controls and touch layouts are not part of the transfer. Cheats remain application options: turn them off before loading a clean save. Automatic backups contain no ROM.