C# Video Game Launcher
I got that working, but back to the Check Box List- This is a windows application - using the Settings to save user settings - how would I code it to save the selected check items.If you remember the...
View ArticleC# Video Game Launcher
Okay - I've added a section on the launcher for the user to select their default (game path) - Now I would like the launcher to save user settings (last check boxes, plus that browsed game path they...
View ArticleC# Video Game Launcher
sorry, I've never used ClickOnce, I cant help youhttps://fraktalysator.codeplex.com
View ArticleC# Video Game Launcher
I tried that and ClickOnce did not like the mainifest file with the <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />Debug displays an error - 'ClickOnce does not support...
View ArticleC# Video Game Launcher
I think (altough Im not sure) the only way to modify anything inside the program files directory, your process needs admin rights. So either the user right clicks your app and selects "run as admin" to...
View ArticleC# Video Game Launcher
Okay then what about this.Since I am using ClickOnce to update the launcher. How do I give the launcher permission to create, edit, delete, over wright insisting folders/files in the C:\Program...
View ArticleC# Video Game Launcher
That question is too generic. Try something yourself, bing it first, maybe you find code in c or c++ you can take a look at and then, if you run into specific problems, come back and ask questions...
View ArticleC# Video Game Launcher
Thanks that works great!Next question is, what is the best way to sync files from a server to a user's mod folder
View ArticleC# Video Game Launcher
replacestring selectedMods;withstringselectedMods = string.Empty;selectedMods += "some text" actually means selectedMods = selectedMods + "some text". Or in words: Append "some text" to the current...
View ArticleC# Video Game Launcher
string arma3Path; string selectedMods; if (Is64Bit()) // Is 64Bit arma3Path = @"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe"; else // 32Bit Version arma3Path = @"C:\Program...
View ArticleC# Video Game Launcher
In what line do you get this error? Did you accidently remove this line:string selectedMods;?Alsoforeach (string s in ckbxlSMods.CheckedItems) selectedMods = "-mod=" + s + ";";will set selectedMods to...
View ArticleC# Video Game Launcher
if (ckbxlSMods.CheckedItems != null) { foreach (string s in ckbxlSMods.CheckedItems) selectedMods = "-mod=" + s + ";";...
View ArticleC# Video Game Launcher
take a look at the CheckedItems-Property. Don't forget, that the items in the CheckedItems collection are of type 'object', you have to cast them to 'string' to use them as...
View ArticleC# Video Game Launcher
Thanks and it works.My next question is, how do I take the checked mods in that checkboxlist into a launch method.Current one I have is // List 64Bit or 32Bit Version string arma3Path; string...
View ArticleC# Video Game Launcher
no, your listbox is just displaying strings (a series of characters). It does not discriminate between "C:\blablabla\filename.ext" "filename.ext" and "Hello, Im a string containing some random text."....
View ArticleC# Video Game Launcher
Just so we all know, I had to use this to get the liststring[] dirs = Directory.GetDirectories(armaPath, modName);Reason why it was just displaying the 'System.String[]' is because it was looking for...
View ArticleC# Video Game Launcher
Directory.GetFiles returns full paths. If you want just the filenames, you could either do it yourself usingstring.LastIndexOf andstring.Substring or the methods ofSystem.IO.Path...
View ArticleC# Video Game Launcher
Directory.GetFiles returns full paths. If you want just the filenames, you could either do it yourself usingstring.LastIndexOf andstring.Substring or the methods ofSystem.IO.Path...
View ArticleC# Video Game Launcher
Got some news, I did noting new but add the modName = "@*"I finally get an something that is in the game directory -It's displaying the full path so C:\Program Files\Steam\steamapps\common\Arma 3\@Mod1...
View ArticleC# Video Game Launcher
Look, you're going to have to be methodical about debugging this. Your debugger can tell you all this stuff if you step through.You call Directory.GetFiles. So are your arguments valid?Is armaPath...
View ArticleC# Video Game Launcher
Tried it, still same results string armaPath; string modName = "@"; if (Is64Bit()) armaPath = @"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\"; else // 32Bit Version armaPath = @"C:\Program...
View ArticleC# Video Game Launcher
I comment the if statement out, and tried a few other things, all are coming up empty - I wonder if it is having an issue with the file name starting with @
View ArticleC# Video Game Launcher
Probably dirs is empty. Try replacing the previous ‘if (Is64Bit())’ with‘if ( ! Is64Bit())’.
View ArticleC# Video Game Launcher
Tried it, still same results string armaPath; string modName = "@"; if (Is64Bit()) armaPath = @"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\"; else // 32Bit Version armaPath = @"C:\Program...
View ArticleC# Video Game Launcher
string arma3Path; string selectedMods; if (Is64Bit()) // Is 64Bit arma3Path = @"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe"; else arma3Path = @"C:\Program...
View ArticleC# Video Game Launcher
Since dirs is a collection, then try a loop like this:foreach( var f in dirs ) ckbxlSMods.Items.Add( f, false );
View ArticleC# Video Game Launcher
Hi LaocheXe,Does your application meet your requirement? Have you checked if it could launch the game properly? I think it is most suitable for you as long as it could do what you want. The next thing...
View ArticleC# Video Game Launcher
Hello All,I'm working on a launcher for Arma 3 - that allows the users to launch the game with or with out mods, I have it mostly hard coded right now for the mods, but I am trying to change that.This...
View Article
More Pages to Explore .....