Matt Posted August 21, 2015 Author Share Posted August 21, 2015 Hey look Joyce! I can make file updaters too!I originally wrote this for Benjo, but figured I'd clean it up code wise and release it.I've tested it several times in the development process, and I'm confident that it should work. But we can all make errors I guess.[Here's a link](https://github.com/MatthewChrobak/File-Updater) to the Github repo.There's plenty of information in the ReadMe and comments if you have any trouble, but let me know if you have any issues setting it up. Link to comment Share on other sites More sharing options...
Joyce Posted August 21, 2015 Share Posted August 21, 2015 You traitor. :(Jokes aside, any particular reason you went for a Console application? Link to comment Share on other sites More sharing options...
Daneta Posted August 21, 2015 Share Posted August 21, 2015 LOLOLOLOL Link to comment Share on other sites More sharing options...
Matt Posted August 21, 2015 Author Share Posted August 21, 2015 I spent maybe two to three hours on this? with debugging, testing, and optimizing. The aim was to get something that functioned and throw it over to Doug as soon as I could so he could have something that worked. It would be nicer with a UI showing how much more it needs to download for each file, yeah, but that wasn't really my priority at the time. I might one day hook it up with a nice UI with all those nice features, but it's unlikely. It's there, and it works. Anyone who wants to expand upon it is free to do so. Do you see an issue with it being a console application? Link to comment Share on other sites More sharing options...
Joyce Posted August 21, 2015 Share Posted August 21, 2015 Hardly, I just thought there might be more of a reason to it. (Seeing how it is easier to use it in Mono as well with GTK this way, or possibly turn it into a portable class library.)Also, I'm nosey and like knowing things. Link to comment Share on other sites More sharing options...
Puregamemale Posted August 21, 2015 Share Posted August 21, 2015 Hey Guys, a Dump question, How i open the File? xDDD Or start the Update lol Link to comment Share on other sites More sharing options...
GalacticGlum Posted August 21, 2015 Share Posted August 21, 2015 @'Puregamemale':> Hey Guys, a Dump question, How i open the File? xDDD Or start the Update lolAre you trying to open the project file? You open it with Visual Studio. To open the executable you just double click on it. lol Link to comment Share on other sites More sharing options...
Matt Posted August 21, 2015 Author Share Posted August 21, 2015 > Hardly, I just thought there might be more of a reason to it. (Seeing how it is easier to use it in Mono as well with GTK this way, or possibly turn it into a portable class library.)> > Also, I'm nosey and like knowing things.Even though most of the code *could* work in Mono, you'll still run into problems. I've actually already tried it through Unity. Stream.CopyTo doesn't work, and the DataBuffer class I wrote wouldn't be able to use the Dispose method. Still possible, but would require some re-writing. I might give it another go, actually.> Hey Guys, a Dump question, How i open the File? xDDD Or start the Update lolI left a link in the ReadMe that just contains the compiled executable files.Here it is.https://www.mediafire.com/?l8ag2qdhmwx08em Link to comment Share on other sites More sharing options...
Joyce Posted August 21, 2015 Share Posted August 21, 2015 Stream.CopyTo should work just fine in Mono, at least the 4.x implementations of it. Not sure which one Unity uses, but I would avoid Unity for small stuff like this, it's a bit of a hog and not always up to date with Xamarin's changes.And Dispose() doesn't work? That's odd. I can't say I had issues implementing IDisposable in Mono. Link to comment Share on other sites More sharing options...
Matt Posted August 21, 2015 Author Share Posted August 21, 2015 This was just in Unity. I'm not too experienced with Mono, so you'll know more about it than I will. You're probably right. You're more experienced and knowledgeable in C# than I am. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now