Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Rocky on August 17, 2003, 11:28:04 pm
-
I've been using Mamewah for a while but just recently began to add different emulators and discovered some problems.
I'm not sure if these are known issues or not. I haven't seen them discussed.
I'm using win98se
1. When using Daphne, my NMS file only works if I use a DAT file, otherwise Mamewah doesn't seem to recognize it.
2. Using a .BAT file as my emulator for Daphne, it seems to make the screen saver act a little funny. When I return from the Daphne game, the screen saver is already activated and running.
This really is a problem if I have music running during the screen saver! I can tell the second the screeen saver starts (in the background), because the video in Daphne grinds to a snail's pace. I don't actually see the screen saver running while in the game, but it's like Mamewah is still running in the background using CPU cycles.
Is there an issue with using .BAT files that causes this?
Anyone else notice this?
Rocky
-
First off, I only use batch files for ePSXe and I run XP. However, the screen saver does not execute while I play ePSXe.
Although, I do have a really weird problem with the batches. After I exit ePSXe, I cannot run MAME games from mamewah. Other systems, like zsnes ect... work just fine - only MAME. After running zsnes, I can once again run mame. CRAZY!
The batch files do not seem to be a perfect solution and I do not know why they are so quirky because they should be simple.
-
For batch files, try launching your emu/app like this:
start /wait myexepath\myexe.exe
Otherwise, MAMEWAH will continue running while the myexe.exe is running.
Rocky: What version are you using? I thought I'd fixed that NMS problem in v0.955b, let me know if not...
-
Why don't you try AutoIt (www.hiddensoft.com/AutoIt/)? It's basically really advanced batch programs that you can compile into exe's.
Here is an example of the code you need in AutoIt code:
RunWait, %A_SCRIPTDIR%emuname.exe %1%,%A_SCRIPTDIR%
Let me take this apart for you so you understand it:
- RunWait runs a program and waits until it finishes
- %A_SCRIPTDIR% is the directory of the script, so the EXE has to be put in that directory
- %1% is whatever command/filename you ran through the exe, example: runemu.exe joey.nes will run %A_SCRIPTDIR%emuname.exe joey.nes, %A_SCRIPTDIR%
- the second ,%A_SCRIPTDIR% specifies the current working directory.
Once you get AutoIt, just copy & paste the code in to notepad, rename the emuname.exe to your emulator, save it as runemu.aut and use Aut2EXE to compile.
-
Minwah,
I'm using .955b (Sorry, I should have included that in my first post.) The NMS thing is a nice idea. I just created a short DAT file to get it to work. I only included the rom name.
Rocky
-
I'm using .955b (Sorry, I should have included that in my first post.) The NMS thing is a nice idea. I just created a short DAT file to get it to work. I only included the rom name.
Shoot, the NMS files should now work whatever the List Generation Method - I'll check it out...
-
I'm using .955b (Sorry, I should have included that in my first post.) The NMS thing is a nice idea. I just created a short DAT file to get it to work. I only included the rom name.
I just tried an NMS file using the 'ROM Folder Only' List Generation Method - it worked fine. Could you try it again & maybe post you settings?...
-
I just tried an NMS file using the 'ROM Folder Only' List Generation Method - it worked fine. Could you try it again & maybe post you settings?...
Don't bother Rocky, I just found it - a small case sensitive problem. Next release will be OK :)
-
Minwah,
Thanks for the information. Knowing it's case sensitive, I can probably get it working until the update.
Also, for those of you struggling with BAT files, I tried the "start.exe /wait" thing and it does work... but only on the first run of the BAT file. If I try to play a second game in Daphne, I get errors and it won't run.
So, I'm probably going to try the wrapper route or just write a small .exe myself to solve the problem.
Rocky
-
Thanks for the information. Knowing it's case sensitive, I can probably get it working until the update.
Also, for those of you struggling with BAT files, I tried the "start.exe /wait" thing and it does work... but only on the first run of the BAT file. If I try to play a second game in Daphne, I get errors and it won't run.
So, I'm probably going to try the wrapper route or just write a small .exe myself to solve the problem.
I think you would have to rename your ROMs to be in all uppercase - for now it is probably easier just to use the DAT file...
I setup Daphne in MAMEWAH yesterday for the 1st time (thanks BuZz for your BAT file stuff)...also used the 'start /wait' method. I only have 2 games (Dragons Lair & Space Ace), but they both launch fine without any problems (so far). Try adding 'exit' to the end of the batch file...
-
Any chance of getting a copy of the Daphne .bat file? I'm having a heck of a time getting it to run.
Thanks,
Steve
Thanks for the information. Knowing it's case sensitive, I can probably get it working until the update.
Also, for those of you struggling with BAT files, I tried the "start.exe /wait" thing and it does work... but only on the first run of the BAT file. If I try to play a second game in Daphne, I get errors and it won't run.
So, I'm probably going to try the wrapper route or just write a small .exe myself to solve the problem.
I think you would have to rename your ROMs to be in all uppercase - for now it is probably easier just to use the DAT file...
I setup Daphne in MAMEWAH yesterday for the 1st time (thanks BuZz for your BAT file stuff)...also used the 'start /wait' method. I only have 2 games (Dragons Lair & Space Ace), but they both launch fine without any problems (so far). Try adding 'exit' to the end of the batch file...
-
Any chance of getting a copy of the Daphne .bat file? I'm having a heck of a time getting it to run.
start /wait C:\EMUARCADE\DAPHNE\daphne.exe %1 vldp -framefile C:\EMUARCADE\Daphne\framefile\%1.txt -fullscreen
Exit
I just tried it again and it appears to work perfectly ;D
-
I just noticed, the first line above (in italics) continues (wraps) onto the next line - it should all be on one line in the batch file...