loadman
Moderator
Trade Count:
( +3)
Full Member
   
Offline
Posts: 3347
Cocktail Cab. Jukebox is still a W.I.P.
|
 |
« Reply #120 on: April 24, 2009, 05:53:43 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
swamprat96
Trade Count:
( 0)
Full Member
 
Offline
Posts: 223
|
 |
« Reply #121 on: April 24, 2009, 06:31:26 AM » |
|
"Do I look like I give a damn?" (Casino Royale)
|
|
|
|
« Last Edit: April 24, 2009, 05:35:33 PM by swamprat96 »
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #122 on: April 24, 2009, 07:55:22 PM » |
|
"Do I look like I give a damn?" (Casino Royale)
No need for the source, I knew where it came from. 
|
|
|
|
|
Logged
|
|
|
|
loadman
Moderator
Trade Count:
( +3)
Full Member
   
Offline
Posts: 3347
Cocktail Cab. Jukebox is still a W.I.P.
|
 |
« Reply #123 on: April 24, 2009, 08:01:54 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
|
darkling27
Trade Count:
( 0)
Jr. Member

Offline
Posts: 7
|
 |
« Reply #125 on: July 20, 2009, 08:03:37 AM » |
|
Hey there, sorry to bump an old post... But i cant find any other threads about this.
Im having trouble getting the pc games to work on my singular game list. I have them appearing on the list with their attact video and Marquee working fine. But when i try to launch them from the list, the command box flashes up and closes too fast too see and the game doesnt start.
The dummy .zip files are in ... F:\MAME\MameUI32\other_games\pc and the .lnk files can be found in ... F:\MAME\MameUI32\other_games\pclink
I have my mame.cmd file as... ------------------ If "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames
mame.exe %1 exit
:pcgames cd ..\other_games\pclink %1.lnk exit -----------------------
Any help would be great =]
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #126 on: July 20, 2009, 09:58:41 AM » |
|
You might try changing: cd ..\other_games\pclink to: cd \MAME\MameUI32\other_games\pclink If this doesn't work, set Mala to run the command in a normal window instead of a hidden one. Then, put "pause" in your batch file so you can read the error that the batch file gives after it tries to execute the pc game: :pcgames cd \MAME\MameUI32\other_games\pclink %1.lnk pause exit One last thing to check is the upper and lower case in this line: If "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames It is case sensitive therefore the \MAME\MameUI32\other-games\pc must match your actual folder names exactly.
|
|
|
|
|
Logged
|
|
|
|
darkling27
Trade Count:
( 0)
Jr. Member

Offline
Posts: 7
|
 |
« Reply #127 on: July 20, 2009, 11:13:26 AM » |
|
Ah, i have just realised this is happening to everything on my list, not just the pc games. When i change the MAME executable back to the MameUI32.exe the mame games work again, but the pc games wont (obviously)
I just removed the ... ------ mame.exe %1 exit ------- ...part of the .cmd file and the pc games now work!!! but the MAME ones dont
So im guessing thats the problem.
I put a pause between the 'mame.exe %1' and the 'exit' and tried to play dr mario (MAME game) it says
------- F:\MAME\MameUI32>if "" == "F:\MAME\MameUI32\other_games\pc" goto pcgames
F:\MAME\MameUI32>mame.exe drmario 'mame.exe' is not recognised as an internal or external command, operable program or batch file.
F:\MAME\MameUI32>pause press any key to continue . . . --------
Am i missing something? =S
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #128 on: July 20, 2009, 04:20:38 PM » |
|
Yeah, it needs to be mameui32.exe since you're not using the command line version of Mame. The problem is with your IF statement. It doesn't match exactly the rom path that mala is sending to it. To find out exactly what Mala is sending as %2 put the following as the first 3 lines of your mame.cmd: @echo off echo %2 pause Then run it. The first line that displays in the black command window with be the contents of %2 which is also equal to the rom path in Mala. In your case it should equal exactly (including upper and lower case): F:\MAME\MameUI32\other_games\pc If it doesn't, then there's your problem.
|
|
|
|
|
Logged
|
|
|
|
darkling27
Trade Count:
( 0)
Jr. Member

Offline
Posts: 7
|
 |
« Reply #129 on: July 20, 2009, 06:38:04 PM » |
|
This is my command file currently... ------ @echo off echo %2 pause IF "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames MameUI32.exe %1 exit :pcgames cd \MAME\MameUI32\other_games\pclink %1.lnk pause exit --------------- All that comes up when trying to play a PC games is... -------------- ECHO is off. Press any key to continue ------------- pressing a key, the wondow closes and no game starts and no 'F:\MAME\MameUI32\other_games\pc' line Im sure the higher and lower case is fine in the addresses 
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #130 on: July 20, 2009, 07:28:23 PM » |
|
Hang in there, its something simple. It looks like mala is not passing the rom path to the batch file. In Mala the Mame command line should be: %rom% %path% If it is already set to that, then go to the game list editor and choose one of your pc games and see what the rom path is for it. You get to this screen by right clicking on a game and choosing edit:
|
|
|
« Last Edit: July 20, 2009, 07:32:31 PM by SGT »
|
Logged
|
|
|
|
darkling27
Trade Count:
( 0)
Jr. Member

Offline
Posts: 7
|
 |
« Reply #131 on: July 21, 2009, 12:52:14 PM » |
|
Ah, none of my pcgames have a path or an .zip extention witten. filling these spaces in and saving the gamelist doesnt seem to work. Have i missed a step out or just being dozey and not doing what i am ment too? lol (thanks for the help btw  )
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #132 on: July 21, 2009, 09:55:37 PM » |
|
Try refreshing the main game list by right-clicking and choosing that option.
|
|
|
|
|
Logged
|
|
|
|
darkling27
Trade Count:
( 0)
Jr. Member

Offline
Posts: 7
|
 |
« Reply #133 on: July 22, 2009, 12:10:41 AM » |
|
I now have the pc games and the mame games running  It would seem that the path and '.zip' fields get reseted when i do something... But the fact is, its working atm, lol! but now there is one small problem. When i play a pc game, the attract video will still play behind it, which not only is annoying with the sound overlapping the pc game. But it also slows the games frame rate down also... Is there anyway i can stop this from happening? I really would not rather have to turn the videos off or only use a picture for each pc game on the list 
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #134 on: July 22, 2009, 05:32:28 PM » |
|
but now there is one small problem. When i play a pc game, the attract video will still play behind it, which not only is annoying with the sound overlapping the pc game. But it also slows the games frame rate down also... Is there anyway i can stop this from happening? I really would not rather have to turn the videos off or only use a picture for each pc game on the list  You probably need to start a separate thread with this question so that more people will see it. I'm not sure what the answer might be.
|
|
|
|
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #135 on: August 09, 2009, 05:07:17 PM » |
|
OK, I'm having a bit of trouble with this... Here is my set up:
mame is located at C:\Arcade\Mame\mame.exe misfit mame is located at C:\Arcade\MisfitMAME\mis.exe
I added the info to the mame.xml file which is located at C:Arcade\Mame\mame.xml and the rom appears in the main gamelist now after refreshing.
Using Notepad, I created a file called mame.cmd in the mame directory that says:
if "%2" == "C:\ArcadeMisfitMAME\roms" goto misfitmame
mame.exe %1 exit
:misfitmame cd C:\Arcade\MisfitMAME mis.exe %1 -skip_gameinfo exit
In MALA, under Mame config>basic>command line, I added the path parameter "%rom% %path%"
I also specified an additional rom path - I selected rom path 2, and entered C:\Arcade\MisfitMAME\roms (where the rom is that I want added to the list).
Finally, I changed the mame executable to c:\Arcade\Mame\mame.cmd
Any ideas where I went wrong? When I click on mis.exe in windows explorer, the emulator launches and I can load up d2k but not from MaLa...
|
|
|
|
« Last Edit: August 09, 2009, 07:05:32 PM by javeryh »
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #136 on: August 09, 2009, 05:51:42 PM » |
|
There may be more than one thing wrong, but this jumped out at me. Shouldn't this: if "%2" == "C:\misfitmame\roms" goto misfitmame be: if "%2" == "C:\Arcade\MisfitMAME\roms" goto misfitmame Not just Arcade missing, but this line is case-sensitive.
|
|
|
|
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #137 on: August 09, 2009, 07:04:50 PM » |
|
There may be more than one thing wrong, but this jumped out at me. Shouldn't this: if "%2" == "C:\misfitmame\roms" goto misfitmame be: if "%2" == "C:\Arcade\MisfitMAME\roms" goto misfitmame Not just Arcade missing, but this line is case-sensitive. Dang it. Typo above that I'll fix. I made sure to match the case for everything...
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #138 on: August 09, 2009, 07:13:39 PM » |
|
So you're saying its a typo in the batch file or just a typo in your message? Is it still not working? You probably need to go to the gamelist editor and see what Mala lists for your rom path for one of the misfit roms. Sometimes a main game list refresh is in order.
|
|
|
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #139 on: August 09, 2009, 07:23:22 PM » |
|
I meant a typo in my message above. I don't have anything filled in for "Path" like shown in your picture and "zip" isn't there either. Maybe this is the problem? Hang on...
EDIT: Also, do I have to configure "Other Emus" to set up Misfit MAME?
|
|
|
|
« Last Edit: August 09, 2009, 07:27:02 PM by javeryh »
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #140 on: August 09, 2009, 07:50:32 PM » |
|
No, you do not use "other emus" configuration. The rom path in the game list editor should have been filled out automatically. Try right clicking in Mala while your mame game list is showing and choose "refresh main game list". Then, see if that rom path is filled out correctly for your misfit roms.
|
|
|
|
|
Logged
|
|
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #142 on: August 09, 2009, 08:33:26 PM » |
|
Glad you got it working. Usually the rom path doesn't matter because Mame knows where the rom path is. However in this work-around, we need the rom path filled out so it can be passed to the batch file for decision making purposes. I always had the understanding that refreshing the main game list filled out the rom path. Have you actually quit out of the game list editor and went back in after you refreshed the main game list? Irregardless, the main thing is its working! 
|
|
|
|
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #143 on: August 09, 2009, 09:25:27 PM » |
|
yeah, I refreshed the main list a few times during the process and I guess the path never got filled in. Thanks for the help - I'm really happy I got this working.
|
|
|
|
|
Logged
|
|
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #145 on: August 15, 2009, 12:28:05 PM » |
|
Possibly is a problem. A batch file will determine parameters by delimiting them with spaces. Therefore characters after the first space and before a second space is %2. Characters after the second space and before any third space is %3, etc... You can try enclosing the %path% with quotation marks in Mala under the command line parameters: %rom% "%path%"
|
|
|
|
|
Logged
|
|
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #147 on: August 16, 2009, 11:41:23 AM » |
|
The easiest way to trouble shoot is to find out what the batch file is receiving from Mala. I usually put a couple of lines at the start of the batch file such as: echo %2 pause This of course displays the %2 variable and then pauses the execution so you can read it. Make sure in Mala that you have the window set to normal instead of hidden so you can see the black command screen. After this "test" is run, make sure your "if" statements match what the test echo produces, CASE included.
|
|
|
|
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #148 on: August 18, 2009, 11:11:14 PM » |
|
Hmmm... I think I figured out the problem. For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved. Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too. I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem. I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it.
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #149 on: August 20, 2009, 04:27:05 PM » |
|
Hmmm... I think I figured out the problem. For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved. Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too. I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem. I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it.
Any chance that gamelist had its file attribute set to read-only? Got to thinking that if you moved the game list from one computer to another using a CD or DVD, I have seen the file attributes become read-only after copying from CD to hard drive.
|
|
|
|
« Last Edit: August 20, 2009, 05:24:55 PM by SGT »
|
Logged
|
|
|
|
javeryh
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4167
|
 |
« Reply #150 on: August 21, 2009, 12:43:53 AM » |
|
Hmmm... I think I figured out the problem. For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved. Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too. I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem. I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it.
Any chance that gamelist had its file attribute set to read-only? Got to thinking that if you moved the game list from one computer to another using a CD or DVD, I have seen the file attributes become read-only after copying from CD to hard drive. Hmmm... good idea - I will check. Off hand, could this also be the reason MAME decided to stop saving high scores? It worked yesterday and now everytime I turn the cabinet on all the scores are gone. It wont even save them when I exit out of a game back to the MaLa gamelist.
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #151 on: August 22, 2009, 08:40:21 PM » |
|
Hmmm... good idea - I will check. Off hand, could this also be the reason MAME decided to stop saving high scores? It worked yesterday and now everytime I turn the cabinet on all the scores are gone. It wont even save them when I exit out of a game back to the MaLa gamelist.
Its possible, though high scores can be finicky. At some time, you patched the Mame source code and recompiled, etc...?
|
|
|
|
|
Logged
|
|
|
|
BamBam
Trade Count:
( 0)
Full Member
 
