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

need a quick advise with zinc and bluetooth from a programmer


Recommended Posts

Posted

hey guys,

as i mentioned before zinc and bluetooth don't like each other. bluetooth installs a new hid device in the gamecontroller menu and this refuses the winterblast input plugin to work.

now i found out i can pause the bluetooth service with the command "sc pause BlueSoleilCS" and continue it with sc continue BlueSoleilCS". now i wanted to tell gameex to start a batch file to run the pause command before zinc and continue it after zinc emulator exits.

but the launch before / after option is only availibe with other emulators but not in the zinc configuration. in the zinc configuration i tried toreplace the zinc.exe with the bat but gameex doesn't start tells me zinc needs to be an exe file.

what i tried next was setting up zinc as an emulator and using bryans batch files with it. i modified all the batch files to pause bluetooth first. it works not using gameex but not vice versa. and it would be nicer anyway to launch 3d games with zinc from inside the mame list.

so i would basically need an exe file that pauses bluetooth with the command above and then starts zinc

since i'm not a programmer i thought maybe someone could help me on this one :rolleyes:

Posted

One option is to use an AHK script that will launch Zinc for you. Basically what you would do is have the script set up to:

1) call command to pause

2) launch Zinc

3) wait for Zinc to exit

4) call command to unpause

The script would have to take the command line arguments from GameEx and pass them on to the Zinc OR you need to remove the command line arguments from GameEx and put them in the command line when you launch the game. The thing you will need is a way to capture the game that's being called (a number) and pass that on your step 2. Also, you will need to have the script compiled to an exe as GameEx will complain otherwise.

This is basically the same thing I did with the MAME_Loader script I posted a while back.

Posted

i looked into your mame_loader script, but didn't quite figure out what to change....

i guess i have to do the following:

- create a zinc.txt with all the yinc romname in there

- modify the script to point to zinc.exe and zinc.txt

- add the command for pause and continue service

how can i add batch command lines into the ahk script?

Guest
This topic is now closed to further replies.
×
×
  • Create New...