Feature #10941

Replace linux server generated forward slashes with backslashes in modstring

Added by PromQueen over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:05/31/2010
Priority:Normal Due date:
Assignee:Yoma % Done:

100%

Category:Launch game
Target version:2010_04_24 1.0.61 Beta

Description

I have been having an issue with addonsync and the following modstring

@CBA;@mma;@mma_xeh;x/caa1/ArmA_PlantsClassic;x/caa1/ArmA_Campaign_Animation;x/caa1/ArmA_Objects;x/caa1/ArmA_ObjectsCTI;x/caa1/ArmA_VehicleFeatures;x/caa1/ArmA_Vehicles;x/caa1/ArmA_WorldIntros;x/caa1/ArmA_Worlds;x/caa1/Extra_Worlds;x/caa1/QG_Objects;x/caa1/QG_Worlds;x/oac/oac_core

I always get
"Cannot open file 'x/oac/oac_core\addons\oac_core.pbo'" returned from arma when i launch

The server im running has the modstring of..
-mod=@CBA;@warfx;@mma;@mma_xeh;x\caa1\ArmA_PlantsClassic;x\caa1\ArmA_Campaign_Animation;x\caa1\ArmA_Objects;x\caa1\ArmA_ObjectsCTI;x\caa1\ArmA_VehicleFeatures;x\caa1\ArmA_Vehicles;x\caa1\ArmA_WorldIntros;x\caa1\ArmA_Worlds;x\caa1\Extra_Worlds;x\caa1\QG_Objects;x\caa1\QG_Worlds;x\oac\oac_core

I am filing this as urgent due to the fact that it seems nobody can use addonsync with the CAA1 project? please correct me if i am wrong, but i have verified with another person that they are having this issue as well.

Windows 7 x64
Addonsync 1.0.60.0

Thanks

History

Updated by Yoma over 4 years ago

  • Category set to Not an AddonSync issue?
  • Assignee set to Yoma
  • Priority changed from Urgent to Normal

I honestly don't think this is an addonsync issue.
Try starting Arma2 using whatever and see if it does not fail.
Probably incompatible version of CAA1 VS Arma2.
Try contact whoever maintaines CAA1 for support.
AddonSync supports the loading of the subfolders just fine.
(Test that with 2/3 subfolders having simple addons, you'll see it works just fine)
i just launched it with


@cba;x\caa1;x\caa1\arma_campaign_animations;x\caa1\arma_objects;x\caa1\arma_objectscti;x\caa1\arma_plantsautumn;
x\caa1\arma_plantsclassic;x\caa1\arma_vehiclefeatures;x\caa1\arma_vehicles;x\caa1\arma_worldintros;
x\caa1\arma_worlds;x\caa1\extra_worlds;x\caa1\qg_objects;x\caa1\qg_worlds;x\oac\oac_core;x\ofpip;


and all i get is some missing texture message which has always been there.

Updated by Yoma over 4 years ago

  • Status changed from New to Feedback

Updated by PromQueen over 4 years ago

Yoma thanks for the reply

im still at a loss here though, when i use addonsync and monitor it with processexplorer

it launches arma like this
"C:\program files (x86)\steam\steamapps\common\arma 2\Arma2.exe" "-connect=68.109.148.130" -port=2302 "-mod=@CBA;@warfx;@mma;@mma_xeh;x/caa1/ArmA_PlantsClassic;x/caa1/ArmA_Campaign_Animation;x/caa1/ArmA_Objects;x/caa1/ArmA_ObjectsCTI;x/caa1/ArmA_VehicleFeatures;x/caa1/ArmA_Vehicles;x/caa1/ArmA_WorldIntros;x/caa1/ArmA_Worlds;x/caa1/Extra_Worlds;x/caa1/QG_Objects;x/caa1/QG_Worlds;x/oac/oac_core"

now if i change the / to \

"C:\program files (x86)\steam\steamapps\common\arma 2\Arma2.exe" "-connect=68.109.148.130" -port=2302 "-mod=@CBA;@warfx;@mma;@mma_xeh;x\caa1\ArmA_PlantsClassic;x\caa1\ArmA_Campaign_Animation;x\caa1\ArmA_Objects;x\caa1\ArmA_ObjectsCTI;x\caa1\ArmA_VehicleFeatures;x\caa1\ArmA_Vehicles;x\caa1\ArmA_WorldIntros;x\caa1\ArmA_Worlds;x\caa1\Extra_Worlds;x\caa1\QG_Objects;x\caa1\QG_Worlds;x\oac\oac_core"

it loads without issue?

Updated by Yoma over 4 years ago

Well then probably you have it with forward slashes in the launch box too?
This shouldn't happen when you manually tick the addons in a modset, but may have happened if you've guessed the modstring on a linux server? Maybe Arma 2 reports the loaded mods in subfolders with forward slashes to gamespy.
As linux will use a forward slash directory separator...
I could easily fix this by replacing the forward slashes by backslashes...
Having tested it a bit, i think this is indeed the problem.
If you have your own server you can manuever people around the issue by setting the required addonstring with backslashes.

Updated by PromQueen over 4 years ago

Okay Yoma i looked into this a little more now, so gslist or gamespy is reporting it incorrectly it will change a \ to a / but the udp query to the gameserver always matches the server modstring.

so if i start server with modstrings as \ the udp query will also have \
and if i did / the udp query would use the / seperator

the linux server does allow launching using \ in the mod string which is what i have been doing, so i would call this more of a gamespy issue =/
maybe you could pull the data from your udp query or myabe just force any / to be converted to \ in modstrings?

Updated by PromQueen over 4 years ago

on second thought pulling the string from udp query might not be a good idea if somone starts a linux server using the / .. so i would think just a simple replace of / to \ in the modstrings would work fine

Updated by Yoma over 4 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from CAA1 Modstring strangeness to Replace linux server generated forward slashes with backslashes in modstring
  • Category changed from Not an AddonSync issue? to Launch game
  • Status changed from Feedback to Resolved
  • Target version set to 2010_04_24 1.0.61 Beta

Updated by Yoma over 4 years ago

  • % Done changed from 0 to 100

Updated by Yoma over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF