Sdlpop cheats activation question

Open-source port of PoP that runs natively on Windows, Linux, etc.

Moderator: English Moderator Team

Post Reply
Cherokee
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: March 28th, 2017, 8:41 am

Sdlpop cheats activation question

Post by Cherokee » March 28th, 2017, 9:25 am

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: 3139
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: Sdlpop cheats activation question

Post by Norbert » March 28th, 2017, 11:52 am

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 » March 28th, 2017, 3:27 pm

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

Post Reply