Skip to content

RQ MOD 2.67.0 Public Beta

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:33

Mod support for Rance Quest Magnum: mods in Lua, loaded at runtime. RQ MOD is a fork of xsystem4; see CREDITS.md.

Public beta: the tools that help make new content are not done yet.

Install: extract the zip into the game's folder and start xsystem4\xsystem4.exe. Put each mod's folder under mods. The install guide has the details, and where the logs are when something goes wrong.

Docs and the API reference: https://rq-modding.github.io/rq-modding-docs/ (the reference is also in the zip, offline: xsystem4\api.html; RQ-MOD-README.txt has the steps).

Community: RQ MOD on Discord, the official server (also the Discord icon by the version on the main menu); Rance & Alicesoft Western Community on Discord; Moru on X (Twitter).

In the zip

In the game's xsystem4 folder, beside the engine (xsystem4.exe):

  • Rance Browser 1.4.0 (rance-browser.exe): the game's pictures, Flash files, music, sounds, 3D models and names, each with the Lua line that changes it. Guide: Looking through the game's files.
  • RQ Scene Editor 1.0.1 (rq-scene-editor.exe): writes a mod's scene files and plays them in the game. Guide: Writing scenes in the scene editor.
  • rqmod-aff (rqmod-aff.exe): makes and checks a mod's Flash animations. Guide: Animations.
  • rqmod-ctl (rqmod-ctl.exe): drives the running game from a script; run alone, it lists its commands.

New in this release

RQ MOD 2.67.0 follows 2.65.1 and brings 2.65.2 to 2.66.2 with it (none of them was released on its own). Most of it is the game's look: the 3D drawn at the window's own size, the game's own 3D settings that the engine kept without using (anti-aliasing, texture filtering, shadows), a sharp window on a scaled monitor, and every magnification filter in Config. For mods, skill forms.

For players

  • The 3D at the window's size (2.67.0): in a window larger than 1024 by 768, in full screen, or on a monitor that Windows scales above 100%, a fight's monsters and a quest's map are drawn at the window's own pixels, as sharp as the window allows, while the menus, cards and text are enlarged by the filter as before. On by default: "3D at the window's size" on Config's Other 2, under the filters, and in the title bar's menu.
  • The game's 3D settings work (Config's 3D tab):
    • Anti-Aliasing 2X, 4X or 8X smooths the edges of the models and of the fight backgrounds (2.65.3), and of leaves, grass and hair cut out of their pictures (2.66.2).
    • Texture Filtering up to 16X anisotropic keeps the floors sharp into the distance (2.66.1).
    • Shadows and Shadow Map Resolution set how soft a shadow's edge is and how closely it follows its model (2.66.2).
  • A new player's first settings (2.66.2): the highest 3D settings with 16X filtering, and the Lanczos filter for a larger window. Settings already saved stay as they are.
  • A sharp window on a scaled monitor (2.66.1): at 125% (common on laptops) Windows stretched the game's window and blurred everything; the game is now drawn into the screen's own pixels.
  • All five magnification filters on Config's Other 2 (2.65.2): Standard, Bicubic, Nearest, Lanczos and xBRZ, each with a tip; the title bar's menu marks the one in use.

Guide: Install, "A larger window" and "Smoother 3D".

The programs, and what is new in them

  • Rance Browser 1.4.0 (xsystem4\rance-browser.exe; 1.3.0 in RQ MOD 2.65.1): Sengoku Rance, Rance 01, Rance 02 and Rance 03 are tested, each with English labels for its CG groups; the newer games' archives are read by their folders, Rance 03's music is found in its sound archive with each track's loop, and voices have a tab of their own. Guide: Looking through the game's files.
  • RQ Scene Editor 1.0.1 (xsystem4\rq-scene-editor.exe), as in 2.65.1, built on Rance Browser 1.4.0's library.

