Repository navigation
Releases
JSRF UNLEASHED NX v0.5.6-switch
v0.5.6-switch
One fix on top of v0.5.5: custom music no longer wedges the game. Everything v0.5.5 carried, including its freeze fixes and the main-cycle performance base, is part of this build.
Custom music wedge fixed (issue #2)
Playing a custom track to the end used to silence all music afterwards. The game would play the track fully, then never start another one: the next pick sat stuck, the stock track never ended, and no new stream took over. That is the "opens but silent" bug from issue #2.
The cause was in the port's file-read bridge, not in the game or the music code. When a stream read failed at the end of a file, the bridge reported the error and queued the completion anyway, so the game re-issued the same read once per step, 33 times in a row, and filled the 32-slot completion ring. With the ring full, every later read's completion was delivered inline, the bookkeeping never happened, and the music system starved.
The fix is two small changes in the bridge, and nothing else. A synchronous read error is now reported as pending, so the game waits for the one completion instead of re-issuing the read. And when the ring does overflow, the oldest entry is dropped instead of being delivered inline. The failing read at the end of a track is now attempted exactly once, the ring never fills, and the next track starts normally.
Measured on hardware at stock clocks, in the instrumented session: the end-of-track read went from 33 attempts to 1, and the ring-full count went from 38-42 per session to 0. The stock track picked after a custom track reached playing in about 0.8 game-seconds and ended normally, and SNEAKMAN played. A stock-only control run turned the music over normally with no stalls.
What did not change
Nothing else from the recent hunts is in this build. The inventory was checked item by item: the config hygiene picks are unpriced, the chain-3 leaf is an unmeasured estimate, the prepared-draw-plans lever failed its counting gate, the L2 reopen was re-closed, the separator change was convicted and reverted, and the EOF-translation draft was proven unnecessary. Performance is the same v0.5.5 base on the same PGO profile, so no new patrol number is claimed for this release; it is a correctness fix, not a speed change.
Verification
The merged build passed its flight bar 4 of 4 on the console at stock clocks: the custom track played to the end with no wedge, the next tracks recovered, the stock-only control was clean, and clocks were uniform on both launches. DJ MIX takeover was staged but never observed taking over, the same as in the earlier session; it was not part of the bar. The v0.5.6 binary is the same code with only the version stamp updated; its boot smoke check on the console passed (stock clocks, version line 0.5.6-switch, title reached, no crash).
Updating
Replace the jsrf-unleashed.nro file with the new one. Nothing else needs to change; your options.txt, settings and saves carry over.
Build: commit 752a5e5, stamp 0.5.6-switch, NRO SHA-256 fe755de89f8ffe95141b10385585c5d973c88309289c22ac2ffc0813bd77287c.
JSRF Unleashed NX v0.5.5-switch
v0.5.5-switch
Two changes on top of v0.5.4: the port moves to a new build base, and the widescreen handling is reworked, which fixes the displaced HUD pieces reported in issue #4. Everything v0.5.4 carried, including its freeze fixes, is part of this base.
New base
This release is built from the project's main line. That line carries the walk-gains stack (a set of per-draw CPU savings in the renderer, on by default), the U16IDX push-buffer indexing, and the revert of a generated-code change that had been costing performance.
Priced head to head on the 99th Street tower patrol at stock clocks, this base ran a pooled +0.93% over the v0.5.0 build: 37.805 vs 37.457 steps/s, 95% confidence interval +0.32% to +1.55%, over six paired runs, every pair positive. The comparison is against v0.5.0; no back-to-back measurement against v0.5.4 exists.
Widescreen (issue #4)
WIDESCREEN and STRETCH TO FIT SCREEN are now a single option, and the STRETCH menu row is gone. Widescreen on stretches the game's 4:3 picture to fill the screen, which is what the stretch option used to do. Widescreen off shows the picture at its own shape, with black bars at the sides.
The old true-wide mode, which widened the game's field of view instead of stretching the picture, is gone. That mode was also what shifted the HUD pieces drawn through the 3D path: the spray paint count ended up hidden behind the boost icon, and the character-select names slid off their panels. Both sit where they belong now, in every scene, because the widening that displaced them no longer runs.
If your options.txt still carries a JSRF_WIDE_STRETCH=1 line, it is read as widescreen on, so an existing setup keeps the filled screen it had. The line is dropped the next time the in-game menu saves your options.
Updating
Replace the jsrf-unleashed.nro file with the new one. Nothing else needs to change; your options.txt, settings and saves carry over.
JSRF Unleashed NX v0.5.4-switch
v0.5.4-switch
A freeze fix on top of v0.5.3. Same feature set and same
performance profile as v0.5.3; the version stamp now also
reads correctly in game ("0.5.4-switch"). What changed is
the handling of one hard freeze reported in issue #2.
The freeze
In busy rendering moments (a push-buffer request of 32 KB or
more), D3D's make-space path inserts a marker into the push
buffer and sleeps on the "busy block" event until the GPU
callback sets it. In the reported freezes that set never
arrived: the main thread slept forever while the picture
stopped and the audio kept looping. The wake can be lost at
any of three steps -- dropped before delivery, missed on
the way, or acknowledged without the set taking effect --
and the wait has no timeout, so any of them is fatal.
What this build changes
- The wake can no longer be dropped. The delivery queue
for these GPU callbacks used to drop a wake silently when
it filled up. The busy-block wake now parks in a dedicated
slot and is delivered at the first free space instead. - The wait recovers itself if a wake is ever lost. A
watchdog inside the wait watches for exactly this stuck
state: the make-space wait inside for a second, nothing
left in flight or queued, and the push buffer fully
drained (the GPU has consumed everything, so the block
being waited on is in fact free). When all of that holds,
it sets the event the lost callback was supposed to set
and logs a [FREEZE-FIX] line. So in the stuck state seen
in the report, the freeze now self-recovers instead of
hanging for good. This is a recovery for the observed
state, not a proof the freeze can never recur in some
other form. - Better freeze reports. If a freeze does happen, the
log now names the exact wait object, whether its signal
ever arrived, and the delivery-queue state, so the next
report separates the remaining causes in one read. A
second, distinct stall seen in the same report (a
loading-screen lock pile-up) also gets its missing datum:
the report now names the critical section and its owner
for long waits of that kind. That second stall is not
fixed by this build; it is diagnosable from one log now.
One deeper redesign was evaluated and deliberately not
taken: modelling the GPU's interrupt registers the way the
console hardware behaves (from spriteice's JSRF-PC) would
remove a whole class of lost wakes, but it reaches across
the interrupt, MMIO and frame-pacing machinery rather than
one contained path, so it was scoped and left for its own
change rather than folded into this fix.
Installing
Unzip and copy the switch folder to the root of your SD
card, merging with the existing folder (see
READ-ME-FIRST.txt inside the zip). A fresh install works the
same way; your saves and settings in the existing folder
are kept when you merge.
JSRF Unleashed NX v0.5.3-switch
v0.5.3-switch
A performance correction to v0.5.2. The feature set is unchanged from
v0.5.2 (the campaign walk optimizations on by default, 16-bit index
handling, the camera-walls fix, the menu-close fix). What changed is
the code lineage and optimizer profile the build is compiled from,
because v0.5.2 measured slower than intended on the tower patrol.
Revised download: the original 0.5.3 download displayed
"0.5.0-switch-5-gd5575dc" as its in-game version, which made it look
like an old build. The current download is the same build with the
version stamp corrected: it now reads "0.5.3-switch" in game and in
the log. Nothing else changed. (The same quirk affects 0.5.2, which
displays "0.5.1-switch-10-g01b2d92"; that build is superseded by
this one.)
What was wrong with v0.5.2
v0.5.2 was built on a merged code tree with a freshly trained
optimizer profile, and it priced -1.52% on the tower patrol
against v0.5.0 at stock clocks. A follow-up head-to-head isolated
the cause: one change in that tree, dc56a63 (force-inlined accessors
in the recompiled code), carries a direct cost of about 4% on the
patrol. In an unprofiled A/B, removing it priced +4.09% (95% CI
[+2.70%, +5.49%], six of six pairs positive).
What this build is
The v0.5.0 code lineage plus the same performance stack,
camera-walls correction, and menu-close fix as v0.5.2, compiled
against the round-1 optimizer profile, which this tree fits exactly
(no missing or stale profiles). This lineage never contained the
change above. The stack on this profile priced +0.47% against
v0.5.0 on the tower patrol (pooled steps/s over six pairs, 95% CI
[-0.06%, +1.01%]), and based on the two builds' patrol pricing,
expect roughly 2% back on the patrol versus v0.5.2.
The patrol is limited by the game thread; the walk improvements
from v0.5.2 (14.23 to 10.71 ms/frame on the 99th Street route) are
unchanged and still apply.
Installing
Unzip and copy the switch folder to the root of your SD card,
merging with the existing folder (see READ-ME-FIRST.txt inside the
zip). A fresh install works the same way; your saves and settings in
the existing folder are kept when you merge.
JSRF Unleashed NX v0.5.2-switch
v0.5.2-switch
This release turns on the performance work the last campaign measured but
never shipped switched on, rebuilds the optimizer profile for the current
code, and carries the v0.5.1 camera-walls fix forward.
Performance: the campaign gains are now on by default
v0.5.0 shipped with five measured walk optimizations present in the code
but off unless options.txt named them, and no shipped options.txt did.
They are now on by default (each can still be turned off individually, and
JSRF_PERF_DEFAULTS=0 restores the old all-off behaviour):
- FENCESCAN (fence pre-scan as a range test), measured at about
1.10 ms/frame of walk in the campaign - NOTE_TRIM, about 0.97 ms/frame
- NEONIDX, about 0.54 ms/frame
- DATASHADOW, about 0.44 ms/frame
- CAPTURE_FAST, about 0.28 ms/frame
- VPBATCH batching for vertex-program uploads, including a fix for a
per-uploadgetenvcall in that path
On top of those, index handling is now 16-bit end to end (U16IDX):
the walk used to widen every 16-bit index to 32 bits and narrow it back
later; it now stays 16-bit through a plain copy and a NEON range check
and rebase.
Measured on hardware at stock clocks on the 99th Street tower patrol
(walk time per frame, mean over the route):
- Switches off, 32-bit indices (the v0.5.0 behaviour): 14.23 ms/frame
- Campaign switches on: 10.85 ms/frame
- Switches on plus 16-bit indices: 10.71 ms/frame
Fresh optimizer profile for this code
The build's profile-guided optimization data has been retrained on the
current source tree: a fresh instrumented build was run on hardware, its
coverage harvested (9,584 functions), and the release built against that
profile with a full fit (every profiled file matched, no missing or
stale profiles).
Camera walls fix (from v0.5.1) is in
The v0.5.1 hotfix is part of this release: a missing RECOMP_CAM_WALLS
line in options.txt means OFF, and only an explicit RECOMP_CAM_WALLS=1
turns the (still unfinished, still hidden) camera walls feature on. If
you merged v0.5.0 over an older install, this build is safe to install
the same way.
Map jumps
Confirming a map jump in the menu now closes the menu as the jump
happens. The Dogenzaka Hill and 99th Street destinations use the same
destination values as the previous release.
Installing
Unzip and copy the switch folder to the root of your SD card, merging
with the existing folder (see READ-ME-FIRST.txt inside the zip). A fresh
install gets a fully written-out options.txt at the release defaults.
JSRF Unleashed NX v0.5.1-switch
v0.5.1-switch
Hotfix for the camera walls crash reported in issue #1.
What was wrong
The camera walls setting in v0.5.0 was read backwards when the setting was missing entirely. A fresh install was fine, because the packaged options.txt sets RECOMP_CAM_WALLS=0. But a merge install over v0.4.1 keeps the older options.txt, which has no RECOMP_CAM_WALLS line at all, and v0.5.0 treated that missing line as ON. That silently enabled an unfinished feature that crashes when a save is loaded.
The fix
A missing RECOMP_CAM_WALLS line now means OFF, and only an explicit RECOMP_CAM_WALLS=1 turns camera walls on. The menu's camera walls getter was aligned to the same rule (the menu row itself stays hidden; the feature is still unfinished).
The fixed build was verified on hardware before release: with no RECOMP_CAM_WALLS line present, a save loads clean and the feature stays off.
Anything else?
Nothing. This is the v0.5.0 release build with only this default corrected. If you merged v0.5.0 over an older install, updating to v0.5.1 is enough; you do not need to edit options.txt by hand.
JSRF Unleashed NX v0.5.0-switch
JSRF Unleashed NX v0.5.0-switch
The biggest release since the port began. A measured performance
stack, a post-processing pass, a soundtrack for every free-skate
area, and a round of fixes, including one that repairs custom
tracks for the many valid files earlier builds silently skipped.
Same honesty as always: it has been tested on hardware, on one
console, and it has not been played from start to finish on this
build.
This remains an unofficial, non-commercial fan project, with no
affiliation with SEGA or Nintendo. No game data is included, in
this release or anywhere else: it works only with files from
your own legally dumped copy of the standalone USA (NTSC-U)
Xbox disc.
Performance
This build carries the whole November optimisation stack, and
the new pieces on top of it:
- The register-model adoption: the recompiled game code
keeps the guest's registers in host registers instead of
round-tripping through memory. - Profile-guided optimisation (PGO): the shipped binary is
built from a profile recorded by playing the game's own
routes on the console, so the compiler lays out the hot code
first. - 16-bit index transport (IDX16): the renderer queues draw
indices at half the width, which halves the index traffic it
moves per frame. - FP-VALUES: 763 of the generated functions keep the x87
floating-point stack in local variables instead of spilling
it to memory and reloading it. - Batched pushbuffer uploads in the renderer, and a shader
compiler fix (see below) round out the stack.
How it was measured, so the figures can be checked: a fixed
patrol route in 99th Street, the heaviest area I test, at
verified stock clocks (CPU 1020 / GPU 384 / memory 1331 MHz),
counting game steps per second.
- This build: 36.5 and 38.1 steps/s across two runs.
- The identical code built without the profile: 34.0 and 33.9.
The pooled gain for the profile-guided build over its own
unprofiled twin is +9.9%, and both paired runs agree. - The same patrol read 25.5 steps/s before the November
optimisation work began.
One claim I am not making: v0.4.1-switch was never run on
this patrol, so no percentage against it is quoted. The gain
is real and measured; it is just measured against this build's
own unprofiled twin and against the pre-November baseline, not
against the last release.
The post-processing stack (below) was measured on the same
patrol at its maximum settings against off: 37.97 steps/s off,
38.29 at maximum, inside the patrol's noise band. The effects
cost nothing I can measure on this build.
New: post-processing (Graphics page)
The Graphics page gains a Post-processing section, all of
it optional and all of it off by default:
- CRT FILTER (Low / Med / High / Max): scanlines and an
aperture grille over the picture. - VIGNETTE (Low / Med / High / Max): darkens the corners.
- ANTI-ALIASING: a pass over the finished frame that
smooths edges. - SHARPEN (Low / Med / High): firms up the picture after
the other passes.
The shaders compile on the console at first use; if a shader
ever failed to build, the game would fall back to the plain
picture, and in testing the pass comes up ready every time.
The NOW PLAYING banner (below) is drawn over the processed
picture, unprocessed, so its text stays crisp whatever the
picture settings are.
New: a soundtrack for every area
The Music page now runs the whole music system:
- DISTRICT SOUNDTRACKS: assign each free-skate area its
own music: one of the game's own track sets, a DJ mix, or
one of your custom files. Entering the area starts its
music. A track you pick yourself with PLAY A TRACK takes
over right away; area assignments apply when nothing you
picked is playing. - NOW PLAYING: a banner at the top of the screen names
what just started (artist over title; a custom file shows
by its filename). SHOW TRACK NAMES turns the banner
off if you do not want it. - If a file an area points at is deleted from the card, the
game's own music for that area plays instead, and the
Music page's status says the file is not in the folder.
Nothing breaks.
Your own tracks work as before, only fixed (next section):
drop .ADX files into the custom_tracks folder; they are checked when the menu opens and appear under
PLAY A CUSTOM TRACK and in every area's list.
Fixed: custom tracks silently rejected valid files
In previous builds the custom-track checker read the ADX
header at the wrong offsets, so it silently skipped most
valid files (the scan called them "not valid ADX"). By the
header arithmetic it rejected about three quarters of valid
files. It reads the right fields now. If you added tracks
before and they never showed up, try them again after
upgrading: the same files should appear and play.
The menu, reworked
- The pages are now Display, Graphics, Controller, Cheats,
Music, Developer and Info, in that order. Display carries
just the frame settings; the picture settings and the new
post-processing section live on Graphics; Info lists
the build and the credits (it replaces the old File page). - The frame rate caps behave. At the 30 cap the frame time
locks to an even 33.3 ms family and the game's speed tracks
real time (within about 1.5% in testing). At the 60 cap the
limiter stays out of the way entirely. - Frame delivery can be put on an exact vblank grid with
RECOMP_VBLANK_NS=1inoptions.txt(RECOMP_VBLANK_HZ
picks the rate, 60 by default). It is off by default and
stays an option for players who want to experiment; on this
build's instruments the two rates measure the same.
Camera defaults
- CAMERA EASES BACK WHEN RELEASED now defaults to on:
let go of the right stick and the view settles back behind
your skater. - CAMERA HOLDS ITS VIEW now defaults to off.
These are defaults only: they govern a fresh install and
anyone whose settings file does not already carry a choice
for these rows. If you changed them yourself, your settings
file keeps your choice. The new defaults were verified on
hardware in two boots before this release: once with a
settings file present, and once with none, where the compiled
defaults alone showed EASES BACK on and HOLDS ITS VIEW off.
Also fixed: the shader pack is stable now
The shader compiler could order its work differently between
runs, so a rebuilt shader pack was not guaranteed to match
the last one. It compiles deterministically now: delete the
pack, let the game rebuild it, and the bytes come out
identical, verified across repeated delete-and-rebuild cycles
on hardware. One consequence of the compiler changing:
expect the first launch after upgrading to rebuild the
shader pack once (about a minute on test console). Later
launches use the pack as before.
Known issues
- Camera Walls is held back in this build. The Camera
Walls option does not appear in this release's menu, and
the default options file ships it off
(RECOMP_CAM_WALLS=0). In release testing, turning it on
crashed the game a couple of seconds after entering an
area, inside the camera-wall code itself, so the feature
is put away while the crash is diagnosed; fixing it is
post-release work. If your existingoptions.txtcarries
RECOMP_CAM_WALLS=1from an earlier install, change it
to 0. - One unreproduced title-screen exit. In release testing,
one boot out of nine on this build quit back to the HOME
menu by itself at the title screen. An identical rerun and
every other boot were clean, and I have not been able to
reproduce it. If it happens to you, a report with the run's
log attached (see below) would genuinely help. - The game has not been played from start to finish on
this build. Later areas are little tested; expect bugs.
Install and upgrade
New install. Extract the zip at the root of the SD card.
It puts a switch/jsrf-unleashed/ folder on the card with the
NRO, a fresh options.txt at the release defaults,
READ-ME-FIRST.txt, LICENSE, NOTICE, the LICENSES/
folder and an empty game/ folder. Put the files from your
own copy of the game into game/ and launch through title
takeover, as before.
Upgrade. Replace jsrf-unleashed.nro with the new one
and leave everything else alone: your game/ folder, your
saves, your settings file, your custom_tracks/ folder
and the shader pack all carry over (the pack rebuilds itself
once on the first launch, above). One caution: the zip's
fresh options.txt is for first installs, and extracting
the whole zip over an existing install will overwrite your
options.txt with the release defaults, so keep yours if you
have settings you care about. The one default worth checking
either way is Camera Walls, above.
Reporting a problem
Quote the build from the menu's Info page (it should read
0.5.0-switch), turn on log=1 in
options.txt before trying to reproduce anything, and attach
Logs/last-run.log to a GitHub issue with a line about where
you were and what happened.
Credits
Jet Set Radio Future is © SEGA. This is an unofficial, non-commercial
fan project; it contains no game data and works only with files from
your own copy of the game.
- JSRF Unleashed, created by JuMatt. This Switch port stands
on his project and its contributors' work.
https://github.com/JuMatt/JetSetRadioFuture-Unleashed - xboxrecomp, the recompilation toolkit this is built with, by
Ned Heller (sp00nz) and the contributors credited in
CONTRIBUTORS.md. MIT. - skeammer, the deko3d renderer and shader-pack implementation
this port's renderer is adapted from (jsrf-nx, at commit 0014daf),
used with his permission. MIT. - **centollOS (Swi...
JSRF Unleashed NX v0.4.1-switch
JSRF Unleashed NX v0.4.1-switch
A feature release on top of v0.4.0-switch. Everything in
v0.4.0-switch is in this build; what is new is the menu's
game-assets skin and a polish pass over it. Same honesty as
always: it has been tested on hardware, on one console, and it
has not been played from start to finish on this build.
This remains an unofficial, non-commercial fan project, with no
affiliation with SEGA or Nintendo. No game data is included, in
this release or anywhere else: it works only with files from
your own legally dumped copy of the standalone USA (NTSC-U)
Xbox disc.
The menu skin
The in-game menu (open it with Minus) now wears the game's
own art. Nothing is added to the binary and nothing extra is
shipped: the skin is decoded at runtime, on your console, from
your own copy of the game's files.
- The TitleE badge, from the game's own title art.
- The section heads are set in the game's own font.
- The spray-band striping across the menu field.
- The selection cursor is a spray can: the can stands alone
beside the focused row and the active tab, and nothing else
marks the selection. - The window field is the versus menu's own dark teal,
sampled from the game itself.
If the game files cannot be read, the skin stays off, entirely:
the menu renders exactly as it did in stock v0.4.0-switch, same
layout, same colours, same font. There is no partial state.
The polish pass
- A lime bar baked into every spray can is fixed at the
root. The skin's sprite atlas packed the button tiles over
the can's ink, so the A tile's green was blitted into the can
at load. The atlas is repacked clear of the can, and a
fail-closed load check now refuses the skin if a future
sheet's can ink ever reaches the tiles again, instead of
drawing a corrupted sprite. - The footer is rebuilt as drawn geometry: every item one
height, the DPAD and Minus chip labels centred on both axes,
the labels and the game button tiles sharing one baseline
and one spacing rhythm. - Containment: choice chips, RUN pills and toggles take a
right inset, and row labels are clipped clear of their
chips, so the widest values (CAMERA's TRACKING chip,
MUSIC's USE AREA MIX) sit inside the pane instead of riding
its border. - Contrast: the footer job words and the header's
SETTINGS word are lifted brighter on the teal. The sampled
game field keeps its exact colour. - Section heads in skin mode are the bare label in the game's
font, with no//prefix.
Everything else
Unchanged from v0.4.0-switch: the deko3d renderer, the shader
pack, custom tracks, the debug server (off by default), and
the save and settings formats. The v0.4.0-switch release notes
are the manual for all of it.
Install and upgrade
New install. Extract the zip at the root of the SD card.
It puts a switch/jsrf-unleashed/ folder on the card with the
NRO, a fresh options.txt at the release defaults,
READ-ME-FIRST.txt, LICENSE, NOTICE, the LICENSES/
folder and an empty game/ folder. Put the files from your
own copy of the game into game/ and launch through title
takeover, as in v0.4.0-switch.
Upgrade. Replace jsrf-unleashed.nro with the new one and
leave everything else alone: your game/ folder, your saves,
your settings file, your custom_tracks/ folder and the
shader pack all carry over. One caution: the zip's fresh
options.txt is for first installs, and extracting the whole
zip over an existing install will overwrite your options.txt
with the release defaults, so keep yours if you have settings
you care about.
Performance
No performance changes are in this release, and no frame rate
figures are claimed for it. Busy areas run below 60 at stock
clocks, as in v0.4.0-switch.
Reporting a problem
Quote the build from the menu's File page (it should read
0.4.1-switch), turn on log=1 in options.txt before trying
to reproduce anything, and attach Logs/last-run.log to a
GitHub issue with a line about where you were and what
happened.
Credits
Jet Set Radio Future is © SEGA. This is an unofficial, non-commercial
fan project; it contains no game data and works only with files from
your own copy of the game.
- JSRF Unleashed, created by JuMatt. This Switch port stands
on his project and its contributors' work.
https://github.com/JuMatt/JetSetRadioFuture-Unleashed - xboxrecomp, the recompilation toolkit this is built with, by
Ned Heller (sp00nz) and the contributors credited in
CONTRIBUTORS.md. MIT. - skeammer, the deko3d renderer and shader-pack implementation
this port's renderer is adapted from (jsrf-nx, at commit 0014daf),
used with his permission. MIT. - centollOS (SwitchWakerHD), the debug-server core (MPL-2.0),
and the ImGui deko3d overlay the menu's renderer was adapted from. - The xemu project: espes, Jannik Vogel and Matt Borgerson: the
MCPX APU core and NV2A register definitions, extracted from xemu.
LGPL-2.1 or later. - Dear ImGui, Omar Cornut. MIT. (The stb headers inside it are
Sean Barrett's, public domain.) - UAM, fincs: the deko3d shader compiler linked into this build,
itself built on the Mesa 3D GLSL compiler and nouveau's nv50_ir
backend. UAM: zlib licence. Mesa: MIT. - devkitPro: libnx (ISC), deko3d (zlib) and the Switch toolchain
this homebrew is built and linked with. - SMAA, Jorge Jimenez, Jose I. Echevarria, Belen Masia, Fernando
Navarro and Diego Gutierrez (iryoku). MIT. (Used by the OpenGL
builds.) - JSRF-PC, spriteice: the in-game menu this project's menu
design descends from. MIT. - Fabian Giesen, the texture-unswizzle technique the D3D layer
implements. - Reference, no code taken: xemu, Cxbx-Reloaded and xboxdevwiki, for
documented Xbox hardware behaviour.
JSRF Unleashed NX v0.4.0-switch
JSRF Unleashed NX v0.4.0-switch
This is the current GitHub Latest release.
Use this build for the new renderer, the new menu and everything
listed below. It remains a 0.x fan port under active development:
it has been tested on hardware, but it has not been played
from start to finish on this build. Please send a report back
when something goes wrong.
What this is
JSRF Unleashed NX is a fan-made Nintendo Switch port of Jet Set
Radio Future, built on JuMatt's JSRF Unleashed. It is not an
emulator. The game's own code, from the standalone USA (NTSC-U)
Xbox disc, is statically recompiled into C and built as a native
homebrew program for a modded Switch running Atmosphère.
No game data is included, in this release or anywhere else.
Every texture, model, song and video comes from your own legally
dumped copy of the game. Only the standalone USA build works: not
the European or Japanese releases, and not the Sega GT 2002 and
JSRF combo disc, whose JSRF is a different, later build. Each
build checks the game files before starting and says what they are
if they are not the right ones.
This release is the same port as v0.3.0-switch, rebuilt around a
different renderer and a new in-game menu, with a batch of new
features on top. It has been boot-tested and menu-tested on real
hardware, on one console. It has not been played from start to
finish.
The renderer: deko3d
On Switch, this build renders with deko3d, the console's
native GPU interface, instead of OpenGL ES through Mesa. The
OpenGL ES build still exists in the source as a build option
(DEKO3D=OFF). It is not in this NRO, and some lines in
options.txt only affect that build; the README's options reference
says which ones.
The deko3d renderer is adapted from skeammer's jsrf-nx, MIT
licensed, used with his permission.
One renderer fix worth naming on its own: the stored-alpha fix.
An earlier deko build wrote the wrong alpha for a class of
surfaces, which showed up as a glitch around the boost heat haze.
That is fixed in this build, and the menu's Developer page shows
the fix's state (Stored Alpha, off means the fix is active).
The shader pack
The first launch compiles the game's shaders on the console. You
will see a loading bar while it works. The pack is kept beside the
NRO in sdmc:/switch/jsrf-unleashed/:
dk_shaders.pakdk_keys.bin
Later launches load the pack instead of compiling again. New
shader setups met during play are compiled as they are met and
added to the pack. No compile time is promised here: the first
compile has not been timed as a number worth publishing. To force
a fresh compile, use the Rebuild Shader Pack button at the end of
the Developer page's Engine section. It deletes the pack so the
next start compiles it again.
The menu
Open the menu with Minus. Minus also closes it. The D-pad
moves, A selects, B backs out, and L and R change pages. Every row
has help text, shown beside the list.
The menu has seven pages: File, Display, Graphics, Controller,
Cheats, Music and Developer. It is drawn with Dear ImGui on a
hand-written deko3d backend that follows the overlay in
centollOS's SwitchWakerHD. This release also gives the menu a
presentation pass: tighter spacing, calmer panels and a hint bar
along the bottom that always shows the controls.
- Display, Graphics and Controller choices are remembered between
runs. They are kept in thesettingsfile and in options.txt,
and the menu keeps the two in step. - Most choices apply live. Rows marked (RESTART) apply from
the next start. - Cheats and Music are session-only by design. They are not
remembered.
File
- Build and renderer readouts, and an About entry. The build line
is what to quote in a bug report. - Reset all settings, behind a confirmation. It puts every
menu setting back to the shipped defaults and does not touch
your save. Note that the shipped defaults include widescreen
and stretch both on. - A warning row that appears only while a legacy
env.txtor
envfile sits beside options.txt, because those files silently
override options.txt at startup. If your settings seem to be
ignored, check for those files first.
Display
The page's section is called Frame.
- Render scale: Auto / Max / 1X / 1.5X / 2X / 3X / 4X, plus a
Custom entry that appears while a hand-set value is live. Fixed
scales apply live. Auto rises and falls with what the GPU can
hold. The higher fixed scales cost GPU time and memory; they
have not had a dedicated measured run, so judge them on your
own console. - Auto scale GPU budget (RESTART): how much GPU time a frame
may take before Auto render scale steps down. A hand-set value
shows as CUSTOM (n MS) rather than being renamed to a neighbour. - Frame rate: 60 / 30 / Unlimited, plus Custom for a hand-set
value. Applies live. - Vsync (RESTART).
- Show frame rate: the corner counter, below.
The frame rate counter
The counter in the corner of the picture shows frames per
second only by default. Two optional extras live under it on
the Display page, both off by default, both applied live, and the
counter panel grows and shrinks to fit what is switched on:
- Show frame time (MS): the longest gap between two frames in
the counter's window, in milliseconds. A stutter shows here even
while the frame rate number reads high. - Show draws (DRW/F): the average draws per frame over the
same window. Heavier scenes read higher, which makes it the
quickest way to see why one view costs more than another.
Graphics
The page's section is called Picture.
- Widescreen: on a 16:9 screen, widen the view to fill it
instead of drawing the game's 4:3 picture. Logos and the title
screen stay 4:3. - Stretch to fit screen: fill the whole screen with the 4:3
picture, stretched, instead of widening the view. - Texture anisotropy (RESTART): Off / 2X / 4X / 8X / 16X.
There are no MSAA or SMAA rows. Those were OpenGL renderer passes
and have no equivalent here. A row that does nothing is worse than
no row, so they were left out on purpose.
Controller, and the camera
- Right-stick camera: Off / Camera / Camera (tracking). Off
gives the stick back to the game's own first-person look.
Camera turns the view while the skater keeps his heading.
Tracking turns the skater with the view. - Camera eases back when released: after you let go of the
right stick, the view drifts back behind the skater. Off by
default in this build, as in the Switch OpenGL build: the L
trigger already resets the view at once.
Player note: this release explicitly ships with ease-back
OFF by default. If you expect the view to drift back after
using the right stick, turn this setting on. - Camera holds its view: on by default, and a trial. See
the camera note below. - Nintendo layout (A/B, X/Y): the face buttons by their
printed names. The game's own prompts are drawn for an Xbox pad
and do not move. - Both sticks in game menus (RESTART): the left and right
sticks both move through the game's own menus.
Camera: stage 1 is a trial
Treat the camera changes as a trial, and please report back on
them.
The right-stick camera works in this build. In the earlier deko
work the preferences behind it were missing, so the camera
options did nothing. That is fixed.
"Camera holds its view" is new and on by default. While it is on,
and ease-back is also on, the camera only drifts back behind the
skater once both sticks are untouched: pan the view, let go of
the right stick and keep skating, and the view stays where you
put it. The L trigger still snaps the camera behind you at once.
To get the old feel back with one change, turn hold view off.
Camera-relative movement (stage 2) is not in this build. It waits
on hands-on verdicts about stage 1.
Cheats
Opening the Cheats page shows a warning once per session: back up
your save, or use a separate save for cheat runs. A persisted
Cheat warnings toggle controls that warning. It defaults to
on. Turning it off asks for confirmation once. Map jumps and the
99th Street test start always ask first, regardless of that
toggle.
- Infinite spray cans.
- Refill spray cans.
- Teleport to X / Y / Z coordinates. Every teleport bookmarks
where you left. "Return to bookmark" undoes it. Teleport writes
position in memory only. It never writes the save. - Map jumps to 14 free-skate destinations in three districts:
Shibuya-cho 4, Kogane-cho 5, Benten-cho 5. A jump loads a new
area and can move story progress, so the menu asks before it
jumps. Names and IDs follow JuMatt's upstream 0.6.6 selector,
commit df1af3d0.
Music
Everything on this page is session-only.
- DJ mix (next stream): pick one of the game's 19 DJ mixes,
or Use Area Mix to give the choice back to the game. A pick
takes over on the next music stream the game starts, never
mid-track. The Mix status row shows what the next stream
will play and what you have staged. - Play a track: pick one of the game's own tracks (47 entries:
the licensed songs, the standalones and every DJ set) and it
starts at the next moment the game allows music to change, the
same gate the map jumps use. Picking a track also resets the DJ
mix to Use Area Mix, unless the pick is itself a set, in which
case that set stays as the mix. - Random track: a track picked at random from the same list,
through the same latch, with the same mix reset. - Cancel pending track: takes back a latched pick before it
plays. Once the track has started there is nothing to cancel. - Custom tracks: your own music. See the next section.
- Mute (RESTART) sits at the end of this page, under Audio:
silence all of the game's audio from the next start.
Custom tracks
The port creates a folder on first run:
sdmc:/switch/jsrf-unleashed/custom_tracks/
``...
JSRF UNLEASHED NX v0.3.0-switch
New
- The picture fills the screen by default: the whole 4:3 image stretched to 16:9, title, menus and loading included. Prefer the true widescreen view? It is one choice away in the Graphics menu (Stretch to fill screen, off).
- Right-stick camera choices on the Controller page: Camera, Camera (tracking) from upstream, plus a toggle for whether the camera eases back when you let go of the stick.
Fixed
- A race in the game's memory allocator that could corrupt it when several threads allocated at once. Found with a host test, soaked on hardware.
- Freeze logs now name the GPU wait that stalled, which will make any future freeze report far more useful.
Performance
The performance work this cycle was measurement, and it is ongoing:
- Built logging that shows where the frame's time goes in the heavy areas, and profiled those areas with it.
- Checked the game's GPU waits the same way: they are not the bottleneck.
- Ruled out a suspected bottleneck in how frames are submitted to the GPU, with data.
- Built a draw-distance option, tested it, and removed it: it did its job, but it broke the sky and the water.
- The new default view also draws the 4:3 picture rather than the wider widescreen one, so the heaviest spots ask a little less of the machine than the old default did.
For reference, the last round of speed work itself landed in v0.2.0: the GPU running on its own thread by default, and renderer and pacing work from spriteice and upstream. This release keeps all of it, and adds the measurements the next round will be built on.
One freeze was seen in testing on the previous build. It has not reproduced in about thirty minutes of retesting since; its cause is unknown, and the new freeze logging is there to catch it if it ever returns.
Tested on Switch Lite at raised clocks: CPU 1963 MHz, GPU 1152 MHz, memory 2366 MHz. Performance figures so far were measured at those clocks. Stock-clock figures are yet to be measured; this page and the readme will be updated when they are available.
Defaults
Anything that can slow the game down ships off or set low. Render scale is 1x, anisotropic filtering is 4, MSAA and SMAA are off, and every diagnostic is off. If your Switch has headroom, turn things up in the menu and tell us how it goes; reports from other machines are how the defaults get better.
Reporting a problem
- In options.txt beside the .nro, set log=1.
- Play until the problem happens again.
- Take Logs/last-run.log from the jsrf-unleashed folder on the SD card and attach it to a GitHub issue, with a line about where you were and what happened. Freezes especially: the log now records what the GPU was waiting for when the frame stalled.
Thanks
To JuMatt and the upstream Unleashed contributors, whose work this port stands on; to skeammer, whose port gave this one its stretch view and a second set of findings to check against; his is the other Switch version of this project, and it is well worth trying too. To Hise, whose Brazilian Portuguese translation is being built into a release of its own. This release is better for all of it.