Resource icon

[Revival] SDTL 2 1.0.0

Please register for a free account to download
Hey everyone — picking up where some_dude left off in August 2022 when SDTL 2 (0.1.2) was paused and its source was left open for the community to continue.

All credit for the original Electron + Express + SDTL2.swf architecture goes to some_dude, and all credit for the loader pack & mods goes to sby and the original mod authors.

Why This Revival Exists

Looking back at the original thread, SDTL 2 stalled for a few practical reasons:

No Linux PepperFlash setup (some_dude noted in Feb 2021 they didn't have Linux/Mac builds to extract libpepflashplayer.so), plus Linux case-sensitivity broke Mods/$INIT$/Mods.txt merging and 25+ Windows-capitalized mod paths.
Cramped fixed 700×600 layout with permanently open sidebars squeezing the game into a corner, and default F2/F4/F5 hotkeys colliding with AnimTools.
2020 build toolchain bitrot (Node/Webpack/TypeScript) and missing developer docs/scripts.
Heavy CPU overhead when running a fully stacked sby loader pack 17 (moreclothingV16 + 549 UI controls redrawing every frame + fullscreen darkenpassoutV2 overdraw).
What's New & Fixed
1. Working Linux x64 Build + Developer-Friendly Git Repo
64-bit Linux PepperFlash (32.0.0.371 pre-EOL) verified with Chromium 85 / Electron 10.1.5 + repeatable install_flash.sh.
Case-insensitive Express asset & mod server (resolveCaseInsensitive) — fixes Mods/$INIT$/Mods.txt merging, dynamic CharacterFolders.txt, Browse API, and all Windows-capitalized mod/settings/thumbnail paths on Linux with zero symlinks.
CWD-independent launching (settings.json, extensions.json, and flash.so resolve relative to the app directory) + server readiness wait + URIError 400 hardening.
Full Git repo + repeatable scripts (build.sh, repack_asar.sh, build_swfs.sh, test_routes.py, visual_check.py, benchmark.sh), README.md, CHANGELOG.md (with revert steps and .orig backups), and a consolidated docs/AS3_REFERENCE.md extracted from SDT.swf & Loader.swf.
2. Resizable Window, Unclipped Widescreen & Live Quality Control
Freely resizable & maximizable window (1280×800 default, 640×480 min) with persisted window geometry (window-state.json).
Collapsible & drag-resizable sidebars (CharCode/Anim on the left, Browse/SDT Booru/Characters on the bottom) starting collapsed by default so the game gets the full stage.
Configurable Flash scaling (letterbox, unclipped for widescreen off-stage backgrounds/art without stretching, or stretch) in settings.json.
New top-left View ▾ → Quality dropdown wired live over SDTL2.swf (Low, Medium, High default, Best, 8x8, 8x8 Linear, 16x16, 16x16 Linear), verified working across all window sizes and fullscreen.
AnimTools-safe Handy.json defaults (F10 reload, F12 DevTools, ` fullscreen, , sidebars).
3. Hardware GPU Acceleration & ActionScript 3 Optimizations (Full sby Pack 17)
Verified GPU acceleration (Chromium ANGLE + wmode=gpu + hardware compositing & flash_3d: enabled, with clean --disable-gpu fallback).
New PepperFlash-safe perfoptV1 mod: Pauses idle ENTER_FRAME vector redraws on the 549 Modules.Controls / cust_Modules.Controls objects (waking cleanly on hover/drag/scroll/tab-switch) and enables safe cacheAsBitmap on static backgrounds, menu panels, and labels (never touching character parts, masks, or fluid layers).
Targeted AS3 fixes & rewrites (all .orig backed up, 100% .swf mod compatibility preserved):
Fixed darkenpassoutV2 leaving fullscreen blendMode="subtract" and blackover visible every frame when inactive.
Optimized moreclothingV16 startup batching (plus restored public var modactive for loadingscreenV2), throatcumbulgeV6 zero-alloc neck.render(), moremoodsV19 Normal-mood eye fast path, TemplateExtensionV10_sby, penisrangeV8, strandzoomfixV2, vanillaarmpatchV3, and 11 unconditional per-frame button-redraw mods.
Measured Real-Display Benchmarks (Full sby Loader Pack 17, StageQuality: HIGH, DISPLAY=:0)



Metric Before After (M4) Gain
Startup (t_loaded) 22.665 s 17.083 s -5.582 s (-24.6%)
Idle FPS (1% low) 16.55 (12.22) 16.97 (13.04) +0.42 avg / +0.82 1% low
Auto Mode FPS (1% low) 16.14 (7.16) 19.13 (4.79) +2.99 avg (+18.5%)
Heavy Fluids FPS (1% low) 7.78 (3.75) 19.56 (4.44) +11.78 avg (+151.4%) / -79.72 ms frame time

(Tested with 0 AVM2 runtime errors in debug flashlog.txt, visual screenshot checks across 5 resolutions, and full AM/NZ character pack + .swf mod compatibility.)





lowkey jsut chucked gemini student plant at this it seemed to help
Author
wiposox464
Downloads
28
Views
156
First release
Last update
Rating
0.00 star(s) 0 ratings
Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.