Skip to content
/ rokeyshack Public

A small libxcb patch to fix RegnumOnline game with french keyboards

Notifications You must be signed in to change notification settings

zas/rokeyshack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

French keyboard hack for Champions of Regnum Online (https://www.championsofregnum.com/)

This game has very bad support for key binding and especially with french keyboards under Linux.

  • Clone this repo in ~/src
    sudo apt-get install git
    mkdir -p ~/src && cd ~/src && git clone https://github.com/zas/rokeyshack.git
  • To build modified version of libxcb, you need (ubuntu):
    sudo apt-get install build-essential xsltproc xcb-proto libpthread-stubs0-dev libxau-dev python3-xcbgen
  • Create a target directory and cd to it:
    mkdir -p ~/rokeyshack.built && cd  ~/rokeyshack.built
  • Download original version:
    wget https://xcb.freedesktop.org/dist/libxcb-1.13.tar.bz2
  • Unarchive in the keyboard hack directory:
    tar xvjf libxcb-1.13.tar.bz2 &&  mv libxcb-1.13 libxcb.patched
  • Patch it:
    cd libxcb.patched/ && patch -p1 < ~/src/rokeyshack/libxcb-1.13.patch
  • Build it:
    ./configure && make
  • Use it:
    cd .. && cp ~/src/rokeyshack/ro_launch.sh .
    ./ro_launch.sh

Note: you may want to adjust values in src/hack.h

About

A small libxcb patch to fix RegnumOnline game with french keyboards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages