Page 3 of 3
Re: Forgotten Tales 9 beta version released!
Posted: Thu Apr 16, 2026 3:54 pm
by LostKnight
compbatant wrote: Thu Apr 16, 2026 9:16 am
When you enter just "start.sh" then command line is searching for executable in PATH variable. Current directory isn't there by default. Only directories like "/bin" '/usr/bin" etc.
In the ft9.zip file the start.bat and start.sh files have 1 line:
Code: Select all
java --sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -jar desktop.jar 920 640
as you can see from my previous post I did a /cd command in my terminal (Debian Linux) changing my directory to
and tried running the start.sh - it was not found.
So I created my own .sh file with these lines that are based on the FT v8 bash files except for the final /ft9/:
Code: Select all
cd /media/10/FT-MMOG/ft9/
java -jar desktop.jar 634 518
And my OpenBox
file has:
Code: Select all
<keybind key="C-A-6">
<action name="Execute">
<command>/media/10/FT-MMOG/ft9/ft6.sh</command>
</action>
</keybind>
Now everything works just fine.

- FT·260416·104102.jpg (98.79 KiB) Viewed 83 times
Re: Forgotten Tales 9 beta version released!
Posted: Thu Apr 16, 2026 6:29 pm
by compbatant
LostKnight wrote: Thu Apr 16, 2026 3:54 pm
compbatant wrote: Thu Apr 16, 2026 9:16 am
When you enter just "start.sh" then command line is searching for executable in PATH variable. Current directory isn't there by default. Only directories like "/bin" '/usr/bin" etc.
In the ft9.zip file the start.bat and start.sh files have 1 line:
Code: Select all
java --sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -jar desktop.jar 920 640
as you can see from my previous post I did a /cd command in my terminal (Debian Linux) changing my directory to
and tried running the start.sh - it was not found.
So I created my own .sh file with these lines that are based on the FT v8 bash files except for the final /ft9/:
Code: Select all
cd /media/10/FT-MMOG/ft9/
java -jar desktop.jar 634 518
And my OpenBox
file has:
Code: Select all
<keybind key="C-A-6">
<action name="Execute">
<command>/media/10/FT-MMOG/ft9/ft6.sh</command>
</action>
</keybind>
Now everything works just fine.
FT·260416·104102.jpg
Please read again my previous message.
Changing directory is not enough. You must type
./start.sh
or
sh start.sh
When you enter just "start.sh" then system search for command in directories defined in PATH global variable. In general in PATH variable there is no current directory.
The $PATH is a specific system variable containing a list of directories separated by colons (:). When you type a command (like ls), the shell searches these directories in order to find the executable file.View your PATH: Run echo $PATH in the terminal.Common directories in $PATH: /bin, /usr/bin, and /usr/local/bin.
You don't have "start.sh" script put in /bin or /usr/bin etc directory so it is not found.
It doesn't matter where is you current directory set by "cd" command.
Re: Forgotten Tales 9 beta version released!
Posted: Thu Apr 16, 2026 8:21 pm
by LostKnight
compbatant wrote: Thu Apr 16, 2026 6:29 pm
{snip}
Please read again my previous message.
Changing directory is not enough. You must type
./start.sh
or
sh start.sh
Agreed, those two commands basically say "ignore the $PATH start the script in the directrory you are in".
You can also use
as well.
starting "start.sh" with
Code: Select all
/directory/subdir1/subdir2/start.sh
also works.
Therefore:
will start the ft6.sh script from: the run command, or from an OpenBox menu, or in a terminal.
ft6.sh has two lines:
Code: Select all
cd /media/10/FT-MMOG/ft9/
java -jar desktop.jar 634 518
/media/10/FT-MMOG/ft9/ - is where ft9.zip was extracted to and because my bash script used the cd command to change to that directory I'm in the required directory to run the command:
I did not use:
I used:
Anyway. It's working. Thank you.
Re: Forgotten Tales 9 beta version released!
Posted: Thu Apr 16, 2026 8:29 pm
by LostKnight
This seems like as good a place as any.
A tiny oops that could use a tweak in FT version 9
How about moving the "red (X)" down below the Health, Mana bars under the mini-map.

- 260416·132508.jpg (3.98 KiB) Viewed 40 times
Re: Forgotten Tales 9 beta version released!
Posted: Thu Apr 16, 2026 8:45 pm
by compbatant
LostKnight wrote: Thu Apr 16, 2026 8:29 pm
This seems like as good a place as any.
A tiny oops that could use a tweak in FT version 9
How about moving the "red (X)" down below the Health, Mana bars under the mini-map.
260416·132508.jpg
Good catch. I added function for detecting rounded corners in phone and moving down minimap so it is fully visible but I forgot to move down zoom and erase buttons. I will fix it in next client update.
Re: Forgotten Tales 9 beta version released!
Posted: Fri Apr 17, 2026 1:00 am
by LostKnight
compbatant wrote: Thu Apr 16, 2026 8:45 pm
LostKnight wrote: Thu Apr 16, 2026 8:29 pm
{snip}I will fix it in next client update.
Thank you.