Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Thursday, 01 January 2009 03:18AM |
I've updated the standard ERF tool so it can update haks over the web (as well as adding a few other capabilities; see below).
I've also used this to implement a beta CEP updater (which will be more user-friendly in the future). Right now, it only updates the CEP hak files (not the erfs, mods, tlks, or documentation, but expect those in the future). You can get the updater from the Higher Ground website here:
cepup_beta_20081231.rar
You need to put both files in there in your Neverwinter Nights directory, then run cepupdate.bat.
This is extremely beta; if it breaks or you have other problems, bug reports are very appreciated.
----------
The ERF tool has been modified with the following capabilities: - Fixed a large number of memory leaks - Fixed several bugs where updating an existing ERF could lead to duplicate resources in the ERF - All resources added to ERFs now have their names smashed to lower case - Added the ability to checksum the contents of ERFs (with erf -k) - Added the ability to delete individual files from ERFs (with erf -d) - Added the ability to directly process .bz2-compressed resources, decompressing them as they are injected - Added the ability to acquire resources from the web (e.g. you can do erf -u foo.hak http://www.example.com/bar.mdl and it will work as you'd expect) - Added the ability to process resource manifests to update ERFs over the web (with erf -m) (documentation forthcoming; this capability is generic and can be used for any project, not just CEP)
Todo: - Add the ability to extract individual files from erfs (with erf -x) (partially done) - Add the ability to fetch entire files over the web if they don't exist rather than fetching them piece-by-piece - Add the ability to update non-ERF files (such as TLKs)
Credits: - Thanks to Roboius for his original ERF tool - This tool uses the BZIP2 libraries from http://www.bzip2.org/ - This tool uses CURL from http://curl.haxx.se/
----------
This is not really intended to compete with more user-friendly or powerful tools such as Brian Chung's rsync updater or Tanita's WorldGate, but it does provide a simple single tool which can do most of what they can.
The source to the modified ERF tool can be downloaded here: erf-1_3_0.rar
Your commentary and bug reports are very appreciated.
Thanks, AcaosEdited By Acaos on 01/01/09 03:23 |
|
Frith5
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 NWN 2: MotB NWN 2: SoZ
Joined: 22 Sep 2002 |
Posted: Thursday, 01 January 2009 04:05PM |
Stellar. Acaos, you are such a valuable asset to this Community, and your work, ideas, creativity, and intelligence are greatly appreciated. I hope a lot of folks get with this, to help make it better for us all. Thanks, JFK |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Thursday, 01 January 2009 07:09PM |
Thank you for the compliment .
I've found a couple of bugs in the distributed ERF tool (it's not properly statically linked) so I'll be doing another beta on this soon. If you're seeing 'The system cannot execute the specified program' you're hitting this bug.
I'll post here again when I have the next beta up.
Thanks, Acaos |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Friday, 02 January 2009 01:32AM |
I've updated the updater; the new updater can be acquired at:
cepup_beta_20090101.rar
You need to put both files in there in your Neverwinter Nights directory, then run cepupdate.bat.
This version will also update the TLK, ERF, and MOD files that come with CEP 2.2. At this time, it works 100% on all the machines I have access to. Please report in this thread if you find any bugs or have any trouble with it.
----------
The updater should run with no trouble on Linux as well, if you compile the new ERF tool. Simply run:
# erf -vm http://cep.hgweb.org/man/cep.txt
in your Neverwinter Nights directory.
----------
The ERF tool has been updated to allow using wildcards with erf -d and erf -x, and to allow unpacking files from manifests (for updaters). In addition, I've statically compiled it now to ensure everyone can run it without needing to download the MSVC libraries.
The source to the modified ERF tool can be downloaded here: erf-1_3_1.rar
Todo: - Add the ability to fetch entire files over the web if they don't exist rather than fetching them piece-by-piece - Add the ability to update non-ERF files (such as TLKs) (this is currently done with a semi-ugly workaround)
----------
Bug reports and feature requests are greatly appreciated.
Thanks, AcaosEdited By Acaos on 01/02/09 01:34 |
|
Calimvar
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 05 Apr 2003 |
Posted: Friday, 02 January 2009 10:55PM |
Awesome! Very useful and a great idea  _________________ PJ Odin Approved Scriptmonkey, DM and Writer for DC:SoH www.dragoncoast.org |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Saturday, 03 January 2009 02:07AM |
I've updated the ERF tool again and sent it to the Vault for approval. It will appear at:
Click Here
when approved. I'll also make a post on the CC forum then with full details.
Acaos |
|
Frith5
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 NWN 2: MotB NWN 2: SoZ
Joined: 22 Sep 2002 |
Posted: Saturday, 03 January 2009 05:57AM |
That's great to hear, Acaos. I had no problems testing the last iteration. Will there be some documentation on the Vault release?
Thanks! JFK _________________ If pro is the opposite of con . . . what is congress the opposite of? |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Saturday, 03 January 2009 09:09AM |
I've included a fuller changelog in the vault entry, and there's documentation on manifests inside the package.
You can also do 'erf --help' for a help page. I'll try to enhance the documentation more as well.
Thanks, Acaos |
|
Estelindis
Game Owner
NWN NWN: SoU NWN: HotU Jade Empire:SE NWN 2 NWN 2: MotB NWN 2: SoZ Mass Effect PC
Joined: 17 Mar 2002 From: Dublin, Ireland (but currently in Paris) |
Posted: Saturday, 03 January 2009 02:43PM |
Thanks very much, Acaos.  _________________ KotOR Heads FR Cloaks CTP Releases - incl. CTP Babylon ProjectQ - beta, sweet beta! AME |
|
Fester Pot
Game Owner
NWN NWN: HotU NWN 2 NWN 2: MotB
Joined: 14 Jul 2004 |
Posted: Saturday, 03 January 2009 08:06PM |
Got a PM from Barry letting me know a system to upgrade from one version of CEP to the other is in the beta stages.
Just wanted to say thanks for the work in getting such a thing out to the community!
FP! _________________ Almraiven Shadewood Fate of the Auren |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Saturday, 03 January 2009 09:43PM |
I've made a separate post in the CC forum for the ERF tool: Click Here
Right now, we're especially looking for testers for the updater under Windows Vista, and someone who can compile the ERF tool under Mac OS X. Of course, bug reports are also greatly appreciated.
Thanks, Acaos |
|
Eat2surf
Game Owner
NWN NWN: SoU NWN: HotU NWN 2 NWN 2: MotB NWN 2: SoZ
Joined: 10 Jul 2002 |
Posted: Friday, 09 January 2009 04:45PM |
|
Worked great for me!! Thanks to Barry for pointing me to this and thanks to all that are involved in this.. a wonderful tool!!! |
|
Acaos
Game Owner
NWN NWN: SoU NWN: HotU NWN 2
Joined: 26 Jun 2002 |
Posted: Sunday, 11 January 2009 10:05PM |
I've updated the CEP updater to its prospective release form for the next CEP patch. Included is a Linux updater as well. You can get the latest version of the CEP updater from the Higher Ground website at:
http://cep.hgweb.org/updater/cep_updater.zip
For Windows users: Uncompress the CEP updater into your Neverwinter Nights directory, then run cepupdate.bat to update your copy of CEP. You must have CEP 2.1 or later installed.
For Linux users: Uncompress the CEP updater into your Neverwinter Nights directory, then run sh ./cepuplinux.sh to update your copy of CEP. You must have CEP 2.1 or later installed.
For Mac users: We're still looking for someone who can compile the ERF tool under Mac OS X and build a script of some kind to run the updater. Please post in this thread if you have experience compiling applications under OS X and would like to help.
Please report any issues in this thread. We'll be putting the CEP update tool on the Vault with the next patch as well.
Thanks, AcaosEdited By Acaos on 01/11/09 22:08 |
|