Release XM Solitaire


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,330
Age
51
Location
France, near Lyon
Here, you can find a Card Game. It is a not well represented category on the Pandora, and on Linux world, so I'v dig on the Windows world to find a free & configurable nice Solitiare.

 

There are plenty on options to configure.

 

Of course, Screen is a little small for all those cards, but it work nicely.

 

Build 02 works now, you can update if ou downloaded Build 01

 

Build History

===========

 


Build 02

-----------

  • Reviews all Wine and Linux module used by XMSol (to reduce size of the PND)
  • Corrected the way the app is launched
Build 01

-----------

 

  • Initial release.
 


Known problem: The Help doesn't work. It uses some CHM file (Compressed HTML), wich doesn't work yet on ARM wine.

Note that there is a Profile Handling. Go to File|Change player adn you can creat a profile (even if the dialog is "Open"). Go in the home/ folder to avoid R/O problem with PND.

 

 

PS: Sorry for the size, but the Wine RunTime has to be embeded in the PND.

 
 
Last edited by a moderator:
Oh, Solitaire, great! Unfortunatley, it doesn't start on my Pandora. Here's /tmp/pndrun_xmsol.out...

=======================================================================================

PND : /media/PANDORA64A/pandora/apps/xmsol.pnd

PND_FSTYPE : Squashfs

APPDATADIR : /media/PANDORA64A/pandora/appdata/xmsol

APPDD_FSTYPE : vfat

PND_CPUSPEED : <unset>

EXENAME : runscript.sh

ARGUMENTS : <unset>

=======================================================================================

