Search found 9 matches

by zlkndu
Sat Jul 23, 2011 10:52 pm
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

I want saves in /var/games/tome4

Symbolic links are not good, they add unnecessary files.
by zlkndu
Fri Jul 22, 2011 5:02 pm
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

That is not executable, but a script. ;) And it doesn't fix save dir.
by zlkndu
Thu Jul 21, 2011 9:33 pm
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

The problems are:
1. T-engine looks for data folders in the same directory it runs from. We can't compile src in /usr/share/games than take binary and move it to /usr/games/bin
2. Save folders created in user's home dir. We can't specify folder relative to /
by zlkndu
Thu Jul 21, 2011 7:34 pm
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

Tried to do as few corrections as possible. But diff can't substitute environment variables like sed, that means writting new functions for premake, so it would accept path as option. And main source needs a few corrections... Next, this is done for ebuild. All variables exist only in compile time, ...
by zlkndu
Thu Jul 21, 2011 1:15 am
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

I did it. :D #Fix saves dir sed -i -e "s:\.t-engine:tome4:g" build/te4core.lua sed -i -e "s:PHYSFS_getUserDir():\"${GAMES_STATEDIR}\":" src/physfs.c #Fix data dir sed -i \ -e "s:local dir = __SELFEXE:local dir = \"${GAMES_DATADIR}/tome4/tome4\":" \ -...
by zlkndu
Mon Jul 18, 2011 1:56 pm
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

Re: System wide installation on Linux.

Same thing as greycat's suggestion.

Wish i could move binary... :)
by zlkndu
Sun Jul 17, 2011 12:14 am
Forum: General Discussion
Topic: System wide installation on Linux.
Replies: 14
Views: 3177

System wide installation on Linux.

Need to separate binary and data. How do i do that? As far as i understand, game looks for SELFEXE variable? Where do i change it?
BTW, when i change TENGINE_HOME_PATH in t4core.lua compiler shows many warnings. It's not neccessary, is it? Game works, no problems.
by zlkndu
Fri Apr 15, 2011 10:13 am
Forum: Bugs Archive
Topic: [b24] Crash in Reknor, is this related to mini-map problems?
Replies: 7
Views: 2399

Re: [b24] Crash in Reknor, is this related to mini-map probl

Same here. Random crashes in ancient elven ruins on 3rd level. Playing thalore summoner 30lvl. Though most of crashes accompanied by one-line "Segmentation fault" error, there was backtrace once: [LOG] 3-headed hydra breathes lightning! USING table: 0x8fceb30 Lightning Breath [PROJECTOR] s...
by zlkndu
Sun Apr 10, 2011 7:49 am
Forum: Bugs Archive
Topic: [b24] Off hand deals more damage than main hand
Replies: 1
Views: 746

[b24] Off hand deals more damage than main hand

I'm playing Thalore/Shadowblade, lvl 1, dual wield training 1/5. USING table: 0xb0f6568 Attack [ATTACK] attacking with iron dagger [COMBAT DAMAGE] power(0.736656) totstat(13.950000) talent_mod(1.346410) [ATTACK] to wolf :: 7.5559362279431 5 1 5.45 :: 1 checkHit 9.4733333333333 5.45 => chance to hit ...