AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Anime Related Topics > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2009-01-17, 19:01   Link #21
Emess
Slower Than You
 
 
Join Date: Oct 2006
Location: Western Australia
Send a message via AIM to Emess Send a message via MSN to Emess Send a message via Yahoo to Emess Send a message via Skype™ to Emess
Quote:
Originally Posted by edogawaconan View Post
yaourt -S xdelta3

OR

wget -c http://aur.archlinux.org/packages/xd...elta3/PKGBUILD && makepkg -s

E~
Emess is offline   Reply With Quote
Old 2009-01-21, 09:32   Link #22
edogawaconan
LOL?
*Fansubber
 
 
Join Date: Aug 2006
Location: Indonesia
Send a message via MSN to edogawaconan Send a message via Yahoo to edogawaconan
patching made easy D:
under windows (vbscript)
- edit the file, adjust path for 7-zip and xdelta
- put both old file and new file in a folder
- input folder: both files' location
- old file: old file (duh)
- new file: new file
- prefix: whatever the name you want for packaged, patch and batch file (prefix.zip, prefix.vcdiff, prefix.bat)
- done

the script

corrections are welcome (especially for the limitations mentioned in the file)
__________________
edogawaconan is offline   Reply With Quote
Old 2009-01-21, 16:32   Link #23
Nicholi
King of Hosers
 
Join Date: Dec 2005
Age: 31
@edogawaconan

I was thinking something along similar lines, but less scriptlike and easier for nubs to use like this. Just using NSIS which is simple enough. I didn't bother fixing it up anymore though since few people cared about patching, and it's entirely too easy for me to just type the simple command line. Here is the nsi source if anyone is interested. It couldn't be sweetened up a bit so it doesn't look so plain :3.
Nicholi is offline   Reply With Quote
Old 2009-01-21, 21:22   Link #24
edogawaconan
LOL?
*Fansubber
 
 
Join Date: Aug 2006
Location: Indonesia
Send a message via MSN to edogawaconan Send a message via Yahoo to edogawaconan
it seems to do different things
yours is patching, mine is creating the patch

and I use scripting (vbscript no less) because I don't have any programming tools / compiler installed atm (and I need to do this in a remote pc using windows)

and I'm no coder (also add the fact it's my first vbscript code)

a little bit explanation of what it do:
- create xdelta patch between two files
- create batch file for others to apply the patch
- pack batch file, xdelta patch and xdelta executable in one zip file
__________________
edogawaconan is offline   Reply With Quote
Old 2009-01-22, 03:06   Link #25
TGEN
Far out, man!
*Fansubber
 
Join Date: Jul 2008
Age: 30
The problem with distributing binaries is that they only tend to work on one platform. Either you offer binaries for about all platforms out there in their various incarnations, or you use some entirely cross-platform solution, like a Python script (Java isn't as much use because it runs on a limited number of platforms compared to Python, Ruby etc). However, good luck writing an xdelta3 implementation in Python. No cheating using C modules!
TGEN is offline   Reply With Quote
Old 2009-01-22, 07:21   Link #26
comatose
Senior Member
 
 
Join Date: Dec 2007
You adhere to the majority of your viewers by providing a Windows binary, and since xdelta is crossplatform, the Linux and Mac users can get their own.

On the other hand, only a handful of viewers will have Python installed.
comatose is offline   Reply With Quote
Old 2009-01-22, 19:38   Link #27
Nicholi
King of Hosers
 
Join Date: Dec 2005
Age: 31
Quote:
Originally Posted by edogawaconan View Post
it seems to do different things
yours is patching, mine is creating the patch

and I use scripting (vbscript no less) because I don't have any programming tools / compiler installed atm (and I need to do this in a remote pc using windows)

and I'm no coder (also add the fact it's my first vbscript code)

a little bit explanation of what it do:
- create xdelta patch between two files
- create batch file for others to apply the patch
- pack batch file, xdelta patch and xdelta executable in one zip file
Oh lol, I didn't even check. I just assumed it was for applying. Since the main problem in my opinion is getting the users/leeches to apply the patch...and we all know anything that deals with typing at a command line means they just freak out. Nice that it automatically generates the batch and packages with xdelta .

TGEN isn't Bourne Again . See the light of the Lord TGEN!!!
Nicholi is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
We use Silk.