Release Order of Twilight (love engine)


Ultra_Jon

Member
Joined
Dec 12, 2013
Messages
48
Hi all, long time lurker, first time poster here.  I just spent a day packaging ptitSeb's port of the love engine with a slightly modified version of Stabyourself.net's Order of Twilight into a .pnd, available here:

http://repo.openpandora.org/?page=detail&app=order_of_twilight

After I finished I read some old threads and noticed that ptitSeb had mentioned that he might port that one himself;  hopefully I'm not stepping on any toes here.  Enjoy!
 
Welcome !! No one here can step on any toes, there's a lot of space for everyone !! :)
 
No issue here, and well done :) !

I haven't checked your build yet, have you adapted the controls (and graphics) to Pandora buttons ?
 
I haven't checked your build yet, have you adapted the controls (and graphics) to Pandora buttons ?
Yup, that's exactly what I did.  The code ended up being a little messy in places, but it works flawlessly.

Is there only supposed to be the one level?
...

...well, it works flawlessly for me anyway.  There should be more than one level.  Where and how does the game end for you, stouffa?
 
when I get to the end of the first level, it goes to a light blue error screen, the only way I can get out of it seems to be to quit back to the desktop? I'll post the run out file later if I get a chance.
 
For me (i'm on a old CC Pandora) it partially work (behaviour described by stouffa).

On the blu error screen it say (the font is very tiny and not much readable):


Error
mainlua 297 could not open file

Traceback

---follow some confused text---
Even better here is the pnd.out file generated:


=======================================================================================
PND : /media/TRANSCEND16/pandora/apps/order_of_twilight.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/TRANSCEND16/pandora/appdata/order_of_twilight
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/order_of_twilight"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/TRANSCEND16/pandora/appdata/order_of_twilight=rw+nolwh":"/mnt/pnd/order_of_twilight=rr" none "/mnt/utmp/order_of_twilight"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh ) ----------
--------------------------------------------------------------
Setting PATH to /mnt/utmp/order_of_twilight:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
booting
libGL: built on Sep 10 2013 19:47:21
libGL: framebuffer output enabled
glXGetProcAddress: glFogCoordPointer not found.
glXGetProcAddress: glMultiDrawArrays not found.
glXGetProcAddress: glMultiDrawElements not found.
glXGetProcAddress: glPointParameteri not found.
glXGetProcAddress: glPointParameteriv not found.
glXGetProcAddress: glSecondaryColorPointer not found.
glXGetProcAddress: glWindowPos2d not found.
glXGetProcAddress: glWindowPos2dv not found.
glXGetProcAddress: glWindowPos2f not found.
glXGetProcAddress: glWindowPos2fv not found.
glXGetProcAddress: glWindowPos2i not found.
glXGetProcAddress: glWindowPos2iv not found.
glXGetProcAddress: glWindowPos2s not found.
glXGetProcAddress: glWindowPos2sv not found.
glXGetProcAddress: glWindowPos3d not found.
glXGetProcAddress: glWindowPos3dv not found.
glXGetProcAddress: glWindowPos3f not found.
glXGetProcAddress: glWindowPos3fv not found.
glXGetProcAddress: glWindowPos3i not found.
glXGetProcAddress: glWindowPos3iv not found.
glXGetProcAddress: glWindowPos3s not found.
glXGetProcAddress: glWindowPos3sv not found.
glXGetProcAddress: glSecondaryColorPointerEXT not found.
Error: main.lua:297: Could not open file.
stack traceback:
[C]: in function 'write'
main.lua:297: in function 'savehighscores'
game.lua:615: in function 'checkhighscore'
game.lua:121: in function '?'
main.lua:240: in function 'update'
[string "boot.lua"]:407: in function <[string "boot.lua"]:373>
[C]: in function 'xpcall'
[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 ----------
[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/order_of_twilight': 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 : 2


Hope it helps
 
Last edited by a moderator:
Just comparing the run out file I was about to post with this one, they seem pretty much the ame. My model is a 1 gig upgraded to latest firmware.
 
I don't know lua at all, but judging by that traceback it looks to me like it's not able to write out the high score file and exiting due to that.  Do you know where it ought to create high score files?  Is it doing so?
 
Hum yes, FAT32 SDCard issue ?
Seems that was it.  I had neglected to remove the "home" directory in the pnd, and on fat32 sd cards it was refusing to create it in app-data, while it had no such problem on ext2 (which is what I'd been testing on).  Anyway, the update's in the repo, tested with fat32.  Thanks for your help everyone!
 
Back
Top