Skip to content

Config files to override the default sauerbraten config files.

Notifications You must be signed in to change notification settings

yodaxtah/Cube-Curb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cube Curb

Sauerbraten is an old game, so are its textures. However, nowadays, many upscaling models are available, some of which are specialized on certain game textures. This repository contains the code for Cube Curb, a work in progress tool that tries to support the whole upscaling pipeline for Sauerbraten, modded clients and forks of Cube/Tesseract.

Features

  • CLI upscaling. Ideally, we include the upscale process in this tool such that is automated as much as possible and the same upscaling can be done by anyone for other/new textures or for forks of the game.
  • CLI packaging, uploading and downloading and unpackaging. Currently, all this must be done manually.
  • Config file conversions to point to upscaled files without side effects. Currently, most conversions work, aside some formatting and lacking parsing for lava, water and other materials, as far as is known.
  • Broad client support. Sauerbraten is a game with many clients and forks, but currently only Sauerbraten and Tesseract-Sauerbraten are supported. Ideally, the tool can generate config files for clients that have slightly different structures (as part of the changes in the fork).
  • External texture repository. Ideally, the tool can automatically create links to an external texture repository (outside of the mod directory) such that all clients can use the same upscaled textures, rather than duplicating that (large) folder.
  • Configuration of override policy: specify which types to include and when to override or add new textures (such as normal and height maps).

Demo

Here are screenshots taken before and after applying the upscaled textures in the vanilla Sauerbraten client. In some places, the improvements are immediately very visible, elsewhere the improvements are more subtle.

abyss before applying upscaled textures abyss after applying upscaled textures asenatra before applying upscaled textures asenatra after applying upscaled textures berlin_wall before applying upscaled textures berlin_wall after applying upscaled textures

Manual install (WIP)

Note

The textures are stored in a file transfer service, so they are currently only available until the First of June (2025)

Warning

Make sure you read all instructions and be careful with overriding files, because they will be lost. Can't hurt to read a bit ahead and make backups as proposed.

Note

You need to run a few mklinks for the non-vanilla Tesseract-Sauerbraten client; come back later for detailed instructions, but already get the textures while they are available.

  • Optional: Go to a specific map (e.g. aastha), move close to the geometry, make sure you have a few (but not only 1) close textures in sight and take a screenshot from a spot you can easily return to (like a corner).
  • Go to My Games/Sauerbraten/packages, create harry, enter the folder, create upscale. You should now be at My Games/Sauerbraten/packages/harry/upscale.
  • Get the Send content (see below). If you get a message "This browser might not be able to decrypt a file this big", just "Continue with this browser". The files are not encrypted. Extract the zip and you'll see two files: README.md and another zip containing textures. Extract the other zip which should be one of the following names. (You can move back and forth between this step and the next step for each downloaded zip.)
  • Now, do the following:
    • Extract the textures from upscale-subfolders-set-1.zip to the folder .../upscale, such that you have new folders .../upscale/aard, .../upscale/aftas, ..., .../upscale/loopix, .../upscale/lunaran.
    • Extract the textures from upscale-subfolders-set-2.zip to the folder .../upscale, such that you have new folders .../upscale/makke, .../upscale/meister, ..., .../upscale/tomek, .../upscale/trak5.
    • Extract the textures from upscale-textures-subfolders-set-1.zip to the folder .../upscale/textures, such that you have new folders .../upscale/textures/fatum, ..., .../upscale/textures/nieb.
    • Extract the textures from upscale-textures-subfolders-set-2.zip to the folder .../upscale/textures, such that you have new folders .../upscale/textures/ow, ..., .../upscale/textures/yves_allaire.
  • If you have modifications in packages or data (or config), make sure you backup your changes.
  • Download packages, and data (or config) folders from this repository; they contain the prebuilt config files, generated using the util/convert_config.py script. The folder data is only needed for Sauerbraten, the folder config is only needed for Tesseract.
  • Paste these folders in My Games/Sauerbraten/ and override the contents if necessary. This will add the files to the potentially already existing folders and override files whenever it already existed.
  • Start Sauerbraten, open a map (e.g. aastha) and move towards a texture. Take a screenshot at the exact same location and compare outside Sauerbraten. It should look better; otherwise, ask for help.

About

Config files to override the default sauerbraten config files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages