• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 661 662 663 664 665 ... 1175 Next »

Having Trouble Setting Up Individial Batch Files for ROMs
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Having Trouble Setting Up Individial Batch Files for ROMs
10-19-2012, 07:33 PM
#1
Razwerkz
Unregistered
 
I have tried what JackyCola has posted in this thread, but it didn't exactly work for me.

Here's the exact batch contents I have composed:

Code:
start /realtime "D:\Program Files\Emulators\Dolphin\dolphin.exe" "--exec=D:\Program Files\Emulators\All Games\GCN\s3-zeltw.gcm" --batch

The batch is right next to the ROM in the GCN folder.

What am I doing wrong here? Thanks in advance for your help.

EDIT: Here, have a CMD screenie.

[Image: 1rwvba.png]
Reply
10-20-2012, 01:34 AM
#2
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
You shouldn't keep Dolphin in a folder like Program Files. You might not have enough of the permissions you need to fully use the emulator.

Put everything on the desktop (or any other user-owned folder) and try it then.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-20-2012, 02:05 AM
#3
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,475
Threads: 54
Joined: Dec 2011
The text is garbled in your screenshot. There are some random characters prefixed to "start". That might be your problem. Make sure the command is "start" and not something else. Perhaps you copy + pasted the text into the CLI and some of the characters were of a different encoding or something.
Website Find
Reply
10-20-2012, 01:24 PM
#4
Razwerkz
Unregistered
 
(10-20-2012, 01:34 AM)Axxer Wrote: You shouldn't keep Dolphin in a folder like Program Files. You might not have enough of the permissions you need to fully use the emulator.

Put everything on the desktop (or any other user-owned folder) and try it then.

I do this for consistency purposes. That is, I don't ever keep programs outside of Program Files. But I'll try it and see if that's the issue.

(10-20-2012, 02:05 AM)Shonumi Wrote: The text is garbled in your screenshot. There are some random characters prefixed to "start". That might be your problem. Make sure the command is "start" and not something else. Perhaps you copy + pasted the text into the CLI and some of the characters were of a different encoding or something.

I noticed that too--that's why I posted the screenshot. I typed everything out except for the paths themselves. I'm not sure why the weird scribble is there in front of "start" in the output.
Reply
10-20-2012, 01:33 PM
#5
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
Try text editing the batch file again to loom for any oddities with the command (like garbled text before start).

How are text documents formatted, again? Is it just a bunch of chars encoded as bytes or does it have a header? Hex editing one of these things to delete a couple of chars would be fun.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-20-2012, 01:37 PM (This post was last modified: 10-20-2012, 01:41 PM by LPFaint99.)
#6
LPFaint99 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 531
Threads: 4
Joined: Mar 2009
your file is encoded in UTF-8. the strange characters are the BOM.
write your bat file in plain old notepad, and save to a new file. or change the encoding with notepad

EDIT- looking at notepad, you can just set the encoding to ANSI in the Save As Dialog
Find
Reply
10-20-2012, 01:53 PM
#7
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
Laaaaaame. That's boring.

Do what LPFaint said.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-20-2012, 02:54 PM
#8
Razwerkz
Unregistered
 
(10-20-2012, 01:37 PM)LPFaint99 Wrote: your file is encoded in UTF-8. the strange characters are the BOM.
write your bat file in plain old notepad, and save to a new file. or change the encoding with notepad

EDIT- looking at notepad, you can just set the encoding to ANSI in the Save As Dialog

Well, that solved most of the problem.

Now it says it can't find "--exec=D:\Program Files\Emulators\All Games\GCN\s3-zeltw.gcm". It's apparently identifying the --exec handle as part of the directory now.

Here's another screenie.

[Image: 9jm4xf.png]
Reply
10-20-2012, 03:36 PM
#9
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
That's because the quote should go after --exec=, so you should have

--exec="D:/path/to/iso"
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-20-2012, 11:20 PM (This post was last modified: 10-20-2012, 11:53 PM by Garteal.)
#10
Garteal Offline
「Lab Mem. 004」
********
Global Moderators
Posts: 2,095
Threads: 24
Joined: Aug 2011
I've written a batch file that should be a bit more user-friendly and extensive than Jacky's version.

All you have to do is:
1. Open notepad
2. Copy the code below to a blank notepad
3. Set your directories to the emulator executable and game iso
4. Set the emulator name and name of the game you want to play
5. Uncomment the back-end you want to use
6. Save the file and run it

Code:
echo off

::Enter the emulator executable name including the filetype
set Emulator=Dolphin.exe

::Enter the game you would like to play including the filetype
set Game=Super Mario Galaxy.iso

::Enter the full path of the directory of your emulator
set EmulatorDirectory=D:\Emulation\GCWii\Emulator\Dolphin 3.0\dolphin-3.0-win64\

::Enter the full path of the game location
set GameDirectory=D:\Emulation\GCWii\ISOs\Wii\

::Uncomment (remove the ::'s) for the back-end you want to use
::Comment (add the ::'s infront of the line) everything else
::set BackEnd=OpenGL
set BackEnd=Direct3D9
::set BackEnd=Direct3D11

::DO NOT MODIFY UNLESS YOU KNOW WHAT YOU'RE DOING!
set LaunchEmulator=%EmulatorDirectory%%Emulator%
set LaunchGame=%GameDirectory%%Game%

start "" ^"%LaunchEmulator%^" /V ^"%BackEnd%^" /e ^"%LaunchGame%^" /b
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode