Chaosforge Forum

  • May 11, 2021, 02:13
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: DoomRL on Alacritty  (Read 90 times)

ParaSait

  • Baffen :P
  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1229
  • Happy Little Boozer
    • View Profile
    • MPSF
DoomRL on Alacritty
« on: March 28, 2021, 14:48 »

The Linux version of DoomRL comes with launchers for 3 popular terminal emulators (xterm, gnome-terminal and konsole). However, I happen to like none of those, so I made my own for Alacritty, my terminal emulator of choice, which is hardware-accelerated and highly customizable. I made it so that it resembles DoomRL as I remember it (on Windows) as closely as possible. Perhaps this is interesting for others, so I wanted to share it...

Aside from Alacritty, you'll just need to have the Fixedsys Excelsior font installed. Then put the following files (the launcher and the according config file, respectively) in the DoomRL directory:

doomrl_alacritty
Code: [Select]
#!/bin/sh
set -eu

/usr/bin/alacritty --config-file ./doomrl_alacritty.yml -e ./doomrl -console

doomrl_alacritty.yml
Code: [Select]
env:
  TERM: xterm-256color
window:
  dimensions:
    columns: 80
    lines: 25
  title: DoomRL
  dynamic_title: false
font:
  normal:
    family: Fixedsys Excelsior
    style: Regular
  bold:
    family: Fixedsys Excelsior
    style: Regular
  italic:
    family: Fixedsys Excelsior
    style: Regular
  bold_italic:
    family: Fixedsys Excelsior
    style: Regular
  size: 24.0
colors:
  normal:
    black:   '#000000'
    red:     '#ff0000'
    green:   '#00ff00'
    yellow:  '#ffff00'
    blue:    '#0000ff'
    magenta: '#ff00ff'
    cyan:    '#00ffff'
    white:   '#ffffff'
cursor:
  style: Underline
  unfocused_hollow: false
  thickness: 0.1

I added some screenshots in the attachments.

Enjoy!
Logged
[18|7|3|0|0|0] [MED:13/43] [SPE:36/67] [ASM:11/40]

Check out my epic youtube channel!
Currently playing The Bard's Tale and System Shock 2 (coop with GrAV1t)!
Pages: [1]