Page 1 of 1

Mac (OS X) configuration questions

Posted: Mon Aug 21, 2017 12:45 am
by Sinister Stairs
I know how to use the --home command line parameter on Windows and Linux to change my home directory, but how do I use it with the Mac (OS X) version of T-Engine.app (not Steam)? I've tried running T-Engine.app/Contents/MacOS/t-engine directly from the terminal, but that just pulls up a blank (black) window and not the game.

Also, I've found that adding Addons directly through the application doesn't work -- it just hangs forever at 100% downloaded; I have to manually download them and copy them into the T-Engine.app package contents. Is this a bug, a permissions issue, or am I doing something wrong?

Re: Mac (OS X) configuration questions

Posted: Mon Aug 21, 2017 7:02 am
by Pisastrish
Not familiar with windows or linux, what does --home do?

Edit: I just tried launching tome from terminal and it worked fine. Could you post all the commands you're giving?

Re: Mac (OS X) configuration questions

Posted: Mon Aug 21, 2017 9:39 am
by HousePet
--home allows you to change were it stores the user data used by the game.

Re: Mac (OS X) configuration questions

Posted: Mon Aug 21, 2017 12:59 pm
by Sinister Stairs
Pisastrish wrote:Edit: I just tried launching tome from terminal and it worked fine. Could you post all the commands you're giving?
I'm using the ToME 1.5.5 app from the download page (T-Engine.app) on a mid-2012 MBP w/ 16G memory and OS X Sierra. It runs just fine from the Finder/Dock, but I haven't been able to run it from the command line so I can pass in the --home parameter.

What I'm trying to do is use Dropbox as my ToME home directory, so my saves sync across systems.

From the terminal I've run T-Engine.app/Contents/MacOS/t-engine. That opened up a window with blank/black content; but the UI didn't appear, unless I didn't wait long enough.
What I'm trying to run is T-Engine.app/Contents/MacOS/t-engine --home ~/Dropbox, but that has the same result (blank window).

My real goal is to be able to use Dropbox for just my saved characters (i.e. not profiles, which differ between my systems). T-Engine apparently doesn't follow softlinks, though:

Code: Select all

# Remove/backup my Dropbox saves
mv -i ~/Dropbox/tome/save dropbox.save.bak
# Copy my local saves to Dropbox
cp -rp ~/Library/"Application Support"/T-Engine/4.0/tome/save ~/Dropbox/tome/save
# Remove/backup my local saves
mv -i ~/Library/"Application Support"/T-Engine/4.0./tome/save local.save.bak
# Create a softlink from my local saves to my Dropbox saves
ln -s ~/Library/"Application Support"/T-Engine/4.0/tome/save ~/Dropbox/tome/save
(The paths may be off here and there -- I'm typing this from memory for example purposes. I use path completion when actually running those commands.)

When I would try to Load Game when having "save" linked to another directory, no characters would appear. I didn't think to try creating a New Game to see if/where those saved.

Re: Mac (OS X) configuration questions

Posted: Tue Aug 22, 2017 4:58 am
by Pisastrish
Just tried T-Engine.app/Contents/MacOS/t-engine --home ~/Dropbox on my computer and it seems to work as intended. Have you tried opening T-Engine.app/Contents/MacOS/t-engine from finder rather than just T-Engine.app? There could be something going on with running TOME from there (I'm also on yosemite, so maybe sierra's the problem?). Just to be absolutely clear, you cd to the directory T-Engine.app is in before running these commands, right?

Re: Mac (OS X) configuration questions

Posted: Wed Aug 23, 2017 5:01 pm
by Sinister Stairs
That did the trick, thank you! I remembered incorrectly: I'd been running ./t-engine from within the T-Engine.app package; rather than running ./T-Engine.app/Contents/MacOS/t-engine from the folder containing the app.