Evertopia

Evertopia is a native PC recompilation port of Secret of Evermore for Windows, Linux, and Android with smooth frame pacing and improved performance.

README

Secret of Evermore PC — Native Recompilation (Evertopia)

A native PC static recompilation port of Secret of Evermore (SNES, USA), built on snesrecomp and recomp-ui.

Legal Notice: You must legally own a copy of Secret of Evermore (USA). No ROM data, copyrighted game code, or assets are distributed in this repository or in any release package. Recompiled game C sources are generated locally on your machine from your own verified ROM dump.


Custom Soundtracks (FLAC / OGG / WAV / MP3 / MSU-1)

Want to swap in one favorite remix, replace a few boss themes, or play the entire game with an orchestral or MSU-1 soundtrack? No converters, no patching, and no config files required — just drop your audio files into the soundtracks/ folder and hit Play.

Evertopia automatically isolates background music from the SNES SPC700 sound chip, so every gameplay sound effect (sword swings, dog barks, alchemy casts, menu beeps) stays 100% intact while your custom tracks fade in, fade out, and pause right alongside the game.

Quick Start (30-Second Setup)

When you launch Evertopia, it automatically creates a soundtracks/ folder right next to the app with two helpful files inside: README.txt and TRACKLIST.txt.

  1. Find the song number in soundtracks/TRACKLIST.txt (for example, 21 = Main Title, 08 = Southern Jungle, 16 = Major Enemy).
  2. Rename your audio file so it starts with that number — anything after the number is optional:
    • 21.mp3 (works!)
    • 21 - Main Title.flac (works!)
    • 08_Southern_Jungle.ogg (works!)
    • 0x15.wav (hex IDs work too!)
    • Main Title.flac (exact song titles work too!)
    • soe_msu-21.pcm (SNES MSU-1 .pcm files work natively!)
  3. Drop the file into soundtracks/ and play!
    • Any track you don't replace automatically keeps playing the original SNES music — partial packs work out of the box.
    • If a file is ever corrupt or unreadable, Evertopia won't crash; it simply logs a warning and falls back to the original SNES track.

Supported formats: .flac, .ogg, .wav, .pcm (SNES MSU-1), and .mp3. If you put multiple formats of the same track in the same folder, Evertopia automatically picks the highest quality: FLAC → OGG → WAV → PCM (MSU-1) → MP3.

Volume Tip: Modern mastered FLACs and MP3s are often louder than raw 1995 SNES audio. Evertopia defaults Custom Music Volume to 70% to balance the mix, and you can dial it anywhere from 0% to 150% live in Settings → Audio Options → Custom Music Volume.

Multiple Soundtrack Packs & Live Switching (Optional)

Want to keep several soundtracks installed and flip between them mid-game? Just give each soundtrack its own subfolder inside soundtracks/:

soundtracks/
├── Orchestral/
│   ├── 21 - Main Title.flac
│   └── 08 - Southern Jungle.flac
└── Chiptune_Remix/
    └── 08.ogg

Open the in-game menu (F1 / Esc / LT) → Audio Options:

  • Soundtrack Pack: Switch live between Default (soundtracks/), Original (SPC), and any subfolder pack — no restart needed!
  • Custom Music Volume: Independently adjust custom soundtrack loudness without changing SFX volume.
  • Rescan Soundtrack Packs: Pick up newly added songs or folders while the game is still running (and refresh TRACKLIST.txt + README.txt).

You can also preview any original or custom track right inside the In-Game Jukebox (Debug Overlay F2 / RT → Jukebox), which shows all 69 named tracks along with whether each track is playing [Original SPC] or [Custom: FLAC/OGG/WAV/PCM/MP3].

Where Is soundtracks/ Located?
  • Linux & Windows: Inside your Evertopia folder, right beside the Evertopia executable (Evertopia/soundtracks/).
  • Android: Inside Evertopia's accessible app folder: Android/data/com.evertopia.app/files/soundtracks/ (accessible via USB or Android file managers — no root or extra permissions required).
Advanced: Custom Loop Points & Per-Track Volume (Optional)

By default, custom songs loop seamlessly from end to start (and short fanfares like Item Fanfare, Victory Fanfare, Good Night, and Game Over play once). If your track has an intro you only want to hear once, Evertopia supports three seamless looping methods:

  1. Embedded Audio Tags (OGG / FLAC): Automatically reads standard LOOPSTART and LOOPLENGTH (or LOOPEND) tags in PCM sample frames (the same standard used across RPG Maker, Godot, and MSU-1 communities).
  2. SNES MSU-1 (.pcm): Automatically reads the standard 8-byte MSU1 header and sample-accurate 32-bit loop point (44.1 kHz 16-bit stereo PCM).
  3. Optional pack.json (Any Format): Drop a small pack.json file into soundtracks/ or your pack subfolder to set loop points (in seconds like 4.25 or exact PCM sample frames), one-shot playback ("loop": false), or per-track volume trim ("gain_db"):
{
  "08": {
    "loop": true,
    "loop_start": 4.25,
    "loop_end": 128.5,
    "gain_db": -3.0
  }
}

What's New

v1.1.2
  • macOS Auto Renderer Startup Fix (PR #4 by @Morales5T):
    • Fixed startup failure on macOS SDL3 builds (such as Apple Silicon) when [Graphics] Renderer = auto is active and no Vulkan portability library is installed (Failed to load Vulkan Portability library), even though SDL lists Vulkan as an available driver.
    • On macOS (__APPLE__) SDL3 builds, Auto now passes "vulkan,metal,opengl" to SDL_HINT_RENDER_DRIVER so SDL3 automatically falls back to Metal (or OpenGL) when Vulkan fails to initialize, while explicit renderer choices retain their existing behavior.
  • All Platforms Updated (v1.1.2): Rebuilt and published Linux x64 Setup Pack, Android arm64 APK (versionCode 10102), and Windows x64 Setup Pack.
v1.1.1
  • Launcher Dashboard Non-Scrolling Auto-Fit & Unlocked Window Resizing:
    • Adjusted the launcher's default and fallback geometry to 1080×850 logical UI units so both the ROM Info / Save card (left) and Player / Controller / Extractors panels (right) fit completely on boot with zero vertical scrollbars.
    • Restored live desktop window resizing (SDL_WINDOW_RESIZABLE, minimum 480×400 logical UI units) across SDL3 and SDL2 backends, fixed fractional HiDPI rounding (+0.5f) to eliminate 1 px per-launch shrinkage, preserved non-maximized custom sizes across restarts, and automatically migrated legacy locked ~1076×717 launcher window configs (format_version=2).
  • All Platforms Updated (v1.1.1): Rebuilt and published Linux x64 Setup Pack, Android arm64 APK (versionCode 10101), and Windows x64 Setup Pack.
v1.1.0
  • Custom Soundtrack System (soundtracks/ — FLAC, OGG, WAV, MP3 & MSU-1 .pcm):
    • Drop audio files directly into soundtracks/ (or organize multiple packs into soundtracks/<PackName>/ subfolders) using flexible numeric ID, hex ID (0x15), canonical title, or MSU-1 (-21.pcm) matching with automatic quality priority (FLAC → OGG → WAV → PCM → MP3) and seamless partial-pack fallback to original SNES audio.
    • SPC700 BGM-Only Voice Isolation: Silences only SPC700 background music voices while preserving 100% of native SNES gameplay sound effects, and tracks the game's live BGM volume register so room fades, cutscenes, and pauses drive custom tracks smoothly.
    • Zero-Dependency Background Streaming & Seamless Looping: Vendored single-header public-domain/MIT decoders (dr_flac, stb_vorbis, dr_wav, dr_mp3, plus native MSU-1 .pcm) stream from disk on a background thread into a lock-free SPSC ring buffer with embedded LOOPSTART/LOOPLENGTH/LOOPEND tag support and optional per-track pack.json overrides (loop, loop_start, loop_end, gain_db).
    • In-Game Audio Controls & Auto-Generated Guides: Added Soundtrack Pack (live switching), Custom Music Volume (0–150%, default 70%), and Rescan Soundtrack Packs to Audio Options, plus auto-generated soundtracks/README.txt and soundtracks/TRACKLIST.txt on launch.
  • Complete 69-Track Canonical Song Names Everywhere:
    • Audited all 69 playable internal ROM song IDs directly against Secret of Evermore's scripts and updated the In-Game Jukebox (now showing [Original SPC] / [Custom: <EXT>] status), Debug HUD music badge, Launcher SPC Jukebox (automatically upgrading legacy Track XX (ID $YY).spc filenames), and both SPC and MP3 exporters (00 - Machinery through 69 - Intruder Alarm).
  • All Platforms Updated (v1.1.0): Rebuilt and published Linux x64 Setup Pack, Android arm64 APK (versionCode 10100), and Windows x64 Setup Pack.
v1.0.0
  • Smooth Frame Pacing & High-Refresh VSync Lock:
    • Fixed an audio buffer watermark collision (HOST_AUDIO_HIGH_WATER == RTL_AUDIO_TARGET_NATIVES = 1600) that stalled RtlRunFrame() for 4–12 ms every frame waiting on audio callbacks; raised HOST_AUDIO_HIGH_WATER to 4096 for stutter-free audio and simulation.
    • Hardened decoupled high-refresh (100 Hz+) VSync pacing with dynamic sim/draw work prediction, instant VSync lock after boot/loadstate/menu close, precision low-CPU SDL_DelayNS hybrid deadline sleeps, unconditional 3-PBO OpenGL uploads, and continuous subpixel camera residuals across alpha == 1.0 VBlanks (eliminating 20 Hz scroll hitches).
    • Added Linux X11 compositor bypass (SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR=1) for Cinnamon/Muffin fullscreen and default __GL_YIELD=USLEEP to eliminate NVIDIA GLX VSync busy-spin.
  • CPU & Render Performance Overhaul (~48% Lower CPU Usage):
    • Declared Secret of Evermore's $80:858F VBlank wait loop as an interrupt-only idle poll (cutting interpreted instructions in half), enabled bit-exact fast runtime defaults (SLICE8 CRC32, FUSED ROM reads, NATIVE APU timing & DSP mixing, HLE frame staging & 8bpp PPU), pre-allocated rewind ring buffers to eliminate demand-paging spikes, and added Bloom empty-row skipping + static-frame post-FX caching.
  • All Platforms Updated (v1.0.0): Rebuilt and published Linux x64 Setup Pack, Android arm64 APK (versionCode 10000), and Windows x64 Setup Pack.
v0.9.14
  • What's Fixed — Subpixel Sprite Interpolation Glitching & Horizontal Teleporting:
    • Fixed Widescreen Edge Sprite Teleporting (+81 px / −81 px): Fixed RenderInterpolatedSprites() reading the live ppu->extraFrameLeft (which host_main resets to the symmetric widescreen budget before the next frame begins) on alpha == 1.0 presentations and unmatched/newly-spawned sprites. It now always uses the captured s_frame_left_curr from SoeCapturePostSimState(), eliminating the violent horizontal jumping to/from the right (or left) near view-anchored map edges. Also resets interpolation state cleanly on save-state load (SoeLoadStateSlot()).
    • Two-Pass 1-to-1 World-Space OAM Correspondence Matching: Replaced greedy per-slot matching (and stopped applying the 28 px Enhanced Ring Menu opening radius during normal gameplay) with a global 1-to-1 minimum world-space distance matcher across camera scroll and extraFrameLeft deltas. Pass 1 matches identical (size, tile + palette + flip) sprites globally so multi-segment enemies sharing tiles (such as Bugmuck vines/tentacles) never cross-match or snap across OAM slot shuffles; Pass 2 tracks animated tile changes 1-to-1 within a tight 4 px world radius; newly spawned sprites lock cleanly to the subpixel background.
    • Fixed High-Hz Presentation Rate Clobbering: SoePresentationHz() no longer overwrites s_active_pres_hz to 60.1 Hz when probed with display_refresh <= 0 by PresentationDecoupled(), keeping high-refresh sprite interpolation reliably active on 100 Hz+ displays.
    • Matching PPU Widescreen OAM X-Decoding: Added SoeDecodeOamX() + left-hint visibility checks matching PpuDecodeOamX() so margin sprites never wrap by 512 px.
  • Enhanced & Optimized Subpixel Sprite Renderer (Off by Default):
    • Unconditionally enabled the per-frame s_sprite_tex_cache with tight opaque bounding-box tracking (min_row..max_row, min_col..max_col) and fast-skip for empty 8 px tile slivers and fully transparent sprites (removing the 16 KB per-call stack buffer).
    • Replaced 3 integer divisions per edge pixel in bilinear sprite compositing with exact rounded premultiplied blending ((sum + bg * inv + 32768) >> 16), removing edge darkening and speeding up high-Hz composition.
    • Aligned world Z-buffer (wsMainPrioHi) lookups with the subpixel camera shift (z_bias_x, z_bias_y) on scanlines 0..191 for crisp foreground occlusion while scrolling.
    • Default: Subpixel Sprite Interpolation remains Off (OFF (60 Hz Snap)) by default out of the box and after resetting defaults.
  • All Platforms Updated (v0.9.14): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 914), and Windows x64 Setup Pack releases.