[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/xmsol"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA64A/pandora/appdata/xmsol=rw+nolwh":"/mnt/pnd/xmsol=rr" none "/mnt/utmp/xmsol"

[sUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (runscript.sh ) ----------

--------------------------------------------------------------

Setting PATH to /mnt/utmp/xmsol:/mnt/utmp/xmsol/wine/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games

--------------------------------------------------------------

Setting LD_LIBRARY_PATH and LD_RUN_PATH to /mnt/utmp/xmsol/wine/lib:/mnt/utmp/xmsol/wine/lib/wine:/lib:/usr/lib

err:module:import_dll Library ntoskrnl.exe (which is needed by L"C:\\windows\\system32\\winedevice.exe") not found

err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winedevice.exe" failed, status c0000135

err:service:service_send_start_message service L"MountMgr" failed to start

fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 1053

wine: cannot find L"C:\\windows\\system32\\plugplay.exe"

fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2

err:menubuilder:init_xdg error looking up the desktop directory

wine: Bad EXE format for Z:\mnt\utmp\xmsol\xmsol.exe.so.

[ FAILED]--- Starting the application (runscript.sh ) ----------

[ START ]--- Restoring the frame buffer status ----------

[sUCCESS]--- Restoring the frame buffer status ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[sUCCESS]--- Waiting the Union to be available ----------

auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device

rmdir: failed to remove `/mnt/utmp/xmsol': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[sUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[sUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 7
 
Oh :(

Ok, I add the missing ntoskrnl file and repackage. And thanks for the log, it's really helpfull :)

*EDIT*, well, I test the PND with Codeblock still mounted, so I miss many dependencies... Doing a "sudo ldconfig" unmount all the libs that comes with Code::Blocks PND, and I see that I missed more than one file...
 
Last edited by a moderator:
^^

Was a joke !

So is there multiplayer solitaires :wacko: ?
 
Last edited by a moderator:
I think there are some kind of Solitaire, that can be multiplayer... "Heart" ircc is multiplayer... Of course, One could argue it's not a solitaire...
 
This is more complicated than I first though.

I have added all wine, but it still won't start. It starts only if codeblocks as done his ldconfig

The means I so file is mounted dynamicaly, using ldconfig cache, but I can't figure out wich one (some libX I guess), nor where to put libs so they are loaded by wine. This is driving me crazy, it works, but it doesn't.
 
Last edited by a moderator:
i'd pay platinum bars to have an app that easiyl convert win app to pandora using winelib...
 
I have the new package ready !

Well it's not really easy, but it works... Going to upload a few megabyte to the repo now.
 
New release on the repo.

Thi time, it works !

You can go grab 17Mo of Windows CardsGame Galore

Build 02

-----------

  • Reviews all Wine and Linux module used by XMSol (to reduce size of the PND)
  • Corrected the way the app is launched

Known problem: The Help doesn't work. It uses some CHM file (Compressed HTML), wich doesn't work yet on ARM wine (no wine-gecko on wine, so no HTML, not even iexplorer ;)  )

Note that there is a Profile Handling. Go to File|Change player and you can create a profile (even if the dialog is "Open"). Go in the home/ folder to avoid R/O problem with PND.
 
Last edited by a moderator:
Cool, thanks !! :)

By the way, I'm lost in all those games, how it is called the original Windows solitaire ?

I can't find it and It's the only one I know how to play...
 
I think it is called Arachnid (I have to check on the Pandora, can't right now).

But Freecell should also be familiar.
 
Haven't tried the game yet, but the regular Solitair could also be called Klondike. 
 
The closest to Windows Solitaire is Klondike. But this version is restricted to 2 re-deals of the stock.

"rules\standard.xml" seems to be the configuration file. I tried to add a new block with infinite re-deals.

<game name="Klondike Free">
<foundation x="500" repeat="4"/>
<tableau repeat="7" shape="incr" count="28" hide="-1">k group alter</tableau>
<stock redeal="inf"/><waste x="120"/>
</game>
Unfortunately, I can't recreate the .pnd with PND Tools on Windows, since 2 file names are invalid (for Windows).
Code:
C:\emu\etc\pndtools\temp2\.wine\dosdevices>attrib
   S         C:\emu\etc\pndtools\temp2\.wine\dosdevices\c?
   S         C:\emu\etc\pndtools\temp2\.wine\dosdevices\z?

C:\emu\etc\pndtools\temp2\.wine\dosdevices>
ptitSeb, can you please try that, to see if new games can be added this way?
Would be nice to have a Windows-like Solitaire.
 
Ok, no problems, I'll do that.

I confirm you won't be abble to create the PND on windows, I used softlink for this one.

What I will do is move the xml to a created folder (so outside the PND), so you will have R/W and can alter/add games at will.

While I'am at it. There are plenty of configurables things, like card decks, background, etc..; All are in the PND, so are R/O if the PND is on a FAT32 (I assume many people, my incuded, are on this configuration). I can also move thoses folder outside the PND, but it is a waste of space (as there is one copy in the PND, and another copy in the appdata).

So, question, do you think other folders should be "externalized" ?
 
There's  actually no need to specifically repack the PND just to override one of the files,   just drop the modified file in the relevant folder in appdata. Anything in stored in appdata will override the  equivalent file in the PND. 

Using a FAT32 card doesn't prevent this feature from being used,  it just prevents it being done through the overlay if the folder exists in the PND but doesn't already exist in appdata.  (or if the pathname is FAT32 invalid, but since those two 'files' should both be symlinks I don't see that as an issue here)

-- Neelix
 
There's  actually no need to specifically repack the PND just to override one of the files,   just drop the modified file in the relevant folder in appdata. Anything in stored in appdata will override the  equivalent file in the PND. 

Using a FAT32 card doesn't prevent this feature from being used,  it just prevents it being done through the overlay if the folder exists in the PND but doesn't already exist in appdata.  (or if the pathname is FAT32 invalid, but since those two 'files' should both be symlinks I don't see that as an issue here)

-- Neelix
So, Yoshi, you should just drop your modified standard.xml files in the appdata/xmsol/rules/  folder, launch xmsol and you should have your new Klondike Free solitaire.
 
Back
Top