MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

PC-FX INI File and Commandline Options

 
Post new topic   Reply to topic    MagicEngine Forum Index -> General
View previous topic :: View next topic  
Author Message
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Mon Dec 25, 2006 9:16 pm    Post subject: PC-FX INI File and Commandline Options Reply with quote

Nice job on the emu! I am running the new emu from a front-end. Here is what I am doing.

I manually mount the Image in Daemon Tools

Here is the entry from my log file:

[CD-ROM INIT]
scanning drives...
- drive D: SONY CD-ROM CDU5221 (port=0, unit=0) [CDROM]
- drive F: Generic DVD-ROM (port=3, unit=0) [CDROM]
- drive G: GS2142X BEI133N (port=4, unit=0) [CDROM]
found 3 CD-ROM drive(s)

and here are the CD settings I am using in my INI file:

[cdrom]

;
; CD-ROM drive
; --
; 1 -> first CD-ROM drive [default]
; 2 -> second CD-ROM drive
; ...
;

drive=2

;
; CD-ROM drive letter
; --
; (Windows 2000/XP only)
;
; D:
; E:
; ...
;

drive_letter=F:

However it doesn't see the image. I am launching the emu with this command:

pcfx.exe "c:\magicengine_fx\images\angelique special.cue"

I shouldn't really need the image string since the image is already mounted but I am also having issues exiting with the ESC key when my INI file is set to "0" so I am trying to send a complete commandline string, including game, in hopes it will recognize it as a commandline string and exit with the ESC key.

However, when I run the above string it just launches with the main menu showing. If I hit ESC the menu disappears. If I then press ESC again, the emu exits.

If I select Boot CD and then the F drive from the menu the game plays perfectly. It just won't find it with my INI file settings. It must be something simple I am missing.

What am I missing here?,
John
Back to top
View user's profile Send private message Visit poster's website
Kaminari
Elder
Elder


Joined: 19 Apr 2002
Posts: 1432
Location: Paris, France

PostPosted: Tue Dec 26, 2006 12:34 pm    Post subject: Reply with quote

Specify either the driver number (under Win9x) or the driver letter (under WinNT), but don't use both. Additionally, I don't know if MEFX supports CLI options right now.
_________________
Kaminarimon HES Music Archive | Tokugawa Corporation | YouTube Channel
Back to top
View user's profile Send private message Visit poster's website
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Tue Dec 26, 2006 12:56 pm    Post subject: Reply with quote

Been there, done that. It does not fix the issue. Any more ideas? Why does it not support CLI yet? A little more feedback .... I have now tried it on 3 seperate systems with the same results.

Thanks,
John
Back to top
View user's profile Send private message Visit poster's website
Kaminari
Elder
Elder


Joined: 19 Apr 2002
Posts: 1432
Location: Paris, France

PostPosted: Tue Dec 26, 2006 2:55 pm    Post subject: Re: PC-FX INI File and Commandline Options Reply with quote

jcrouse wrote:
pcfx.exe "c:\magicengine_fx\images\angelique special.cue"


As you found out, ME and MEFX don't support ISO or cuesheet files. You need to mount your image with a virtual drive.

In ME 1.0, you can launch a CD game directly from the CLI by running the emu with a System Card (eg. pce.exe syscard3.pce). But in MEFX, this won't work because the emulator doesn't use any external BIOS file. Right now there's nothing you can do to autoboot an FX game from the CLI, but maybe David will have a look at it.
_________________
Kaminarimon HES Music Archive | Tokugawa Corporation | YouTube Channel
Back to top
View user's profile Send private message Visit poster's website
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Tue Dec 26, 2006 3:06 pm    Post subject: Re: PC-FX INI File and Commandline Options Reply with quote

Kaminari wrote:
jcrouse wrote:
pcfx.exe "c:\magicengine_fx\images\angelique special.cue"


As you found out, ME and MEFX don't support ISO or cuesheet files. You need to mount your image with a virtual drive.

In ME 1.0, you can launch a CD game directly from the CLI by running the emu with a System Card (eg. pce.exe syscard3.pce). But in MEFX, this won't work because the emulator doesn't use any external BIOS file. Right now there's nothing you can do to autoboot an FX game from the CLI, but maybe David will have a look at it.


Yes, my finding exactly. I sure hope he adds it. It is really essential for all of us cabinet users. I would have to think he plans on it or the ESC option 0 would be a moot point and it already exists in the INI file.

Thanks for the reply,
John

PS .... Time to write a CLI wrapper Smile


Last edited by jcrouse on Tue Dec 26, 2006 3:07 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Tue Dec 26, 2006 3:07 pm    Post subject: Reply with quote

There's a '-cd' command line option in MEFX to directly boot a CD but it's currently disabled (there's a little bug). I will release a little update today or tomorrow, I will try to fix that.
_________________
David Michel
Back to top
View user's profile Send private message
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Tue Dec 26, 2006 3:08 pm    Post subject: Reply with quote

dmichel wrote:
There's a '-cd' command line option in MEFX to directly boot a CD but it's currently disabled (there's a little bug). I will release a little update today or tomorrow, I will try to fix that.


AWESOME !!!!! Me waits anxiously. Also, is there a list of the CLI options somewhere?

Thanks,
John
Back to top
View user's profile Send private message Visit poster's website
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Tue Dec 26, 2006 3:23 pm    Post subject: Reply with quote

'-cd' is the only option. Smile
_________________
David Michel
Back to top
View user's profile Send private message
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Tue Dec 26, 2006 3:39 pm    Post subject: Reply with quote

dmichel wrote:
'-cd' is the only option. Smile


I take it the commandline will look like so:

C:\MagicEngineFX\pcfx.ex -cd

Let me know if you need any testing done for cabinet users.

Thanks,
John
Back to top
View user's profile Send private message Visit poster's website
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Thu Dec 28, 2006 11:31 pm    Post subject: Reply with quote

Yes, -cd or -cd:E with a drive letter.

It may take me a few more days though, my PC decided to not boot anymore so I'm currently re-installing Windows, I had forgotten how a pain it was. Razz

About your game cabinet, what's the joystick? If it's an X-Arcade I would be curious to know if the X-Arcade keyboard setting in MEFX works ok.
_________________
David Michel
Back to top
View user's profile Send private message
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Fri Dec 29, 2006 12:43 am    Post subject: Joystick Reply with quote

Unfortunately for testing it is simply a keyboard encoder, an Ultimarc MinIpac.

I will wait patiently,
John
Back to top
View user's profile Send private message Visit poster's website
jcrouse
Visitor
Visitor


Joined: 22 Mar 2005
Posts: 15
Location: Grand Rapids, MI USA

PostPosted: Wed Jan 03, 2007 6:58 pm    Post subject: -CD commandline option and ESC options Reply with quote

Everything seems to be working great.

Nice job,
John
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group