############################################################################
#
# Z64 configuration file
#
# This config file is organized in three parts :
#  - first part are default values for all games
#  - second part are settings that you can specify for specific roms
#  - third part allow you to override settings from second part globally
#
# Lines starting with a "#" are comments
#
############################################################################

############################################################################
# 1) global settings
############################################################################

# windowed resolution
res_x = 640
res_y = 480

# fullscreen resolution
fs_res_x = 1024
fs_res_y = 768

hires_fb = 1
force_swap = 1

# try to set this to 1 if the plugin crashes (necessary on geforce 5900 for example)
no_npot_fbos = 0

# try this option with mupen, it might make z64 a bit unstable though
# games that benefit from this option : 
# Banjo & Kazoie, Mario Kart, Zelda MM, Zelda OOT and probably others
fb_info = 0

# render with factor of native resolution
resolution_factor = 1

# run RDP emulator in a separate thread
# REQUIRED with Pj64 1.6 and below (not with 1.7), or along with the "async" option
threaded = 1

# emulate RDP asynchronously, might be faster, needs "threaded = 1" option
# a bit unstable, also fb_info is currently forced to off then
async = 1

############################################################################
# 2) per rom settings
############################################################################
[ZELDA MAJORA'S MASK]
fb_info = 1

[MAJORA'S MASK]
fb_info = 1

[Banjo-Kazooie]
# cause freeze when entering a level
#fb_info = 1

[BANJO KAZOOIE 2]
#fb_info = 1

[BANJO TOOIE]
fb_info = 1

[MARIOKART64]
fb_info = 1

[ZELDA MASTER QUEST]
fb_info = 1

[THE LEGEND OF ZELDA]
fb_info = 1

[Beetle Adventure Rac]
fb_info = 1

[Perfect Dark]
fb_info = 1

[Resident Evil II]
fb_info = 1

[MarioGolf64]
fb_info = 1

[MISCHIEF MAKERS]
resolution_factor = 1

[NINTAMAGAMEGALLERY64]
resolution_factor = 1

[PUYOPUYO4]
resolution_factor = 1

############################################################################
# 3) override settings
############################################################################
# this section should be last, it allows to override options set per rom
# (for example if you want to force lowres to 0 for all games, put it here)
[override]
fb_info = 0
