clockworkpi

How to install l'Abbaye des Morts?

I was searching for info on this game l’Abbaye des Morts and haven’t found any… Maybe someone can help?
Here is the source but I’m a noob, so I don’t know how to install it…

1 Like

I’m having a look!
I tried at first just downloading the source, and building it like so:

wget https://github.com/pleft/abbayedesmorts-gpl/archive/v2.0.1.tar.gz && tar xf v2.0.1.tar.gz
make

This gave the following:

cc -O2 -finline-functions -funswitch-loops -fgcse-after-reload -fpredictive-commoning -ftree-vectorize `sdl2-config --cflags` -DDATADIR="\"/usr/share/abbayev2\"" src/drawing.c src/ending.c src/enemies.c src/game.c src/gameover.c src/history.c src/jean.c src/loading.c src/main.c src/startscreen.c -o abbayev2 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lm

**src/drawing.c:7:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/ending.c:7:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/enemies.c:7:10:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

#include **<SDL2/SDL_mixer.h>**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/game.c:8:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/gameover.c:8:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/history.c:7:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/jean.c:8:10:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

#include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/loading.c:6:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/main.c:13:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

**src/startscreen.c:7:11:** **fatal error:** SDL2/SDL_mixer.h: No such file or directory

# include **"SDL2/SDL_mixer.h"**

**^~~~~~~~~~~~~~~~~~**

compilation terminated.

make: *** [Makefile:24: abbayev2] Error 1

So I’ve tried installing said files:

sudo apt-get install libsdl2-2.0 
sudo apt-get install libsdl2-dev

Same result.

Trying something, I’ve now installed it from source as follows:

wget https://libsdl.org/release/SDL2-2.0.12.tar.gz && tar xf SDL2-2.0.12.tar.gz
cd SDL2-2.0.12.tar.gz
./configure
make -j4
sudo make install
cd
sudo rm -r SDL2-2.0.12
rm SDL2-2.0.12.tar.gz

Sadly, when trying to make the game, same result.

Anyway, just posting my thought process, in case it gives you an idea. I’m just guessing here, and also have no idea what I’m doing! I’ll look at it more later tomorrow!

1 Like

@elefas maybe you can explain how we can install it? Thanks in advance.

https://packages.debian.org/stretch/libsdl2-mixer-dev

sudo apt-get install libsdl2-mixer-dev libsdl2-mixer

1 Like

OH HAHAH I FORGOT TO FINISH INSTALLING THE REST!
I have no idea why I just … stopped at just libsdl2. My apologies!
Thanks so much @r043v!

Here’s some instructions to get it installed.

sudo apt-get install libsdl2-mixer-dev libsdl2-dev
git clone https://github.com/pleft/abbayedesmorts-gpl.git
cd abbayedesmorts-gpl
make -j4
sudo make install
cd
sudo rm -r abbayedesmorts-gpl

abbayev2 is now installed in /usr/bin, meaning you can run it just by using the command “abbayev2”

Test it while in an SSH session, first typing export DISPLAY=:0, then typing abbayev2

Afterwards, just have a script, pretty much anywhere containing.

#!/bin/bash
abbayev2

I put mine in the indie games folder. Here’s an example, with an icon I just whipped up.

You shouldn’t need to give it a chmod to make it executable.

2 Likes

@javelinface @r043v
Have you checked it, I mean game? It has a real issues with controls, is it possible to tweak?

Oh? I was playing it earlier on. What other controls are there besides D-pad left right to walk, up to jump, down to crouch? I didn’t play that much, so wasn’t sure of any other inputs. I only know about as much about this game as someone who has played it for 5 minutes. This is the first I’ve ever played it. It’s 2am now, so I’ll look deeper to see if we can change the controls, possibly tomorrow.

change the source if you want change keys, only key used is “J”, meaning A buttons in xbox layout

2 Likes

Haha I was just about to say exactly that!

Around line 339 onwards, you should be able to remap things.

2 Likes

I’m sorry, but as I said I’m only learning. Where should I change source?
I already installed game and made shortcut in the menu… Can I just reinstall game with new keymaps? What should I do?
And by the way there is not only “j” key used in game, you can also change graphics style with “c”…

download sources like before but patch them before launch the make,
on your pc, or directly onto the gs by ssh using vim (press “i” will put you in insert mode, press “escape” to left the edit mode, typing “:wq” to save and quit)
patch keys using gameshell keypad binding :

1 Like

The commands are like baking a cake.
“apt-get install” is making sure you’ve got an oven, baking tin and any other tools required to bake a cake.
Think of the “git clone” as preparing your ingredients, and the “make” command as making a cake. Changing the controls is like substituting out flour for gluten free flour. You need to adjust the ingredients to your liking, before making the cake.
Once it’s baked, you can’t pull the flour out.
The “make install” command is like putting it on your cake table, so it’s ready to be eaten.
Hopefully that made some sense?

In this case, the file you want to modify is found in the “src” directory, which you will find in what you “git cloned.” It is called “game.c”

