Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Atari 2600 z26.ini needed  (Read 2174 times)

0 Members and 1 Guest are viewing this topic.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Atari 2600 z26.ini needed
« on: March 07, 2008, 12:41:27 pm »
Could someone post an example of a cabinet friendly z26.ini file? I downloaded one from J.Crouse site, wondering if this is the best way to go since not all games start the same way. Thank you.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Atari 2600 z26.ini needed
« Reply #1 on: March 07, 2008, 03:37:29 pm »
Here is mine under MAMEWAH 1.61. Make sure you have the last version of Z26......

### A2600.ini (mamewah v1.61) ###

emulator_title                            A2600

### List Generation Settings ###
rom_path                                  c:\A2600\roms
rom_extension                             bin
dat_file                                 
nms_file                                 
catver_ini_file                           
list_generation_method                    rom_folder

### Execution Settings ###
emulator_executable                       c:\A2600\z26.exe
commandline_format                        "[rompath]\[name].[romext]"-u15{nodosbox}{safelaunch}
alt_commandline_format_1                  "[rompath]\[name].[romext]"-u15{nodosbox}{safelaunch}
alt_commandline_format_2                  "[rompath]\[name].[romext]"-u15{nodosbox}{safelaunch}
game_specific_config_path                 

### Artwork Locations ###
artwork_1_image_path                     
artwork_2_image_path                     
artwork_3_image_path                     
artwork_4_image_path                     
artwork_5_image_path                     
artwork_6_image_path                     
artwork_7_image_path                     
artwork_8_image_path                     
artwork_9_image_path                     
artwork_10_image_path                     
movie_preview_path                       
movie_artwork_no                          1

### Screen-Saver Settings ###
enable_music_in_screensaver               0
saver_type                                slideshow
movie_path                               
movie_fullscreen                          1
quit_delay                                30
wrapper_executable                       
wrapper_commandline_format                "[rompath]\[name].[romext]"-u15{nodosbox}{safelaunch}
scr_file                                 

### External Application Settings ###
ipc_file_or_path                         
app_1_executable                         
app_1_commandline_format                 
app_2_executable                         
app_2_commandline_format                 
app_3_executable                         
app_3_commandline_format                 
auto_launch_apps                         

### Additional Settings ###
music_path                               
lcd_display_file_path                     
lcd_fe_text                               

### Settings used by MAMEWAH ###
current_list                              0

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: Atari 2600 z26.ini needed
« Reply #2 on: March 07, 2008, 06:45:05 pm »
I was referring to z26.ini that goes inside the z26 folder to remap the keys in the cracked version of z26.exe to make it more cabinet friendly. Anyone?

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Atari 2600 z26.ini needed
« Reply #3 on: March 07, 2008, 09:46:41 pm »
You need to use the SDL key codes. I use this, but my buttons are totally remaped from MAME standard anyway;

[keymaps]
P1Left = 276
P1Right = 275
P1Up = 273
P1Down = 274
P1Fire = 97
P1TriggerBG = 115
P1BoosterBG = 100
P2Left = 260
P2Right = 262
P2Up = 264
P2Down = 258
P2Fire = 102
P2TriggerBG = 103
P2BoosterBG = 104
P1Pad1 = 0
P1Pad2 = 0
P1Pad3 = 0
P1Pad4 = 0
P1Pad5 = 0
P1Pad6 = 0
P1Pad7 = 0
P1Pad8 = 0
P1Pad9 = 0
P1PadStar = 0
P1Pad0 = 0
P1PadPound = 0
P2Pad1 = 0
P2Pad2 = 0
P2Pad3 = 0
P2Pad4 = 0
P2Pad5 = 0
P2Pad6 = 0
P2Pad7 = 0
P2Pad8 = 0
P2Pad9 = 0
P2PadStar = 0
P2Pad0 = 0
P2PadPound = 0
ResetKey = 0
SelectKey = 119
BWKey = 0
ColorKey = 0
P0Easy = 122
P0Hard = 120
P1Easy = 118
P1Hard = 98
Pause = 112
Resume = 271
ScreenDump = 0
SwitchPalette = 0
ShiftUp = 0
ShiftDown = 0
ShiftDefault = 0
SwitchMouse = 0
Quit = 27
Quit2 = 0

[options]
TogglePause = 1
ToggleDifficulty = 1

Here are the full SDL key codes;

