Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: chuckaroo2000 on April 26, 2005, 09:42:57 pm

Title: mamewah and z26
Post by: chuckaroo2000 on April 26, 2005, 09:42:57 pm
I'm using the latest version of mamewah and z26.  I am looking for a way to force z26 to play at a low resolution and preferable one that I specify.  My monitor does not display over 640x480.  I have searched the forums and could not find any results that worked for me.  It would be great to hear from someone that has figured this out.

Thanks!
Title: Re: mamewah and z26
Post by: jcrouse on April 26, 2005, 09:59:13 pm
First off, make sure your using the hacked version of Z26 from my website. You can get it on the downloads/applications page at http://home.comcast.net/~cpviewer . It's much more cabinet friendly and allows you to remap the keys using an ini file. That being said, here are two interesting exerps (sp?) directly from the readme file, probably in your /docs folder:

Configuring z26
    z26 has many options that are set with command line switches. You can
    use a text editor like Notepad to create a file called z26.cli in the
    directory that contains your ROM images to set these options. Otherwise
    if you type z26 with some command line switches and don't include a
    filename, the command line switches are recorded in z26.cli
    automatically as emulator defaults. These defaults can still be
    overridden with command line switches that you include on command lines
    that include a filename.

Video Modes
    Note that by adding 10 to the video mode number z26 will run in a
    windowed mode. Otherwise z26 runs full-screen. On some systems, windowed
    modes are very slow. So for maximum performance you should run
    full-screen. Adding 20 to the video mode number causes the game to run
    full-screen with the number of bits per pixel as your current desktop.
    This allows the phosphorescent effect to work in full-screen video
    modes.

    Mode 0 -- 400x300 (default)

    Mode 1 -- 320x240

    Mode 2 -- 320x200

    Mode 3 -- 800x600 scanline/interlaced

    Mode 4 -- 640x480 scanline/interlaced

    Mode 5 -- 640x400 scanline/interlaced

    Mode 6 -- 800x600 double scanline

    Mode 7 -- 640x480 double scanline

    Mode 8 -- 640x400 double scanline

Pretty interesting, eh! Here is the contents of my z26.cli file:

-v21-r60

Good Luck,
John
Title: Re: mamewah and z26
Post by: chuckaroo2000 on April 27, 2005, 08:03:13 pm
I tried all that BUT....after reading what you wrote twice I realized I DID make one mistake.
Title: Re: mamewah and z26
Post by: jcrouse on April 27, 2005, 08:10:05 pm
All sounds dooable to me but it will probably depend on the capabilities and maturity of the specific emulator. Remember, most platforms used a TV for output so the emulators usuall support resoultions down to about 320 x 240.

John
Title: Re: mamewah and z26
Post by: chuckaroo2000 on April 28, 2005, 12:55:16 am
I followed your instructions to the "T".  The emulator won't load any roms through MAMEWah.  I even used X26 as a frontend for he hacked Z26 and no go. I can't figure out what I am doing wrong...
Title: Re: mamewah and z26
Post by: jcrouse on April 28, 2005, 08:24:42 am
Post your z26.ini file (or whatever you named it) from your ./Mamewah/ini folder so I can see it's contents.

John
Title: Re: mamewah and z26
Post by: chuckaroo2000 on April 28, 2005, 07:30:15 pm
Here is my ini. file from MameWah.
Title: Re: mamewah and z26
Post by: jcrouse on April 28, 2005, 08:14:37 pm
Well, the ini file looks good to me, I think. Just to be cautious, personally, I try to never use special characters or filenames (folders) longer than 8 characters in a path for an emulator executable. Call me over cautious but you just never know what is in the code of some of these old emulators. Remember, even though your using Windows, some of the emulators are old DOS apps.

John
Title: Re: mamewah and z26
Post by: chuckaroo2000 on April 28, 2005, 08:37:47 pm
I got it going.  It seems the only way I could get the 'hacked' version to work is to copy all of its contents into the 'regular' versions folder overwriting all files as needed.  However I still can't get the screen resolution to change. I made a .cli file which I put in my roms folder
which only has the line "-v21-r60".  My resolution still doens't change, I can't understand it...

Frank
Title: Re: mamewah and z26
Post by: chuckaroo2000 on April 28, 2005, 08:42:46 pm
I got it!...The problem was I needed to get the emulator to create the .cli file for me.