Package Details: tome4 1.7.6-1

Git Clone URL: https://aur.archlinux.org/tome4.git (read-only, click to copy)
Package Base: tome4
Description: An open-source, single-player, role-playing roguelike game set in the world of Eyal.
Upstream URL: http://tome.te4.org/
Keywords: Eyal Maj Tales Tome Tome4
Licenses: custom, GPL3
Conflicts: tome4-beta, tome4-git, tome4-nomusic
Submitter: schuay
Maintainer: heavysink (lilac)
Last Packager: lilac
Votes: 75
Popularity: 0.141888
First Submitted: 2010-09-14 13:02 (UTC)
Last Updated: 2023-06-30 02:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

0ion9 commented on 2014-11-07 01:13 (UTC)

Thanks. I'll try that at the next opportunity. (I flagged the package out of date, since 1.2.5 is out : http://te4.org/blogs/darkgod/2014/11/tales-majeyal-125-aka-back-and-back-and-back-future-released )

Harms commented on 2014-10-28 21:32 (UTC)

I have changed the patch to implement fontconfig functionality instead of the hardcoded paths. It should work now with infinality.

0ion9 commented on 2014-10-21 23:05 (UTC)

ttf-bitstream-vera and ttf-droid packages are incorrect; for infinality, ttf-droid-ib and ttf-dejavu-ib are the packages providing those. bohoomil noted in his recent reply ( https://bbs.archlinux.org/viewtopic.php?pid=1467792#p1467792 ) that "Instead of Vera, we're using DejaVu families, which are technically the same thing. If tome4 doesn't make use of all fontconfig options (which I guess is what might be happening here) and needs exactly Vera, not a substitute (because it won't accept one provided by fontconfig), then you may need to install it from [extra]." Which according to your explanation, is exactly what is happening. ToME looks in /usr/share/fonts/TTF and finds .. well, very little (infinality-bundle fonts are not placed in that directory at all, rather /usr/share/fonts/ttf-ib-$FONTNAME) If you have ttf-bitstream-vera or ttf-droid installed, that could be invalidating the test results. 'if ! pacman -Q |grep freetype2-infinality > /dev/null' is a test that could be used to remove the fonts from archive only if infinality is not in use.

Harms commented on 2014-10-20 14:26 (UTC)

Update: I tried with the infinality-bundle myself, but it seems to work for me. Do you have the ttf-bitstream-vera and ttf-droid packages, or some other package that 'provides' these?

Harms commented on 2014-10-20 13:37 (UTC)

The fonts used by the game normally is bundled within the game data archive te4-{pkgver}.teae (which is really just a zip archive). The patch modifies the font loading function to: load from the archive and on failure attempt to load the files from system instead, at: '/usr/share/fonts/TTF/'. To have the game use other fonts I guess you could try to symlink the required fonts inside the system directory mentioned above. A much better way however is to bundle them into the .teae file. Use the zip program to add them into the archive. Replace the command following "# Delete built-in fonts from the game." with: zip -ur "${_inst_dir}/game/engines/te4-${pkgver}.teae" "${srcdir}/data" - where data is a folder structure like: 'data/font/*.ttf' that is holding all your custom fonts with exactly the same names as the ones that would like to replace.

0ion9 commented on 2014-10-18 01:22 (UTC)

The command following "# Delete built-in fonts from the game." is the problem. Once rebuilt without that command, ToME runs fine.

0ion9 commented on 2014-10-18 01:01 (UTC)

Re: my previous comment: I'm using 64bit arch, with bohoomil's infinality-bundle (https://bbs.archlinux.org/viewtopic.php?id=162098) for fonts. Trying the tome4-git package instead, I get similar results, except that the font it complains about is /data/font/Vera.ttf. I have tried placing symlinks to the required TTF files in all possible data/font directories, but this has no effect. I even used find to do this for every single directory under /opt/tome4/ and also /usr/bin, still no effect.

0ion9 commented on 2014-10-18 00:15 (UTC)

Shows only a blank display, and on the console shows these errors: Loading WebCore: Failed loading /opt/tome4/libte4-web.so: /opt/tome4/libte4-web.so: cannot open shared object file: No such file or directory [...] Lua Error: /engine/utils.lua:933: could not load font: /data/font/DroidSansMono.ttf (14) At [C]:-1 At [C]:-1 oldNewFont At /engine/utils.lua:933 newFont At /engine/Tiles.lua:47 init At /engine/class.lua:39 new At /engine/Dialog.lua:27 At [C]:-1 require At /engine/DebugConsole.lua:21 At [C]:-1 require At /engine/Game.lua:22 At [C]:-1 require At /engine/init.lua:28 At [C]:-1 dofile At /loader/init.lua:196

Kelet commented on 2014-08-08 10:54 (UTC)

1.2.3 is out. http://te4.org/blogs/darkgod/2014/07/news/tales-majeyal-123-aka-competitive-ecology-released

lysergia commented on 2014-07-20 19:45 (UTC)

The premake4 dependency should be changed to premake