![]() |
#1 |
Knight
Join Date: Mar 2015
Posts: 989
![]() |
![]()
Hi ho!
![]() Just a few months ago I've presented my free-to-use 1-bit tileset for TomeNET (http://tomenet.eu) and not only: https://www.reddit.com/r/roguelikede...graphics_font/ ... Also wanna remind, that I'll be very happy if someone would use this tileset in YAGR (yet another great roguelike) ![]() This tileset works great in TomeNET and makes gameplay much more enjoyable! But we got a trouble... There is a bug - currently it's not possible to map characters at certain glyphs of this graphical font: 0, 2, 16-31, 129, 141, 143, 144, 157, 195 If this bug would be fixed, it would be possible to add extra _24_ symbol in this tileset (I'll update my tileset, of course!). 24 symbols would make huge difference! Devs don't know how to fix this bug ![]() Source files for TomeNET could be found there: https://tomenet.eu/downloads.php Topic about this problem at TomeNET forum: https://tomenet.eu/phpBB3/viewtopic.php?f=9&t=1737 Please don't hesitate to post any assumptions and hypothesis considering this bug, lets discuss it. Any hints could be useful!
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2008
Posts: 2,972
![]() |
Hmm... that's too random to be anything in the code. I guess it comes from your font. Are these symbols in your font mapped to non-ASCII characters? Did you start from the original font file? A modified file?
__________________
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Mar 2015
Posts: 989
![]() |
thanks for feedback! I'll add it to our headquarters ( https://tomenet.eu/phpBB3/viewtopic.php?f=9&t=1737 )
Previously dev's already fixed similar bug, when it was possible to map only 128 or so symbols... and now there is problem only with other symbols, like 16-31 symbols, so it still could be a bug in code. I've modified original file (resized it).
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#4 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
If this is in particular on the Windows port, it's I think a quirk that Windows Vista introduced. The way round it is to use different font handling libraries in the frontend.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Apr 2008
Posts: 2,972
![]() |
Well being able to map 255 chars instead of 127 = bug with char/byte, that's obvious. But not being able to map #157? Why not #158 instead? That's too random to be a bug in the code, unless there's a hardcoded table somewhere... I've looked at ASCII tables and those unmappable chars (except the ones below 32 which are system chars and shouldn't be remapped anyway) are not different from their neighbors (for example: you have one accented "i" that cannot be remapped while all other accented "i"s can). That's why I was suggesting looking at the font file and see what character was at position #157 to be sure it's not a special one. An easy way to tell is to use different font files from different countries and see if the unmappable chars are at same position.
__________________
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Mar 2015
Posts: 989
![]() |
![]()
Investigation into the problem (video):
https://www.youtube.com/watch?v=MDYDr2Ey5nY List of problem glyphs: 0 linked to 35 (#) 2 WORKS! 16 β? 253C 197 17 β 25C4 17 18 β 2195 18 19 β? 203C 19 20 ΒΆ 00B6 20 21 β΄ 2534 193 22 β¬ 252C 194 23 β€ 2524 180 24 β 2191 24 25 β? 251C 195 26 β 2192 26 27 β? 2190 27 28 NULL 29 NULL 30 NULL 31 linked to 35 (#) 129 NULL 141 NULL 143 NULL 144 NULL 157 NULL 195 WORKS! IT DOESN'T SHOW CORRECT VALUES AT OOOK.CZ FORUM, please visit https://tomenet.eu/phpBB3/viewtopic....9&t=1737#p5023 to see correct ones! List of code page 437 table: https://en.wikipedia.org/wiki/Code_page_437 TomeNET source could be found: https://www.tomenet.eu/downloads.php === takkaria, I'm not sure about Vista.. So maybe we have to try another .fon file without glitch, as PowerWyrm suggested? I wasn't able to find good ones for it (see below) PowerWyrm, it's good idea to try other fonts. But where to find another, 100% legit monospaced .fon file with ANSI/Latin1/CP1252 charset? I googled, but wasn't able to find such file. The closest thing I found is https://int10h.org/oldschool-pc-fonts/readme/ - but it's no in correnct charset... If I'll change it - it won't be 'template' anymore.. We need 100% native .fon file, exceptional model
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; January 24, 2018 at 23:41. |
![]() |
![]() |
![]() |
#7 |
Prophet
Join Date: Apr 2008
Posts: 2,972
![]() |
I tried to test the feature but it simply doesn't work for me. So I won't be able to help here...
__________________
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#8 |
Knight
Join Date: Mar 2015
Posts: 989
![]() |
PowerWyrm, thank you very much for participation in this project! I've recorded video to show how to rearrange symbols in font:
https://youtu.be/mv7bxDMKYLo (this isn't public video, access only by link)
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#9 | |
Prophet
Join Date: Apr 2008
Posts: 2,972
![]() |
Quote:
As of the font issue, I've also found the problem. See post in tomenet forums.
__________________
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
|
![]() |
![]() |
![]() |
#10 |
Knight
Join Date: Mar 2015
Posts: 989
![]() |
Maybe I misunderstood something, but it seems that stuff which you pointed there - isn't the case. Replied @ TomeNET forum details
__________________
https://tangaria.com - Angband multiplayer variant tangaria.com/variants - Angband variants table tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
Tags |
bug, font, glyph, tileset, tomenet |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Announce] TomeNET 4.7.0 Released | clouded | Variants | 1 | October 9, 2016 13:21 |
[movie] TomeNet: Permadeaths' tribute | tangar | ToME | 3 | April 7, 2015 23:11 |
Runemaster TomeNET | UglySquirrell | Variants | 0 | December 28, 2013 04:51 |
Bug: "Find Traps, Doors & Stairs" doesn't work on chests | Raggy | Vanilla | 26 | June 29, 2011 13:28 |
TomeNET difficulty levels | Garbanzo | ToME | 1 | September 25, 2009 13:02 |