v0.9.13
  • New MENU SETTINGS Section & Full-Size Native SNES Menu Font: Added a MENU SETTINGS section under the Game tab (grouping Menu Font and Dialog Box Theme).
    • Menu Font (Compact (6px) / Full Size (8px)): Toggle the slide-out menu between the compact 6px HUD font ($C4:0C82) and Secret of Evermore's native full-size 8px in-game dialog/menu font ($C4:0000) with matching 1px drop shadows — saved in Configs/video_config.json.
    • Responsive Full-Size Layout: Added smooth vertical scrolling with ^/v indicators and hit-testing to the Game tab, scaled the Video tab window, tab bar, highlight bars, confirmation modal, Help tab, and footer hints so everything fits cleanly at 4:3, 16:9, and 21:9.
  • What's Fixed — 1-Pixel 4:3 Pillarbox Alignment: Removed the 1-pixel inward over-clamp (extra + 1 / extra + 255) on pillarboxed screens and extended the Original Mode pillarbox clamp through the full 224px height so the world (y = 0..191) and HUD (y = 192..223) edges are completely flush with zero step at row 192.
  • All Platforms Updated (v0.9.13): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 913), and Windows x64 Setup Pack releases.
v0.9.12
  • What's Fixed — Original Mode 4:3 HUD Positioning: Fixed the status bar HUD (portraits, HP, and stamina bars) remaining split to the outer widescreen margins when Original Mode (On (4:3)) is enabled.
    • While Original Mode is active, the two-character (Boy + Dog) HUD is now anchored inside the centered 4:3 pillarboxes just like the original 1995 SNES release, while the single-character HUD stays centered.
    • Turning Original Mode off immediately restores your saved Status Bar HUD Position (Move Left Margin / Original 4:3 Center) without overwriting it; Video Options → Status Bar HUD Position also displays Original 4:3 (Orig) while Original Mode is active.
  • All Platforms Updated (v0.9.12): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 912), and Windows x64 Setup Pack releases.
v0.9.11
  • Original Mode (Game Options Toggle): Added an Original Mode (On (4:3) / Off) toggle under Game Options → GAME SETTINGS so you can flick classic 1995 SNES presentation on and off anytime without disturbing your saved preferences.
    • 4:3 Pillarboxing Across All Maps: Forces centered 4:3 pillarboxing on every map and menu screen (and disables Mode 4 side-margin mosaic) without reading or writing map_pillarbox.json.
    • Classic SNES Ring Menu: Switches to the original SNES ring menu while Original Mode is active without modifying your saved enhanced_ring_menu preference.
    • Original Blue Checkerboard Windows: Bypasses custom Glass dialog themes, defaults the window background to the authentic 1995 blue checkerboard (0x1944), and keeps in-game Window Prefs strictly on classic SNES patterns without overwriting dialog_config.json.
    • Instant Preference Restore: Turning Original Mode off immediately restores your preferred widescreen/pillarbox, ring menu, and Glass dialog theme settings.
  • All Platforms Updated (v0.9.11): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 911), and Windows x64 Setup Pack releases.
v0.9.10
  • Swamp / Dark-Surface Widescreen Snap Fix (Map 103 & Ultrawide): Fixed horizontal screen snapping when standing still or walking near dark playable surfaces such as the Prehistoria Swamp tar pits (Map 103, $0067) in 21:9 ultrawide.
    • Tightened the uniform-void RGB555 color threshold in SoeIsTileUniformVoid() and SoeRoomColHasContent() from <= 4 to <= 2, so true near-black multi-chamber void walls still clamp cleanly while dark surfaces like Swamp tar (R=3, G=3, B=4) are never mistaken for void or toggled back and forth by animated tar bubbles.
  • All Platforms Updated (v0.9.10): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 910), and Windows x64 Setup Pack releases.
v0.9.9
  • Parallax Map Edge Widescreen Clamping Fix (Map 56 & All Parallax Maps): Fixed a bug where walking all the way to the left edge (X = 0) or top edge (Y = 0) of parallax-scrolling maps (such as Map 56 — Prehistoria Jungle) caused the screen to suddenly snap into a 4:3 pillarbox until walking back away from the edge.
    • When BG1 and BG2 share the same scroll (0) on one axis at a map boundary while diverging via parallax on the perpendicular axis, SoeGetWorldCamScrollLayer() now falls back to checking the perpendicular axis instead of defaulting to BG1 (the sparse canopy layer), keeping BG2 (the playable ground) selected so the viewport anchors seamlessly in full widescreen.
  • Game Tab Description Cleanup: Fixed a misaligned footer description array (kGameDescs) on the Game tab after moving Ring Menu to the Fixes tab.
  • All Platforms Updated (v0.9.9): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 909), and Windows x64 Setup Pack releases.
v0.9.8
  • Brighter Selected Menu Text Highlight: Brightened the theme-tinted highlight text color (sel_text_col) on the currently selected menu item across all glass themes and the classic blue theme so active selections stand out more clearly and are easier to read.
  • Consistent On / Off Setting Labels: Standardized all settings and toggles across the menus from "ON" / "OFF" to "On" / "Off".
  • Moved Ring Menu Setting to Fixes Tab: Moved the Ring Menu (Enhanced / Original) toggle from the Game tab to the Fixes tab alongside the other gameplay fixes.
  • Android Touch Overlay Default Opacity (20%): Confirmed 20% as the default and first-boot opacity for the Android touch controller overlay.
  • All Platforms Updated (v0.9.8): Rebuilt and updated Linux x64, Android arm64 APK (versionCode 908), and Windows x64 Setup Pack releases.
v0.9.7
  • Android Joypad-Only Menu Navigation: Menus, tabs, Debug Tools, and "ARE YOU SURE?" confirmation dialogs on Android are now controlled strictly via joypad input — either a plugged-in/Bluetooth physical controller (matching the Linux/desktop controls) or the on-screen touch controller overlay (Thumbstick to move, A to activate/confirm, B to close/cancel, L/R to switch tabs, LT for Slide-Out Menu, RT for Debug Tools). Direct screen-tap clicking on menu items is disabled on Android to prevent accidental taps.
  • Swipe-to-Restore Overlay Failsafe: When the touch overlay is turned Off and no physical controller is connected, sliding a finger across the screen re-enables the touch overlay and opens the Settings menu so you immediately have joypad navigation back.
v0.9.6
  • **Android Touch Overlay Refinements (LT/RT Triggers, Opacity Sett