# PokeMini config file (note that command-line will take priority)
# This file can work as "pokemini.cfg" but "Save config..." in emulator will destroy the comments

; -- BIOS --
; ----------

; Set to 1 to force FreeBIOS
freebios = 0

; BIOS filename
biosfile = bios.min

; -- Shared EEPROM --
; -------------------

; Enable Shared EEPROM
;   1 = All ROMs will share the same EEPROM (default)
;   0 = Each ROM will have his own EEPROM
eepromshare = 1

; Shared EEPROM filename
eepromfile = pokemini.eep

; -- Save State --
; ----------------

; File to backup & restore state when emulator is shutdown
;  leave it blank to discard state (default)
statefile =

; Update RTC:
;   0 = No RTC
;   1 = State time difference
;   2 = RTC from Host system
rtc = 2

; -- Video --
; -----------

; LCD Filter
;   none     = No filter
;   scanline = 50% Scanline
;   matrix   = Dot-Matrix simulation
ldcfilter = matrix

; LCD Mode
;   2shades  = No mixing
;   3shades  = Grey emulation
;   analog   = Pretend real LCD
lcdmode = analog

; Palette selection
;   0 = Default
;   1 = Old
;   2 = Black & White
;   3 = Green Palette
;   4 = Green Vector
;   5 = Red Palette
;   6 = Red Vector
;   7 = Blue LCD
;   8 = LED Backlight
;   9 = Girlish
;  10 = Blue Palette
;  11 = Blue Vector
;  12 = Sepia
;  13 = Inverted Black & White
;  14 = Custom 1...
;  15 = Custom 2...
palette = 0

; Custom palette
custom1light = 0xFFFFFF
custom1dark  = 0x000000
custom2light = 0xFFFFFF
custom2dark  = 0x000000

; -- Audio --
; -----------

; Sound engine:
;  off       = No sound
;  direct    = Direct from timer's state
;  emulated  = Emulated from timer's calculations
;  generated = Generated for each sound-buffer request
;  directpwm = Same as direct, can play PWM samples
soundengine = directpwm

; Piezo Filter:
piezo = yes

; -- Emulation --
; ---------------

; Report low battery
lowbattery = 0

; Sync cycles, higher value can speed up emulation but may cause problems
;  8 = Accurancy
; 16, 32 = Middle performance
; 64 = Max recommended performance
; Values over 64 are not recommended for emulated or direct sound
syncycles = 8

; Multicart support
; 0 = Disabled
; 1 = Flash 512KB (AM29LV040B)
; 2 = Lupin 512KB (AM29LV040B)
multicart = 0

; Rumble level
; 0 = Disabled
; 1 = Weak
; 2 = Medium
; 3 = Strong
rumblelvl = 3

; -- Joystick --
; --------------

; Joystick Platform
; Changing will reset buttons!
joyplatform = default

; Enable joystick
joyenabled = 0

; Joystick Axis as D-Pad
joyaxis_dpad = 1

; Joystick Hats as D-Pad
joyhats_dpad = 1

; Joystick buttons indexes
joybutton_menu = 8
joybutton_a = 1
joybutton_b = 2
joybutton_c = 7
joybutton_up = 10
joybutton_down = 11
joybutton_left = 4
joybutton_right = 5
joybutton_power = 9
joybutton_shock = 6

; -- Keyboard --
; --------------

; Keyboard mapping
; For checking what the magic numbers are, see:
; http://code.google.com/p/pokemini/wiki/KeyboardMapping
keyb_menu=1
keyb_a=88
keyb_b=90
keyb_c=67
keyb_up=28
keyb_down=29
keyb_left=31
keyb_right=30
keyb_power=69
keyb_shock=65
keyb_alt_menu=81
keyb_alt_a=0
keyb_alt_b=0
keyb_alt_c=68
keyb_alt_up=104
keyb_alt_down=98
keyb_alt_left=100
keyb_alt_right=102
keyb_alt_power=80
keyb_alt_shock=83
