I didnt see the feature or option from the thread, but Is it possible or do you intend to add the ability to parse / view the change log.
That way you can see why you really are updating the mod. I enjoy reading the updates for that info, as well as some pretty interesting comments from the commit.
Then why have them as four separate directories?
/confused
Let me rephrase...they are all dependent on SCT. SCT_Options and SCTD_Options are LOD so they have to be seperate addons. SCTD is a seperate addon cause not everyone needs it or wants to use it.
When SCT was added to the SVN, the SVN was not being used at the time as some file distribution method like it is now. Everyone got the files via an SVN client, so the directory structure didn't matter.
I think DeleteBeforeExtracting setting should be set to false as default. Atleast until the zip files created got the right externals. When i made a update today many of my mods stopped working cus they had no externals. If the mods is not deleted before updating atleast the old externals is still there...
oRA2_Buff - Updating to rev 12677
Downloading... done.
- Error:
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at WinAceUpdater.MainForm.DownloadFile(String fileUrl, String localFileName)
at WinAceUpdater.MainForm.DownloadAndExtract(String addonName, Boolean skipExternals, Boolean skipVersionCheck)
Let me rephrase...they are all dependent on SCT. SCT_Options and SCTD_Options are LOD so they have to be seperate addons. SCTD is a seperate addon cause not everyone needs it or wants to use it.
When SCT was added to the SVN, the SVN was not being used at the time as some file distribution method like it is now. Everyone got the files via an SVN client, so the directory structure didn't matter.
Fair enough. So given the way people are using the 'files' site and updater scripts like this one, what would you recommend? I think we should fix something, either clad's zip script or the addons themselves.
I think DeleteBeforeExtracting setting should be set to false as default. Atleast until the zip files created got the right externals. When i made a update today many of my mods stopped working cus they had no externals. If the mods is not deleted before updating atleast the old externals is still there...
Already done in the next version. Also it now uses the Recycle Bin by default so it won't delete things permanently.
...still waiting for the sourceforge page, so i can download the source add some features on myself if you didn't already add them when the page is up ;)
- backup & restore (most important thing for me)
- disable automatic update for specific addons
- some filtering options
- display changlog/installed version/latest version
Awesome, PProvost. Works very slick. I had one error, which may be a problem with the addon's zip file, but otherwise it seemed to update everything beautifully.
TinyTipOptions - Updating to rev 12212
Downloading... done.
Cleaning up existing directory... done.
Extracting ZIP file... done.
- Error:
System.IO.InvalidDataException: Unknown block type. Stream might be corrupted.
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
at ionic.utils.zip.ZipEntry.Extract(String basedir, Boolean overwrite)
at ionic.utils.zip.ZipFile.ExtractAll(String path, Boolean overwriteExisting)
at WinAceUpdater.MainForm.DownloadAndExtract(String addonName, Boolean skipExternals, Boolean skipVersionCheck)
Thanks for this :) It is really quite nice and a former developer on the .NET Framework, it brings a tear to my eye to see any .NET app I actually use!
Another feature request: the ability to sort by "checked" status. This way I can see what addons would be synced at a glance and un-check SCT :D
Awesome, PProvost. Works very slick. I had one error, which may be a problem with the addon's zip file, but otherwise it seemed to update everything beautifully.
TinyTipOptions - Updating to rev 12212
Downloading... done.
Cleaning up existing directory... done.
Extracting ZIP file... done.
- Error:
System.IO.InvalidDataException: Unknown block type. Stream might be corrupted.
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
at ionic.utils.zip.ZipEntry.Extract(String basedir, Boolean overwrite)
at ionic.utils.zip.ZipFile.ExtractAll(String path, Boolean overwriteExisting)
at WinAceUpdater.MainForm.DownloadAndExtract(String addonName, Boolean skipExternals, Boolean skipVersionCheck)
Getting same error as well. But otherwise awesome job! It's just what I've been looking for!
...still waiting for the sourceforge page, so i can download the source add some features on myself if you didn't already add them when the page is up ;)
Also, for those of you who are interested in such things, the source code is available via anonymous SVN.
I've added some new features (RecycleBin and SkipSvnWorkingCopies), fixed some bugs, and have documented it on the wiki (http://www.wowace.com/wiki/WinAceUpdater).
Please continue to post comments/bugs here, or use the tracker on SourceForge. Either way works.
I didnt see the feature or option from the thread, but Is it possible or do you intend to add the ability to parse / view the change log.
That way you can see why you really are updating the mod. I enjoy reading the updates for that info, as well as some pretty interesting comments from the commit.
thanks
Then why have them as four separate directories?
/confused
Let me rephrase...they are all dependent on SCT. SCT_Options and SCTD_Options are LOD so they have to be seperate addons. SCTD is a seperate addon cause not everyone needs it or wants to use it.
When SCT was added to the SVN, the SVN was not being used at the time as some file distribution method like it is now. Everyone got the files via an SVN client, so the directory structure didn't matter.
This updater is great. It's soooooo fast.
I had this little bug:
oRA2_Buff - Updating to rev 12677
Downloading... done.
- Error:
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at WinAceUpdater.MainForm.DownloadFile(String fileUrl, String localFileName)
at WinAceUpdater.MainForm.DownloadAndExtract(String addonName, Boolean skipExternals, Boolean skipVersionCheck)
Edit: I can see the zip file has a rather nasty name: http://www.wowace.com/files/oRA2_Buff/oRA2_Buff-r%2A%5BGrimwald%5D.zip
Fair enough. So given the way people are using the 'files' site and updater scripts like this one, what would you recommend? I think we should fix something, either clad's zip script or the addons themselves.
Already done in the next version. Also it now uses the Recycle Bin by default so it won't delete things permanently.
...still waiting for the sourceforge page, so i can download the source add some features on myself if you didn't already add them when the page is up ;)
- backup & restore (most important thing for me)
- disable automatic update for specific addons
- some filtering options
- display changlog/installed version/latest version
(edit)
- apply diff after update
Another feature request: the ability to sort by "checked" status. This way I can see what addons would be synced at a glance and un-check SCT :D
Getting same error as well. But otherwise awesome job! It's just what I've been looking for!
Just hoping the latest.txt files get in sync with the zip files. Quite a few still don't match on the server.
I'm hoping you will send in diffs for me, right?
I just posted a new version (v1.1) to the new SourceForge.net site (http://sourceforge.net/projects/winaceupdater) and will be releasing versions there from now on.
Also, for those of you who are interested in such things, the source code is available via anonymous SVN.
I've added some new features (RecycleBin and SkipSvnWorkingCopies), fixed some bugs, and have documented it on the wiki (http://www.wowace.com/wiki/WinAceUpdater).
Please continue to post comments/bugs here, or use the tracker on SourceForge. Either way works.
Thanks!
Yeah, just didn't get to it yet. :)
Done.