Main > Main Forum
Split Screen Cocktail view on older versions of MAME
<< < (2/3) > >>
Shun:

--- Quote from: Thenasty on June 04, 2012, 01:18:38 pm ---try lowering the Samplerate to 22khz instead of the default 44khz. That should help alot.

--- End quote ---

Yeah I've tried this but still getting the same sort of results.
Would the small amount of RAM (128mb) on this laptop slow MAME down?

After a bit of digging I found the following thread and it seems that someone managed to get this working with an earlier version of MAME:
http://forum.arcadecontrols.com/index.php?topic=38312.0
 :laugh:

I assume that this would work on a normal version of MAME and not just MAME PLUS. I was going to try this, however I can't open the source code PDF that is attached to the thread, is it corrupt or is it that my version of Adobe is too new?  :'(

Has anyone tried this on MAME 0.97? If i can get hold of the source code I might try it with earlier versions of MAME.
Shun:
I have read through thread http://forum.arcadecontrols.com/index.php/topic,36605.0.html and found the following post:


--- Quote from: wpcmame on May 11, 2005, 01:53:08 am ---Had a quick look and this works (actually took longer to write this post).

File: winddraw.c

function: render_to_primary

Change 1: Remove multipliers so that the game doen't automatically fills the screen
Replace the line
   win_compute_multipliers(&inner, &xmult, &ymult);
with
   xmult = ymult = 1;


Change 2: Don't center the game vertically so both images fit
Replace the line
   inner.top = outer.top + ((outer.bottom - outer.top) - (win_visible_height * ymult)) / 2;
with
   inner.top = outer.top;

Change 3: Output the second image flipped
After the line
   win_perform_blit(&params, update);
Add the following lines
   params.dstyoffs      = inner.top + win_visible_height * ymult;
   params.flipx      = !blit_flipx;
   params.flipy      = !blit_flipy;
   win_perform_blit(&params, update);

To test it you need to use a resolution big enough to fit the game twice

mame game -resolution 1024x768 -flipx -flipy

(The flipx and flipy are just because it was easier to keep the original image on top)


Now you need to make it an option and calculate the correct multipliers etc

--- End quote ---

I thought I'd give this a try as I still can't open the PDF from the http://forum.arcadecontrols.com/index.php?topic=38312.0 thread (if anyone can open this please let me know :) )

So I downloaded the compiling tools for older versions of MAME (In this case V0.69) from: http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=207730
made the changes and then compiled. Success! I got the same result as wpcmame did. I ran SSF2 with -resolution 1024x768 -flipx -flipy and it ran at 60fps, with VSync and mirrored! The problem is, the mirrored affect works fine in "landscape" mode but if I rotate using the ini file or the rotate option when running MAME it rotates the screens ok, but it looks like this:

Screen 1: ->
Screen 2: <-

I am trying to achieve the following:

Screen 1: <--> :Screen 2
I'll see if I can upload some pics tonight.

I'm not that familer with C coding, however I am happy to mess around with the code and see what results I can come up with. Could anyone point me in the right direction as to what to change? Also, is there anyway of testing MAME code changes without having to compile everytime (some kind of interpreter)? This would speed up my trial and error testing greatly  :laugh:

Edit: Added which version of MAME I am compiling.
PL1:

--- Quote from: Shun on June 07, 2012, 03:57:35 am ---I thought I'd give this a try as I still can't open the PDF from the http://forum.arcadecontrols.com/index.php?topic=38312.0 thread (if anyone can open this please let me know :) )

--- End quote ---

You did see the note in that thread, right?


--- Quote from: lokki on June 13, 2005, 06:07:49 pm ---Note attached file should be renamed to .zip

--- End quote ---


Scott
Shun:
Ahem  :-[ no I didn't  :laugh2:
LOL just manged to open the contents now. Thanks PL1.
I wondered why it was a PDF....

I just need to see if this will work on Vanilla MAME or if I need to get MAME Plus which I still can't find.

Also it would be nice to see if I can get this working on and older version of MAME like V0.69.
paigeoliver:
Maybe I am stupid, but if playing streetfighter in mirrored cocktail mode is really important to you then why don't you just get a faster used computer?

It literally took me a minute and a half to find a Pentium 4 2+ ghz computer on craigslist for $25.

http://stlouis.craigslist.org/sys/3050867507.html
Navigation
Message Index
Next page
Previous page

Go to full version