Lets play Prince of Persia


#1

Yesterday I tweaked a bit the source code of SDLPoP to make it playable to GameShell. Today I share you the instructions on how to download, compile and play Prince of Persia on your Gameshell, enjoy!

(copied from https://github.com/pleft/SDLPoP/blob/master/README.md)

To build for GameShell

  1. ssh to GameShell

  2. on home directory /home/cpi/:

    sudo apt-get install libsdl2-image-dev
    git clone https://github.com/pleft/SDLPoP.git
    cd SDLPoP
    cd src
    make all
    
  3. If compilation succeeds, in SDLPoP/ directory there should be an executable file named prince

    cd /home/cpi/SDLPoP
    ls
    data/  doc/  mods/  prince  README.md  SDLPoP.ini  src/
    
  4. Create a launcher shortcut for prince executable to be able to launch it through the GameShell’s menu

    echo /home/cpi/SDLPoP/prince full > /home/cpi/apps/launcher/Menu/GameShell/Prince.sh
    chmod +x /home/cpi/apps/launcher/Menu/GameShell/Prince.sh
    
  5. Copy the prince icon

    cp /home/cpi/SDLPoP/Prince.png /home/cpi/apps/launcher/skin/default/Menu/GameShell/Prince.png
    
  6. Reboot GameShell and start Prince Of Persia by selecting the Prince icon

GameShell Controls

  • START = Enter, make selection
  • MENU = ESCape
  • LEFT: turn or run left
  • RIGHT: turn or run right
  • UP: jump or climb up
  • DOWN: crouch or climb down
  • A: pick up things!

P.S. Looking for a nice icon relevant to GameShell theme, @Nielsvd if you can come up with something I would be grateful.


How can I install, configure and run DOS games?
#2

I know it’s not 100% the same, but I’ve been playing the SNES version, which is easier to get and configure :slight_smile:


#3

Yeah, PoP has been released for almost all major consoles so there are many flavors out there to try. This one is based on the disassembly of the original PoP released for MS-DOS.


#4

How about these icons:


#5

Funny,

I made a similar colorized icon, when I used DosBox:
Prince%20of%20Persia

But SDL is superior. I can ditch DosBox now.

It works!
The data/ folder is at least needed alongside the generated prince file.


#6

Great icons, thanks @Nielsvd and @Oet! It seems that

suits better to the GameShell menu. I will add it to the repo and update the instructions to use it. Thanks both!

@Oet Apparently upon successful building the source code, only price and data/ are required, you can delete the rest directories and files to reserve space.


#7

Damn I guess I’ll have to find some excuse to leave the office and try this…


#8

…that’s why we should always take our GameShells with us when leaving home at morning :slight_smile:


#9

Quite true, my fingers are itching now.

[slightly off topic] PoP is one of my all-time favorites. Used to play it to death (literally, in the character’s case!) back in the day on my 1040STFM. I would bring the machine to a friend’s house, and he had a 386SX; we would actually load the relevant file on the PC and hex-edit it trying to cheat, which we actually succeeded! I still have a hex dump printout from his dot matrix printer… Ah, the memories!


#10

Works like a charm and is literally <5 mins work. Now you have something to look forward to after work :wink:


#11

Little teaser of what we will be playing by tomorrow:

OpenJazz!!!

I wonder if it is ok to bundle the shareware files along with the executable to save gameshell users from compilling the source code?


#12

If it is publically available shareware (free), i’d say Yes… but i am not a legal expert. Perhaps including source reference in the write up so it is clear you are linking to an official source.


#13

Looking forward to this! Jazz on the DosBox runs like crap.

@Wizz Inclusief? Jonge :stuck_out_tongue:


#14

Can you edit F6/F9 mapping in the .ini to a LightKey or something? Would love to save/load


#16

There are a few places where you can download legally the shareware version of Jazz. My intention is to provide a single zip containing everything to run the (shareware) game on GS without having to compile or download extras.

For the brave ones you can already clone my fork at https://github.com/pleft/openjazz and compile it yourselves. You will need to remap the buttons (up,down.left,right, enter, esc already work, you need to assign jump and shoot to any of A, B, X, Y) from inside the game (through “setup options”, choose keyboard and assign your keys).

This runs natively on GameShell and as far as I played yesterday night it runs great, fullspeed I would say.

I will try to map on shift/select buttons this functionality.

May I should create a new thread for this.


#18

Wow it runs beautifully!

Somehow I lost sfx while modding it but will fix it later. Amazing work, thanks - never imagined I’d have the original PoP in the palm of my hand :slight_smile:


#19

Maybe some nice icons for Jazz Jack Rabbit?



#20

Runs smooth as a baby’s bottom! :wink:

Several issues:

  1. I have to do this USE_MODPLUG thing to get music.
  2. The resolution is 320x200 and I don’t yet know how to make it 320x240.

#21

Runs realy smooth, Nice job. I’ll be playing this the coming weekend


#22

in Visuals, turn on 4:3 aspect ratio, turn on integer scaling, and use the fuzzy scaling method.