Beta [Beta] Hammerwatch launcher


Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
Code:
=======================================================================================
PND             : /media/PANDORA1/pandora/desktop/hammerwatch.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/PANDORA1/pandora/appdata/hammerwatch
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/hammerwatch"
rmdir: failed to remove `/mnt/pnd/hammerwatch': Not a directory
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/hammerwatch=rw+nolwh":"/mnt/pnd/hammerwatch=rr" none "/mnt/utmp/hammerwatch"
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh  ) ----------
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=a7a7fb8c,noplink)
monort pnd build 0
./runscript.sh: line 59: cd: /mnt/utmp/monort: No such file or directory
./runscript.sh: line 60: monort.sh: No such file or directory
./runscript.sh: line 137: mono: command not found
unmout monort
[ START ]--- Waiting the Union to be available ----------
[sUCCESS]--- 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 ----------
[ FAILED]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
umount: /mnt/utmp/hammerwatch: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
WARNING umount UNION failed, didnt clean up. Process still using this FS :
 2270 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u
 2291 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=a7a7fb8c,noplink)
[ FAILED]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/hammerwatch': 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 : 8
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
Hmmm. You should reboot and try again. And post the log again please. Strange that its mounted but the mounted folder is empty. I'll also try some tests tonight.
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,219
Seems your Pandora isn't starting the mono runtime properly... And you say you can start the mono CLI terminal? odd..

ninja'd :ph34r:
 
Last edited by a moderator:

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
Hmmm. You should reboot and try again. And post the log again please. Strange that its mounted but the mounted folder is empty. I'll also try some tests tonight.
I only booted for this (don't use my Pandora much for some months now), but I can do it again if it helps, one moment please.

I used the Linux version from HB, but it has the .exe in it too for some reason.

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


PND             : /media/PANDORA1/pandora/desktop/hammerwatch.pnd


PND_FSTYPE      : Squashfs


APPDATADIR      : /media/PANDORA1/pandora/appdata/hammerwatch


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/hammerwatch"


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


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


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


WARNING Union already mounted, using it


+++++++


Loopback devices :


/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)


Are mounted on :


/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)


For these Union :


none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=c67f07d,noplink)


monort pnd build 0


./runscript.sh: line 59: cd: /mnt/utmp/monort: No such file or directory


./runscript.sh: line 60: monort.sh: No such file or directory


./runscript.sh: line 137: mono: command not found


unmout monort


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


[sUCCESS]--- 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 ----------


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


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


umount: /mnt/utmp/hammerwatch: device is busy.


        (In some cases useful info about processes that use


         the device is found by lsof(8) or fuser(1))


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


WARNING umount UNION failed, didnt clean up. Process still using this FS :


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


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


umount: /mnt/utmp/hammerwatch: device is busy.


        (In some cases useful info about processes that use


         the device is found by lsof(8) or fuser(1))


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


WARNING umount UNION failed, didnt clean up. Process still using this FS :


 2285 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u


 2306 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch


+++++++


Loopback devices :


/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)


/dev/loop1: [b301]:1315 (/media/PANDORA1/pandora/menu/firefox-29.0-0.pnd)


Are mounted on :


/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)


/dev/loop1 on /mnt/utmp/hdonk_firefox_001 type squashfs (ro,relatime)


For these Union :


none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=c67f07d,noplink)


none on /mnt/utmp/hdonk_firefox_001 type aufs (rw,relatime,si=c5ceb7d,noplink)


 2285 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u


+++++++


Loopback devices :


/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)


/dev/loop1: [b301]:1315 (/media/PANDORA1/pandora/menu/firefox-29.0-0.pnd)


Are mounted on :


/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)


/dev/loop1 on /mnt/utmp/hdonk_firefox_001 type squashfs (ro,relatime)


For these Union :


none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=c67f07d,noplink)


none on /mnt/utmp/hdonk_firefox_001 type aufs (rw,relatime,si=c5ceb7d,noplink)


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


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


Return code is : 7
 
Last edited by a moderator:

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
Ok. Seems the monort is mounting in the same mount point as hammerwatch and not monort.


I'll try to update soon the pnd to force the moint point...
 

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
Still nothing, I don't get it.

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

PND             : /media/PANDORA1/pandora/desktop/hammerwatch.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/PANDORA1/pandora/appdata/hammerwatch
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/hammerwatch"
rmdir: failed to remove `/mnt/pnd/hammerwatch': Not a directory
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/hammerwatch=rw+nolwh":"/mnt/pnd/hammerwatch=rr" none "/mnt/utmp/hammerwatch"
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh  ) ----------
Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/monort"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/monort=rw+nolwh":"/mnt/pnd/monort=rr" none "/mnt/utmp/monort"
monort pnd build 4
Welcome to mono command line
.
you can compile C# program with xbuild
or use MonoDevelop GUI with monodevelop
.
type exit to close this window
.

