Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted
  On 9/4/2015 at 4:13 AM, RIP-Felix said:

is the batch file necessary?

if so, is it literally "echo|set/p=%~1|clip" as the only text in the *.bat? It goes in the working path directory, right?

Lastly, what does VK_F & VK_V represent? I'm guessing Control + F, and Control +V, but not sure.

yup

yup,yup

[MENU, VK_F] opens the file menu,[CONTROL, VK_V] = ctrl+v

Posted

Ok It's working beautyfully, Thanks. For reference here are the settings for anyone interested in doing this for Dolphin.

clipboardpaste.bat (put this batchfile in 2 places on your computer. 1-The Switchdisk directory where the configurator and switchdisk.exe are located. and 2-The working directory of Dolphin where dolphin.exe is located.)

 echo|set/p=%~1|clip

In Dolphin I set:

  • Disk change operation = F10 (this can be whatever you want as long as you change it also in the "send keys before" string. See below)

In SwitchDisc's Emulator Configurator set:

  • Send Keys Before = F10, |100|, MENU, |100| (F10 calls the change disk menu in dolphin, change this to whatever key you set it to, and alt, = "MENU", brings the disc change menu to the front. The timings are optimized for speed)
  • Switchdisc command = clipboardpaste.bat "[ROMPATH]\[ROMFILE]"
  • Send Keys After = [CONTROL, VK_V], |100|, RETURN, |100|, [MENU, RETURN], |100|, [MENU, RETURN] (CONTROL, VK_V pastes the romname into the dialog box, Return hits Ok, MENU+RETURN restores down the screen and the second time it restores fullscreen. This is needed because game window is behind the dolphin emulator window. This brings it to the front.)
Posted

this might give people the wrong idea

clipboardpaste.bat = echo|set/p=%~1|clip in the first line

thay know that this is the way it goes or thay might actualy put

clipboardpaste.bat = echo|set/p=%~1|clip

in the bat file so it should be this

clipboardpaste.bat

echo|set/p=%~1|clip
Posted

Actually, there is one more thing I'd like to do.

Problem:

  • I have my Nintendo Wii/Gamecube roms in different folders. Dolphin defaults to the last folder you browsed to when adding locations for it to add to the game list. If that wasen't the folder containing the game your trying to play it can't find the disc your trying to swich to when you paste the Romname into the open file dialog box.
  • Therefore I need to copy the Rompath\Romname into the clipboard. I see that p=%~1 is for the Romname. So what is it for the Rompath and how would the new batch script look?

EDIT:

I tried p=%`f1 to see if that would return the whole filepath\Romname.ext, but it didn't. I'm not sure if I was doing it right because I think that is correct. At least that's waht this says. I don't really know what I'm doing anyway. Maybe I sould try a different switchdisk command? Perhaps somthing like "[ROMPATH]\[ROMNANE]", then the batch file will copy the whole thing? I tried that too, but it didn't work either. I could have all my gamecube and wii games in the same directory and avoid this trouble altogether, but then GameEX will display wii in the gamecube section and visa versa. I could use the filter. but then I'd have to do it game by game since there's no unifying file extension (at least not all my games are *.gcm or *.wbfs, some wii and GC are *.iso). I'd perfer just pasting the whole filepath\name.ext into the open file dialog box. Besides that is a more complete approach anyway, it eliminates problems like this.

Posted

oh sorry here

clipboardpaste.bat "[ROMPATH]\[ROMFILE]"

i had to change mine to this to get the correct folder names because i compress all my multi disk games and use gameex to open them

no change to the bat file

and the commands are

echo -- not sure what this does

set/p= -- set with option p

%~1 -- this is the var you send it

clip -- this directs it to the clipboard

  • 8 months later...
Posted

Hi everybody! First of all, sorry for my english (i'm italian XP). I was looking for an app that allows me to switch disk in Epsxe, then i found this topic. I download and configure this app, but i have some issue... i'm not sure that i configure it in the right way. This is my log

  Reveal hidden contents

I use Epsxe ver. 2.0.2

I hope you can halp me to solve my problem...

 

Posted

Hi Raven_Kilit  and Welcome to the forums!

Thanks for giving SwitchDisc a shot.  I have to tell you that it's been quite a while since I've looked at the internals of this app.  Having said that I'd be glad to try and assist.  When you have a moment, would you please post the contents of your SwitchDisc.xml?  It's found in your SwitchDisc directory under config\.  Based on your log it appears that your config is empty or that SwitchDisc was launched without command line params (possibly both).

I'll also put this out there.  I used to be a diehard ePSXe user, but these days for the purposes of PlayStation emulation, I've fully converted to using RetroArch and never looked back.  It's such a solid base for emulation and among other things it offers a really slick in built solution for changing discs directly within the interface.  So even as the author of SwitchDisc I currently use RetroArch for this purpose.  Shameful I know.  :o

Posted

Thanks a lot for the fast answer! no shame, i'm sure that you made a great work with switchdisk, i just have to "understand" it  ;-)

This is my switchdisc.xml

  Reveal hidden contents

about the command line, there is a custom command that i have to write for epsxe?

one more question, the problem about the epsxe focus has been solved or not? (again, sorry for my english XD)

Posted

Tutorial: ePSXe & Switchdisc - The ePSXeCutor Method

  Reveal hidden contents
  • Like 1
  • 10 months later...
Posted

I realise this thread is quite old but looks to be a good way to handle games with multiple disc.

In the tutorial above this, I was just wanting to confirm that a .lnk file needs to be made for each disc of the game? Or is a .lnk file made for the first disc and then the other discs in SwitchDisc point to the .bin (for eg) file?

Posted
  On 4/15/2017 at 11:19 AM, whatisk said:

I realise this thread is quite old but looks to be a good way to handle games with multiple disc.

In the tutorial above this, I was just wanting to confirm that a .lnk file needs to be made for each disc of the game? Or is a .lnk file made for the first disc and then the other discs in SwitchDisc point to the .bin (for eg) file?

Expand  

Yeah, every physical disc will need a separate link made in ePSXeCutor and placed into a shortcuts folder that you will point GameEX to (From GE's point of view, they are the games). So, for example, you will need to make 5x *.LNK shortcuts for the five disc of Riven, 4x for Final Fantasy VIII, and so on. This only applies to ePSXe, switchdisk can be used for other multi-disk systems too, but ePSXe needed the above work around.

Tip: it's very important to think about where you want to keep your ROMs (ISO, BIN, etc.). If ever you want to move them or the ePSXe root folders, you'll have to remake all those shortcuts. If you have a large library of PS1 games, that will take a long time. So get it right the first time.

  • Like 1
Posted

Thanks for the clarification.

So in your game list in GameEx you end up with an entry for each disc is that correct?

Would it still work if you put the disc 2, etc links in a subfolder and pointed to them there when configuring SwitchDisc and the discs for each game? Just wondering if it's possible to keep a 'clean' games list.

Posted
  On 4/15/2017 at 10:33 PM, whatisk said:

...Would it still work if you put the disc 2, etc links in a subfolder and pointed to them there when configuring SwitchDisc and the discs for each game? Just wondering if it's possible to keep a 'clean' games list.

Expand  

No, that would be done using "Merge Sets" in the "Advanced Emulator Config" section in GameEX. The main list will just show a list games, then when you enter that game you will choose the disc to start. It originally was designed to keep clones, hacks, and related versions under one listing, but works for this purpose too.

EDIT: to be clear, you want all your *.LNK shortcuts in one folder without subfolders for simplicity. Then use Merge Sets to clean them up. The best way for this to work is to keep the ROM nomenclature (Goodmerge for example). GameEX knows this nomenclature and will correctly map the games into the correct listings (with other cool stuff too, like automatic artwork downloads if you have emumovies, icons, descriptions, and etc.) I used to rename my rom...It was a bad idea.

Posted

Thanks once again!!

Have upgraded my arcade machine PC for the first time in 10+ years. So moving from MAME 0.95 to MAME 0.184 and Mamewah to GameEx. As well as playing around with other emulators obviously. Been a steep learning curve!

Is there something similar to Merge Sets in the MAME config page so that selecting a game will then list the different regions, etc of that game? I had a look but there didn't seem to be one there. Though that is getting a bit off topic for this thread.

Posted
  On 4/15/2017 at 10:56 PM, whatisk said:

Thanks once again!!

Have upgraded my arcade machine PC for the first time in 10+ years. So moving from MAME 0.95 to MAME 0.184 and Mamewah to GameEx. As well as playing around with other emulators obviously. Been a steep learning curve!

Expand  

Yeah my rig is down currently and I've been putting off the headache. So I feel yr pain:o

post-10261-0-60866800-1377242939_thumb.jpg

Oh, BTW I put together a MAME tutorial a while back that you may find useful. Kinda basic, but a good refresher. As for CLRMamePro, god that kicked my butt for years until I finally figured it out. Trick with that is to get the official clean copy of mame from the mame dev team and build the database from that exe. I was trying from other builds and it always failed - it drove me bat disease (rabies) crazy.

Posted

Sweet rig!

  On 4/15/2017 at 11:16 PM, whatisk said:

...Yeah, haven't even considered looking at something to clean up the ROMs like that. Just started from scratch.

Expand  

I assume you mean CMP (ClrMamePro)? Mame requires changes to both Mame itself and Roms, so you have to get rom update packs and use a rom manager like CMP to update your romset to the new version of mame. You can get away with older romsets, since most roms don't change between versions, but the changes pile up over time and the number of unplayable roms increases. This is a useful guide. Good hunting.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...