https://github.com/zas/rokeyshack
A small libxcb patch to fix RegnumOnline game with french keyboards
https://github.com/zas/rokeyshack
champions french-keyboards game libxcb linux regnum
Last synced: 21 days ago
JSON representation
A small libxcb patch to fix RegnumOnline game with french keyboards
- Host: GitHub
- URL: https://github.com/zas/rokeyshack
- Owner: zas
- Created: 2019-03-10T16:36:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-09T16:38:13.000Z (almost 4 years ago)
- Last Synced: 2025-01-19T21:43:35.090Z (12 months ago)
- Topics: champions, french-keyboards, game, libxcb, linux, regnum
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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`
```bash
sudo apt-get install git
```
```bash
mkdir -p ~/src && cd ~/src && git clone https://github.com/zas/rokeyshack.git
```
- To build modified version of libxcb, you need (ubuntu):
```bash
sudo apt-get install build-essential xsltproc xcb-proto libpthread-stubs0-dev libxau-dev python3-xcbgen
```
- Create a target directory and cd to it:
```bash
mkdir -p ~/rokeyshack.built && cd ~/rokeyshack.built
```
- Download original version:
```bash
wget https://xcb.freedesktop.org/dist/libxcb-1.13.tar.bz2
```
- Unarchive in the keyboard hack directory:
```bash
tar xvjf libxcb-1.13.tar.bz2 && mv libxcb-1.13 libxcb.patched
```
- Patch it:
```bash
cd libxcb.patched/ && patch -p1 < ~/src/rokeyshack/libxcb-1.13.patch
```
- Build it:
```bash
./configure && make
```
- Use it:
```bash
cd .. && cp ~/src/rokeyshack/ro_launch.sh .
./ro_launch.sh
```
Note: you may want to adjust values in `src/hack.h`