forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

commandline problems

I am trying to set up a DS2: BW shortcut to look for mods in the original places but also in a designated folder.
This is the structure:
I:\My Games\Modded
-Keys
-Logs
-Save
-Screenshots
-Mods
-Maps

This is what I have written into the shortcut's "Target"-field.
"E:\games\Dungeon Siege 2 Broken World\DungeonSiege2.exe" user_path="I:\My Games\Modded" res_paths="I:\My Games\Modded\Mods" fullscreen=false

It generates this error however:

Dungeon Siege II Critical Error
Some resource files haven't been copied to the hard disk (or I can't find them), 
which prevents Dungeon Siege II from running.

It's possible that some files have been accidentally deleted or corrupted, or a 
patch procedure has failed. Please reinstall from the CD to resolve this issue, 
or contact 2K games technical support for further help.

If I exclude res_paths="" everything works fine and all characters are saved under I:\My Games\Modded\Save.
I noticed that if I put maps in the folder "Maps" they will appear in the game, without using map_paths="".
It doesn't work like that with the "Mods"-folder however. :/

I had this working before but don't remember how I did it, or where I found the information.

I have been using this page right now: http://herenaforge.org/tiki-index.php?page=Command-Line%20Switches

Could someone test using res_paths to see if it works with the BW executable?

All my registry keys seem to be correct btw and both game executables work without any problems if run with no commandline.

volkan's picture

I think I'm gonna like it here :yahoo: Site is very entertaining and :sun: asks a lot of questions that help me learn new stuff :dance3:

I blame a poor memory, but I am glad someone is benefiting from it! :goofy: ^^

:dance1: :dance2:

Edit: I've narrowed the problem down a bit. If I copy all the resources from the Dungeon Siege install, but not from the Broken World install, to the Mods folder then the game loads up and my own mods in that folder are loaded as well. So it is my DS2 resources that the game can't find, even though the registry key is there.

Sharkull's picture

I never tried this myself, but I do remember someone posting grumbles a long time ago that BW didn't like certain target line switches... I guess you've come upon the same problem.

Hmm I could have sworn I had it working when I was working on Forrester. Perhaps not then.

map_paths works fine btw.

You have to add the path to DS2 resources in the res_paths like this:
res_paths="I:\My Games\Modded\Mods";"C:\Program Files\Microsoft Games\Dungeon Siege 2\resources"
Change the path for the DS2 resources to your computer's DS2 path.

Dan

Thanks, I will play around with that when I get home.

I played around with it but could not get it to work. :/
I tried using a "," and a ":" instead of a ";" to separate the two paths but no luck. and just having a " around both paths as expected didn't work as well. DS can't parse the paths and I get a Critical Error.
Adding two res_paths won't work either.

Well it's should work no space allowed outside quotes, only between commands and in quotes. Dont use user_path with the res_paths, that dont work for me.

But you can use another trick go to siegecore to this tread:

link

Instead of the res_paths= use configfile=your_ini where your_ini is the name of the path of your new ini file for Broken World. I leave mine in the original directory and it work great.

Dan

Thanks Dan. I need the user_path to seperate my saves and screenshots as well.
But that ini file will do the trick.
Life seems much easier now. Smile

Edit: Yup, that sure did the trick. Thanks again.