Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 20, 2018, 20:58   #1
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 989
tangar is on a distinguished road
Exclamation [coding] TomeNET needs your help to find a bug! :D

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 It's even totally unknown where to find this mistake... That's why I beg every living person who knows something about coding to help in solving this issue!

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
tangar is offline   Reply With Quote
Old January 22, 2018, 09:59   #2
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,973
PowerWyrm is on a distinguished road
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!
PowerWyrm is offline   Reply With Quote
Old January 22, 2018, 17:31   #3
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 989
tangar is on a distinguished road
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
tangar is offline   Reply With Quote
Old January 23, 2018, 07:47   #4
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
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-
takkaria is offline   Reply With Quote
Old January 23, 2018, 09:20   #5
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,973
PowerWyrm is on a distinguished road
Quote:
Originally Posted by tangar View Post
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.
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!
PowerWyrm is offline   Reply With Quote
Old January 24, 2018, 22:20   #6
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 989
tangar is on a distinguished road
Smile

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.
tangar is offline   Reply With Quote
Old January 25, 2018, 11:14   #7
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,973
PowerWyrm is on a distinguished road
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!
PowerWyrm is offline   Reply With Quote
Old January 25, 2018, 11:59   #8
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 989
tangar is on a distinguished road
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
tangar is offline   Reply With Quote
Old January 25, 2018, 15:32   #9
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,973
PowerWyrm is on a distinguished road
Quote:
Originally Posted by tangar View Post
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)
Found the problem, thanks. It was because the prf files are copied in a Windows local user directory and I had to modify the copied file, not the original one, so the changes would be applied.

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!
PowerWyrm is offline   Reply With Quote
Old January 25, 2018, 17:06   #10
tangar
Knight
 
tangar's Avatar
 
Join Date: Mar 2015
Posts: 989
tangar is on a distinguished road
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
tangar is offline   Reply With Quote
Reply

Tags
bug, font, glyph, tileset, tomenet


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 20:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.