Unhandled Exception:
mono [0xc4c40]
mono(mono_arm_throw_exception+0x78) [0x108994]


Unhandled Exception:
mono [0xc4c40]
mono(mono_arm_throw_exception+0x78) [0x108994]

[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: No instance running
  at TiltedEngine.Audio_OggStreamer.get_Instance () [0x00000] in <filename unknown>:0
  at TiltedEngine.Audio.SoundEngine.Shutdown () [0x00000] in <filename unknown>:0
  at ARPGGame.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
unmout monort
[ START ]--- Waiting the Union to be available ----------
[sUCCESS]--- 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 ----------
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
aaaah...

not the same error.

Now the monort is mounted correctly, and the mono runtime start executing hammerwatch and crash.

So now, we are progressing.

In your full Hammerwatch folder, you should see a game.log file (and also, IIRC, a crash.log or something like that). I would need a copy of this files here please.
 

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
Sure, no idea how to add files to "Squeeze" without the whole directory structure, please don't mind all the directories.

error.zip
 

Attachments

  • error.zip
    839 bytes · Views: 117
Last edited by a moderator:

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
Sure, no idea how to add files to "Squeeze" without the whole directory structure, please don't mind all the directories.
No problems.

So it doesn't load libSDL2... But it is inside the PND, so I guess it's a dependancie of libSDL2 that doesn't load.

I have made a new PND where (normaly) all dependancie (at least the direct ones) are covered.

Can you please test again (last time I hope).
 

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
still nothing

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

PND             : /media/PANDORA1/pandora/desktop/hammerwatch.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/PANDORA1/pandora/appdata/hammerwatch
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : runscript.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
/dev/loop1: [b301]:1334 (/media/PANDORA1/pandora/menu/monort.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
/dev/loop1 on /mnt/utmp/monort type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=57f3968f,noplink)
none on /mnt/utmp/monort type aufs (rw,relatime,si=5084578f,noplink)
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh  ) ----------
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
/dev/loop1: [b301]:1334 (/media/PANDORA1/pandora/menu/monort.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
/dev/loop1 on /mnt/utmp/monort type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=57f3968f,noplink)
none on /mnt/utmp/monort type aufs (rw,relatime,si=5084578f,noplink)
monort pnd build 4
Welcome to mono command line
.
you can compile C# program with xbuild
or use MonoDevelop GUI with monodevelop
.
type exit to close this window
.

Unhandled Exception:
mono [0xc4c40]
mono(mono_arm_throw_exception+0x78) [0x108994]


Unhandled Exception:
mono [0xc4c40]
mono(mono_arm_throw_exception+0x78) [0x108994]

