LC UpdateHelper
#1

Hello

 

I have realized a tool that listen to your LC-Client and save all the changes in a list. If you are finish with your modifications, you can generate the zip-file of your changes for the launcher.

 

Screenshots:

 

Download:

2

 

Important:

My Tool could still contains errors, so please check the created zip allways!

#2
Looks very nice, thanks!

#3

nice idea and thx for the release Smile

 

i guess ur tool listening to the folder and sort out the changet files?

 

and i see u are using Ionic.Zip plz put the .dll to the program or else it could give some errors Smile

 

if u wish i can give u the code how to embedded the dll and extract it to the directory on the start of the tool

#4

Thanks for your feedbaks and your comments Big Grin

 

@HateMe

> thank you very much for the hint with the dll... (i forgot it)

> I uploaded the zip with all the necessary files.

> And i would be very grateful for the code Smile

#5

ok like this u make it extract form the resource for example now the ZipForge.dll

 

first add the dll file to resources and set the settings to it as embedded resource (Eingebettete Ressource)

 

apply this code to Form load

and edit it to ur dll file

 

using System.Reflection;
using System.IO;
...

private void Form1_Load(object sender, EventArgs e)
{
// Edit here
string DllName = "ZipForge.dll";
string resourcephat = "Launcher2_1.Resources.ZipForge.dll";
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

if (File.Exists(DllName) == false)
{
// if the dll is missing it get extrakted
Assembly assembly = Assembly.GetExecutingAssembly();
// Namespace.Resources.Dllfilename.dll
Stream file = assembly.GetManifestResourceStream(resourcephat ); // my resource
BinaryReader bReader = new BinaryReader(file);
FileStream fStream = new FileStream(@System.IO.Path.GetDirectoryName(Application.ExecutablePath) + "\\" + DllName , FileMode.Create); // where i want to copy the resource

using (BinaryWriter bWriter = new BinaryWriter(fStream))
{

bWriter.Write(bReader.ReadBytes((int)file.Length));
bReader.Close();
bWriter.Close();
}
file.Close();
fStream.Close();
}
}

#6
Ty very much, i will add this to the next version Big Grin

#7


Ty very much, i will add this to the next version

you got a new version yet?

#8


you got a new version yet?

No sorry, have no time , but when i have time, i will update it

#9
Anyone can reupload?



Forum Jump:


Users browsing this thread: 1 Guest(s)