Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Support #8

Open
RobLoach opened this issue Feb 3, 2017 · 3 comments
Open

Windows Support #8

RobLoach opened this issue Feb 3, 2017 · 3 comments

Comments

@RobLoach
Copy link
Owner

RobLoach commented Feb 3, 2017

Get libretro-dolphin-launcher working on Windows.

Dolphin.exe
@RobLoach
Copy link
Owner Author

RobLoach commented Jun 5, 2017

BetaLeaf suggests waiting for the official libretro port over at #12

@GhostEye85
Copy link

I realize it's been a very long time since this was an active project, but I wanted to chime in here to say that I was able to successfully get this running in Windows. I landed here after looking for alternatives to the standard Dolphin core for RetroArch, mainly b/c that core still lacks a lot of features, and doesn't really work all that well in certain environments. ANYWAY, here's what I did:

  1. Installed MYSYS64 - a linux style console for windows
  2. Installed a version of make and gcc for use with MYSYS64 (you need these so you can compile the source project)
  3. Followed the instructions outlined in this project to compile. When this is done on a windows platform the resulting file is a dll that can be added as an RA core.
  4. After some testing/debugging in RA, I went back to the source file and modified it slightly to call a batch file instead of directly launching Dolphin, recompiled, etc. (literally only had to change one string in the file to make this work)
    strcpy(command, "dolphin-emu"); replace dolphin-emu with the name of your batch file. (ex. "launch-dolphin.bat")
    If that's all you modify, the game that you launch from RA will have its full path passed to your batch file as argument 3.
    My batch file looks something like this:
echo off 
set arg1=%3
start /b "" "[YOUR FULL PATH TO DOLPHIN EXE]" -b -e %arg1%
  1. Created the expected batch file and placed it in the folder where the RetroArch executable is located (need to do this so RA can see the batch file). I also played around with a PATH variable, but ultimately the batch file was a much more versatile approach.

You could really use this core to launch pretty much anything you wanted from RA, wouldn't have to be limited to Dolphin or even an emulator.

There are tons of resources available on the internet for how to accomplish all of these steps, but I wanted to at least outline the process I used for anyone who happens to stumble across this amazing project and wants to give it a try. Cheers!

@RobLoach
Copy link
Owner Author

RobLoach commented Jan 9, 2025

Thanks for the share! If there are any code changes you think would benefit others, I'd love to bring them in. Even documentation about Windows usage is always good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants