Page 1 of 1

Sdlpop cheats activation question

Posted: March 28th, 2017, 9:25 am
by Cherokee
Hello.
I need some help. I have retropie on Raspberry Pi 3.
I am newbie and dont know how to enable cheats in Prince of Persia Port (SDLPOP).
I know that retropie is based on Linux system.

I don't know how to start the game with the command line option: "megahit". Do I have to modify some game files?
Is there anybody who can help?

Will be very very happy to know how to do it.
Cheers

Re: Sdlpop cheats activation question

Posted: March 28th, 2017, 11:52 am
by Norbert
Cherokee wrote:retropie on Raspberry Pi 3. [...] how to enable cheats
Hi, according to this:
RetroPie/RetroPie-Setup wrote:A nice way to start it from the menu is to make a new .sh file for it, so you can decide if you
like starting it with cheats or without. Simply make an new "prince_with_cheats.sh" file in the folder
/home/pi/RetroPie/roms/ports and let it change the directory to: /opt/retropie/ports/sdlpop
before starting the game with "./prince megahit".
If I'm reading that right, you should create a file
/home/pi/RetroPie/roms/ports/prince_with_cheats.sh
with in it:
cd /opt/retropie/ports/sdlpop
./prince megahit

The command to quickly do this from the command-line is:

Code: Select all

printf "cd /opt/retropie/ports/sdlpop\n./prince megahit\n" > /home/pi/RetroPie/roms/ports/prince_with_cheats.sh
Plus, after that, maybe:

Code: Select all

chmod +x /home/pi/RetroPie/roms/ports/prince_with_cheats.sh

Re: Sdlpop cheats activation question

Posted: March 28th, 2017, 3:27 pm
by Cherokee
Norbert, you are THE BEST!!! It works!!!
THANK YOU VEEERY VERY MUCH!!!
Greetings from Poland :) :) :)