![]() |
#1 |
Sangband maintainer
Join Date: Apr 2007
Location: Heavens only knows
Posts: 31
![]() |
VB formatting test
Code:
Èomer ##################################################################
Adventurer #................................................................#
#................................................................#
EXP 98004606 #......########8...................##########....................#
AU 444 #......#########......########.....##########.......######.......#
K #......#########......#######3.....##########.......######.......#
STR: 12 #......#########......########.....##########.......######.......#
INT: 15 #......#########......########.....7#########.......6#####.......#
WIS: 13 #..................................##########........@...........#
DEX: 15 #..................................t....................>........#
CON: 13 #................................................................#
CHR: 12 #............................................t...................#
#................................................................#
Cur AC 1 #......................#####5#.......#######.....................#
HP 11/ 11 #......#######2#.......#######.......######4......1#########.....#
#......#########.......#######.......#######......##########.....#
#......#########.......#######.......#######......##########.....#
[Singing, h] #......#########.......#######.......#######......+#########.....#
[Aimless-lo] #....................................#######.....................#
#................................................................#
#................................................................#
Unknown ##################################################################
Luck
(no quest)
Regen: HP
(no target)
Town
This works. But it could stand some improvement: 1. I'd prefer not to have to use the "CODE" tag, but haven't figured out how to make spaces appear properly just using "TT". 2. The screendumps are fairly large files, especially if the user has a large main Term or shows a picture with lots of color changes.
__________________
S(all) W/D H+ D c+ f? PV++ s? d- P++ M+ C S !I !So SQ RQ V+ F:<<buffer overrun>> http://angband.oook.cz/code Last edited by Leon Marrick; April 30, 2007 at 01:57. |
![]() |
![]() |
![]() |
#2 |
Sangband maintainer
Join Date: Apr 2007
Location: Heavens only knows
Posts: 31
![]() |
Example for Angband
Code:
Human ##################################################################
Warrior #................................................................#
Rookie #................................................................#
LEVEL 1 #......##########...................................######.......#
EXP 5 #......##########...................................######.......#
AU 100 #......##########.....#########.....6#####..........######.......#
| ~ #......##########.....########8.....######..........######.......#
STR: 18/20 #......2#########.....#########.....######..........######.......#
INT: 13 #.....................#########.....................3#####.......#
WIS: 10 #................................................................#
DEX: 13 #................................................................#
CON: 14 #............................@...................................#
CHR: 14 #.......................>........................................#
#..........#####4...................#####5#..........7#####......#
Cur AC 0 #..........######.......#####.......#######..........######......#
Max HP 19 #..........######.......#####.......#######..........######......#
Cur HP 19 #..........######.......#####.......#######..........######......#
#..........######.......#####........................######......#
#..........######.......##1##........................######......#
#................................................................#
#................................................................#
##################################################################
Town
There are now two versions of the code: One for Angband 3.0.8: http://www.runegold.org/angband/ang_screenshot_code.txt And one derived from Sangband: (being updated - not available) If your variant uses bigtile (you poor deluded fool), work off of the Angband version. Otherwise, use the Sangband version. If you develop another version that other maintainers might be interested in, let me have it and I'll post it here. Documentation Screenshots: There are three different ways to take screenshots from within the game. Pure ASCII screenshots (monochrome): Type ')' and choose text. Suitable for newsgroup and other pure-text environments. Forum screenshots (color): Type ')' and choose forum. Suitable for posts to the Angband Forum. HTML screenshots (color): Type ')' and choose html. Suitable for websites and browsing.
__________________
S(all) W/D H+ D c+ f? PV++ s? d- P++ M+ C S !I !So SQ RQ V+ F:<<buffer overrun>> http://angband.oook.cz/code Last edited by Leon Marrick; April 30, 2007 at 14:01. |
![]() |
![]() |
![]() |
#3 | |
Administrator
|
Quote:
I have bumped up the limit to 25,000 characters. |
|
![]() |
![]() |
![]() |
#4 |
Administrator
|
Okay, I have beated CODE tag to behave (all with just clever reconfiguration in admin interface). Bad news is that vBulletin hardcodes 16px line height when computing the height of the code block. Hope that's tolerable.
|
![]() |
![]() |
![]() |
#5 |
Scout
|
This sort of thing also slows down scrolling on crappier machines [like my 1.66GHz Sempron 2400+...]
Could you perhaps use GD or ImageMagick or something to convert to PNG?
__________________
"The Earth...is for the living. The dead have neither rights nor powers on it." -- Thomas Jefferson "Aim above morality. Be not simply good, be good for something." -- Mark Twain |
![]() |
![]() |
![]() |
#6 | ||
Sangband maintainer
Join Date: Apr 2007
Location: Heavens only knows
Posts: 31
![]() |
Quote:
Quote:
Graphics are larger. My tests indicate that the smaller of .gif or .png (sometimes one is better, sometimes the other) ranges between 25% and 200% larger than vB screenshots, depending on how graphics-intensive your screen is. Another advantage to vB screenshots is that the Forum hosts them for you. People who want to display graphics need to have a provider. Many free providers try to turn your images into .jpgs, which are lousy for typical *band screens. The disadvantage of vB screenshots is that they show nothing but text. For showing exactly what you see, graphics are the only way to fly.
__________________
S(all) W/D H+ D c+ f? PV++ s? d- P++ M+ C S !I !So SQ RQ V+ F:<<buffer overrun>> http://angband.oook.cz/code |
||
![]() |
![]() |
![]() |
#7 | ||
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
![]() |
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 | |
Sangband maintainer
Join Date: Apr 2007
Location: Heavens only knows
Posts: 31
![]() |
Quote:
![]()
__________________
S(all) W/D H+ D c+ f? PV++ s? d- P++ M+ C S !I !So SQ RQ V+ F:<<buffer overrun>> http://angband.oook.cz/code |
|
![]() |
![]() |
![]() |
#9 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
![]() |
Further note: the current V implementation uses white as the default foreground color by default, which allows for a lot fewer <font="0xffffff"></font> pairs, and probably cuts the file size by 20%.
I'm integrating the changes now. |
![]() |
![]() |
![]() |
#10 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
![]() |
Another test embedded html
Test of V angband
OK, this is now in V. There are 3 differences with Leon's version
Code:
Dwarf #
Paladin # #################
Knight # # #
LEVEL 29 # #####%############### # #
NXT 13396 # # # # #
AU 4446 # # s # # TT #
|}=="~[( ]]] # # # # TTT #
STR: 18/100 % # " # #- TTT #
INT: 7 # # # #######T#########
WIS: 18/61 % ###%##%#### ######### # #
DEX: 14 % # # # #
CON: 18/82 % # ## # #
CHR: 10 * %## # # #
# % # ################# #d#
Cur AC 22 ####%#%#%%# # ### # , # # # ##########
HP 416/ 416 # % # # ### # #.........
SP 38/ 66 # # # # # #######################.........
% # # ####### #...............@....'.'............
s # % # # #+####################'####.........
% % # # # ########## ######## # #.# #.........
%## ####%%# # # # ### # # # # #.#############
# # % # # # # # # # #. #
# % % # # # ## # # # ##### #
# % ##%%#%% # # # # # # # # #
% # # # # # # ######### ########### # #
% # # ##%#### ### # # ###### # # # #
# # # # # # # # # ' + # # #
###+######### %#%%%######## ###+########+#### # # #
+ ' + " + + ' d # # #
############# ########## ## #########+#### # # #
###+# # # # #:# # # # #
# # ### # # # #### # # ###
#'% # # #### ###################### # #######
# % ### # # # ###
#+# # # ######## ## #########
# # # # # # #
% # # # # # #
Study 1800 ft
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|