Posted: Sat Mar 24, 2012 7:27 pm Post subject:
Mod Updater 1.0
What is Mod Updater and when do we use it? Mod Updater is a tool that help mod/project leaders to make sure their testers is using the latest version/files of their project. If your mod/project is large and contains a lot of files that constantly being updated/improved(or whatever), this utility is a good option. Why not just send the updated files to all the testers? Having to remember what files that have been updated, and then send them to every tester is a bit of pain if you ask me.
With this program, you don't have to do anything except pressing the "Connect" button.
Documentation wrote:
Mod Updater/Fast Connect 1.0 by YR Modder
Usage for Server:
Start with exporting the file-list(as a txt). Follow the simple pattern in the file-list and add as many files and directories as you like.
The program must be in the same directory as the files and directories listed in the file-list.
For example, if you want to share C:\Westwood\RA2\expandmd01.mix, add expandmd01.mix to the file list, and put the server program in C:\Westwood\RA2.
Example of a correctly formatted file-list: list.txt:
gamemd.exe
expandmd01.mix
expandmd99.mix
audio.bag
auid.idx
SomeDirectory
Other notes:
- The file list is remembered when you start the program, so there is no need to import it everytime the program is launched.
- Putting a directory into the file list will share every single file in that directory tree.
- The file-list: contains information about the shared files such as their size, checksum and path.
Usage for Client:
Pressing the button "Check for updates" will download the file-list from the server and then scan for the files listed in the file-list that is in the same directory as the client program itself.
If a file is found, you will be asked to download it if the two checksums are unequal. If a file is not found, you will be asked to download it as well.
Exceptions: Many forms of different runtime exceptions can occur in this program, here is explanations to some of them:
UnknownHostException: ... - This host/ip address do not exist.
IndexOutOfBoundsException: null - The server program disconnected while you were downloading from it.
ConnectException: Connection refued: connect - This have three known meanings:
* Yhe host address is valid and exists, but the program is offline.
* The host address is valid and exists, the server is online but the port value is incorrect.
* You successfully connected to the server, and the server(later) disconnected before you started to download.
Safety:
- The server is safe from any type of virus. The server will only receive a string array from the client, which is harmless.
- The client, like all download programs, is at risk. You should not connect to people you do not trust.
Other:
This program is 100% free and you may modify it in any way you want.
15 download. Some feedback? Do anyone find it useful?
Personally, I think it is a awesome utility for modders to keep their testers up to date.
This of course require a decent connection. QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Thu May 17, 2012 8:59 pm Post subject:
Probably I'll take a look.
I am tempted to drop out LB from distributing, and this sounds the perfect option, but so far I haven't decided neither in my final mixing ways neither if I'll just wrap up installers to make it working or writing a custom client on my own. (that actually sounds the most possible due to it could be a nice experience for me). _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Updated the thread with 1.0.
Changelog:
No longer get the hashcodes two times.
Support of directories.
Better information(before, if a file was smaller than 1024 kb, it would print it as 0.0MB). QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum