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: How do I stop Model 2 from showing at launch??  (Read 10120 times)

0 Members and 1 Guest are viewing this topic.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #40 on: July 24, 2011, 05:35:14 pm »
Hi Nitz,

Ok, did everything you said, and it worked....sort of!!

Game loads, but when I exit, it automatically loads the next zinc game....and so on, and so on, and so on...

Also, on starting zinc (from Mala), the (Drunken Muppets) window box shows.....need to get rid of that!!

Thoughts??

Here is my mame cmd file

Cheers

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #41 on: July 24, 2011, 05:40:44 pm »
Hi Nitz,

Just got your message.

Can't get (Street Fighter 2 EX for example), to run under MAME. Have the CHD's, but must be missing something as well. I read somnewhere last night that while it runs on the CHD's, it takes 25 minutes to load....is this true??

As I have it running already, would you be kind enough to write the mute functions for the cmd file?? That way I can run other CPS3 games!!

Previous post updates my zinc issues

Cheers

Sega_mad

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Re: How do I stop Model 2 from showing at launch??
« Reply #42 on: July 24, 2011, 06:23:53 pm »
Game loads, but when I exit, it automatically loads the next zinc game....and so on, and so on, and so on...

BLECH!!! :banghead: I know exactly why that happened. I made a silly error and left out all the "exits" under my goto labels, so it just keeps going and going. Sorry about that. I fixed it in my post above, so you can just follow the instructions again, or manually add the word exit underneath each of those in your mame cmd.

As for the CHD thing, what version of mame are you running? This will affect where the CHD needs to be. Some versions just require it loose in your roms folder, others require it to be in a folder with the same name as the CHD in the rom folder. And also, the CHD format changed awhile back (it's changed a couple times I think) so you will need to have a version that is compatiple with your mame version. You might be able to easily convert your version to the one you need though if it's wrong.

If we can't get those working in mame, or you don't want to be bothered, I could write that mute thing for you a little later as it should be pretty easy. Bit busy at the moment though and gotta go, but I'll check back later on.

Cheers :cheers:

EDIT: Forgot to address your "drunken muppets box showing" issue. We can talk about that later as well.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #43 on: July 24, 2011, 06:36:03 pm »
Hi Nitz.

Thanks so much for all this.

Would prefer to stay with the CPS3 emulator, as I can run other games that MAME cant play. So would love the mute setup when you can.

Thanks again

Sega_mad

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Re: How do I stop Model 2 from showing at launch??
« Reply #44 on: July 24, 2011, 09:29:09 pm »
Ok, here we go.

Create a file called cps3.ahk with the following in it:

Quote
setworkingdir, path to cps3 emu
run cps3 emu command

$esc::
soundget, volume
soundset, 0
send {esc}
sleep 3000
soundset, %volume%
exitapp

Put in the path to the emu where indicated. Replace cps3 emu command with whatever you would type at the command line to run it, but instead of a rom name, type %1%. I've assumed this emu exits by pressing escape, if not, you'll need to change send {esc} to whatever it should be sending. I've set it to wait 3000 ms before turning the sound back up and exiting the script. If this is not enough/too much time, just adjust it until it seems about right.

Add these to the appropriate places in your mame.cmd

Quote
if "%2" == "C:\emus\otheremus\cps3\roms" goto cps3


:cps3
cd C:\Program Files\Autohotkey
autohotkey.exe C:\emus\cps3.ahk %1
exit

As always, change the file paths to your own.

Let me know if this works for you!

As for the command line showing up when you launch zinc, I don't think I've ever had that problem with Zinc and Mala. Are you sure you have Dos Window State set to hidden on the main Mala config menu?

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #45 on: July 24, 2011, 09:44:54 pm »
Hi Nitz,

Have been called out to work again....away from my computer for 3 days.

Have only had time to try the auto start fix....and its all good  ;D ;D ;D...but the controllers don't work :-[ Any thoughts??

Windows is hidden state....as it works correctly for all MAME games. It only shows up as a Blue Bar at the top of the screen, flashing up 3 times!!

Will have a crack at the "mute" fix when I get home.

Thanks again for all your excellent work.

Sega_mad

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #46 on: July 27, 2011, 01:08:45 am »
Hi Nitz,

Back now...... ;D

Unfortunately I couldn't get that to work.

It would still "stutter" on exit, infact after the first exit it would re-load the game, then when it did exit the emulator was running minimized in the bottom left corner??

Don't know if this was contributing, but I also had to run the "black screen" ahk file like in model2 in the command line (as the emu is almost exactly the same as M2)

Any help appreciated.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #47 on: July 27, 2011, 01:22:05 am »
Hi Nitz,

With regard to the hidden state for zinc games.....is this correct, and what you were referring to??

Any idea how to configure the controls...or where to get the correct file?

If it makes any difference, I'm running a JPAC

Cheers

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #48 on: July 27, 2011, 03:29:01 am »
Update.......

Looks like I might have the controls sorted.

Used ZincCab, reconfigured the controls, then pointed the mame.cmd file to ZincCab.exe

First trials look good. Will have to configure each game, but it all looks good.

Just need to sort the stuttering and the flashing "drunken muppets" issue.

Cheers

Sega_mad

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: How do I stop Model 2 from showing at launch??
« Reply #49 on: July 27, 2011, 05:19:58 pm »
Hi Nitz,

I think the issue might be that I'm trying to run 2 ahk files. 1 to hide the emu on startup, the other to mute...what do you think...or am I way off. Maybe we could combine the 2 ahk files into one??

Cheers

Sega_mad