Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: colonelsnow on June 08, 2003, 05:50:01 pm
-
Does anyone have a copy of Z26 complied with Mame key controls?
-
Or stella =P
*Shrug*
Rampy
-
Well the source is available for these. I wish i knew about programming because I would compile a custom version to share.
-
I managed to compile z26 about 2 months back. I haven't got around to modifying it (so that the keys are either configurable or more cab friendly (but hard coded)) yet though.
If nothing else turns up, give me a yell and I will up the priority of this task on my list of things I need/want to do.
I am intending on using z26 in my cab as the preferred 2600 emu, so will get around to it at some point.
Cheers
-
I managed to compile z26 about 2 months back. I haven't got around to modifying it (so that the keys are either configurable or more cab friendly (but hard coded)) yet though.
If nothing else turns up, give me a yell and I will up the priority of this task on my list of things I need/want to do.
I am intending on using z26 in my cab as the preferred 2600 emu, so will get around to it at some point.
Cheers
Someone sent me an older dos version of Z26 cofigured with Mame controls. . If anyone wants it e-mail me
-
i'm interested in this z26 compiled for mame button config. if anyone finds it let me know
-
downloaded "PCAE", and Atari 2600 emulator. Can remap. Haven't played it much so can't compare.
-
Thanks for the tip, last time I looked at PCAE you couldn't remap anything this might solve a problem I have been having - MY DOS z26 that has been remapped does not play nice with Win2K. I'll test this PCAE tomorrow hopefully.
-
I can't get PCAEwin to work fullscreen with Win2K and ArcadeVGA - anyone have any ideas?
-
I can't get PCAEwin to work fullscreen with Win2K and ArcadeVGA - anyone have any ideas?
have someone recompile win stella with remappable keys... then we could all be happy ! =P (or z26)
*shrug*
rampy
-
I can't get PCAEwin to work fullscreen with Win2K and ArcadeVGA - anyone have any ideas?
have someone recompile win stella with remappable keys... then we could all be happy ! =P (or z26)
*shrug*
rampy
Give me a link to the source for win stella and I'll do it..
I haven't been able to find the sourece for the windows version anywhere.
-PacManFan
-
WOOT
-
I can't get PCAEwin to work fullscreen with Win2K and ArcadeVGA - anyone have any ideas?
have someone recompile win stella with remappable keys... then we could all be happy ! =P (or z26)
*shrug*
rampy
Give me a link to the source for win stella and I'll do it..
I haven't been able to find the sourece for the windows version anywhere.
-PacManFan
I've been confused by this myself PMF.. they have a sourceforge page (http://stella.sourceforge.net/)... is the win port just a recompile in a windoze environment/platform...?
*shrug* it's confusing to me...
Thanks for looking at it PMF.
rampy
-
Hey PMF, if ypou are serious I would vote that Z26 is probably the better way to go. I could never figure out how to compile it but I find it easy to determine from the source what needs to be changed. Hey if you do Stella I'll take it but thought I'd throw my vote in.
The Z26 source is here:
I think we all want the Windows version - I have a DOS version already for anyone that wants it.
http://www.whimsey.com/z26/z26.html
-
I can't get PCAEwin to work fullscreen with Win2K and ArcadeVGA - anyone have any ideas?
have someone recompile win stella with remappable keys... then we could all be happy ! =P (or z26)
*shrug*
rampy
Give me a link to the source for win stella and I'll do it..
I haven't been able to find the sourece for the windows version anywhere.
-PacManFan
I've been confused by this myself PMF.. they have a sourceforge page (http://stella.sourceforge.net/)... is the win port just a recompile in a windoze environment/platform...?
*shrug* it's confusing to me...
Thanks for looking at it PMF.
rampy
Yeah, I've been to the sourceforge page, and I've downloaded the DOS version, The window$ version is more than just a re-compile, it's a differant beast altogther. If someone could point me to the Windows source version for Stella or z26, I'll be happy to give it a try, I've got MSVC, GCC, TurboC, and the MinGW distribution w/ allegro.
-PacManFan
-
Hey PMF, if ypou are serious I would vote that Z26 is probably the better way to go. I could never figure out how to compile it but I find it easy to determine from the source what needs to be changed. Hey if you do Stella I'll take it but thought I'd throw my vote in.
The Z26 source is here:
I think we all want the Windows version - I have a DOS version already for anyone that wants it.
http://www.whimsey.com/z26/z26.html
My bad, I just got the windows version for Z26, I'll take a look at it now. So what does everyone want? re-configurable keys, or a standard MAME key set?
-PacManFan
-
configurable keys is nice but mame set be ok too considering it is just 1 button. By the way pacmanfan i'm an aspiring programmer and very interested to learn how you edit the keyboard configs. When i opened up the source i noticed there was a file called "keyboard" inside this i noticed that assembly was used. I took a basic class on assembly.When it says for example
;KeyZ = 02Ch ; Z (P2 left)
;KeyX = 02Dh ; X (P2 right)
;KeyC = 02Eh ; C (P2 down)
;KeyF = 021h ; F (P2 Up)
;KeyG = 022h ; G (P2 Fire)
is the 02ch just the memory location in hex where the storage of keyz is?
Is there a site or something that will go into more detail about how you move this around then take all those files and compile them together into a working z26.exe file
-
If you are going to do it PMF, don't stop at the "1 key" please. It would be nice to have all keys for player 1 and player 2 working as well as ESC for exit and P1start for game start and P2start for select game
The version I have works well (in DOS) I edited the source asm myself and had someone else compile it. IIt was perfect on the first try. It has been quite a long time but I know it was definitely a few keys that had to change to match MAME. Seems to me all the keys and their related codes are contained in the source so it is simply a matter of copying the right code to the appropriate control function all within keyboard.asm
-
Hey PMF, if ypou are serious I would vote that Z26 is probably the better way to go. I could never figure out how to compile it but I find it easy to determine from the source what needs to be changed. Hey if you do Stella I'll take it but thought I'd throw my vote in.
The Z26 source is here:
I think we all want the Windows version - I have a DOS version already for anyone that wants it.
http://www.whimsey.com/z26/z26.html
My bad, I just got the windows version for Z26, I'll take a look at it now. So what does everyone want? re-configurable keys, or a standard MAME key set?
-PacManFan
Hey PMF,
When/if you get it working, let me know and I'll host it on drivel as to not cut into your monthly bandwith allotment, and peeps can get it from there (i'll be sure to credit you in the description and point to the official z26 sites)
Rampy
-
Success everyone!
I managed (finally) to get the code to compile. There were no docs on what compiler or assembler the guy was using. I re-compiled (with a few changes) under MSVC and using the MASM assembler.
Since most of the code is in assembler, I'm not going to try to make a file that can load up to define the keys, I'm going to hard code it into the program. Let's have a census about what keys we should map to the controls. Here is the current mapping:
; define control keys
P1Left = KeyLeft
P1Right = KeyRight
P1Up = KeyUp
P1Down = KeyDown
P1Fire = KeyCtrl
P1TriggerBG = KeySlash
P1BoosterBG = KeyRShift
P2Left = KeyS
P2Right = KeyF
P2Up = KeyE
P2Down = KeyD
P2Fire = KeyN
P2TriggerBG = KeyB
P2BoosterBG = KeyV
P1Pad1 = Key7
P1Pad2 = Key8
P1Pad3 = Key9
P1Pad4 = KeyU
P1Pad5 = KeyI
P1Pad6 = KeyO
P1Pad7 = KeyJ
P1Pad8 = KeyK
P1Pad9 = KeyL
P1PadStar = KeyM ; *
P1Pad0 = KeyComma
P1PadPound = KeyDot ; #
P2Pad1 = Key1
P2Pad2 = Key2
P2Pad3 = Key3
P2Pad4 = KeyQ
P2Pad5 = KeyW
P2Pad6 = KeyE
P2Pad7 = KeyA
P2Pad8 = KeyS
P2Pad9 = KeyD
P2PadStar = KeyZ ; *
P2Pad0 = KeyX
P2PadPound = KeyC ; #
ResetKey = KeyF1
SelectKey = KeyF2
BWKey = KeyF3
ColorKey = KeyF4
P0Easy= KeyF5
P0Hard= KeyF6
P1Easy= KeyF7
P1Hard= KeyF8
OK everyone, here's your chance to get a say in about what controls should map to what keys..
I'll check the forum later tonight on my home machine, and recompile then.
Rampy, Many thanks for the offer to host.
-PacManFan
-
; define control keys
P1Left =
-
looks good as long as
key 1 is for start
i'm good
-
looks good as long as
key 1 is for start
i'm good
I'm not sure Atari had a "start" button persay... =P *shrug*
but it's been ages since i've used one...
rampy
-
well i said that wrong it is currently on z26 the f1 key.......
if f1 could be remapped to #1 key like mame to start game that be perfect!
-
I have changed the following to match MAME. some of the difficulty settings and stuff are optional IMO
ResetKey = Key1
SelectKey = Key2
P1Fire = KeyCtrl
P1TriggerBG = KeyLAlt
P1BoosterBG = KeySpace
P2Left = KeyD
P2Right = KeyG
P2Up = KeyR
P2Down = KeyF
P2Fire = KeyA
P2TriggerBG = KeyS
P2BoosterBG = KeyQ
-
PacManFan,
Thanks for all your work on this. I know next to nothing about programming, but is it not possible to make the keys configurable? I would prefer configurable over mame standards.
Just my $.02
-
PacManFan,
Thanks for all your work on this. I know next to nothing about programming, but is it not possible to make the keys configurable? I would prefer configurable over mame standards.
Just my $.02
Yes, It is possible, however, it's not practical in this case. I was hoping that the code would be written in c or c++, however, 75% or so of the code is in assembler, with many of the keyboard constants and other other constants hard-coded into the program. I'm going to get this version out, and then I'll look into making it remappable through a loaded key-file after I get the next version of EmuTron out.
-PacManFan.
-
OK everyone!,
You can download the MAME-Key version of z26 from:
www.pacmanfan.com/download (http://www.pacmanfan.com/download)
Try it out everyone, post some responses for feedback, so we can finalize a key layout that works for (almost) everyone.
Rampy, go ahead and make a mirror from my download site, I don't know how much this is going to cut into my monthly usage.
-PacManFan
-
configurable keys is nice but mame set be ok too considering it is just 1 button. By the way pacmanfan i'm an aspiring programmer and very interested to learn how you edit the keyboard configs. When i opened up the source i noticed there was a file called "keyboard" inside this i noticed that assembly was used. I took a basic class on assembly.When it says for example
;KeyZ =
-
Good job, all keys work for me. The only thing I notice is player 1 fire is button 2 and player 2 fire is button 1. I'm not complaining though was wanting to upgrade from my crappy DOS hack for awhile.... thanks again.
-
PMF's recompile is now available/mirrored at Drivel's Download section (http://www.randomdrivel.com/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=3)
You'll have plenty of bandwith to make it through the month (unless there's an emutron release coming before the end of the month ;) )
Feel free to link directly (http://www.randomdrivel.com/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=17) to the download from your page PMF if you want (instead of pointing to within your /download/ directory... to conserve your bandwith and use some of mine)
It's no biggee as I've got more breathing room on my site, tis all...
Thanks for taking the time to recompile it for mame keys, you rule pmf!
Rampy
FWIW -> I zipped it and included the gpl and simple gpl text files as well as the readme text files -- as I thought it was appropriate/necessary.... *shrug*
rampy
-
Thanks Pacman Fan and everone else involved in getting this re-compile done. I took a shot at re-compiling it a while back , But when it came to the assembler I couldn't figure out how to ge it to compile.
Good Job
Slug54
-
It's a great remap i love it!
now if only pacmanfan could remap zinc!
damn left control spacebar and left alt are all function keys. It really sucks.
-
It's a great remap i love it!
now if only pacmanfan could remap zinc!
damn left control spacebar and left alt are all function keys. It really sucks.
what? you can remap zinc... you use one of the helper apps -- it even lets you setup combo's presses if you're that type of player =P . any of the Zinc FE's should do this... assuming they use winterblasts control plugin. I'll look to see what specific one I use at home ...when I get home =P (once you get it configed you can then copy the neccessary files and command lines to your normal front end )
*shrug*
Rampy
-
rampy that be great please do because right now with my ipac l-hift space and left-control are raster functions in zinc. If you have the fix for this please hook me up!
-
rampy that be great please do because right now with my ipac l-hift space and left-control are raster functions in zinc. If you have the fix for this please hook me up!
this isn't the one I used, but it has winterfellahs control plugin...
aldo's zinc front end (http://www.aldostools.com/frontends.html#ZINC) once you change the controller config you can then figure out how to make sure those configs get called up when loading zinc from the commandline, in turn how to load them in gamelauncher/etc (for example)
*shrug* good luck! and i'll follow up with which one I use later but I imagine aldo's is functional
Rampy
-
hey thanks i tried aldo's setup it works excpt the 3 buttons space,left-alt,l-shift still cause rendering to occur. So the picture starts to dissapear as you hit the,m. I can't seem to figure out how people with standard button config with ipac designed fore mame can run zinc
do you have an ipac set to mame default keys?
-
hey thanks i tried aldo's setup it works excpt the 3 buttons space,left-alt,l-shift still cause rendering to occur. So the picture starts to dissapear as you hit the,m. I can't seem to figure out how people with standard button config with ipac designed fore mame can run zinc
do you have an ipac set to mame default keys?
I have a key wiz set to default keys... actually I must not have play since I started reset the keys... so uh.. I'm having the same problem you are having, tyweed. Sorry to mislead you. I use zincgui FWIW.
I used to use a different config for mame but I stopped loading that keyset (which used to work with zinc because it didn't have the ctrl and alts in it) and am trying to go with defaults only... blah what a pain!
*Shrug*
rampy
-
Hey np i hope to fins a fix for it ! if you do comew across something let me know!
-
What a drag.... This version of Z26 just hangs on my cab machine (P2 running Win2k). I have to actually bring up the task manager and kill the process to get it to shut down. The weird thing is, it'll say "Z26 -- FROZEN" in the task list... Anyone have any idea what's wrong?
Thanks for any tips...
-
Good job Pacfan. I like seeing you guys come together to accomplish cool stuff like this.
-
What a drag.... This version of Z26 just hangs on my cab machine (P2 running Win2k). I have to actually bring up the task manager and kill the process to get it to shut down. The weird thing is, it'll say "Z26 -- FROZEN" in the task list... Anyone have any idea what's wrong?
Thanks for any tips...
I developed it on a w2k machine, I'm not quite sure what could be wrong. I only altered the key mappings. How are you launching it? what's the command line? What rom are you trying to play? Try chaning the screen mode by holding down p1 b2 and pressing 1..9 for differant screen modes.
-PMF
-
Mine says Z26-frozen all the time and it works great.
I use Win2K as well, ArcadeVGA card. Try running it through your FE, I notice it has a popup if you don't use an FE but it disappears if you do, maybe thats part of the problem?
-
Hey PacmanFan! Hows Emutron Comming along?
-
I developed it on a w2k machine, I'm not quite sure what could be wrong. I only altered the key mappings. How are you launching it? what's the command line? What rom are you trying to play? Try chaning the screen mode by holding down p1 b2 and pressing 1..9 for differant screen modes.
-PMF
Looked at it a little more... on the machine it's hanging on, it can't recognize the Turtle Beach Montego II as a Sound Blaster compatible card. When I start it, it gives the message about pressing escape to quit or any other key to use the PC Speaker. When I hit any other key it hangs...
I don't think my problem's specific to your patch PMF. I just started to set up Z26 after seeing your mame compatible version, so I guess Z26 hates my Sound Card.
Actually, I just tried stella after Z26 and it hangs also... I'm wondering if my BLASTER env variable is set correctly but I'm not sure how find out since Win2K just auto configures the card.... Sigh. Reminds of the bad old DOS days. :(
-
Try it without sound. The command line was z26.exe <romname> -s0
at least that was it on the DOS version I assume it still works.
There is no blaster variable in Win2K. Basically if it works without sound as above next try -s1, s2, s3, s4, etc. until you find a mode that works with your card.
-
Hey PacmanFan! Hows Emutron Comming along?
EmuTron is coming along slowly but surely, What I'v got now is a front-end for my front end. I'm developing screens that allow you to drag and drop- point and click to add/edit things to the script visually. It's running Emutron in a windowed mode, so you can see immediately exactly what it will look like full screen. I finished the save script functionality, so it actually writes the scripts for you when you click "Export". I'm just not happy yet with the interface for designing things. I'm modeling it after a 2d editor / powerpoint style interface.
I'll probably post a few screen shots soon so I can get some feedback.
I'm still trying to figure out how to represent visually the differant events and actions, and allow the user to easily add / modify them.
I'm toying with the idea about putting in a walk through scripting wizard that asks questions like: "Do you want and mp3 playlist", "Do you want multiple or a single game list", "Check here for multiple emulator support", "Select which types of images to display : screen shot, flyer, cabinet, marqee, etc.." ,"Please select your mame directory", "Please select your rom directory".
After the wizard runs, you'll have a basic script that you can then modify and tweak the layouts and actions.
I think that's a better idea than making the user start from scratch when creating a script, although I'll give them that option too.
I'm also putting in support for a menuing system.
You can put an "OnClick(rectname)" along with the keys to trigger events. So if you click on a rectangle on the screen, it can trigger events to run-> bitmaps to load, lists to change,etc.... Now that I've got basic expression parsing like a=b*c+4, you can use variables to do all sorts of things with an if-then statement.
It's just tricky to try to represent all these things visually on the screen to the user to give them control, and yet still maintain a user-friedly interface.
Any suggestions as far as usabilty?
-PMF
-
YES!!! after strugling with trying to compile stella someone FINALLY conquers the atari 2600 emulator in cab problem!
THANK YOU THANK YOU THANK YOU1
-
Try it without sound. The command line was z26.exe <romname> -s0
at least that was it on the DOS version I assume it still works.
There is no blaster variable in Win2K. Basically if it works without sound as above next try -s1, s2, s3, s4, etc. until you find a mode that works with your card.
Yeah, I actually tried it with -s0 already (although I ordered my command line differently, hopefully that isn't the prob :) ) anyway -s0 hangs too! Which is really weird.
As I remember the docs implied that the BLASTER env needed to be set regardless of OS (makes sense it's a DOS app). And I only think I saw -s0,1,2 mentioned... I'll try unsetting BLASTER and some of the other switches, I guess. It doesn't hang on my other Win2K box, just my cab machine! >:(
-
I just want to say thanks to everyone involved in the z26 recompile effort. I finally got around to installing Stella and z26 on my cab over the weekend and noticed that both emulators had the huge drawback of not using MAME default keys. I hopped on the forum to see if anyone else had found a workaround and, low and behold, this thread appeared on page 2. :-)
Thanks again, guys.
-
How do you get the roms to work with z26? I tried using a dos window just to test it and when I type ...
z26 gamename
nothing happens? I read about changing the . bin to .a26, is this correct?
Thanks!
-
Thank you PacManFan. Great job.
Exactly what I've been hoping for.
-
Thank you PacManFan. Great job.
Exactly what I've been hoping for.
No problem,
Just doing my part to help the BYOAC community
-PMF
Anyone got a link for the stellaX source?
-
Make sure you are running a ROM within your command line, this version of Z26 does not seem to have the integrated frontend the old DOS version had.