Offline
Netherl4nds

When I make a shortcut (in Linux) to the executable and I start Piggy from that shortcut, it doesn open the config.xml. It does open when I start it directly from the bin foldder. Can I add something to the startup command to load the config file as well?

Last edited by Sup4durt (Nov 8, 2013 3:47 pm)

Offline

try copying the config file int o the same folder as the shortcut or making a batch script that launches the bin and making a shortcut to that

Last edited by sandneil (Nov 8, 2013 12:47 pm)

Offline
Netherl4nds
sandneil wrote:

try copying the config file int o the same folder as the shortcut or making a batch script that launches the bin and making a shortcut to that

That did not work. What DID work was putting the arguments behind the executable, like this:


lgpt_DEB/bin/lgpt.deb-exe -SCREENMULT=2 -BACKGROUND=025563 -FOREGROUND=02222D -HICOLOR1=FFFFFF -HICOLOR2=51555E

It's a work around, but will do for now! xD

Offline
Unsubscribe

You should make a sh to moves to the directory that contains the binary and run the exe there. If should use the binary and its associated config.xml if they are in the same folder.

Offline
Unsubscribe

also:

http://wiki.littlegptracker.com/doku.ph … stallation

#!/bin/bash

cd [path to DEB/bin/]
./lgpt.deb-exe

Offline
Netherl4nds
herr_prof wrote:

also:

http://wiki.littlegptracker.com/doku.ph … stallation

#!/bin/bash

cd [path to DEB/bin/]
./lgpt.deb-exe


Yes, that's it! Thanks!