RB2Recomp v0.1.0 - Rock Band 2 (Xbox 360), for Windows
========================================================================

A static recompilation of the Xbox 360 game to native Windows. The game's code is already translated and
compiled into RB2Recomp.exe: you do not need to compile anything. You do need your own copy of the game,
because this package contains no game files.

This is an early test build. Not affiliated with Microsoft, Harmonix, MTV Games or Electronic Arts.


REQUIREMENTS

- Windows 10 or 11, 64-bit.
- A GPU with up-to-date drivers that support Vulkan (NativeXRenderer, the default renderer) or
  Direct3D 12 (the Xenos renderer).
- A CPU with SSE4.2 (practically any 64-bit CPU from 2009 on).
- Microsoft Visual C++ Redistributable 2015-2022 (x64). Most PCs already have it. If Windows says that
  MSVCP140.dll or VCRUNTIME140.dll is missing, install it from:
  https://aka.ms/vs/17/release/vc_redist.x64.exe
- Your Rock Band 2 disc as an ISO file (the disc sold in the USA; about 4.6 GB once installed).
- Your instruments: an Xbox 360 guitar, drum kit or USB microphone works as on the console. Any other
  controller can play the guitar, the drums or sing, and the keyboard can play the guitar or the drums. Xbox
  One guitars and drum kits (such as the PDP Riffmaster) need Microsoft GameInput: the installer offers it,
  and so does the launcher's Controls page while it is missing (Windows asks for permission to install it).
- To sing: any microphone connected to the PC, and a controller for the singer.


INSTALLATION

1. Either run the installer (RB2Recomp-v0.1.0-setup.exe: it installs for your Windows user, without
   administrator rights), or extract this zip to any folder, for example C:\Games\RB2Recomp.

2. Run "Rock Band 2 Launcher.exe". The first time, it asks for your Xbox 360 ISO, checks that it is the right
   game and extracts its files next to the launcher, then asks you to create your profile (your saves,
   achievements and playtime, shared with the other ElGus Recomps launchers). You only do this once.

   You can also copy the game files yourself instead: put the contents of the disc into the "assets"
   folder, so that assets\default.xex exists (extract-xiso, https://github.com/XboxDev/extract-xiso/releases,
   gets them out of an ISO).

3. Choose your options and press PLAY. Next time you can start RB2Recomp.exe directly: it uses the options
   you saved.

4. Calibrate: in the game's options, calibrate the audio and video lag once, so that the notes match what you
   hear on your own speakers or headphones. If you turn on Low latency audio (Settings > Audio), turn it on
   first and calibrate after.

If your default.xex is not the version this build was made from (CRC32 5EE01758), the game warns you: a
different version will most likely crash.


"WINDOWS PROTECTED YOUR PC" / UNKNOWN PUBLISHER

The executables are not code-signed, so Windows SmartScreen warns about an unknown publisher the first time
you run them. To avoid it with the zip, unblock it before you extract it: right-click it, Properties, tick
"Unblock" at the bottom of the General tab, OK, and then extract it. Otherwise click "More info" and then
"Run anyway" in the warning (once for each program).


ROCK BAND 2 LAUNCHER

The launcher works with the mouse, the keyboard or a controller. Changes are saved automatically and apply
when you press PLAY.

- Play: starts the game, with your current settings and achievements at a glance.
- Your profile (your picture at the top right): hours played, streaks, the week's activity, your games
  and your favorite achievements; edit your name, picture and color, or switch profiles.
- DLC: choose the folder where you keep your Xbox 360 packages (LIVE, PIRS or CON files, in it or its
  subfolders). The game reads them from there: nothing is copied, and the other ElGus Recomps launchers can
  use the same folder. Rock Band's song packages (the first Rock Band's and Rock Band 2's) add their songs to
  Quickplay's song list, with the disc's, and so do the songs exported from the first Rock Band (the saved songs
  the console's export wrote, one package each, with the Song Exporter License package beside them). The packages
  are listed by the game they were made for, each with a switch; every package of the folder comes turned on, so
  turn off other games' packages if your folder has them.
- Achievements: the game's 50 achievements, unlocked or not. In the game, F7 shows the same list.
- Controls: your guitars, drum kits, controllers, the keyboard and the microphone.
  - A guitar or a controller: what each of its buttons does. A guitar's frets are A, B, Y, X and LB of an
    Xbox controller, strum is the D-pad, the whammy bar the right stick and Overdrive Back (or tilting a
    guitar). A controller's Instrument: Guitar (the default), Drums, or Vocals for the singer (see SINGING).
    "Strum when a fret is pressed" makes a controller's frets strum as you press them, in songs. Whammy bar:
    how far the game reads the bar. If it reads pressed with the bar at rest, or does nothing (some
    third-party guitars), press Assign, push the bar all the way and hold it, then let it go; X clears the
    assignment. Tilt: the same, if tilting gives you no Overdrive (a Wii or PS3 guitar): press Assign, tilt
    the neck up as for Overdrive and hold it, then go back to your playing position.
  - Keyboard: turn on "Play with keyboard and mouse" to play with the keyboard as a guitar: frets D F J K L,
    strum with the Up and Down arrows, the whammy bar on the Right arrow, Overdrive with Space or Backspace,
    Start with Enter. "Strum when a fret is pressed" makes each fret strum as you press it, in songs. Change
    any key; Shift, Ctrl and Alt can be keys of their own (press and release one alone). Instrument: Drums
    plays the keyboard as a drum kit with keys of its own (D red, F yellow, J blue, K green, Space the kick
    pedal, Backspace Overdrive); your guitar keys stay as they were. Vocals makes the keyboard the singer's
    controller, with keys of its own as an Xbox 360 controller's, from a Layout: Recommended (WASD or the
    arrows move, Enter accepts, Backspace goes back, Escape is Start, Tab is Back), Windows menus,
    WASD + IJKL, Arrows + Z/X or Xenia. Escape can be assigned like any other key: to cancel an assignment,
    wait 6 seconds or press B on a controller.
  - Microphone: the microphone you sing with, its channel and gain, and its level (see SINGING).
