Skip to content

Commit 85533b8

Browse files
committed
lind [skip ci]
1 parent f206ad6 commit 85533b8

3 files changed

Lines changed: 390 additions & 1 deletion

File tree

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
[Config]
2+
Steer_DeadZone = 8000
3+
Gas_DeadZone = 500
4+
Brake_DeadZone = 500
5+
ABC_X_DeadZone = 8000
6+
ABC_Y_DeadZone = 8000
7+
Throttle_DeadZone = 8000
8+
ShakeIncreaseRate = 10.0
9+
ShakeDecayRate = 0.95
10+
11+
[Common]
12+
Test = KEY_T
13+
P1_Coin = KEY_5
14+
P2_Coin = KEY_6
15+
P1_Start = KEY_1, JOY0_BUTTON_11, GC0_BUTTON_START
16+
P2_Start = KEY_2
17+
P1_Service = KEY_S, JOY0_BUTTON_10, GC0_BUTTON_BACK
18+
19+
[Digital]
20+
P1_Up = KEY_Up, GC0_BUTTON_DPUP, GC0_AXIS_LEFTY_NEGATIVE, JOY0_HAT0_UP, JOY0_AXIS_1_NEGATIVE
21+
P1_Down = KEY_Down, GC0_BUTTON_DPDOWN, GC0_AXIS_LEFTY_POSITIVE, JOY0_HAT0_DOWN, JOY0_AXIS_1_POSITIVE
22+
P1_Left = KEY_Left, GC0_BUTTON_DPLEFT, GC0_AXIS_LEFTX_NEGATIVE, JOY0_HAT0_LEFT, JOY0_AXIS_0_NEGATIVE
23+
P1_Right = KEY_Right, GC0_BUTTON_DPRIGHT, GC0_AXIS_LEFTX_POSITIVE, JOY0_HAT0_RIGHT, JOY0_AXIS_0_POSITIVE
24+
P1_Button1 = KEY_Q, GC0_BUTTON_A, JOY0_BUTTON_0
25+
P1_Button2 = KEY_W, GC0_BUTTON_B, JOY0_BUTTON_1
26+
P1_Button3 = KEY_E, GC0_BUTTON_X, JOY0_BUTTON_2
27+
P1_Card1Insert = KEY_F7, GC0_BUTTON_GUIDE, JOY0_BUTTON_11
28+
P2_Card2Insert = KEY_F8, GC1_BUTTON_GUIDE, JOY1_BUTTON_11
29+
30+
[Driving]
31+
P1_Steer_Left = KEY_Left
32+
P1_Steer_Right = KEY_Right
33+
P1_Gas_Digital = KEY_Up
34+
P1_Brake_Digital = KEY_Down
35+
ViewChange = KEY_V, GC0_BUTTON_Y, JOY0_BUTTON_2
36+
Boost = KEY_Q, GC0_BUTTON_A, JOY0_BUTTON_0
37+
BoostRight = KEY_W, GC0_BUTTON_B, JOY0_BUTTON_1
38+
GearUp = KEY_A, GC0_BUTTON_RIGHTSHOULDER, JOY0_BUTTON_5
39+
GearDown = KEY_Z, GC0_BUTTON_LEFTSHOULDER, JOY0_BUTTON_4
40+
MusicChange = KEY_M, GC0_BUTTON_X, JOY0_BUTTON_3
41+
Up = KEY_I, GC0_BUTTON_DPUP, JOY0_HAT0_UP
42+
Down = KEY_K, GC0_BUTTON_DPDOWN, JOY0_HAT0_DOWN
43+
Left = KEY_J, GC0_BUTTON_DPLEFT, JOY0_HAT0_LEFT
44+
Right = KEY_L, GC0_BUTTON_DPRIGHT, JOY0_HAT0_RIGHT
45+
CardInsert = KEY_F7, GC0_BUTTON_GUIDE, JOY0_BUTTON_12
46+
P1_Steer = GC0_AXIS_LEFTX, JOY0_AXIS_0
47+
P1_Gas = GC0_AXIS_RIGHTTRIGGER, JOY0_AXIS_5
48+
P1_Brake = GC0_AXIS_LEFTTRIGGER, JOY0_AXIS_2
49+
50+
[ABC]
51+
ABC_Left = KEY_Left
52+
ABC_Right = KEY_Right
53+
ABC_Up = KEY_Up
54+
ABC_Down = KEY_Down
55+
Throttle_Accelerate = KEY_A
56+
Throttle_Slowdown = KEY_Z
57+
GunTrigger = KEY_Q, GC0_BUTTON_A, JOY0_BUTTON_0
58+
MissileTrigger = KEY_W, GC0_BUTTON_B, JOY0_BUTTON_1
59+
ClimaxSwitch = KEY_E, GC0_BUTTON_Y, JOY0_BUTTON_4
60+
ABC_X = GC0_AXIS_LEFTX, JOY0_AXIS_0
61+
ABC_Y = GC0_AXIS_LEFTY, JOY0_AXIS_1
62+
Throttle = GC0_AXIS_RIGHTY_INVERTED, GC0_AXIS_RIGHTTRIGGER_POSITIVE_HALF, GC0_AXIS_LEFTTRIGGER_NEGATIVE_HALF, JOY0_AXIS_4_INVERTED, JOY0_AXIS_5_POSITIVE_HALF, JOY0_AXIS_4_NEGATIVE_HALF
63+
64+
[Shooting]
65+
P1_GunX = MOUSE_AXIS_X
66+
P1_GunY = MOUSE_AXIS_Y
67+
P1_Trigger = MOUSE_LEFT_BUTTON, KEY_Q
68+
P1_Reload = MOUSE_RIGHT_BUTTON, KEY_W
69+
P1_GunButton = MOUSE_MIDDLE_BUTTON, KEY_E
70+
P1_ActionButton = KEY_R
71+
P1_PedalLeft = KEY_Left
72+
P1_PedalRight = KEY_Right
73+
74+
[Mahjong]
75+
ButtonA = KEY_Y
76+
ButtonB = KEY_U
77+
ButtonC = KEY_I
78+
ButtonD = KEY_O
79+
ButtonE = KEY_G
80+
ButtonF = KEY_H
81+
ButtonG = KEY_J
82+
ButtonH = KEY_K
83+
ButtonI = KEY_L
84+
ButtonJ = KEY_V
85+
ButtonK = KEY_B
86+
ButtonL = KEY_N
87+
ButtonM = KEY_M
88+
ButtonN = KEY_,
89+
ButtonChi = KEY_F1
90+
ButtonPon = KEY_F2
91+
ButtonKan = KEY_F3
92+
ButtonReach = KEY_F4
93+
ButtonAgari = KEY_F5
94+
ButtonCancel = KEY_F6
95+
CardInsert = KEY_F7
Lines changed: 288 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,288 @@
1+
# SEGA Lindbergh Emulator Configuration File
2+
# By the Lindbergh Development Team 2024-2025
3+
4+
[Display]
5+
# Set the width resolution here
6+
WIDTH = AUTO
7+
8+
# Set the height resolution here
9+
HEIGHT = AUTO
10+
11+
# Boost render resolution in HOD4/2Spicy/Harley/Rambo/HOD-EX/ID4/ID5 and LGJ
12+
BOOST_RENDER_RES = true
13+
14+
# Set to true for full screen
15+
FULLSCREEN = true
16+
17+
# Set to true if you'd like to add a border for optical light gun tracking
18+
BORDER_ENABLED = false
19+
20+
# Set the thickness of the white border as a percentage of the width of the screen
21+
WHITE_BORDER_PERCENTAGE = 2
22+
23+
# Set the thickness of the black border which sits around the
24+
# white border as a percentage of the width of the screen
25+
BLACK_BORDER_PERCENTAGE = 0
26+
27+
# Set to keep the aspect ratio in games like Sega Race TV Primeval Hunt and LGJ-SP
28+
KEEP_ASPECT_RATIO = true
29+
30+
# Set to true to enable the mouse pointer/Cursor
31+
HIDE_CURSOR = true
32+
33+
[Input]
34+
# Sets the Input Mode (1: SDL, 2: EVDEV
35+
INPUT_MODE = 1
36+
37+
[Emulation]
38+
# Set the Region (JP/US/EX)
39+
REGION = EX
40+
41+
# Set to true for Free Play, none to leave as default
42+
FREEPLAY = none
43+
44+
# Set to true to emulate JVS and use the keyboard/mouse for controls.
45+
# If this is set to false, the loader will route the traffic to the serial device
46+
# defined in JVS_PATH if it has been defined.
47+
EMULATE_JVS = true
48+
49+
# Set to true to emulate the rideboard used in the SPECIAL games
50+
# If this is set to false, then the emulator will route the traffic to one of the serial ports
51+
EMULATE_RIDEBOARD = AUTO
52+
53+
# Set to true to emulate the driveboard used in driving games
54+
# If this is set to false, then the emulator will route the traffic to one of the serial ports
55+
EMULATE_DRIVEBOARD = AUTO
56+
57+
# Set to true to emulate the motion board from Outrun 2 SP SDX
58+
# If this is set to false, then the emulator will route the traffic to one of the serial ports
59+
EMULATE_MOTIONBOARD = AUTO
60+
61+
# Set to true to enable card reader emulation in Virtua Tennis 3 or R-Tuned
62+
EMULATE_HW210_CARDREADER = AUTO
63+
64+
# Set to true to enable card reader emulation in ID4 and ID5 file
65+
EMULATE_ID_CARD READER = AUTO
66+
67+
# Set to true to enable touchscreen emulation with the mouse
68+
EMULATE_TOUCHSCREEN = AUTO
69+
70+
[Cards]
71+
# Set to false to use a button to insert a card manually in ID4 or ID5.
72+
# Or true to make the loader auto load
73+
ID_CARDFILE_AUTOLOAD = true
74+
75+
# Card File for reader 1 in VT3 or R-Tuned
76+
CARDFILE_01 = "Card_01.crd"
77+
78+
# Card File for reader 2 in VT3 or R-Tuned
79+
CARDFILE_02 = "Card_02.crd"
80+
81+
# Folder for ID Card files
82+
ID_CARDFOLDER = ""
83+
84+
[Paths]
85+
# Define the path to pass the JVS packets to if JVS is not being emulated
86+
JVS_PATH = "/dev/ttyUSB0"
87+
88+
# Define the path to pass the first serial port to
89+
SERIAL_1_PATH = "/dev/ttyS0"
90+
91+
# Define the path to pass the second serial port to
92+
SERIAL_2_PATH = "/dev/ttyS1"
93+
94+
# Define the path to the sram.bin file
95+
SRAM_PATH = "RETRODECKBIOS/sram.bin"
96+
97+
# Define the path to the eeprom.bin file
98+
EEPROM_PATH = "RETRODECKBIOS/eeprom.bin"
99+
100+
# If set, libCG.so needed for 2Spicy, Harley, Rambo and HOD-Ex shader recompilation
101+
# will be loaded from the specified location. (include the name of file in the location For Example: /my/file/location/myLibCg.so)
102+
LIBCG_PATH = "lib/libCG.so"
103+
104+
[Graphics]
105+
# Set the GPU vendor (0 = Autodetect / 1 = NVidia / 2 = AMD / 3 = ATI / 4 = Intel)
106+
GPU_VENDOR = 0
107+
108+
# Set to true if you experience flickering in hummer
109+
HUMMER_FLICKER_FIX = false
110+
111+
# Set to false if you don't want to limit the FPS
112+
FPS_LIMITER_ENABLED = true
113+
114+
# Set the target FPS (will only work if FPS_LIMITER_ENABLED = 1)
115+
FPS_TARGET = 60.0
116+
117+
# Set to true if you want to render LGJ using the mesa patches
118+
LGJ_RENDER_WITH_MESA = true
119+
120+
# Disable to use the original fonts instead of the built in font
121+
DISABLE_BUILTIN_FONT = false
122+
123+
# Disable to use the original logos instead of the built in logos
124+
DISABLE_BUILTIN_LOGOS = false
125+
126+
[Cursor]
127+
# If true, a custom mouse cursor will be used loaded from a png file set in CUSTOM_CURSOR
128+
# Ovewrites HIDE_CURSOR
129+
CUSTOM_CURSOR_ENABLED = false
130+
131+
# Set the custom mouse pointer from a PNG file (Usefull for shooting games)
132+
CUSTOM_CURSOR = ""
133+
134+
# Set the width of the custom cursor
135+
CUSTOM_CURSOR_WIDTH = 32
136+
137+
# Set the height of the custom cursor
138+
CUSTOM_CURSOR_HEIGHT = 32
139+
140+
# Set a custom cursor for the touch screen in Primeval Hunt, MJ4 Games and AxA Games
141+
TOUCH_CURSOR = ""
142+
143+
# Set the width of the custom cursor
144+
TOUCH_CURSOR_WIDTH = 32
145+
146+
# Set the height of the custom cursor
147+
TOUCH_CURSOR_HEIGHT = 32
148+
149+
[GameSpecific]
150+
# Set Primeval Hunt
151+
# Mode 0: Default (side by side)
152+
# Mode 1: No Touch screen
153+
# Mode 2: Side By Side
154+
# Mode 3: 3ds mode 1 (Touch screen to the right)
155+
# Mode 4: 3ds mode 2 (Touch screen to the bottom)
156+
PRIMEVAL_HUNT_SCREEN_MODE = 2
157+
158+
# Set Primeval Hunt Test mode screen to single screen
159+
PRIMEVAL_HUNT_TEST_SCREEN_SINGLE = true
160+
161+
# Set to true to bypass cabinet checks including drive board and tower in Outrun 2 SP SDX
162+
SKIP_OUTRUN_CABINET_CHECK = false
163+
164+
# Set to false if you want to disable the Glare effect in OutRun
165+
OUTRUN_LENS_GLARE_ENABLED = true
166+
167+
# Hacky way to make MJ4 and AxA work at prohibited times
168+
MJ4_ENABLED_ALL_THE_TIME = false
169+
170+
# House of the dead 4 speed fix, set the frequency of your CPU in Ghz
171+
CPU_FREQ_GHZ = 0.0
172+
173+
# Set to true if you want to chnge the way the guns are show in Rambo
174+
RAMBO_GUNS_SWITCH = false
175+
176+
# Set to true to set the language in Chinese for ID5 DVP-0084 and DVP-0084A
177+
ID5_CHINESE_LANGUAGE = false
178+
179+
# Set the percentage of the steering wheel travel reduction
180+
ID_STEERING_REDUCTION_PERCENTAGE = 0.0
181+
182+
[CrossHairs]
183+
# Set to true to enable Crosshairs even when using GunLights
184+
ENABLE_CROSSHAIRS = false
185+
186+
# Set the Crosshair image from a PNG file for Player 1
187+
P1_CROSSHAIR_PATH = ""
188+
189+
# Set the Crosshair image from a PNG file for Player 2
190+
P2_CROSSHAIR_PATH = ""
191+
192+
# Set the width of the Crosshair image
193+
CUSTOM_CROSSHAIRS_WIDTH = 64
194+
195+
# Set the height of the Crosshair image
196+
CUSTOM_CROSSHAIRS_HEIGHT = 64
197+
198+
[System]
199+
# Set to true to see debug messages in the console
200+
DEBUG_MSGS = false
201+
202+
# Set the colour of the lindbergh (YELLOW, RED, BLUE, SILVER, REDEX)
203+
LINDBERGH_COLOUR = YELLOW
204+
205+
[Network]
206+
# If true, the loader will apply the following network patches depending on the game
207+
ENABLE_NETWORK_PATCHES = true
208+
209+
# Sets the name of the Network Interface Card
210+
NIC_NAME = "enp0s1"
211+
212+
# ID4 and ID5 network configuration per seat
213+
ID_IP_SEAT_1 = "192.168.1.2"
214+
ID_IP_SEAT_2 = "192.168.1.3"
215+
216+
# Sets the IP address and Netmask for Outrun link (you have to put your NIC ip)
217+
OR2_IPADDRESS = "192.168.1.2"
218+
OR2_NETMASK = "255.255.255.0"
219+
220+
# Harley / Hummer and R-Tuned IP address for each Cabinet
221+
IP_CAB1 = "192.168.1.2"
222+
IP_CAB2 = "192.168.1.3"
223+
IP_CAB3 = "192.168.1.4"
224+
IP_CAB4 = "192.168.1.5"
225+
226+
# Sets the IP address of each cabinet for network play in 2Spicy
227+
2SPICY_IP_CAB1 = "192.168.1.2"
228+
2SPICY_IP_CAB2 = "192.168.1.3"
229+
230+
# Sets the IP address for SRTV
231+
SRTV_IPADDRESS = "192.168.1.2"
232+
233+
[EVDEV]
234+
# EVDEV MODE (Input Mode 2)
235+
# To find the value pairs for these run ./lindbergh --list-controllers
236+
237+
#TEST_BUTTON = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_T"
238+
239+
#PLAYER_1_COIN = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_5"
240+
#PLAYER_1_BUTTON_START = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_1
241+
#PLAYER_1_BUTTON_SERVICE = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_S"
242+
#PLAYER_1_BUTTON_UP = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_UP"
243+
#PLAYER_1_BUTTON_DOWN = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_DOWN"
244+
#PLAYER_1_BUTTON_LEFT = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_LEFT"
245+
#PLAYER_1_BUTTON_RIGHT = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_RIGHT"
246+
#PLAYER_1_BUTTON_1 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_Q"
247+
#PLAYER_1_BUTTON_2 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_W"
248+
#PLAYER_1_BUTTON_3 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_E"
249+
#PLAYER_1_BUTTON_4 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_R"
250+
#PLAYER_1_BUTTON_5 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_Y"
251+
#PLAYER_1_BUTTON_6 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_U"
252+
#PLAYER_1_BUTTON_7 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_I"
253+
#PLAYER_1_BUTTON_8 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_O"
254+
255+
#PLAYER_1_COIN = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_6"
256+
#PLAYER_2_BUTTON_START = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_1"
257+
#PLAYER_2_BUTTON_SERVICE = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_S"
258+
#PLAYER_2_BUTTON_UP = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_UP"
259+
#PLAYER_2_BUTTON_DOWN = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_DOWN"
260+
#PLAYER_2_BUTTON_LEFT = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_LEFT"
261+
#PLAYER_2_BUTTON_RIGHT = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_RIGHT"
262+
#PLAYER_2_BUTTON_1 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_Q"
263+
#PLAYER_2_BUTTON_2 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_W"
264+
#PLAYER_2_BUTTON_3 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_E"
265+
#PLAYER_2_BUTTON_4 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_R"
266+
#PLAYER_2_BUTTON_5 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_Y"
267+
#PLAYER_2_BUTTON_6 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_U"
268+
#PLAYER_2_BUTTON_7 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_I"
269+
#PLAYER_2_BUTTON_8 = "AT_TRANSLATED_SET_2_KEYBOARD_KEY_O"
270+
271+
#ANALOGUE_1 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_X"
272+
#ANALOGUE_2 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_Y"
273+
#ANALOGUE_3 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_Z"
274+
#ANALOGUE_4 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_RZ"
275+
#ANALOGUE_5 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_X2"
276+
#ANALOGUE_6 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_Y2"
277+
#ANALOGUE_7 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_Z2"
278+
#ANALOGUE_8 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_RZ2"
279+
280+
#ANALOGUE_DEADZONE_1 = 0 0 0
281+
#ANALOGUE_DEADZONE_2 = 0 0 0
282+
#ANALOGUE_DEADZONE_3 = 0 0 0
283+
#ANALOGUE_DEADZONE_4 = 0 0 0
284+
#ANALOGUE_DEADZONE_5 = 0 0 0
285+
#ANALOGUE_DEADZONE_6 = 0 0 0
286+
#ANALOGUE_DEADZONE_7 = 0 0 0
287+
#ANALOGUE_DEADZONE_8 = 0 0 0
288+

0 commit comments

Comments
 (0)