Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: BASSOFeeSH on April 20, 2003, 02:34:12 am

Title: Does Lazarus dislike spaces in path?
Post by: BASSOFeeSH on April 20, 2003, 02:34:12 am
I moved my MAME folder under "my documents", & updated all the appropriate files.(I hope)

Anyway, Lazarus starts up fine & loads of the game list.  When I try to load a game nothing happens though.  If I exit & look at the log file & see what I guess is the last command line that it executed.  i.e. "mame.exe d:\my docuements\mame\roms\...".  If I type that into a command prompt mame errors out.  

I guess my question is if Lazarus(and other FE's) can try to put quotes around paths?
Title: Re:Does Lazarus dislike spaces in path?
Post by: joeblade on April 20, 2003, 05:08:29 am
You could always use the command line wrappers to take care of the problem.

Howard (the author of lazarus) has one that can be downloaded from his web page, and I also have one (check out my post at http://www.arcadecontrols.org/yabbse/index.php?board=3;action=display;threadid=6741)

Cheers

Joe

 :)
Title: Re:Does Lazarus dislike spaces in path?
Post by: rampy on April 20, 2003, 10:55:33 am
I moved my MAME folder under "my documents", & updated all the appropriate files.(I hope)

Anyway, Lazarus starts up fine & loads of the game list.  When I try to load a game nothing happens though.  If I exit & look at the log file & see what I guess is the last command line that it executed.  i.e. "mame.exe d:\my docuements\mame\roms\...".  If I type that into a command prompt mame errors out.  

I guess my question is if Lazarus(and other FE's) can try to put quotes around paths?

My very general suggestion is to get your mame working from the command line first... If mame doesn't work from the command line, nothing in Lazarus is going to get it to fire up from there (well it'd be highly unlikely)  did you move MAME.exe (And folders) or just the roms... ?

Also, hopefully that typo above is just on the message board and not in your laz configs...

My non-laz specific suggestion is to check your mame.ini in order...  you shouldn't *need* to pass the full rom path like you are doing (HC if i'm wrong, please correct me)

*shrug* good luck!

rampy
Title: Re:Does Lazarus dislike spaces in path?
Post by: Howard_Casto on April 20, 2003, 05:12:22 pm
Lazarus has no problem with spaces nor does mame.  Windows 98/95, however sometimes does.  If it isn't working in the command line then it's a command line issue.  

Also rampy is right, the short solution is to simply add all the paths in your mame.ini as well and turn off the send path option for mame.  A new feature that dxlaz will have requires this, as a matter of fact.  
Title: Re:Does Lazarus dislike spaces in path?
Post by: Chazz on April 20, 2003, 06:17:51 pm
I noticed that the 'List Generator' will not work with spaces.  'Neogeo Xtreme' does not work, but 'NeogeoXtreme' works fine.  I had this problem myself.
Title: Re:Does Lazarus dislike spaces in path?
Post by: Howard_Casto on April 20, 2003, 07:09:13 pm
The list generator works fine with spaces (i know because my path has about a thousand), but it calls mame to help generate the list.  So mame cannot be in a directory with spaces, but lazarus certainly can. In other words all will be well, just keep mame and your roms out of directories with spaces in them.  

I hate to be harsh guys, but mame was originally a dos program, and you should treat it as such.  Keep your emu-related paths clear of spaces.  
Title: Re:Does Lazarus dislike spaces in path?
Post by: BASSOFeeSH on April 21, 2003, 09:35:49 am
hmmn

Thanks  :)
Title: Re:Does Lazarus dislike spaces in path?
Post by: wee beastie on April 21, 2003, 01:53:42 pm
Call me crazy, but can't he just use "my_doc~1" instead of "my documents"?  This has always fixed similar problems for me on my win98 cabinet.
Title: Re:Does Lazarus dislike spaces in path?
Post by: BASSOFeeSH on April 21, 2003, 02:30:31 pm
I'm using XP w/ NTFS, but I'll give it a try when I get home.
Title: Re:Does Lazarus dislike spaces in path?
Post by: Howard_Casto on April 21, 2003, 06:49:37 pm
Yes this will also work, but short path names can only be passed through my generic command line wrapper.  I may add this code as default for mame games thought as it doesn't hurt to pass the short path at all.