SONIC RUSH FOR WINDOWS x64 (VERSION 28)

Extract the SonicRush folder from the 7z archive. Run SonicRush.exe and select
your unmodified US Sonic Rush .nds file. Keep SDL3.dll and game.toml beside it.
After the first verified selection, opening SonicRush.exe loads that ROM.
If the file moves, the file picker returns. Hold Shift when opening the app,
use --choose-rom, or drop a different compatible .nds onto the executable to
change the saved path. The ROM stays in the folder where you keep it.

Press Esc to pause and open PC settings. By default, use arrows to navigate
or change a value, Enter to open an item, and Backspace to go back.

Keyboard and Gamepad list game actions including Jump / Confirm, Boost,
Air dash / Grind, Trick / Back, and Start / Pause. Choose an action, confirm,
then press its new key or gamepad button. Jump and the game's Confirm share
the DS A input. Trick and the game's Back share the DS B input.
PC menu keys and PC menu pad remap navigation, Confirm and Back for the
PC settings only. Esc or Guide still opens the menu. Start + Back also works.

Display > Aspect has Original and Fit-to-Screen. Original stacks the DS
screens and preserves their proportions. Fit-to-Screen places both screens
side by side on wide displays when that makes each screen larger.
With View set to Focus, Fit-to-Screen stretches just the active
screen to fill the output during a level and on the stage results screen.
The main menu, Battle Play, character selection, map and act selection
stack the screens vertically, with the touchscreen below.
The title screen and Options stay side
by side on wide displays. Fit uses a 1280 x 720 window at Auto resolution.
Borderless uses the desktop size.


DIRECT BATTLE PLAY (EXPERIMENTAL)

Use two copies of this Windows build on a shared LAN or private VPN. Each
player needs a supported Sonic Rush USA .nds dump. Press Esc and open
PC Settings > Battle Play. Set Connection to Host on one PC and Join on the
other. Open Your IPv4 and Friend's IPv4 with Enter. Type or paste the address
for each field and press Enter to save. Close and reopen SonicRush.exe on
both PCs to apply the saved connection. Select Offline and reopen to disable
it when you are finished.

The existing --battle-host and --battle-join options can also override
the saved connection for one launch.

Both players open Battle Play > DS Wireless Battle. The host selects
Create Room. The other player selects Join and chooses the host's room.
The host uses UDP port 26710 and the joiner UDP port 26711 on the selected
LAN or VPN. If Windows asks for firewall permission, use the network shared
with your friend. Set controls and display before starting the session.

The two-player lobby and start of a Leaf Storm race were tested with two
instances on one PC. Play over a real internet connection is experimental
and can be affected by latency.

BATTLE PLAY POR RED
Usen la misma version en dos PCs, cada una con su ROM USA compatible.
Conectense a una LAN o VPN privada. Pulsa Esc y entra en Opciones de PC >
Modo batalla. En Conexion, una persona elige Crear sala y la otra Unirse.
Completa Tu IPv4 y la del otro jugador. Usa Enter para editar y guardar.
Cerra y abri SonicRush.exe en ambos equipos. Dentro de Modo batalla elijan
la batalla inalambrica DS. Una persona crea la sala y la otra se une.

Display > Dual monitors shows the top DS screen on the primary display and
the touchscreen on the second display. Set it to On or Off and reopen the
game. With only one display connected, the game opens in one window. Both
screens stay visible during level intros. In Focus, gameplay follows the
active LCD on the primary display. The secondary display shows the boss HUD
during boss fights and goes black during regular level gameplay.
Use Display > Invert screens to swap the LCDs when both are visible.
Fit-to-Screen fills each display. On one monitor, the boss ascent
stacks the screens vertically. In Focus, the boss title card is side
by side, and regular acts show just the screen with On Your Mark.
Fullscreen in dual mode uses each
monitor's desktop resolution and refresh rate. The tip of the white glove
cursor is the click point in the game windows.

Gameplay > Jump with Trick defaults to On. Set it to Off to use the Jump
binding for regular jumps while keeping Trick for aerial combos. The option
applies immediately to keyboard and gamepad and is saved automatically.

Display > Frame rate offers 30, 60 and 120 FPS. 30 shows every other native
frame. 60 shows each native frame. 120 inserts blended frames when the
display is set to 120 Hz or higher and the machine has time to draw them.
Fast motion may show a slight double image. On slower displays the game
uses 60 FPS. In dual-monitor mode, a slower secondary display still
receives native frames. During gameplay, 60 and 120 FPS keep a small
display buffer and submit frames on a timer. The buffer trades one DS
frame of display latency or more for steadier timing. If no new image
is ready, the display holds the last image. Game speed uses DS timing.
With higher internal resolution at 120 FPS, fast-moving regions hold
their last image through the midpoint to avoid double outlines.

Languages has separate PC menu and Game choices. The PC menu switches
immediately. Relaunch the game to apply a change to its language.
Display > Screen frame offers Original, Black and Graphite.
Display > Scaling filter offers Sharp, Soft and Smooth edges. Smooth edges
reduces jagged steps before scaling native screens.
Display > Internal resolution runs 3D at 240p, 480p, 560p, 720p, 1080p,
1440p or 2160p. Native (192p) is the default. The preset is per DS screen
and independent of window size. Enhanced modes require OpenGL 4.3 and
enough GPU memory. Native sprites, backgrounds and 3D used as captured
sprites retain DS detail. During gameplay, 120 FPS at a higher internal
resolution blends buffered frames on a display clock. The display can
present completed frames during audio or GPU waits and hold the last
image during a longer stall. Buffering adds display latency.
Game logic and 3D use native cadence.
Frames that use 3D only for DS sprite capture render at native size.
The higher-resolution frames transfer only the pixels their viewport
can show. The chosen resolution still sets the visible 3D raster.
Progress and options are in %LOCALAPPDATA%\SonicRushRecomp.

Version 4 restores the display timing signal used by the scene with Sonic
and the hammer boss. If your game is currently stuck, close the old window
and start it with this executable. Your regular in-game save is picked up
automatically.

INSTRUCCIONES EN ESPANOL
Compilacion experimental basada en Tekkra-Pi/rushrecomp y ndsrecomp.

La version 4 corrige la senal de pantalla que esperaba la escena de Sonic
y el jefe del martillo. Cerra la ventana anterior y abri este ejecutable.
La partida guardada dentro del juego se carga automaticamente.

COMO ABRIRLO
1. Extraer la carpeta SonicRush completa del archivo descargado con 7-Zip.
2. Abrir SonicRush.exe y elegir el archivo .nds de Sonic Rush (USA).
Tambien podes arrastrar el archivo .nds sobre SonicRush.exe.
Despues de la primera seleccion, SonicRush.exe abre ese archivo directamente.
Si moviste la ROM, vuelve a aparecer el selector. Manten Shift al abrirlo
o ejecuta SonicRush.exe --choose-rom para elegir otro archivo. Tambien podes
arrastrar otro .nds compatible sobre el ejecutable.
No requiere Visual Studio, Python ni compiladores para jugar.
Mantener SDL3.dll y game.toml junto al ejecutable.
ROM compatible: USA ASCE, sin parches, 64 MiB, SHA-1:
bc617530bb9b6e4179f2e54d7816c38676812dde

OPCIONES: ESCAPE
El juego se pausa mientras esta abierto el menu de opciones de PC.
Por defecto, flechas para navegar o cambiar el valor, Enter para aceptar
y Retroceso para volver. Escape abre o cierra el menu.
Con mando: Guide abre el menu; tambien Start + Back/Select.
Cruceta o stick izquierdo: navegar. Boton sur: aceptar. Este: volver.