I don’t know what OS you’re using, but if it’s too hard to use a terminal, and use vim, nano or anything else to edit things within a command line, you could always try and download the file to your computer, and open if in an editor to manually change the file, “game.c”

You can just use textedit, notepad or anything, although it’s hard to tell what line you’re on, and some thing might format a bit stupidly. If you’re on a Mac, Xcode is fairly beginner friendly. I’m not sure of any other programs, as those are what I use.

The controls are around line 339 onwards, so have a look at the code there, identify the name of the command you want changed, then substitute your own changes. It’s kind of like a config file - just you only have one chance to set it.

After you’ve updated the “game.c” file to change the controls to your liking, copy the file back to the Gameshell, overwriting the old one, and then proceed to “make” and “install” the file again.

The “rm -r” command means to put away all the containers of food you put out to make your cake. Some people leave things out in the kitchen; just like some people don’t clean up their source files. Don’t be that guy ;).

Apologies if this all sounds like I’m a host on Sesame Street, but hopefully it all makes sense.

Also I just woke up and am hungry. :slight_smile:

2 Likes

The problem is that “j” for jump (A buttons in xbox layout) is not working, I don’t know why, but game still thinks that I’m using a keyboard. So only buttons on the gameshall pad I can use is a directional pad for moving, “select” to start the game (whis is “space” in stock controll scheme) and “y” button for info (which is “i” in stock controll scheme)
I’m confused.

Thanks :ok_hand: Yeah, now I understood it. But the problem is that I’m not good and coding or better say terrible. I can understand something thanks to schools programing course, but it even less then basic understanding :face_with_head_bandage:

1 Like

I’m assuming you just want to use the xbox A button (ie, SNES B button) as the jump key? If not, let me know and I can fiddle with things.
By the look of things, if you’re using a Gameshell, it will map J as jump. Otherwise, it will just default to the stock UP key as jump. For some reason, your gameshell isn’t identifying as a gameshell. Huh. Weird.

I’ve made a quick fork, just changing the value of the jump and I believe the graphics toggle key? Just so that it will default to gameshell keys no matter what.

Do the same command as above, just using my fork.
If you haven’t already done so, remove the source files you cloned last time.

cd
sudo rm -r abbayedesmorts-gpl

You shouldn’t need to install the libsdl2 stuff again, since I’m guessing you got it running before.
That leaves us with:

git clone https://github.com/javelinface/abbayedesmorts-gpl.git
cd abbayedesmorts-gpl
make -j4
sudo make install
cd
sudo rm -r abbayedesmorts-gpl

I haven’t actually tested it yet, because the weather is being stupid, and that’s when the wifi starts to misbehave in my house with the gameshell. Girlfriend’s on a conference call for work; otherwise I’d usually just restart the router/modem.

Otherwise, just go to the GitHub page you linked in the OP, and start your own fork; editing the files there as you see fit. It’s not really any different to what you did, re: changing config files for say mednafen or any other things I’ve seen you edit files in.

See how that goes.

Abbaye
(just made an updated icon using the included png instead - obviously mainly for DEOT, but if you want one for a standard console, lmk)

I just made it myself, I’m very proud of myself :crazy_face:
It is not installing properly because changes in files are optional for gameshell, it really need to be edited before “make” command.

Yes, I want to make it that way. Also, I know this game have function of changing graphic style during gameplay, but it is not working now… Need to be fixed.

Also, I wonder if its game installs properly consider all this stuff with control scheme, maybe it even installing not correctly?

1 Like

Oh! Ha, so you didn’t need to have my change! Well done!

Was what you did pretty much the same as mine? And did you make a fork, or just edit the file directly?
For future reference, the method I gave above can be used without having to edit the file manually.

Re: it not identifying the console as a gameshell, It could be to do with a few things, such as the OS version not aligning with what is expected. It looks like this fork was made before 0.5 came out.

Re: the graphic toggle mode, install the game as per my instructions above with my fork. The toggle button should work. And it’s definitely installing correctly. It’s just the trigger that is telling what the console identifies as isn’t working. There aren’t any other controls afaik, like no stab buttons or anything. Looking at what was changed initially for gameshell, it was very limited.

I tried installing an unmodified master file. The scaling was all wrong, so there are definitely things installed correctly using this method. I take it you fear that given how the controls weren’t installed properly, potentially something else wasn’t installed correctly. I think it’s fairly safe to say, everything else should be fine. :slight_smile:

1 Like

@podmaz - Do you have any experience playing this game on any other platform? Just wondering whether the jump is meant to basically moon jump, regardless of the duration the jump key is held. I’ve never played it, so don’t know if this is just the constraints of the game, or something we should bother editing in. I’m guessing moon jumping is just the way the game plays.

I edited file on my laptop and replaced them in /src

1 Like

Righto! Well if you want to change the 8bit/16bit toggle key, here’s the change :slight_smile:

1 Like

I played it on my GCW Zero many years ago, and honestly I don’t remember how jump worked there…

1 Like