


Impress your friends by playing actual songs on the R.E.P.O piano.
What it does
This is a tool that highlights the actual hitboxes of piano keys on a selected piano and hints (and registers) what keys must be hit to perform a song on a piano. The mod allows the customization. You may select what song you want to play now. And you may even configure your own songs if you are talented enough.
Why
I just wanted to be able to play at least something on piano in R.E.P.O. And so, this mod was made.
How to Use
if you made a mistake and want to restart the current song, hit the letter "O" on the keyboard and the song will restart.
What songs do we have
Actually, I'm not very good with the actual music thingy, so I didn't manage to prepare many songs and the ones I made are very short and may sound off. They are mostly to explain the idea behind the tool so you can understand it and play whatever you want to play; But here is the full list of what you can play:
1.birthday - happy birthday intro 2.sunshine - the most recognizable a bit of "You are my sunshine" song; 3.elise - a bit of the classical piece "Fur Elise" by Beethoven; 4.korobeiniki - the Tetris song; 5.smoke - the most iconic guitar riff from "Smoke on the Water" by Deep Purple;
How to add more songs
So, to add more songs, you'll have to modify the game's config. The config file is: com.igor.repo.pianohints.cfg
In that file you'll have to modify the section named "Song scripts/scripts". It will already have several existing songs added to it, so you'll have an example. Just add a script for a new song in the same fashion.
The format for adding a song is: uniqueSongName: key number, key number, key number;
Note! Every key number must be separated by commas and when the song is finished it must be closed with a semicolon;
An example of a well-formatted song would be "sunshine: 60,60,62,64,64,64,62,64,60,60,60,62,64,65,69,69,67,65,64,60,62,64,65,69,69,67,65,64,60,60,62,64,64,62,62,64,60" Every key numbers means a particular key on the piano keyboard that will be highlighted while playing the song sequence.
After you'll add a song this way, you will be able to play it in-game.
About those key numbers
The way to record the song scripts in the form of just numbered keys might feel weird for piano players. I don't know actually, have no musical education at all. But it was the easiest way for me to make a configurable system.
So, the REPO piano is special. It has 108 keys instead of the normal humble amount of 88 keys. So, to avoid any further confusion I just decided to map them with numbers from 1 to 108 (from low to high) I'm not sure to what actual sounds they correspond to but it feels that you can easily transpose normal piano songs into this confusing format if you want to. You'll just have to experiment a bit so you can understand what keys correspond to what sounds. if you want to visually see, what is the actual index of each key you might want to switch the LabelMode in the game config from None to Index.
Sorry for the Trash (got too tired)
You might find a lot of different configs inside of the config file and you might to play around with them, but I do not recommend to interact with anything that I wasn't mentioning previously. I just got a lot of trash left from the previous iterations of the mod and was too lazy to clean that out. Sorry.
One more thing. you will find that the mod has also affected guitars and harps, so it highlights their keys too. But it wasn't oprimised to work with them so expect them not to work as designed.
How to get a Piano
Considering, how hard it is to find a piano in the game, you might want yourself some means to spawning pianos :)
I recommend the following mods:
Have Fun