PANTALLA
- NDS: muestra las dos pantallas, una arriba de la otra.
- Focus: muestra una sola pantalla durante el juego siguiendo el
  destino del motor principal al cambiar entre las LCD. Conserva las dos
  pantallas en los menus y escenas que no detecta como juego activo.
  Es experimental y no esta validado en todas las zonas, jefes y fases
  especiales. Si oculta informacion necesaria, volve al modo NDS con Escape.
  Es una seleccion de pantalla: no reconstruye una camara continua ni evita
  el corte de imagen que puede ocurrir durante la transicion original de DS.
- Ventana: ventana con bordes que tambien podes redimensionar con el mouse.
- Pantalla completa: solicita un modo exclusivo a Windows.
- Sin bordes: ocupa el escritorio con su resolucion actual.
- Proporcion: Original apila las dos pantallas. Llenar pantalla las coloca
  lado a lado en pantallas anchas conservando sus proporciones. En un nivel con
  Focus, Llenar pantalla estira solo la pantalla activa hasta llenar la
  salida. La pantalla de resultados tambien ocupa toda la salida. El menu
  principal, Modo batalla, seleccion de personaje, mapa y seleccion de acto
  se muestran en vertical, con la pantalla tactil abajo. La pantalla de
  titulo y Opciones quedan lado
  a lado en pantallas anchas. Con resolucion Auto, usa 1280 x 720 en ventana.
- FPS: 30 muestra uno de cada dos cuadros y 60 los muestra todos. El modo
  120 agrega cuadros mezclados si la pantalla esta a 120 Hz o mas y hay
  tiempo para dibujarlos. Puede generar una leve imagen doble. Si la pantalla
  no tiene esa frecuencia, recibe los cuadros nativos. Los modos 60 y
  120 mantienen un buffer de video durante el juego. El buffer agrega
  latencia de imagen y sostiene el ultimo cuadro si falta uno nuevo.
  La velocidad del juego sigue el ritmo de DS. Con resolucion interna
  mejorada a 120 FPS, las zonas con movimiento rapido conservan su
  imagen en el cuadro intermedio para reducir los contornos dobles.
- Resolucion: automatica o desde 640 x 480 hasta 3840 x 2160.
  En ventana y pantalla completa controla la salida. Sin bordes usa el
  escritorio. Original permite bandas cuando las proporciones no coinciden.
- Resolucion interna: Nativa (192p), 240p, 480p, 560p, 720p, 1080p,
  1440p o 2160p. Cambia el render 3D por LCD. Los modos mejorados requieren
  OpenGL 4.3 y memoria grafica. Los sprites, fondos e imagenes 3D capturadas
  como sprites conservan el detalle de DS. Los cuadros 3D mejorados siguen
  el ritmo original. Durante el juego, el modo 120 FPS con resolucion
  interna mejorada mezcla cuadros siguiendo un reloj de presentacion.
  Puede presentar cuadros durante esperas de audio o video y mantener
  la ultima imagen durante una espera larga. El buffer agrega latencia
  de imagen.
  Los cuadros 3D usados solo para capturar sprites usan la resolucion de DS.
  Para la salida, se transfieren solo los pixeles que ocupa cada pantalla.
- Filtro: Nitido (pixeles), Suave (interpolacion) o Bordes suaves (Scale2x).
  Bordes suaves reduce los escalones de pixeles al ampliar la imagen.
- Marco: Original, Negro o Grafito. Negro y Grafito agregan un marco parejo
  alrededor de la imagen, manteniendo su proporcion y el control tactil.
Si Windows rechaza un modo exclusivo, se mantiene la configuracion anterior.
En el entorno de compilacion se verificaron ventana y sin bordes; Windows
rechazo el cambio de modo exclusivo, por lo que ese modo no quedo validado.

