Skip to content

Releases

Dark Sun Recompiled 0.1.2 alpha

Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 06:02
1cf22ae

The third alpha, made for Obsidian Edition 2.20.2. Your saves and builds from the 0.1.1 alpha carry over: the first start of each game builds it again once.

Dark Sun Recompiled runs Dark Sun: Shattered Lands and Wake of the Ravager as a native Windows
or Linux program instead of under DOSBox. The games' DOS code is translated to C and compiled on
your own PC, from your own GOG copy, the first time you start each game.

It is an alpha: the opening areas of both games have been
played through on it and compared with DOSBox, nothing past them has. Keep your DOSBox install.
Your saves work in both, so you can switch back at any point.

What's new since the 0.1.1 alpha

  • The window no longer closes as it opens (issue #49). On some Windows PCs the game picker
    ended at once with nothing said; it now waits for you. The mod's first start through its Loader
    no longer ends at once either (the Loader used to attach before the mod's helper had started).
  • About 35 KB more free memory in both games: the game now sits low in memory, as DOS puts it.
    With the mod and the map open, Shattered Lands had about 30 KB free and came close to "Out of
    memory"; it now has about 65 KB, and Wake of the Ravager about 83 KB.
  • The Obsidian Edition buttons open the Loader's window beside the game (the dice log, the
    Options tab), instead of starting the mod with the Loader hidden.
  • The Loader's Python is checked before it is used, as the mod's own find-python.bat checks it
    (3.8 or later, 64-bit, with tkinter); when none works, a message says so and where to look.
  • Fuller logs: dsun.log is always beside dsun.exe and written line by line, so a start that
    ends at once still leaves it; the run before is kept as dsun-previous.log; the Loader's own
    output goes to loader.log. log=full in dsun.ini keeps every line.
  • Shattered Lands is also found in GOG Galaxy's own Dark Sun folder.
  • The routine lists for Obsidian Edition 2.20.2's helpers, so the mod builds with everything it
    needs on the first start (attacks of opportunity, the party following through doors, the pointer
    fixes, the O key).

What is in the zip

darksun-recompiled-windows-x64.zip holds the program (dsun.exe, built with no game in it),
SDL2, the builder (builder\: the translator, GCC, TinyCC, NASM and an embeddable Python, with
their licences) and the guides README.md and PLAYING.md.

No part of either game is in the zip. The translated code is SSI's program in another form,
so it is never published. Your PC builds it from your own copy instead. Every zip is checked for
game code before it is uploaded (tools/check_release.py).

Getting started

  1. Install Shattered Lands and/or Wake of the Ravager from GOG.
  2. Unzip the release anywhere you can write to (not Program Files). For the Obsidian Edition,
    unzip it into the mod's folder, or next to it, after starting the mod once with Start Obsidian
    Edition.bat
    .
  3. Start dsun.exe and pick a game. The first start of each game builds it: click Build it.
    This takes a few minutes, once per game (on GitHub's Windows machines, 3 to 5 minutes
    for a plain game and 5 to 9 for one with the mod).
  4. Windows may say "Windows protected your PC", since the program is unsigned. Click More
    info
    , then Run anyway.

PLAYING.md in the zip covers the rest: the Obsidian Edition, MT-32 and Gravis UltraSound music,
Wake of the Ravager's CD, transferring a party, and what to do when something goes wrong.

What works

  • Both games, and the character transfer utility, start, play and save as in DOSBox, with the
    same dice for the same clock.
  • The Obsidian Edition 2.20.2 for both games, through its Loader or from the program's own
    picker: the dice log, the combat log, the party panel, kits, rules, outfits, shadows.
  • Sound: FM music (emulated OPL3), Sound Blaster speech and effects, MT-32 music with your own
    ROMs, Gravis UltraSound music with your own patch files (Shattered Lands only; Wake of the
    Ravager plays its music from the CD tracks), Wake of the Ravager's CD audio from GOG's image.
  • Speed, measured on GitHub's Windows machines (the title screen; the machines vary a lot from run
    to run): the GCC build has about 3.7 to 7 times the processor speed DOSBox gives the game. The
    TinyCC fallback has 0.7 to 2.3 times, so on a slow PC it can be slower than DOSBox. The game
    itself still keeps to its own clock.

Where it has been played

Compared with DOSBox, step by step:

  • Shattered Lands: the intro, menus, character creation, the arena of Draj, the slave pens'
    fights, saving and loading, a rest. With the mod, from the pens' grate into the sewers as far as
    the Tari warren.
  • Wake of the Ravager: Tyr. With the mod, through the Templars' offices and the Templar
    quarter, including Kalaobuta's fight.

Everything past that is untested.