[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: No instance running
  at TiltedEngine.Audio_OggStreamer.get_Instance () [0x00000] in <filename unknown>:0
  at TiltedEngine.Audio.SoundEngine.Shutdown () [0x00000] in <filename unknown>:0
  at ARPGGame.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
unmout monort
[ START ]--- Waiting the Union to be available ----------
[sUCCESS]--- 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 ----------
[ FAILED]--- Waiting the Union to be available ----------
[ FAILED]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
umount: /mnt/utmp/hammerwatch: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
umount: /mnt/utmp/hammerwatch: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
WARNING umount UNION failed, didnt clean up. Process still using this FS :
WARNING umount UNION failed, didnt clean up. Process still using this FS :
 5070 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u
 5091 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch
 5070 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u
 5420 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u
 5091 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch
 5441 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch
 5950 ?        S      0:00 sleep 10
 5420 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -p /media/PANDORA1/pandora/menu//monort.pnd -u
 5441 ?        S      0:00 /bin/bash /usr/pandora/scripts/pnd_run.sh -u -p /media/PANDORA1/pandora/menu/monort.pnd -b hammerwatch
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
/dev/loop1: [b301]:1334 (/media/PANDORA1/pandora/menu/monort.pnd)
/dev/loop2: [b301]:1315 (/media/PANDORA1/pandora/menu/firefox-29.0-0.pnd)
Are mounted on :
 5950 ?        S      0:00 sleep 10
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
/dev/loop1 on /mnt/utmp/monort type squashfs (ro,relatime)
/dev/loop2 on /mnt/utmp/hdonk_firefox_001 type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=57f3968f,noplink)
none on /mnt/utmp/monort type aufs (rw,relatime,si=5084578f,noplink)
none on /mnt/utmp/hdonk_firefox_001 type aufs (rw,relatime,si=5d10788f,noplink)
[sUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 5
+++++++
Loopback devices :
/dev/loop0: [b301]:55 (/media/PANDORA1/pandora/desktop/hammerwatch.pnd)
/dev/loop1: [b301]:1334 (/media/PANDORA1/pandora/menu/monort.pnd)
/dev/loop2: [b301]:1315 (/media/PANDORA1/pandora/menu/firefox-29.0-0.pnd)
Are mounted on :
/dev/loop0 on /mnt/utmp/hammerwatch type squashfs (ro,relatime)
/dev/loop1 on /mnt/utmp/monort type squashfs (ro,relatime)
/dev/loop2 on /mnt/utmp/hdonk_firefox_001 type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/hammerwatch type aufs (rw,relatime,si=57f3968f,noplink)
none on /mnt/utmp/monort type aufs (rw,relatime,si=5084578f,noplink)
none on /mnt/utmp/hdonk_firefox_001 type aufs (rw,relatime,si=5d10788f,noplink)
error.zip
 

Attachments

  • error.zip
    2 KB · Views: 104

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,219
Just tried it myself, I cleared out my appdata directory just in case.. but it's launching fine for me..  I only have the older 1.2 version

I take it you are running the latest mono runtime, firmware.. etc?
 
Last edited by a moderator:

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
It's really really strange. It still doesn't find the lib... But it should now ?!!!

So, new test, I copy libSDL2 directly in the full hammerwatch folder...

Also, can you please confir that in your hammerwatch full folder you have a SDL2-CS.dll.config (that seems recent) and a SDL2-CS.dll file?
 

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
It's really really strange. It still doesn't find the lib... But it should now ?!!!

So, new test, I copy libSDL2 directly in the full hammerwatch folder...

Also, can you please confir that in your hammerwatch full folder you have a SDL2-CS.dll.config (that seems recent) and a SDL2-CS.dll file?
I found those two:

sdl.zip
 

Attachments

  • sdl.zip
    593.2 KB · Views: 99

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
It's really really strange. It still doesn't find the lib... But it should now ?!!!

So, new test, I copy libSDL2 directly in the full hammerwatch folder...

Also, can you please confir that in your hammerwatch full folder you have a SDL2-CS.dll.config (that seems recent) and a SDL2-CS.dll file?
I found those two:
Looks fine. Did the latest launcher work now for you?

For me (on my CC with a Swapfile), it seems to works fine.
 
Last edited by a moderator:

Klumpen

Run away! Run away!
Joined
Nov 19, 2011
Messages
8,579
Location
Uncanny Valley
Just to inform the rest:

We worked it out together yesterday.

If you are using the Linux version, make sure to delete (or rename) the "lib" folder, it has caused most of the problems.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,192
Age
49
Location
France, near Lyon
I have published the PND on the repo.

I you were using the beta, I suggest you update, I have (tried to) put some optim and refined again the launch script.
 
Top