TECLADO Y MANDO
Elegir la accion, aceptar y pulsar la nueva tecla o boton.
Las acciones se muestran por nombre. Saltar y Aceptar en el juego comparten
el boton A de DS. Truco y Atras comparten el boton B de DS.
Teclas del menu PC y Mando del menu PC permiten configurar la navegacion,
Aceptar y Atras en las opciones de PC por separado.
Escape cancela la captura; Guide tambien cancela si estas asignando el mando.
Si la entrada ya se usaba para otra accion, se intercambian ambas asignaciones.
El stick izquierdo conserva las direcciones de movimiento.
Escape, Tab y F1-F12 se reservan para funciones del programa.
Sistema > Restablecer controles recupera las asignaciones predeterminadas.

En Jugabilidad > Saltar con Truco, elegi No para usar el boton Saltar para
los saltos normales y seguir usando Truco para combos aereos. Se aplica al
teclado y al mando en el momento y se guarda automaticamente.

En Pantalla > Dos monitores, elegi Si o No y volve a abrir el juego. La LCD
superior va en el monitor principal y la tactil en el segundo monitor. Con
un solo monitor el juego abre en una ventana. En Focus, la introduccion
del nivel usa ambas LCD y al empezar a jugar, la imagen sigue al personaje
en el monitor principal. El secundario muestra la vida del jefe durante
el combate y queda negro en niveles normales. Invertir pantallas
intercambia las LCD cuando ambas estan visibles. Llenar pantalla ocupa
cada monitor. Con uno solo, el ascenso al jefe se muestra en vertical.
En Focus, la tarjeta del jefe se muestra lado a lado y los actos normales
muestran solo la pantalla con la senal de salida.
Pantalla completa usa la resolucion y frecuencia del
escritorio de cada monitor. La punta del guante marca donde haces clic.

IDIOMAS
Menu de PC cambia entre ingles y espanol inmediatamente.
Juego cambia el idioma del juego al cerrar y volver a abrir el ejecutable.

CONTROLES PREDETERMINADOS
Flechas: cruceta
Z: A de DS / X: B de DS
A: Y de DS / S: X de DS
Q / W: L / R
Enter: Start / Retroceso: Select
Mouse: pantalla tactil inferior. Tab: puntero virtual.
En Focus, el mouse tactil funciona cuando se muestra la LCD inferior.
Tambien admite mandos compatibles con SDL. No se verifico un mando fisico.

PARTIDAS Y OPCIONES
Las opciones se guardan automaticamente en:
%LOCALAPPDATA%\SonicRushRecomp\sonic-settings.toml
La partida del juego se guarda en esa misma carpeta: sonic-rush.sav.
El registro de errores es SonicRush.log.
Para reiniciar las opciones, cerrar el programa y renombrar sonic-settings.toml.
Cambiar de version del ejecutable conserva la partida y las opciones.
Los guardados rapidos del runtime no forman parte de las funciones verificadas.

ACERCA DE ESTA VERSION
Es una compilacion experimental; no certifica una partida completa.
Usa FreeBIOS y firmware generado para el arranque directo y render por software.
Las fuentes exactas y las instrucciones de reconstruccion estan en fuentes.zip
(ZIP/LZMA, extraible con 7-Zip); no hace falta abrirlo para jugar.
No incluye el archivo .nds original.
Proyecto: https://github.com/Tekkra-Pi/rushrecomp
Licencias y atribuciones originales: carpeta licenses.

When the performance governor steps in, stage 1 caps the display transfer at 1080p. Stage 2 caps the internal 3D raster at 720p until recovery. Your saved preset stays selected.

VERSION 26
Incluye la cobertura experimental de ARM7 y ARM9 por defecto.
Las rutinas nuevas de ARM9 solo se ejecutan si coinciden los bytes en memoria.
El arranque fue verificado. El impacto en los tiempos de cuadro durante
el juego y los minimos del 1 % aun no se midieron con esta version.

VERSION 27
Saltar con Truco en No tambien se aplica al correr.

PC Settings > Gameplay > Performance Governor. On by default. Restart the game after changing it.
