Activating the “MacGraphics” setting within the Carbon compatibility layer.
Activating the “MacGraphics” setting within the Carbon compatibility layer.
From the NetHack rec.games.roguelike.nethack discussion board:
(Further information available)
When I activate the MacGraphics setting within the NetHack Carbon adaptation, I receive only meaningless symbols instead of standard text characters. Are there any additional steps required to achieve proper functionality, or is this feature malfunctioning when executed on OS X (10.3)?
Furthermore, I desire the background to be black and the text to be white, instead of the default configuration. A disabled line in the options file attempts to accomplish this; however, it carries cautions regarding its outdated status and lack of support. Is there a functional alternative to achieve reverse video within this port?
--
Karl Garrison
This document originates from the online group rec.games.roguelike.nethack.
More information is available at the specified URL.
On December 4, 2005, at 9:03 AM, [email protected] ([email protected]) wrote:
“I’m experiencing display issues when using the MacGraphics option in the NetHack Carbon port. Instead of drawing characters, I’m only seeing garbled text. I'd like to know if there are additional steps I need to take to enable this feature correctly, or whether it’s simply not functional under OS X 10.3.
Additionally, I want to change the default color scheme to black background with white foreground, rather than the current arrangement. There’s a commented-out setting in the options file that attempts to achieve this, but it warns of potential obsolescence and lack of support. Is there a viable alternative to obtain reverse video within this port that won’t result in deprecated features?”
The following configuration file works for me:
# SCCS Id: @(#)NetHack Defaults 3.4 2002/03/15
# Copyright © 2002 by Dean Luick, Mark Modrall, and Kevin Hugo
# NetHack may be freely redistributed. See license for details.
#
# Default settings for the Macintosh port of NetHack.
# Lines starting with a '#' character are "comments" and ignored until the end of the line.
# Removing the '#' symbol will “uncomment” a line, allowing its settings to take effect.
### Display ###
# Enable the traditional command-line interface
#OPTIONS=win:tty
OPTIONS=boulder:0 # Boulder symbol
# Color settings
OPTIONS=color
# Font choices
#OPTIONS=font_map:NewHackFont,font_size_map:20
#OPTIONS=font_menu:geneva,font_size_menu:20
#OPTIONS=font_message
OPTIONS=!macgraphics,font_size_map:16,font_size_message:14,font_size_text:14
# Disable dark corridors appearing as lit corridors
OPTIONS=!lit_corridor
### Start-up and Ending ###
# Disable the initial game introduction and new feature list at startup
#OPTIONS=!legacy,!news
# Save game state regularly to prevent crashes (recommended)
OPTIONS=checkpoint
# Prompt for input after death: (options are +i na -v yg nc)
OPTIONS=disclose:+i na -v yg nc
# Display tombstone and top scores at death
OPTIONS=tombstone,scores:10t/3a/o
# Show top ten list in a separate window
#OPTIONS=toptenwin
### User Input and Feedback ###
# Choose between menu-based or text prompts
#OPTIONS=menustyle:full
#Extend commands via menus
#OPTIONS=extmenu
# Increase the number of message lines remembered
#OPTIONS=msghistory:60
# Enable number pad keys for input
OPTIONS=number_pad
# Pause and boldface when prompted with "--more--"
OPTIONS=page_wait,standout
# Confirm commands using the #pray command
OPTIONS=prayconfirm
# Allow spacebar to be used as a rest command
#OPTIONS=rest_on_space
# Display experience, score, and time on the status line
OPTIONS=showexp,showscore,time
### Character ###
# Set character name and role (example: Valkyrie)
#OPTIONS=name:Brunhilda,role:Val
#Alternative method for name setting (example: Elven Ranger)
#OPTIONS=name:Silwa,role:Ranger,race:Elf,gender:Male
# Or leave these commented out and the game will prompt for character details.
### Inventory ###
# Automatically dig when carrying a pick
#OPTIONS=autodig
# Disable automatic pick-up (use @ command instead)
OPTIONS=autopickup,pickup_types:$
# Automatically fill the quiver when wielding a bow
OPTIONS=autoquiver
# Don't use fixed inventory letters
#OPTIONS=!fixinv,perm_invent,sortpack
# Define what slime molds are called
#OPTIONS=fruit:grape
# Preferred order for organizing inventory items
#OPTIONS=packorder
### Pets ###
# Define starting pet name and type (example: Quinn, a dog)
#OPTIONS=dogname:Quinn,catname:Vladimir,horsename:Silver,pettype:dog
# Prevent intentional attacks on pets
OPTIONS=confirm,!hilite_pet,safe_pet
### Unused Options ###
# These are outdated options.
# background, large_font, popup_dialog, use_stone
# Obsolete reverse video option - use cautiously
OPTIONS=palette:000/c22/2c2/ca0/22c/a2a/2aa/ccc/999/f00/0f0/dd0/00f/d0d/0dd/fff/999/444/622/62c/-222
# Options used in command-line mode, but not Mac window mode
#
# menu_..., msg_window, timed_delay, use_inverse, vary_msgcount
# Options used by other ports but not Macintosh:
#
# align_message, align_status, ascii_map, BIOS, checkspace,
# decgraphics, eight_bit_tty, ibmgraphics, ignintr, mail,
# map_mode, null, player_selection, preload_tiles, rawio,
# splash_screen, tiled_map, tile_..., videocolors, videoshades,
# windowcolors
This message originates from the rec.games.roguelike.nethack mailing list.
It appears you have macgraphics turned off in your configuration file due to the (!macgraphics) setting. If you activate this option within the game, do you also encounter unexpected characters?
I’m questioning whether specific configurations are necessary to display symbols accurately using the “NewHackFont” font, or if this font simply isn't compatible with the Carbon version of NetHack.
For MACgraphics functionality, I configure the following parameters within my .nethackrc file: OPTIONS=symset:MACgraphics, roguesymset:MACgraphics, color, menucolors, eight_bit_tty. Additionally, you must adjust your terminal’s settings—specifically in the advanced section under international—to utilize the Latin-US (DOS) character encoding.