Jump to content
Sign in to follow this  
haz_ah

Trouble making a batch file to run DayZ

Recommended Posts

Hi,

I'm trying to make my own batch file to run DayZ. I can play it normally, but I'm doing this to experiment.

Here is my code:


@ECHO OFF
ECHO Launching DayZ
SET CUSTOM_PATH=C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead
START "" "%CUSTOM_PATH%\Expansion\beta\ARMA2OA.exe" -world=chernarus -nosplash -mod=@dayz
pause>nul

However when I run this I get two error messages:

  1. No entry '.profilePathDefault'.
  2. Shaders not valid (mismatch of exe and data?)

I'm sure this is something to do with the path I have used or the startup parameter for dayz.

If someone has had experience with this and could advise me on what to do next it would be greatly appreciated.

Thanks.

Share this post


Link to post
Share on other sites

inb4 someone says "why not use the six launcher"

Other than that, Google is your friend.

I can already run the game fine, I was just interested in trying to make a batch file to run it :)

Share this post


Link to post
Share on other sites

then you might want to do some research, i'm just going to go out on a limb and say your batch file isn't launching x amount of things the exe is launching because your running through a batch. i'd search on google about running batch files for games.

http://arstechnica.c...ba043#p22851582

http://dayzmod.com/f...nstalling-dayz/

etc... etc... google + trial and error.

i know i'm probably wrong on a few things, but there's a lot out there with batch files and i know games run differently since most the exe's work adds many things because it's automaticly done rather than a batch file that filters out many things.

Edited by Inspector_Gadget

Share this post


Link to post
Share on other sites

then you might want to do some research, i'm just going to go out on a limb and say your batch file isn't launching x amount of things the exe is launching because your running through a batch. i'd search on google about running batch files for games.

http://arstechnica.c...ba043#p22851582

http://dayzmod.com/f...nstalling-dayz/

etc... etc... google + trial and error.

i know i'm probably wrong on a few things, but there's a lot out there with batch files and i know games run differently since most the exe's work adds many things because it's automaticly done rather than a batch file that filters out many things.

Thanks I'll look into the first link.

By the way, the second link is a script made by Worrom I believe. I think that guy (atojar) is taking credit for someone elses work. Though, I may be wrong as I didn't read the full post and replies.

Edited by Haz

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×