For mods

  • Skill forms (2.66.0): rq.skill.form_of declares skills that take each other's place in one skill row, as the game turns Melee Attack into Thrust Attack, keeping the row's uses and its hotbar place; the buy list sells the form a character holds, and rq.chara.learnable, price and learn follow the game's recalculation.
  • The window (2.67.0): rq.ui.window() (its size, the game's picture in it, the 3D's state), rq.ui.set_window_size, and rq.ui.shot(path, { window = true }) for the window as shown.
  • Updated mods for skill forms, which need this release: Loadouts 1.4.0 (a loadout follows a row through its forms, so Magic Thrust builds load), Spellblade Knowledge 1.3.0 and Athena QoL 1.1.0.

The details of every change are below.

Changes since 2.65.1

2.67.0

The 3D at the window's size. The game draws a picture of 1024 by 768, which the window shows enlarged by the filter chosen on Config's Other 2: on a larger window, in full screen or on a monitor scaled above 100%, the 3D was enlarged with everything else, so a fight's monsters and a quest's map were as soft as an enlarged picture. They are now drawn at the window's own pixels, as sharp as the window allows, and the 2D (cards, menus, text) is enlarged by the filter as before.

  • The scene is drawn twice, with the 3D view's picture once black and once white, which gives for each pixel what the 2D adds over the 3D and how much of the 3D shows through; the window shows the 3D drawn at its size through that. The cards, windows, effects and fades over the 3D, with their blends, cover it as before. The game's own picture (shots, transitions, the game's copies of the screen) is the same as before.
  • It works when the window is larger than the game's picture, one 3D view is drawn, and no transition or movie is playing; otherwise the frame is drawn as before. A graphics driver that cannot draw it (no float pictures) draws as before, with a line in the log.
  • A setting, on by default: "3D at the window's size", a checkbox under the filters on Config's Other 2 (agents see check-sharp-3d) and an entry of the title bar's menu. It is kept in WindowSetting.json as sharp_3d. The log says 3D at the window's size: 2048x756 (scale 2.00) when the 3D's picture changes size, and on or off when the setting changes.
  • rq.ui.window(): the window's size in points and pixels, where the game's picture is, its scale, full screen, the setting and whether the last frame showed the 3D at the window's size, with that picture's size.
  • rq.ui.set_window_size(w, h): the window's size, for agents and tests.
  • rq.ui.shot(path, { window = true }) and rqmod-ctl shot PATH window: the window as shown, at its own pixels. Without it a shot is the game's picture, as before.
  • rq.sprite.scene's rows (and the pipe's scene) have plugin: "ReignEngine" for a 3D view.
  • Rance Browser's copy of the renderer has the change, which its views do not use.
  • The Lab: window-3d sets the window to twice the game's picture and shoots a quest's map with the setting on and off (from Config's Other 2, as an agent presses it) and a fight; its checker finds twice the detail in the map's 3D with it on, the 2D and the game's own picture the same both ways and no seam along the 3D's edges. config-filter goes through the new row with the keys.

2.66.2

The game's shadow settings, smooth cut-out edges under anti-aliasing, and better first settings for a new player.

  • Config's 3D tab has Shadows (Low, Medium, High) and Shadow Map Resolution (Low, Medium, High), but the engine drew every shadow the same way: a map of 512 by 512 with a softened edge. Shadow Map Resolution now sets the map's size, 512, 1024 or 2048, so a shadow follows its model's shape more closely (High shows the legs' shadows under a monster); Shadows sets its edge: Low hard, Medium softened as before, High softened over a wider band, smoothly. The log says 3D shadows: high and 3D shadow map: 2048 (or the other values) when a setting changes. The game's highest quality level sets High and High.
  • With anti-aliasing on, the edges of the shapes cut out of their pictures, such as leaves, grass, hair, fur and fences, are smoothed too: they were drawn with a hard step whatever the setting, as anti-aliasing smooths only the edges of the polygons. They blend over the pixel's samples now. Without anti-aliasing they are as before.
  • A new player's first 3D settings: with no 3D level saved, the game chose its middle level (bilinear filtering, no anti-aliasing, medium shadows). It now saves the highest level's settings (4X anti-aliasing, high shadows on the largest map, the edge outlines) with 16X anisotropic filtering instead of 4X, as the custom level. A player who saved 3D settings keeps them.
  • The window's filter is Lanczos until the player picks one; it was Standard. A filter already saved stays.
  • No rq.* call changed.
  • Rance Browser's copy of the renderer has the change; its 3D views keep medium shadows on a map of 512 and no anti-aliasing, so they look as before.
  • The Lab: shadows-edges shoots a fight with each pair of shadow values, set through the game's own reload of its 3D settings, and a forest fight with anti-aliasing off and at 4X, whose checker finds the leaves against the sky smoothed; it also runs the game's first save of the 3D settings with no level saved (the file's writing skipped) and with one saved, and checks the values it saves.

2.66.1

The game's 3D texture filtering, and a sharp window on a scaled monitor.

  • Config's 3D tab has Texture Filtering (Point-sampling, Bilinear, 4X, 8X and 16X Anisotropic), but the engine kept the setting and filtered every texture the same way. The models' textures are now filtered as chosen: anisotropic filtering keeps a surface seen at a slant, such as a quest's floor or a fight's ground, sharp into the distance, where it blurred; point sampling draws a texture's pixels as they are, without smoothing. Bilinear looks as before. A change on the 3D tab shows at once, as the game loads its 3D settings again; the log says 3D texture filtering: anisotropic 16x (or point sampling, bilinear, anisotropic 4x, anisotropic 8x) when the setting changes. A graphics driver that allows less anisotropy than chosen uses its most.
  • On a monitor that Windows scales above 100% (125% is the default on many laptops), Windows drew the game's window as if at 100% and stretched the picture by the scale, which blurred everything, the text and the 3D too. The game now tells Windows that it knows the scale: the window keeps its size on the screen, and the game is drawn into the screen's own pixels, enlarged by the filter chosen in Config ("Other 2"; Lanczos or xBRZ keep it sharpest). Moved to a monitor with another scale, the window takes the size it should have there. The mouse, full screen and rqmod-ctl's moves follow. Window sizes the game keeps have the same meaning as before.
  • No rq.* call changed.
  • The Lab: texture-filter holds a fight at its first turn and shoots it with each value, set through the game's own reload of its 3D settings; its checker finds more detail in the far floor with anisotropic filtering, 16X at least as much as 4X, the two bilinear shots the same and point sampling drawn otherwise.

2.66.0

Skill forms: several skills that take each other's place in one skill row. The game turns Melee Attack into Thrust Attack, keeping the row's uses and its place on the hotbar, when a character has Spear Knowledge ★★ and holds a spear, and back with another weapon; mods do the same with their own skills. The loader matched rows by skill number only, so a planner such as Loadouts lost the row once it changed (a build with Spellblade Knowledge's Magic Thrust could not be loaded), and its tries never ran the game's recalculation that makes the change.

  • rq.skill.form_of(skill, base): declares a skill a form of another; families join. The game's five pairs, Melee Attack 1 to 5 and Thrust Attack 1 to 5, are built in. rq.skill.forms(skill): the family, lowest number first.
  • The buy list sells the form a character holds: for a skill it does not hold while it holds a form of it, the list shows that form, priced from the held row (one more point at 3, 5 and 7 uses), and buying raises it. The game sold Melee Attack as a second row beside the Thrust Attack an erased Spear Knowledge left; it raises the Thrust Attack row now.
  • rq.chara.learnable with after and rq.chara.price recalculate the character in their tries, as the skill window does after each purchase: a Boost kept at rank 4, Thrust Attack, a mod's swapped rows are in the list they read. learnable recalculates after each step of a ranked skill and each erasure, and once before the list after steps of uses, which change no form (a planner replays its steps in every list it asks for); price after each step. The globals the recalculation writes outside the character are put back with it. A step reaches the row of a form the character holds. learnable's third value is the character's rows after the steps.
  • rq.chara.learn recalculates after each purchase, as the window does (before, once after the last), and raises the row of a form the character holds.
  • rq.chara.on_recalc's callbacks and rq.chara.edit's on_recalc get a second argument, preview, and rq.chara.on_offer's ctx a preview field: true inside the loader's tries, on a character put back after.
  • A row bought before loader 2.45.0 (no purchase record) that shows a form of a starting skill is priced, at its next purchase, from that skill's starting level: its starting uses are not counted as bought.
  • Spellblade Knowledge 1.3.0, Athena QoL 1.1.0 and Loadouts 1.4.0 use the forms: a Magic Thrust or Calculated Shot build loads after a reset of the character's skills, whatever the weapon.
  • The Lab: skill-forms checks the families and their errors, the list selling the form held (Thrust Attack left by hand on a Melee Attack row, priced and raised there), the tries on Elenoa with Spear Knowledge and with both knowledges (one row, its uses, its hotbar place, the list's price; the character, its stats, its flags and the kept globals as before), preview in and out of a try, learn's recalculation after each purchase, and Spellblade Knowledge's Magic Thrust bought through Melee Attack 1. loadouts-paths loads Elenoa's Magic Thrust build as Loadouts 1.3.0 saved it and as 1.4.0 saves it, with a sword and with a club, in reverse order, the game's Thrust Attack on a spear, and a skill reached on a second pass. athena-qol loads a loadout with Calculated Shot after a reset of Athena's skills.

2.65.3

The game's 3D anti-aliasing. Config's 3D tab has Anti-Aliasing (Disabled, 2X, 4X, 8X), and the highest of its four quality levels sets 4X, but the engine kept the setting and drew the 3D without it.

  • The 3D scene (a fight, a quest's map and the game's other 3D views) is drawn with 2, 4 or 8 samples a pixel, as chosen: the edges of the models, of the background's polygons and of the outlines are smooth instead of stepped. Lines inside a texture, and the 2D pictures and text over the 3D, are as before.
  • A change on the 3D tab shows at once, as the game loads its 3D settings again; the log says 3D anti-aliasing: 4x (or off, 2x, 8x) when the setting changes. A count the graphics driver cannot give is drawn without anti-aliasing, as before.
  • No rq.* call changed.
  • Rance Browser 1.4.0 in the package: Sengoku Rance, Rance 01, Rance 02 and Rance 03 are tested, each with English labels for its CG groups; the newer games' archives are read by their folders, Rance 03's music is found in its sound archive with each track's loop, and its voices have a tab of their own (--shot voices).
  • The Lab: anti-aliasing holds a fight at its first turn and shoots it with each value, set through the game's own reload of its 3D settings; its checker finds the background's edges smoother with each value, and the two shots without it the same.

2.65.2

The window's magnification filter in Config. The Window tab's Magnification has the game's two filters, Standard and Bicubic; RQ MOD's other three, Nearest, Lanczos and xBRZ, were only in the menu of the window's title bar (a right click on it).

  • Config's Other 2 tab shows all five under its checkboxes, as one choice: Standard (bilinear), Bicubic, Nearest (pixel), Lanczos and xBRZ, each with a tip. It is RQ MOD's own and shows with or without mods. A choice takes effect at once and is kept, as the title bar's menu keeps it. The keys reach it: Down from the last checkbox, Up from the buttons at the bottom. Agents see its rows as check-magnification-standard, -bicubic, -nearest, -lanczos and -xbrz.
  • The Window tab ticked Standard while one of the other three was in use, and kept Standard from being clicked. Neither is ticked then now, and both can be clicked.
  • The title bar's menu marks the filter in use, wherever it was chosen: in the menu, on Other 2 or on the Window tab.
  • No rq.* call changed.
  • The Lab: config-filter picks each filter on Other 2 as an agent presses and with the keys, checks the Window tab with one of RQ MOD's filters and with the game's, and goes to the title from Other 2 (no rows there, and Other 2 with its rows again after it).

Every version: CHANGELOG.md