linux sodpatcher

SlicerSV

Dalayan Beginner
So, I've been busy recently making a little linux patcher in perl for SoD. Because of intrinsic differences in the way the OS's work, even if the patcher made for Windows COULD work, it wouldn't really, because of what I like to call "spheres of influence." basically the patcher wouldn't have permission to change files!

I've gotten most of the base code out of the way, the patcher runs in --repatch-all and in --nopatch modes right now. It's got a built-in hang catcher. There is one small difficulty in a loop never resolving to false if you leave the game before logging on fully, i'm trying to figure out how to fix this :)

I still need to implement the standard --patch mode, which will handle the md5's.

My patcher is ONLY for POSIX compatible OS's, which include linux, bsd, unix, fedora, etc. whether or not all POSIX systems can handle the game, I don't know, I only use linux. Because of the intrinsic differences between Windows and POSIX I'm not even considering replacing the Windows patcher. If you've got Windows, just get the darned .NET runtimes already!

The present features of my patcher:
- Repatch-all mode, which just downloads every file in the files.txt except the "sod" ones, since those are eqw and the sod windows patcher, which can't run in windows.
- Run mode, which starts the game in a forked process and then keeps an eye on it so that it can run the next mode if it detects a hang.
- Anti-hang catcher, which kills off the forked process if it hangs.
- Cleanup routine, which runs after the game is killed, either by user action, or by the Anti-hang catcher. It moves the new.files.txt dloaded from the patch files to files.txt so that when run in normal patch mode, files.txt and new.files.txt can be compared. It also runs the xgamma tool to make sure gamma is at a "normal" level.
- Nopatch mode, which skips the patching step completely and just runs the game with the Anti-hang catcher and cleanup routine, making playing a little less hassle and a little more fun.

Features not yet implemented:
- standard Patch mode. This has about as much code involved in it as the rest of the patcher combined, if I'm judging correctly. It may be less, but it'll still take me a little while.

Everyone loves screenies!

linpatch1.png


linpatch2.png
 
As usual, once this is done I will have it available for download from our site and will put the link in the manual patch file download section for all your linux guru's. Thanks Yula.
 
Hell yeah...looking forward to this. I've been playing WR/SoD on Ubuntu for the past couple years without a real patcher. :-D
 
I have been using kubuntu for a while now (thanks to the hubby) and I love it. May I ask how easy (I don't know much about unix/linux OS's) is it to install and actually run on kubuntu? Would "wine" come into play at all? I really only use windows now to run this game but if it will play nicely on kubuntu... I'm switchin'.
 
holy cow resurrection here...

to be honest, i lost my files and kinda stopped working on this a long long time ago.

as for how easy it is to use linux, it's not too hard... there are a couple of notable problems, however.

first, you won't ever be able to 2box on a single computer. never. just forget about doing that right now.

second, playing in a window isn't easy using wine, it's easier using cedega, but cedega does some funny things that decrease performance.

if you want to give it a try, you can read the stuff on the wiki:

http://www.angrygamer.net/sodwiki/index.php?title=SoD_in_Linux

all that said... i honestly recommend you just dual-boot and use windows to play shards... linux isn't 'hard' for a linux veteran, but it's certainly more complex than just click and play.
 
I take it this is not a very common question. The Shards community must be a majority of windows runners? I 'd like to see the numbers on that... but, is this the right thread for that conversation?

Loads of thanks for the reply!
All of our systems dual-boot, lol. Windows is just our "game slave".
As for me, I think I will just stay with windows for my gaming and leave that Linux stuff to the hubby.

Thank you again, SlicerSV!
 
Back
Top Bottom