Main > Software Forum
MAME Movie Maker released
<< < (88/153) > >>
DreamWeb:
Thanks, Silver.

That definitely did it.  I now have my makemovies.bat

But.. now there must be a problem with the batch.bat

This is my batch.bat

@if not exist D:\Documents and Settings\David Pritchett\Desktop\movies mkdir D:\Documents and Settings\David Pritchett\Desktop\movies\movies
@if exist D:\Documents and Settings\David Pritchett\Desktop\movies\movies\%1.avi goto end
time /T
@mame %1 -window -makemovie -resolution %2 -wavwrite %1.wav
@if not exist %1.vdb goto end
@\virtualdub\virtualdub /s"%1.vdb" /x
@del %1.wav
@del %1.vdb
@del /Q moviesnp\*.png
@move /Y %1.avi D:\Documents and Settings\David Pritchett\Desktop\movies\movies
time /T
:end

And this is what I get when I run it or makemovies.bat

----

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\David Pritchett\Desktop\movies>batch
'and' is not recognized as an internal or external command,
operable program or batch file.

D:\Documents and Settings\David Pritchett\Desktop\movies>time /T
02:07 AM
'mame' is not recognized as an internal or external command,
operable program or batch file.

D:\Documents and Settings\David Pritchett\Desktop\movies>


---

sorry for the ridiculously newbie questions.   And thanks again for the help.

david
Silver:
Try putting " " around all your directory names in the batch - at least all the ones with spaces in them.

ie:

@if not exist D:\Documents and Settings\David Pritchett\Desktop\movies mkdir D:\Documents and Settings\David Pritchett\Desktop\movies\movies

becomes:

@if not exist "D:\Documents and Settings\David Pritchett\Desktop\movies" mkdir "D:\Documents and Settings\David Pritchett\Desktop\movies\movies"

that should help. (Personally, I don't like having stuff in directories off the desktop - although this makes no difference.)

If you still have problems try using a directory with no spaces.

eg: C:\MameMovies

EDIT: Also its not finding mame - you have to run this batch file from the (buddabing) mame directory.

Goto Start menu, select run, type in "cmd" and hit return. Then change to the directory where mame is (eg "cd C:\Emus\Mame") which is hopefully where you also have buddabings mame and run it there.
Buddabing:

--- Quote from: Silver on February 24, 2005, 12:52:17 am ---check the filter.sql file. This is where which games are selected are defined....

Lines starting with -- are ignored.

The first line should be:

select * from gamedata;

make sure it does not have -- in front of it, and make sure all the other lines do. See if that helps.


--- End quote ---

I need to fix that. ListGen should error out if filter.sql (or user specified SQL file) is not found.

You can also use Windows' 8.3 equivalent filename instead of the quotes. On my computer cd \docume~1 is equivalent to cd "\Documents and Settings".

Silver:
At one stage my filter.sql was defaulted to (I think from one for your zips?):

select * from gamedata where movieloops='2';

which meant listgen.ini ran fine, but produced a blank output.bat.

And they 8.3 worked fine on my laptop, but I got very confused when it failed on my desktop with files copied over. (Both were Windows XP, NTFS partitions). It turned out that my desktop was configured to not create 8.3 filenames at all - dues to some system-tweak program I ran a while ago. Scratched my head for ages over that one!
donnyj:

--- Quote from: donnyj on February 23, 2005, 10:26:01 am ---could you kindly try movieloops 3 mode and see if you get the detected loop inserted into the VDB file?

I really want to test out the new detection.

Also, I don't understand how changing the MMM portion would change the actual loops?
--- End quote ---
Navigation
Message Index
Next page
Previous page

Go to full version