Sdlpop cheats activation question

Open-source port of PoP that runs natively on Windows, Linux, etc.
Post Reply
Cherokee
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: March 28th, 2017, 8:41 am

Sdlpop cheats activation question

Post 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
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Sdlpop cheats activation question

Post 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
Cherokee
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: March 28th, 2017, 8:41 am

Re: Sdlpop cheats activation question

Post by Cherokee »

Norbert, you are THE BEST!!! It works!!!
THANK YOU VEEERY VERY MUCH!!!
Greetings from Poland :) :) :)
Post Reply