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: Lazarus Long Filename Question...  (Read 1613 times)

0 Members and 1 Guest are viewing this topic.

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Lazarus Long Filename Question...
« on: November 28, 2002, 11:17:10 pm »
I'm finally getting around to playing with Laz 4.5, and I really dig it!

Just one thing (so far) that I see that might be a missing feature or just something I don't know how to use yet...

I need the ability to surround my rom name with double quotes, since some Windows emulators that I'm trying to use don't like long filenames being sent in the command line without quotes around them.

Is there a way I can do that in the cfg file or if not, could you add that as an option for .cfg files, Howard?

Great work!!!!!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:June 20, 2025, 12:57:54 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus Long Filename Question...
« Reply #1 on: November 28, 2002, 11:19:22 pm »
if you use the command line wrapper it has the option to send short file names.  :)  Many people use it simply for that minus the translator entries.  

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:Lazarus Long Filename Question...
« Reply #2 on: November 29, 2002, 10:21:52 am »
Howard,

Thanks for your reply.

Unfortunately, it's still not working.  

I can still tell from the log that Lazarus is sending the full romname (not abbreviated) even though I set that option to "1" in the cmd-launch wrapper.

Also, that particular emulator uses the F10 key to exit.  If I want say, the #4 key to exit, how do I set that up?  I checked the documentation but I couldn't find that information anywhere.  Either I need to have Lazarus remap 4 to send an "F10", or I need to tell Lazarus that when it sees a 4 to automatically kill the Mekaw task.

I tried using -keyx 100 as a command line option but that didn't seem to take.

By the way, does cmd-launch 2.0 need the "handles" section at all?  I noticed it wasn't used in the lconfig.ini in 2.0, just in 1.0.

I'm doing all this testing with the 2.0 wrapper, by the way.

I'm trying to do this with Meka for Windows, if that matters.

Thanks for any assistance, I know you don't officially support these so feel free to ignore! :)


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:June 20, 2025, 12:57:54 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus Long Filename Question...
« Reply #3 on: November 29, 2002, 12:11:56 pm »
lazarus has to send the full file name to the wrapper.  It's the wrapper that converts it.  

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:Lazarus Long Filename Question...
« Reply #4 on: November 29, 2002, 02:12:09 pm »
Okay, then my followup - Is there a way I can track what the wrapper is sending to the emu?  I will try the debuggable version then, thanks!

What about my other question on exit keys?  Any insight there?  Is what I want to do even possible?

Thanks Howard.


bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:Lazarus Long Filename Question...
« Reply #5 on: November 29, 2002, 02:26:32 pm »
Still not loading the rom, it only loads the emulator itself.  I verified command line works for it in a DOS box.  Could this just be an emu that doesn't work with the wrapper?

Here is parsinglog.txt:

opening log
parsing command line
preparing for launch
launched
mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
the exe is currently mekaw.exe
going to end mode 1573288 |cmd-launchdebug.exe| |mekaw.exe|
exiting

Here is lconfig.ini (comments removed for space):

delimeter=--
{cmdlist}
{/cmdlist}
exe=mekaw.exe
Short=1
refreshspeed=300

Here is sega.cfg:

extension=.zip
path=E:\sega\
exe=cmd-launchdebug.exe
send rom path=1
send exit keys=0
command line options; -keyx 100

My exit key which I want to be "4" (the right flipper on my Hotrod se) also isn't working.  Nor is the ROM being sent through the wrapper properly.

Am I doing something wrong or will it just not work?

Thanks,

BDP

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:Lazarus Long Filename Question...
« Reply #6 on: November 29, 2002, 02:50:39 pm »
An update, Howard.

I tried the old command line wrapper with Meka and it worked in loading the ROM.  So there is something about 2.0 that Meka doesn't like.

I also had the keyx wrong.  I had it at 100, it needed to be set at 52.

Meka doesn't like the exit functionality though.  I pressed my "4" and the wrapper tried to kill the process but the graphics just went all crazy and the emu kept running.  Once I exited out the official way (via the F10 key), it went back to Lazarus but there were still some graphic glitches, mostly with the mouse pointer.

Just FYI.  Again this was with .64b, Meka for Windows.

If you care. :)  I know you said it's hit or miss with emulators and the command line wrapper.  I just wanted to keep you informed on which emus work, and which don't.

BDP

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:June 20, 2025, 12:57:54 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus Long Filename Question...
« Reply #7 on: November 29, 2002, 04:56:05 pm »
Since there have been a few problems with the 2.0 wrapper lately I open up the source just for the heck of it.  I found a few bugs which would definately cause problems with certain combinations.  The reason I didn't see them is because I use arcade emus only, and these combinations don't show up for them.  :)

generic command line wrapper version 3.0 should be out soon, which also will allow you to set the launch style in the wrapper, so you don't have to do it for every game laz launches.  

The exiting deal probably will never be 100% though, there are just too many variables and some emus launch a bunch of garbage on top of their own exe which makes it difficult to know what to close.    

bdp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:July 28, 2005, 08:27:30 am
  • I'm a llama!
Re:Lazarus Long Filename Question...
« Reply #8 on: November 29, 2002, 08:38:46 pm »
No problem, Howard, thanks for your continued work.  I'll try 3.0 again with Meka when it comes out, and let you know if it works any better with it.  Until then, I'll just see if the creators of Meka are willing to work a remappable exit key into their emu. :)

Thanks!

BDP