SDLK_UNKNOWN      = 0,
   SDLK_FIRST      = 0,
   SDLK_BACKSPACE      = 8,
   SDLK_TAB      = 9,
   SDLK_CLEAR      = 12,
   SDLK_RETURN      = 13,
   SDLK_PAUSE      = 19,
   SDLK_ESCAPE      = 27,
   SDLK_SPACE      = 32,
   SDLK_EXCLAIM      = 33,
   SDLK_QUOTEDBL      = 34,
   SDLK_HASH      = 35,
   SDLK_DOLLAR      = 36,
   SDLK_AMPERSAND      = 38,
   SDLK_QUOTE      = 39,
   SDLK_LEFTPAREN      = 40,
   SDLK_RIGHTPAREN      = 41,
   SDLK_ASTERISK      = 42,
   SDLK_PLUS      = 43,
   SDLK_COMMA      = 44,
   SDLK_MINUS      = 45,
   SDLK_PERIOD      = 46,
   SDLK_SLASH      = 47,
   SDLK_0         = 48,
   SDLK_1         = 49,
   SDLK_2         = 50,
   SDLK_3         = 51,
   SDLK_4         = 52,
   SDLK_5         = 53,
   SDLK_6         = 54,
   SDLK_7         = 55,
   SDLK_8         = 56,
   SDLK_9         = 57,
   SDLK_COLON      = 58,
   SDLK_SEMICOLON      = 59,
   SDLK_LESS      = 60,
   SDLK_EQUALS      = 61,
   SDLK_GREATER      = 62,
   SDLK_QUESTION      = 63,
   SDLK_AT         = 64,
   SDLK_LEFTBRACKET   = 91,
   SDLK_BACKSLASH      = 92,
   SDLK_RIGHTBRACKET   = 93,
   SDLK_CARET      = 94,
   SDLK_UNDERSCORE      = 95,
   SDLK_BACKQUOTE      = 96,
   SDLK_a         = 97,
   SDLK_b         = 98,
   SDLK_c         = 99,
   SDLK_d         = 100,
   SDLK_e         = 101,
   SDLK_f         = 102,
   SDLK_g         = 103,
   SDLK_h         = 104,
   SDLK_i         = 105,
   SDLK_j         = 106,
   SDLK_k         = 107,
   SDLK_l         = 108,
   SDLK_m         = 109,
   SDLK_n         = 110,
   SDLK_o         = 111,
   SDLK_p         = 112,
   SDLK_q         = 113,
   SDLK_r         = 114,
   SDLK_s         = 115,
   SDLK_t         = 116,
   SDLK_u         = 117,
   SDLK_v         = 118,
   SDLK_w         = 119,
   SDLK_x         = 120,
   SDLK_y         = 121,
   SDLK_z         = 122,
   SDLK_DELETE      = 127,
   SDLK_KP0      = 256,
   SDLK_KP1      = 257,
   SDLK_KP2      = 258,
   SDLK_KP3      = 259,
   SDLK_KP4      = 260,
   SDLK_KP5      = 261,
   SDLK_KP6      = 262,
   SDLK_KP7      = 263,
   SDLK_KP8      = 264,
   SDLK_KP9      = 265,
   SDLK_KP_PERIOD      = 266,
   SDLK_KP_DIVIDE      = 267,
   SDLK_KP_MULTIPLY   = 268,
   SDLK_KP_MINUS      = 269,
   SDLK_KP_PLUS      = 270,
   SDLK_KP_ENTER      = 271,
   SDLK_KP_EQUALS      = 272,
   SDLK_UP         = 273,
   SDLK_DOWN      = 274,
   SDLK_RIGHT      = 275,
   SDLK_LEFT      = 276,
   SDLK_INSERT      = 277,
   SDLK_HOME      = 278,
   SDLK_END      = 279,
   SDLK_PAGEUP      = 280,
   SDLK_PAGEDOWN      = 281,
   SDLK_F1         = 282,
   SDLK_F2         = 283,
   SDLK_F3         = 284,
   SDLK_F4         = 285,
   SDLK_F5         = 286,
   SDLK_F6         = 287,
   SDLK_F7         = 288,
   SDLK_F8         = 289,
   SDLK_F9         = 290,
   SDLK_F10      = 291,
   SDLK_F11      = 292,
   SDLK_F12      = 293,
   SDLK_F13      = 294,
   SDLK_F14      = 295,
   SDLK_F15      = 296,
   SDLK_NUMLOCK      = 300,
   SDLK_CAPSLOCK      = 301,
   SDLK_SCROLLOCK      = 302,
   SDLK_RSHIFT      = 303,
   SDLK_LSHIFT      = 304,
   SDLK_RCTRL      = 305,
   SDLK_LCTRL      = 306,
   SDLK_RALT      = 307,
   SDLK_LALT      = 308,
   SDLK_RMETA      = 309,
   SDLK_LMETA      = 310,
   SDLK_LSUPER      = 311,      /* Left "Windows" key */
   SDLK_RSUPER      = 312,      /* Right "Windows" key */
   SDLK_MODE      = 313,      /* "Alt Gr" key */
   SDLK_COMPOSE      = 314,      /* Multi-key compose key */
   SDLK_HELP      = 315,
   SDLK_PRINT      = 316,
   SDLK_SYSREQ      = 317,
   SDLK_BREAK      = 318,
   SDLK_MENU      = 319,
   SDLK_POWER      = 320,      /* Power Macintosh power key */
   SDLK_EURO      = 321,      /* Some european keyboards */
   SDLK_UNDO      = 322,      /* Atari keyboard has Undo */

Someone elses' config won't necessarily suit you, as your control panel may look completely different. I leave out all functionality for the numeric keypad, for example.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: Atari 2600 z26.ini needed
« Reply #4 on: March 08, 2008, 10:30:19 am »
thank you very much, this helps a lot.  i was going to keep it consistent with mame assignment, guess this is just a matter of prefrences. I have two player 7-button per player setup.
« Last Edit: March 08, 2008, 10:31:53 am by reko19 »

xer0s

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:October 03, 2016, 10:29:55 pm
  • Trying to get the bugs out...
Re: Atari 2600 z26.ini needed
« Reply #5 on: September 13, 2013, 04:43:58 pm »
You need to use the SDL key codes. I use this, but my buttons are totally remaped from MAME standard anyway;

[keymaps]
P1Left = 276
P1Right = 275
P1Up = 273
P1Down = 274
P1Fire = 97
P1TriggerBG = 115
P1BoosterBG = 100
P2Left = 260
P2Right = 262
P2Up = 264
P2Down = 258
P2Fire = 102
P2TriggerBG = 103
P2BoosterBG = 104
P1Pad1 = 0
P1Pad2 = 0
P1Pad3 = 0
P1Pad4 = 0
P1Pad5 = 0
P1Pad6 = 0
P1Pad7 = 0
P1Pad8 = 0
P1Pad9 = 0
P1PadStar = 0
P1Pad0 = 0
P1PadPound = 0
P2Pad1 = 0
P2Pad2 = 0
P2Pad3 = 0
P2Pad4 = 0
P2Pad5 = 0
P2Pad6 = 0
P2Pad7 = 0
P2Pad8 = 0
P2Pad9 = 0
P2PadStar = 0
P2Pad0 = 0
P2PadPound = 0
ResetKey = 0
SelectKey = 119
BWKey = 0
ColorKey = 0
P0Easy = 122
P0Hard = 120
P1Easy = 118
P1Hard = 98
Pause = 112
Resume = 271
ScreenDump = 0
SwitchPalette = 0
ShiftUp = 0
ShiftDown = 0
ShiftDefault = 0
SwitchMouse = 0
Quit = 27
Quit2 = 0

[options]
TogglePause = 1
ToggleDifficulty = 1

Here are the full SDL key codes;

