Skip to content

2023-06-28

Compare
Choose a tag to compare
@Galladite27 Galladite27 released this 28 Jun 21:11
· 184 commits to master since this release

Comments

This is the first release with UTF-8 and proportional font support! There are still some issues which need sorting, but it's pretty stable, and in my testing, UTF-8 support works well and proportional font support works surprisingly well without making changes to the script for games designed for monospaced fonts. There is some information about these changes in the README.md

This release introduces a bugfix for the ;gameid directive, although this only matters for if you've been using recent builds of ONScripter-EN, and it doesn't apply to games using a game.id file. Otherwise, you should make a copy of your save data before using this new version, and put it in the save folder given at startup (On windows, see the files in %ALLUSERSPROFILE%\Application Data\ONScripter-EN for the terminal output).

The release codename "turducken" was chosen due to this release containing such a mashup of changes.

How to try out proportional fonts in old games

  1. Enable UTF-8/proportional mode
  • Change the script's name as follows to enable UTF-8/proportional mode:
    • 0.txt -> 0.utf
    • nscript.dat -> pscript.dat
  1. Replace the font
  • Delete the old font (likely default.ttf) from the game's directory
  • Place a proportional font into the game's directory, called "default" with one of the following extensions:
    • .ttf
    • .otf
    • .ttc
    • .otc
  • If you don't know which font to use, I recommend Giga Sans. If you do use it, remember to rename it to "default.otf".
  1. Ensure that upscaling is not active
  • Upscaling, as achieved through the window-width option of ons.cfg, is known to be buggy as of now.
  • Open ons.cfg (if present - if not, ignore this step)
  • If there is a line reading window-width=XXX, delete the whole line
  1. Run the new onscripter-en binary as normal!

Changes

  • UTF-8 script suport
  • Proportional font support
  • Some of the options listed by --help now only show on their supported operating systems
  • Relatively major bugfix for the ;gameid directive