palettes.rc
来自「gameboy 模拟器的源代码」· RC 代码 · 共 98 行
RC
98 行
## palettes.rc - lots of sample dmg palettes# copy the one you want to use into your gnuboy.rc## New default palette for version 1.0.set dmg_bgp 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3Cset dmg_wndp 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3Cset dmg_obp0 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3Cset dmg_obp1 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3C# Old default palette from 0.8.0 thru 0.9.13.# This was designed for use on a laptop display,# so it's probably way too yellowish.set dmg_bgp 0x78f0f0 0x58b8b8 0x487878 0x184848set dmg_wndp 0x78f0f0 0x58b8b8 0x487878 0x184848set dmg_obp0 0x78f0f0 0x58b8b8 0x487878 0x184848set dmg_obp1 0x78f0f0 0x58b8b8 0x487878 0x184848# Old dim grayscale.set dmg_bgp 0xc0c0c0 0x808080 0x404040 0x000000set dmg_wndp 0xc0c0c0 0x808080 0x404040 0x000000set dmg_obp0 0xc0c0c0 0x808080 0x404040 0x000000set dmg_obp1 0xc0c0c0 0x808080 0x404040 0x000000# Light grayscale.set dmg_bgp 0xffffff 0xc0c0c0 0x808080 0x404040set dmg_wndp 0xffffff 0xc0c0c0 0x808080 0x404040set dmg_obp0 0xffffff 0xc0c0c0 0x808080 0x404040set dmg_obp1 0xffffff 0xc0c0c0 0x808080 0x404040# Full contrast grayscale.set dmg_bgp 0xffffff 0xaaaaaa 0x555555 0x000000set dmg_wndp 0xffffff 0xaaaaaa 0x555555 0x000000set dmg_obp0 0xffffff 0xaaaaaa 0x555555 0x000000set dmg_obp1 0xffffff 0xaaaaaa 0x555555 0x000000# Debug palette.# Each of the four layers is colored differently,# making it easier to debug visual glitches in roms# that use them all together cleverly.set dmg_bgp 0xf898c8 0xf83098 0xc80060 0x600030set dmg_wndp 0xd0c0c0 0xa88080 0x785050 0x382828set dmg_obp0 0x9898f8 0x3030f8 0x0000c8 0x000060set dmg_obp1 0xc8f898 0x98f830 0x60c800 0x306000# Sprites standout.# Similar to above, but the colors are more subdued and# the window and background are the same. This palette# may actually be suitable for playing some games...set dmg_bgp 0xd0c0c0 0xa88080 0x785050 0x382828set dmg_wndp 0xd0c0c0 0xa88080 0x785050 0x382828set dmg_obp0 0xc8e0f8 0x90a8e8 0x4878a8 0x183850set dmg_obp1 0x98b8f8 0x3050f8 0x2040a8 0x002060# LCD yellows and grays.# An earlier version of the new default palette.set dmg_bgp 0x88e0f0 0x68a8b8 0x586878 0x283838set dmg_wndp 0x88e0f0 0x68a8b8 0x586878 0x283838set dmg_obp0 0x88e0f0 0x68a8b8 0x586878 0x283838set dmg_obp1 0x88e0f0 0x68a8b8 0x586878 0x283838# LCD yellowscale.# And another similar one.set dmg_bgp 0x88e0f0 0x68a8b8 0x486878 0x203838set dmg_wndp 0x88e0f0 0x68a8b8 0x486878 0x203838set dmg_obp0 0x88e0f0 0x68a8b8 0x486878 0x203838set dmg_obp1 0x88e0f0 0x68a8b8 0x486878 0x203838# Slightly colorful.# Not just a plain lightness gradient, but some change# in hue as well. Looks ok with some games; designed in# particular for the FFL series.set dmg_bgp 0x98e0f8 0x78a0c0 0x747080 0x604038set dmg_wndp 0x98e0f8 0x78a0c0 0x747080 0x604038set dmg_obp0 0x98e0f8 0x78a0c0 0x747080 0x604038set dmg_obp1 0x98e0f8 0x78a0c0 0x747080 0x604038# Optionally use these with the above palette to make# sprites stand out a bit.set dmg_obp0 0x98e0f8 0x5090c0 0x507898 0x583838set dmg_obp1 0x98e0f8 0x5090c0 0x686078 0x383838# R-Type 1 palette from R-Type DXset dmg_bgp 0xc0ffff 0x408080 0x204040 0x000000set dmg_wndp 0xc0ffff 0x408080 0x204040 0x000000set dmg_obp0 0xc0ffff 0x408080 0x204040 0x000000set dmg_obp1 0xc0ffff 0x408080 0x204040 0x000000
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?