SDLK_UNKNOWN      = 0,
   SDLK_FIRST      = 0,
   SDLK_BACKSPACE      = 8,
   SDLK_TAB      = 9,
   SDLK_CLEAR      = 12,
   SDLK_RETURN      = 13,
   SDLK_PAUSE      = 19,
   SDLK_ESCAPE      = 27,
   SDLK_SPACE      = 32,
   SDLK_EXCLAIM      = 33,
   SDLK_QUOTEDBL      = 34,
   SDLK_HASH      = 35,
   SDLK_DOLLAR      = 36,
   SDLK_AMPERSAND      = 38,
   SDLK_QUOTE      = 39,
   SDLK_LEFTPAREN      = 40,
   SDLK_RIGHTPAREN      = 41,
   SDLK_ASTERISK      = 42,
   SDLK_PLUS      = 43,
   SDLK_COMMA      = 44,
   SDLK_MINUS      = 45,
   SDLK_PERIOD      = 46,
   SDLK_SLASH      = 47,
   SDLK_0         = 48,
   SDLK_1         = 49,
   SDLK_2         = 50,
   SDLK_3         = 51,
   SDLK_4         = 52,
   SDLK_5         = 53,
   SDLK_6         = 54,
   SDLK_7         = 55,
   SDLK_8         = 56,
   SDLK_9         = 57,
   SDLK_COLON      = 58,
   SDLK_SEMICOLON      = 59,
   SDLK_LESS      = 60,
   SDLK_EQUALS      = 61,
   SDLK_GREATER      = 62,
   SDLK_QUESTION      = 63,
   SDLK_AT         = 64,
   SDLK_LEFTBRACKET   = 91,
   SDLK_BACKSLASH      = 92,
   SDLK_RIGHTBRACKET   = 93,
   SDLK_CARET      = 94,
   SDLK_UNDERSCORE      = 95,
   SDLK_BACKQUOTE      = 96,
   SDLK_a         = 97,
   SDLK_b         = 98,
   SDLK_c         = 99,
   SDLK_d         = 100,
   SDLK_e         = 101,
   SDLK_f         = 102,
   SDLK_g         = 103,
   SDLK_h         = 104,
   SDLK_i         = 105,
   SDLK_j         = 106,
   SDLK_k         = 107,
   SDLK_l         = 108,
   SDLK_m         = 109,
   SDLK_n         = 110,
   SDLK_o         = 111,
   SDLK_p         = 112,
   SDLK_q         = 113,
   SDLK_r         = 114,
   SDLK_s         = 115,
   SDLK_t         = 116,
   SDLK_u         = 117,
   SDLK_v         = 118,
   SDLK_w         = 119,
   SDLK_x         = 120,
   SDLK_y         = 121,
   SDLK_z         = 122,
   SDLK_DELETE      = 127,
   SDLK_KP0      = 256,
   SDLK_KP1      = 257,
   SDLK_KP2      = 258,
   SDLK_KP3      = 259,
   SDLK_KP4      = 260,
   SDLK_KP5      = 261,
   SDLK_KP6      = 262,
   SDLK_KP7      = 263,
   SDLK_KP8      = 264,
   SDLK_KP9      = 265,
   SDLK_KP_PERIOD      = 266,
   SDLK_KP_DIVIDE      = 267,
   SDLK_KP_MULTIPLY   = 268,
   SDLK_KP_MINUS      = 269,
   SDLK_KP_PLUS      = 270,
   SDLK_KP_ENTER      = 271,
   SDLK_KP_EQUALS      = 272,
   SDLK_UP         = 273,
   SDLK_DOWN      = 274,
   SDLK_RIGHT      = 275,
   SDLK_LEFT      = 276,
   SDLK_INSERT      = 277,
   SDLK_HOME      = 278,
   SDLK_END      = 279,
   SDLK_PAGEUP      = 280,
   SDLK_PAGEDOWN      = 281,
   SDLK_F1         = 282,
   SDLK_F2         = 283,
   SDLK_F3         = 284,
   SDLK_F4         = 285,
   SDLK_F5         = 286,
   SDLK_F6         = 287,
   SDLK_F7         = 288,
   SDLK_F8         = 289,
   SDLK_F9         = 290,
   SDLK_F10      = 291,
   SDLK_F11      = 292,
   SDLK_F12      = 293,
   SDLK_F13      = 294,
   SDLK_F14      = 295,
   SDLK_F15      = 296,
   SDLK_NUMLOCK      = 300,
   SDLK_CAPSLOCK      = 301,
   SDLK_SCROLLOCK      = 302,
   SDLK_RSHIFT      = 303,
   SDLK_LSHIFT      = 304,
   SDLK_RCTRL      = 305,
   SDLK_LCTRL      = 306,
   SDLK_RALT      = 307,
   SDLK_LALT      = 308,
   SDLK_RMETA      = 309,
   SDLK_LMETA      = 310,
   SDLK_LSUPER      = 311,      /* Left "Windows" key */
   SDLK_RSUPER      = 312,      /* Right "Windows" key */
   SDLK_MODE      = 313,      /* "Alt Gr" key */
   SDLK_COMPOSE      = 314,      /* Multi-key compose key */
   SDLK_HELP      = 315,
   SDLK_PRINT      = 316,
   SDLK_SYSREQ      = 317,
   SDLK_BREAK      = 318,
   SDLK_MENU      = 319,
   SDLK_POWER      = 320,      /* Power Macintosh power key */
   SDLK_EURO      = 321,      /* Some european keyboards */
   SDLK_UNDO      = 322,      /* Atari keyboard has Undo */

Someone elses' config won't necessarily suit you, as your control panel may look completely different. I leave out all functionality for the numeric keypad, for example.

Sorry for bumping an old thread, but I'm also curious about this and a person usually gets yelled at around here for not searching first...

So do I simply create a file in Notepad, name it z26.ini, and insert the keymaps exactly as its written above (except changing to fit my controls)? 

xer0s

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:October 03, 2016, 10:29:55 pm
  • Trying to get the bugs out...
Re: Atari 2600 z26.ini needed
« Reply #6 on: September 16, 2013, 10:18:45 am »
Should I ask this in a different forum or create a new thread?  Just looking for some answers on this...

Thanks!