Dreams to Reality - port for modern Windows
===========================================
Version v0.1.1

This is the 1997 Cryo game "Dreams to Reality" (European English edition for
Windows), recompiled to run on a modern PC: the game's program, GDIDREAM.EXE,
translated to run natively. No game data, music or video is included. You
need your own two game discs as disc images:

    one .cue file with its .bin files for disc 1, and the same for disc 2

The music is CD audio and exists only in such an image. An .iso file also
works, but then the game has no music.

This is a pre-release: see "If something goes wrong" below.

What you need
-------------
- Both discs of the European English Windows release. The launcher checks
  disc 1 by its program, GDIDREAM.EXE, whose SHA-256 must be
      b2f053bd26627eb618f034481fbeb49c2287bec834351787385a69d74db05001
  Other editions (Dutch, Spanish, Turkish, ...) have another program and are
  refused with "wrong edition".
- Disc images: a .cue with its .bin files (for example a dump named
  "Dreams to Reality (Europe) (Disc 1).cue" with one .bin per track), or an
  .iso without music. CHD, MDF/MDS, NRG, CCD/IMG and CDI images and zip, 7z
  or rar archives are not read: convert or unpack them to .cue/.bin first.
  An installed copy (C:\CRYO\DREAMS) or a CD in a drive cannot be used.
- 64-bit Windows 10 or 11. The default renderer, "New (GPU)", needs a
  Direct3D 11 graphics card; "Original (software)" does not. Nothing else to
  install.

The program is not signed, so Windows may warn about an unknown publisher:
choose "More info", then "Run anyway".

First start
-----------
1. Unpack this folder anywhere you can write to.
2. Start DreamsToReality.exe. The launcher window opens.
3. Under "Discs", choose the .cue file of each disc (in either order), or drop
   it on the disc's row (not on DreamsToReality.exe). Each row says whether
   the image was found and is the supported edition.
4. Change the port settings if you like (renderer, window, keyboard, gamepad).
5. Press Play.

The launcher opens on every start with your settings remembered. To skip it,
start "DreamsToReality.exe --play" (for example from a shortcut): the game
starts at once, or a message says what is wrong with the discs.

    --play           start the game without the launcher window
    --disc1 PATH     disc 1 for this run only (also --disc2)
    --data DIR       user data directory for this run only

Where your files are
--------------------
Beside DreamsToReality.exe:

    dreams.ini       the launcher's settings (disc paths, port settings)
    userdata\        everything the game writes
        CRYO\DREAMS\data\game\   your saved games
        log.txt                   the log of the last run
        crash-<number>.dmp        written if the game crashes (can be large)
        direct-fatal.txt          written if the GPU renderer stops

If that folder cannot be written to, both are kept in
%APPDATA%\DreamsToReality instead; the launcher shows which is in use.
Nothing is written anywhere else, and the disc images are only read.

In the game
-----------
Arrows move, Ctrl jumps or kicks, Alt punches, Space switches to combat,
1 to 3 select magic, Esc opens the menu, holding F10 shows the controls.
F11 toggles fullscreen. With the gamepad mode "Game joystick", press J in the
game to use the pad and K to return to the keyboard; connect the pad before
you press Play and leave its stick alone while the game starts.

The game saves by itself on every level entry; it has no Save command.

If something goes wrong
-----------------------
- The game stops with "The GPU renderer stopped on a case it does not
  support": choose Renderer: Original (software) in the launcher and play
  on. In this pre-release the GPU renderer loads every level in automated
  tests but has seen little real play.
- Keypad 1 to 5 toggle the original game's hidden debug switches; keypad 5
  turns off collision and level exits. Press the key again to undo.
- A frame cap above 30 breaks the original game's physics.
- To report a problem, open an issue at
  https://github.com/jlagedo/dreams-to-reality-re/issues and attach
  userdata\log.txt (its first line names this version, v0.1.1).