Offline
Posts: 255
This is better than Disney Land man!
|
 |
« Reply #152 on: October 13, 2009, 06:18:08 PM » |
|
Check it out:
Once again SGt, you never seize to amaze me  , but how did you get your control panels to look like they are at the perfect angle on your arcade?
|
|
|
|
|
Logged
|
Galaga... Was there any other game?
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #153 on: October 13, 2009, 08:50:39 PM » |
|
but how did you get your control panels to look like they are at the perfect angle on your arcade?
Thanks. It really helped the looks to build up the photo of the black cabinet much higher on the sides than it originally was. It helped to hide a lot of the imperfections and made the control panels blend in better. I really did nothing to the control panel snaps. Not all of the control panels look perfect, but a large number are already at the perfect angle. I have only recently started to photo manipulate those that are angled severely by rotating and stretching and shrinking, etc... I am not extremely picky on this. Many of the photos of the control panels and marquees are diffferent shapes and sizes so its important to tell Mala to NOT keep the aspect ratio for layout snaps so that it resizes in all directions. This makes it look a LOT better though its not for the purists that want a historically accurate photo.
|
|
|
|
« Last Edit: October 13, 2009, 08:54:05 PM by SGT »
|
Logged
|
|
|
|
kanon
Trade Count:
( 0)
Full Member
 
Offline
Posts: 12
|
 |
« Reply #154 on: October 27, 2009, 11:19:45 PM » |
|
sorry for my ingles..
all roms appers in mala but emulator dont star. cps3
if "%2" == "C:\juegos\emuladores\cps3" goto cps3
mame.exe %1 exit
:cps3 cd ..\juegos\emuladores\cps3 emulator.exe % rar exit
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #155 on: October 28, 2009, 12:33:10 AM » |
|
Kanon Hola y bienvenidos! What folder contains the cps3 roms? Is it?: C:\juegos\emuladores\cps3 What folder contains emulator.exe? Is it?: C:\juegos\emuladores\cps3 What folder contains mame.cmd? Is it?: C:\juegos\emuladores\mame This line: emulator.exe % rar should be: emulator.exe %1 There may be more wrong, but I will not know until you answer my questions above.
|
|
|
|
|
Logged
|
|
|
|
kanon
Trade Count:
( 0)
Full Member
 
Offline
Posts: 12
|
 |
« Reply #156 on: October 28, 2009, 09:22:44 AM » |
|
yea de roms and emulator, in same folder, wiht pacht rom2 C:\juegos\emuladores\cps3 and cmd in C:\juegos\mame\mame.cmd thanks for you time and help  mame work god.
|
|
|
|
« Last Edit: October 28, 2009, 09:27:25 AM by kanon »
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #157 on: October 28, 2009, 04:48:46 PM » |
|
The following should work. Have you tried this yet? if "%2" == "C:\juegos\emuladores\cps3" goto cps3
mame.exe %1 exit
:cps3 cd ..\juegos\emuladores\cps3 emulator.exe %1 exit Don't forget that in Mala, your commandline for Mame should be: %rom% %path% Also its always a good idea to refresh the main game list.
|
|
|
|
|
Logged
|
|
|
|
kanon
Trade Count:
( 0)
Full Member
 
Offline
Posts: 12
|
 |
« Reply #158 on: October 29, 2009, 12:36:17 AM » |
|
tanks but dont work, ill test but not work emulator dont star, im read all post.. sorry for my ingles mala is a nice front end
|
|
|
|
|
Logged
|
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #159 on: October 29, 2009, 04:31:51 PM » |
|
It works fine for me. Does CPS3 emulator work fine by itself (without Mala)? If it works fine by itself, please attach screenshots of your Mala configuration for Mame and the new contents of your mame.cmd file. Did you refresh the main game list?
|
|
|
|
|
Logged
|
|
|
|
|