Known issues

  • Windows Defender may call the download a "Trojan". It is a false positive: Defender's cloud
    check judges new, unsigned programs that few people have downloaded yet. The first upload of the
    0.1 alpha was removed from a PC that way, though Defender's own scan finds nothing in any of its
    files. Since the 0.1.1 alpha the program no longer does the one thing that looked suspicious
    (writing a batch file to the temp folder and running it to start the mod's Loader), and every
    release's files are scanned with Defender before upload. If Defender still stops it, choose
    Allow on the alert in Windows Security's Protection history. The program will be code-signed
    in a later release.
  • Past the opening areas, expect errors. The program may stop with no function at ... in its
    log when the game reaches code the build hasn't translated yet. The next start offers to build
    the game again with it (under a minute). Please report the log (dsun.log beside dsun.exe).
  • Mod releases newer than 2.20.2 still build, but a new helper may reach routines this release
    didn't list. It rebuilds and carries on as above.
  • The mod's patch switches: a patch you switch off in the Loader's settings stays on in this
    program. The content choices (Kalzith, the items) are honoured.
  • Transferring a mod party: the game's own transfer utility knows only the original items. Use
    the mod Loader's Take the party to Wake of the Ravager... instead.
  • Windows only as a download. Linux players build from the source (README.md).
  • No CRT look, and the picture settings are lines in dsun.ini.
  • Speed on a real PC hasn't been measured by a person yet, only on GitHub's machines.
  • The first start with GCC takes minutes, and on a slow PC longer. If GCC fails, the builder
    falls back to TinyCC, which builds in seconds but runs about a third as fast, which can be
    slower than DOSBox.

Reporting a problem

Open an issue at github.com/daaki85/darksun-recompiled/issues with dsun.log, the game, and what
you were doing. For a build that failed, add build\<game>\build.log.

Dark Sun Recompiled 0.1.1 alpha

Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 00:58
b288ac6

The first public build (0.1 alpha, rebuilt: see Windows Defender below), made for Obsidian Edition 2.20.0.

Dark Sun Recompiled runs Dark Sun: Shattered Lands and Wake of the Ravager as a native Windows
or Linux program instead of under DOSBox. The games' DOS code is translated to C and compiled on
your own PC, from your own GOG copy, the first time you start each game.

This is the first public build and it is an alpha: the opening areas of both games have been
played through on it and compared with DOSBox, nothing past them has. Keep your DOSBox install.
Your saves work in both, so you can switch back at any point.

What is in the zip

darksun-recompiled-windows-x64.zip holds the program (dsun.exe, built with no game in it),
SDL2, the builder (builder\: the translator, GCC, TinyCC, NASM and an embeddable Python, with
their licences) and the guides README.md and PLAYING.md.

No part of either game is in the zip. The translated code is SSI's program in another form,
so it is never published. Your PC builds it from your own copy instead. Every zip is checked for
game code before it is uploaded (tools/check_release.py).

Getting started

  1. Install Shattered Lands and/or Wake of the Ravager from GOG.
  2. Unzip the release anywhere you can write to (not Program Files). For the Obsidian Edition,
    unzip it into the mod's folder, or next to it, after starting the mod once with Start Obsidian
    Edition.bat
    .
  3. Start dsun.exe and pick a game. The first start of each game builds it: click Build it.
    This takes a few minutes, once per game (on GitHub's Windows machines, 3 to 5 minutes
    for a plain game and 5 to 9 for one with the mod).
  4. Windows may say "Windows protected your PC", since the program is unsigned. Click More
    info
    , then Run anyway.

PLAYING.md in the zip covers the rest: the Obsidian Edition, MT-32 and Gravis UltraSound music,
Wake of the Ravager's CD, transferring a party, and what to do when something goes wrong.

What works

  • Both games, and the character transfer utility, start, play and save as in DOSBox, with the
    same dice for the same clock.
  • The Obsidian Edition 2.20.0 for both games, through its Loader or from the program's own
    picker: the dice log, the combat log, the party panel, kits, rules, outfits, shadows.
  • Sound: FM music (emulated OPL3), Sound Blaster speech and effects, MT-32 music with your own
    ROMs, Gravis UltraSound music with your own patch files (Shattered Lands only; Wake of the
    Ravager plays its music from the CD tracks), Wake of the Ravager's CD audio from GOG's image.
  • Speed, measured on GitHub's Windows machines (the title screen; the machines vary a lot from run
    to run): the GCC build has about 3.7 to 7 times the processor speed DOSBox gives the game. The
    TinyCC fallback has 0.7 to 2.3 times, so on a slow PC it can be slower than DOSBox. The game
    itself still keeps to its own clock.

Where it has been played

Compared with DOSBox, step by step:

  • Shattered Lands: the intro, menus, character creation, the arena of Draj, the slave pens'
    fights, saving and loading, a rest. With the mod, from the pens' grate into the sewers as far as
    the Tari warren.
  • Wake of the Ravager: Tyr. With the mod, through the Templars' offices and the Templar
    quarter, including Kalaobuta's fight.

Everything past that is untested.

Known issues

  • Windows Defender may call the download a "Trojan". It is a false positive: Defender's cloud
    check judges new, unsigned programs that few people have downloaded yet. The first upload of this
    release was removed from a PC that way, though Defender's own scan finds nothing in any of its
    files. This build no longer does the one thing that looked suspicious (writing a batch file to the
    temp folder and running it to start the mod's Loader), and it is being reported to Microsoft. If
    Defender still stops it, choose Allow on the alert in Windows Security's Protection history, or
    wait a few days for Microsoft's review. The program will be code-signed in a later release.
  • Past the opening areas, expect errors. The program may stop with no function at ... in its
    log when the game reaches code the build hasn't translated yet. The next start offers to build
    the game again with it (under a minute). Please report the log (dsun.log beside dsun.exe).
  • Mod releases newer than 2.20.0 still build, but a new helper may reach routines this release
    didn't list. It rebuilds and carries on as above.
  • The mod's patch switches: a patch you switch off in the Loader's settings stays on in this
    program. The content choices (Kalzith, the items) are honoured.
  • Transferring a mod party: the game's own transfer utility knows only the original items. Use
    the mod Loader's Take the party to Wake of the Ravager... instead.
  • Windows only as a download. Linux players build from the source (README.md).
  • No CRT look, and the picture settings are lines in dsun.ini.
  • Speed on a real PC hasn't been measured by a person yet, only on GitHub's machines.
  • The first start with GCC takes minutes, and on a slow PC longer. If GCC fails, the builder
    falls back to TinyCC, which builds in seconds but runs about a third as fast, which can be
    slower than DOSBox.

Reporting a problem

Open an issue at github.com/daaki85/darksun-recompiled/issues with dsun.log, the game, and what
you were doing. For a build that failed, add build\<game>\build.log.