- Mods (changes to the game itself; each applies when the game starts):
  - Highway: Highway scale (100 % by default): the note highway smaller or larger when you play alone, 80 to
    120 %, from the strike line. Highway length (100 % by default): each note shown that much earlier (125,
    150 or 170 %), as in Clone Hero: the highway continues beyond its far end in its own perspective and the
    notes reach the strike line at the same speed (on Expert a note shows 1.2 s before you play it; at 150 %,
    1.8 s); the timing to hit them does not change; every player gets it, with three players up to 143 %.
    Highway perspective (100 % by default): 25 to 150 %, flatter (the far end wider, its notes larger) or
    steeper; below 100 % the notes move slower near the strike line (about an eighth slower at 75 %), above
    it faster. Notes at the console's speed (off by default, under the perspective): they reach the strike
    line as fast as at 100 % whatever the perspective; the game's Breakneck Speed works on top of it.
  - Gameplay (each as on the console by default): No strum limit: on the console a strum within 52 ms of
    the last one is dropped, so fast alternate strumming loses notes; on, every strum counts. Hit window:
    Original (100 ms before and after the note, Rock Band 2's), Warriors of Rock (116 / 100 ms), YARG (70 /
    70 ms) or Wide (130 / 130 ms); unless it is Original, scores are not comparable with the console's.
    Sustain drop leniency (Off by default): 5 to 200 ms; a long note's fret let go is still held for that
    long, so letting go a moment early to reach the next note does not cut it. Infinite front-end (off by
    default): hammer-ons and pull-offs fretted before they reach the strike line count as they enter the hit
    window. Rock Band 2's own rules, with their console values: Hammer-on lock (on: a wrong fret inside a
    HOPO's window means it must be strummed), Overstrum keeps the sustain (off), HOPOs on chords (off),
    Strum leniency (60 ms: how long a strum waits for the right frets) and HOPO leniency (60 ms: how long
    after the window a HOPO can still be hammered).
  - Sound: Guitar effect (Effects switch by default): a Rock Band guitar picks its sound effect with its
    five-way switch; other guitars and controllers have none. Wah, Flanger, Echo or Chorus gives that effect
    to every guitar, None turns it off for all. Change effects with the D-pad (on by default): during a
    song, left and right on the D-pad step through the effects, with any guitar or controller (on the
    keyboard, Shift + Left and Shift + Right). Your voice in the speakers (on by default): the game plays
    the singer's voice back, with reverb, as on the console; turn it off if your microphone whistles
    through your speakers (see SINGING).
  - Tools: Autoplay (None by default): Rock Band 2's own autoplay, the one its tutorials use. The other
    instruments: every player but player 1 is played by the game, so you play your part with the rest of the
    band beside you; All: every player, you too, to watch a song. Scores made this way may be saved as yours.
    Debug keys (off by default): the developer's windows in the game.
