Release FTL Launcher


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,053
Age
49
Location
France, near Lyon
Here is a Launcher for FTL, the "roguelike" in space
preview1.png

This PND is a Luancher, so you'll need to copy the Full game data to be able to play. The PND can autoextract the data from the HumbleBundle install script. Launch it PND a first time to have instructions.
The Launcher use box86 and gl4es to run. It use GLES2 Backend so you may need the latest SGX drivers. A swapfile is most probably required. Text is really small and may be difficult to read. I do not advised to play the game for the 1st time directly on the Pandora...

History log
=========

Build 01
-----------

  • Initial build
 

devilsdante

Still Fresh
Joined
Nov 30, 2015
Messages
9
Hello!

Complete OpenPandora & Linux noob here!

Can you please help me try and make this game work? I have the Rebirth model (the mid tier at the time? The one before 1ghz).
With the help of ptitSeb I could update the SGX driver using the SGX driver pnd to 4.10 using this form page.

But I still have the problem in which the first loading almost ends but I'm kicked back at linux without any error appearing. Same applies after the update driver to 4.10.
Any clues on this?

Thank you,
Miguel
 

devilsdante

Still Fresh
Joined
Nov 30, 2015
Messages
9
I only have currentuid, currentuser, gui.stop, gui.stopnew, and pnd_version files and some folders, on File System /tmp.
Am I missing something?
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,122
Also just asking a dumb question. Did you enable a swapfile?

From the repo comment section on the game launcher.
The Launcher use box86 and gl4es to run. It use GLES2 Backend so you may need the latest SGX drivers. A swapfile is most probably required. Text is really small and may be difficult to read. I do not advised to play the game for the 1st time directly on the Pandora...
 

devilsdante

Still Fresh
Joined
Nov 30, 2015
Messages
9
First of all, apologies ptitSeb I answered your suggestion as a PM to you instead of posting here. That's what happens with you have those 2 pages opened hehe.

About the swap file, let me just clarify here again:
Complete OpenPandora & Linux noob here!

Is there an easy was to use a swapfile on the pandora? Or can you please point me when to look?
I leave the log file here as well:

=======================================================================================
PND : /media/pandora1/pandora/menu/ftl_ptitseb.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/pandora1/pandora/appdata/ftl
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/ftl"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/pandora1/pandora/appdata/ftl=rw+nolwh":"/mnt/pnd/ftl=rr" none "/mnt/utmp/ftl"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh ) ----------
--------------------------------------------------------------
Setting PATH to /mnt/utmp/ftl:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
Setting LD_LIBRARY_PATH to /mnt/utmp/ftl/libarm:/mnt/utmp/ftl:/usr/lib:/lib
System check
============
Freememory is 381
Cpu Speed is 800
Sys Speed is 332
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv3 SWP
BOX86_LD_LIBRARY_PATH: /mnt/utmp/ftl/x86/
Using default BOX86_PATH: ./:bin/
Counted 42 Env var
Looking for FTL.x86
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Apr 11 2020 17:50:46
LIBGL: framebuffer output enabled
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Limited NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_multi_draw_arrays detected
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Extension GL_EXT_texture_rg detected and used
LIBGL: Extension GL_OES_texture_float detected and used
LIBGL: Extension GL_OES_texture_half_float detected and used
LIBGL: Extension GL_OES_fragment_precision_high detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Extension GL_OES_get_program detected and used
LIBGL: Number of supported Program Binary Format: 1
LIBGL: Max texture size: 2048
LIBGL: Max Varying Vector: 8
LIBGL: Texture Units: 8/8 (hardware: 8), Max lights: 8, Max planes: 6
LIBGL: Max Draw buffers: 1
LIBGL: Hardware vendor is Imagination Technologies
LIBGL: Targeting OpenGL 2.1
LIBGL: Enable FastMath for cortex-a8
LIBGL: Forcing NPOT support by disabling MIPMAP support for NPOT textures
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: FBO workaround for using binded texture enabled
LIBGL: Current folder is:/mnt/utmp/ftl
Using native(wrapped) libGL.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libasound.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libXi.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXxf86vm.so.1
Warning, call to pthread_attr_setschedparam(0x41bfd778, 0x41bfd760[0]) ignored
Version: 1.6.12
Loading settings
Warning, call to pthread_attr_setschedparam(0x41bfaa58, 0x41bfaa40[0]) ignored
Warning, call to pthread_attr_setschedparam(0x41bfa918, 0x41bfa900[0]) ignored
Initializing Crash Catcher...
Starting up
Warning, call to pthread_attr_setschedparam(0x41bfa928, 0x41bfa910[0]) ignored
Warning, call to pthread_attr_setschedparam(0x41bfa9a8, 0x41bfa990[0]) ignored
Warning, call to pthread_attr_setschedparam(0x41bfa9c8, 0x41bfa9b0[0]) ignored
Loading text
Initializing Video
Video: 800x480, fullscreen
Video Initialized
Renderer: OpenGL version 2.1 (GL_VERSION: 2.1 gl4es wrapper 1.1.3)
Creating FBO...
Starting audio library...
Warning, call to pthread_attr_setschedparam(0x41bfa9c8, 0x41bfa9b0[0]) ignored
./runscript.sh: line 124: 2110 Killed ./box86 $myprog
[SUCCESS]--- Starting the application ( runscript.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- Restoring nub mode ----------
[SUCCESS]--- Restoring nub mode ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/ftl': 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 : 1

Thank you very much!
Miguel
 

devilsdante

Still Fresh
Joined
Nov 30, 2015
Messages
9
That worked ptitSeb. Thank you. Created a 500mb swap file. Needed to check what a swap file is, and it makes sense. This console probably does not have enough memory for the game so a file was needed to store some memory there.
Even if the game is working, some things to note:

-> Text is small. Was specified already but doesn't bother me much as much is readable in-game.
-> Framerate is oof, seriously low. Maybe 5 to 10 fps. I think it gets lower on some environments
-> A lot of noticeable mouse lag.
-> For some reason the actions/presses I do with the mouse will only "activate" when I press something else or move the mouse away.
-> I cannot, for the love of god, simulate a right-click on the mouse, so no moving around when the crew.
-> Random crashed while navigating in the menus.

But apart from this the game works. The awesome soundtracks work as well!
At least for the Rebirth version it seems a little unplayable. Not sure if the 1ghz pandora can mitigate some of these points.

Thank you very much for your help!
Miguel
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
14,986
Location
Somewhere off the coast of the EU
Well, it was a game released after the Pandora was originally released, so to me it's not a surprise it doesn't run that well on such antiquated hardware. Rule of thumb, but it mainly seems to work.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,053
Age
49
Location
France, near Lyon
Maybe I can try to update the pnd with latest box86 & gl4es.
Also, you can try some small overclock, like pushing to 800MHz? It works ok on my Gigahertz, but the GPU is 2x faster, so that may help.
 
Top