Hi guys,I compiled SDLPAL game for gameshell.
SDLPAL is a SDL based game ported from PAL(仙剑奇侠传/仙劍奇俠傳,also known as Chinese Paladin or Legend of Sword and Fairy)
1.Unzip the application files and put them all to “~/apps/Menu/21_Indie Games” include the top dir “sdlpal”.
2.Put original game data files to subdir “sdlpal/data”, the original game data files must be DOS version or Win95 version.
3.This application does not include original game data files which are copyrighted by SoftStar Inc. So you may search them by youself.
4.Some shortcut key in the game:
Menu - A of XBOX keymap
Search/Action - B of XBOX keymap
Auto battle - LK2
Defend - LK5
Use item - X of XBOX keymap
Throw item - LK4
Flee - LK1
Use max skill - Select
Status - Y of XBOX keymap
5.You can access https://github.com/sdlpal/sdlpal for more details.
First,my mother tongue is not english,forgive my poor english.
I followed you manual and try again and again,but it doesn’t work.
This is my problem:
I put the game sources into [data] flie,but when I start the game on my gameshell,the game quit for seconds.
Please help me solve this problem.Thanks again.
Note that the filenames of game data files should be all in lower-case under systems that use case-sensitive filesystems such as Linux or other Unix-like operating systems.
I have tried using your release file and building from your gameshell branch, but I got the same result as @khxz541gr, the game crashed and went back to desktop after launching from desktop icon, but if you execute the sdlpal binary from Dingux Commander, the game will launch, but when I played to the scenario of taking a boat to 仙灵岛, the game crashed.
I don’t think this issue is caused by missing resource files because there should be a dialog telling you which file is missing when the game cannot find a file and the same set of resource files works well on my Linux desktop. And the game can be launched by manually executing from file browser.
BTW, I’m using the offical 5.0 OS with lima gpu driver
Just found the cause, the sdlpal.sh file in your branch and release is in ms-dos fileformat, which has different line break, you can see a special symbol at the end of every line in Dingux Commander. After changing to unix fileformat, the desktop icon works well now.
And I cannot reproduce the 仙灵岛 issue any more, maybe it was caused by something else.