- Settings:
  - Display: the monitor, fullscreen, borderless or window, the resolution, the image format (fill a screen
    wider than 16:9, where the stage is seen wider, or keep 16:9 with bars). The frame rate: 60 FPS (the
    console's), or 120, 144, 160, 165 or 240 FPS where your monitor reaches it (experimental; the songs keep
    their speed and stay in sync), and V-Sync.
  - Graphics: the renderer and the graphics card. NativeXRenderer (the default) draws the game natively with
    Vulkan; Xenos emulates the Xbox 360 GPU instead (DirectX 12 or Vulkan): choose it if something looks wrong
    with NativeXRenderer, and tell us where. Upscaling (AMD FSR 1 or NVIDIA NIS) with its quality and the
    internal resolution, antialiasing (SMAA or FXAA), sharpness, anisotropic filtering, and Ambient occlusion
    (off by default; Low to Ultra: soft shadows in the corners and folds of the stage, the band and the crowd,
    for some work of the graphics card; NativeXRenderer only).
  - Effects: the game's screen effects, each on by default as on the console: Bloom, Depth of field (and under
    it its strength: 100, 75, 50 or 25 %), Color looks (the venues' black and white, sepia, negative and tinted
    looks), Film grain and Trails. Film frame rate (off by default): some looks show the stage only about 24
    times a second, as on the console; off, the stage moves at the full frame rate.
  - Audio: the output device, the channels, the volume (up to 200 %), mute while another window is in front,
    and Low latency audio (off by default): the game takes your audio device in exclusive mode and its sound
    reaches your speakers sooner (about 21 ms instead of 70 on a USB audio interface); other programs cannot
    play on that device while the game runs. Calibrate the audio again after changing it.
  - Game: the launcher's language (the game itself is in English, as the disc sold in the USA). Black bars
    in the menus (on by default): with an image format wider than 16:9, the menus, loading screens and videos,
    made for 16:9, keep black bars at the sides; songs fill the screen. Skip the intro videos (off by
    default): the logos end as soon as the game has loaded and the intro movie is not played.
  - Updates: the version you have.


SINGING

Any microphone connected to the PC works as the game's Xbox 360 USB microphone:
1. In the launcher's Controls tab, choose Microphone (under the keyboard) and pick your microphone, or the
   Windows default. With an audio interface, pick the channel of the input your microphone is on.
2. Sing as loud as you will in a song and watch the Level bar: it should reach the yellow without touching
   the red. Change the Gain if it does not.
3. Choose the controller that sings and set its Instrument to Vocals. In Quickplay, that controller sings.
If the pitch line jumps around, lower the Gain; if the game does not hear you, raise it. Headphones help: with
speakers, the microphone hears the song too. The game plays your voice back through its sound, as on the
console: if your microphone whistles through your speakers (feedback), turn off Your voice in the speakers
(Mods > Sound), or lower the Gain or the game's Mic Volume. While a microphone is chosen, Windows shows that the
game is using it.


TYPING A NAME

When the game asks for a name (your band's, your character's), an on-screen keyboard opens. With a controller:
the D-pad or the left stick moves over the keys, A types, X erases, Y is a space, LB and RB move the cursor, LT
switches to capitals, RT to symbols and accented letters, Start accepts and B cancels. You can also type with the
keyboard or click the keys with the mouse.


MORE THAN ONE CONTROLLER

The first controller to press a button once the game starts plays with your profile and its saves. The other
controllers join as its guests, as on the Xbox 360 ("Name (1)", "Name (2)"): they play without saves of their
own.


QUITTING THE GAME

On the title screen ("PRESS START"), press B (the red fret): the game asks whether to quit. A (the green fret,
or Enter) quits, B (or Escape) goes back.


STEAM BIG PICTURE

Add RB2Recomp.exe as a non-Steam game: it starts straight into the game with the options saved by Rock Band 2
Launcher. You can also add "Rock Band 2 Launcher.exe" to change options with a controller.


FILES

- rb2.toml                  Base settings. Created with the defaults this game needs if it is missing.
- rb2_options.toml          What Rock Band 2 Launcher saves. Loaded after rb2.toml.
- logs\                     Log files: the game's (rb2_NNN.log) and the launcher's (launcher_NNN.log, with a
                            .dmp file when it stopped responding). Attach the latest ones when you report a
                            problem.
- userdata\                 The shader cache and your DLC folder's list. Keep this folder if you move the game to
                            another folder. If the game folder cannot be written (for example under Program
                            Files), it goes to Documents\rb2 instead.
- Your saves, achievements and playtime are in your profile: %APPDATA%\ElGuslml Recomps.

Command line options (--name=value, for example in Steam launch options) win over both files, e.g.
--rb2_frame_rate=120, --native_x_renderer=false (the Xenos renderer) or --rb2_autoplay=all.


REPORTING A PROBLEM

Tell us on Discord (https://discord.gg/XQtM5TmNs8), with where in the game it happened, a screenshot if you can,
and the latest files in the logs folder (the game's and, if the launcher misbehaved, the launcher's). If
something looks wrong, try the other renderer (Settings > Graphics > Xenos) and tell us whether it happens there
too.


KNOWN ISSUES

- Only the disc's version of the game: its title update is not supported yet. The game looks for it at each
  start and goes on without it.
- Above 60 FPS is experimental: the lens flares and the fading tails of long notes may change too fast.


MORE INFORMATION

Test build: the source code is not published yet. Report problems to whoever gave you this build,
with the latest file from the logs folder.

RB2Recomp's own code is under the MIT license (LICENSE). It is built on the ReXGlue SDK and other
components under their own licenses: see THIRD_PARTY_NOTICES.md and the "licenses" folder.
