http://forums.pcbsd.org/viewtopic.php?f=1&t=11261&hilit=lzma+update
how to apply pc-bsd updates manually
An orange in an apple orchard
http://forums.pcbsd.org/viewtopic.php?f=1&t=11261&hilit=lzma+update
how to apply pc-bsd updates manually
November is National Beard Month. Muttonchops, Van Dyke, goatee, soul patch, ZZ Top–style—tell us about your own wild and woolly facial fuzz. Even better, post a picture.
Submitted By cwcsonichu
Live Journals Writer’s Block
From 5 o clock shadow to looking like Chewbacca the wookie…. I think I probably shave like every 3 to 5 months or something lol.
I have no idea if I’m working tomorrow or not, but I hop I’ll get the day off… The weekends been more or les a total ash out. If I’m working though, it’ll be a full day. I come from a family, where we go to work unless your head is practically falling off lol.
Hehe, that reminds me… Some funny news, my brothers supposed to be getting a physical this week. Oh man, this is going to be funny, I hope he doesn’t faint! his is a guy, who chose to who made us all go out of state for his wedding – just to avoid a blood test!
I have more that I want to write, but to little energy and not enough time. If it really is 0800Z and I /am/ working tomorrow… I best get some shuteye, it’s a hell of a day.
Crud…
Crept into the kitchen, got a glass, knocked over the cap to a travel mug, and made it to the fridge for some OJ. Like, can I make any more freaking noise!? At this time of night, the sound of a plastic cap falling ~a metre to the ground is loud enough to give away ones position (to my ears anyway) from half the building away…
Stealth is my specialty, I’m generally good at being unobserved and when desired, and I can be very silent in my movements – when I know the environment well, even more so. But every now and then, I just fsck up :
*sigh* all I need is to end up in round 1,000,346,412,782,965,000 of annoyance !!!
My families more or less managed to consume or destroy all parts of my life, about the only thing they’ve yet to dig into is [SAS]. Fuck… I couldn’t even get a space on the couch, instead I’m balanced off the side, foot stuck on the corner of a stand and who knows wtf stabbing me in the backside. What will they leave me with next? A throbbing head, a soar backside, numbed hands, crink in the neck by tomorrow, and legs that are as good as ten feet ahead of the rest of me, for the speed they move at.
I don’t know if I have any hope left at this point, those hat know me best, would probably find irony in that. It’s like, the more I try to get ahead, the further behind the eight ball I end up :
Sheesh…. What a crazy night.
I was exhausted by the time I went to bed, so I figured I’d lay down, watch TV, then switch to the laptop. Next thing I know, I’ve slept through the entire movie, and it’s almost 0330Q… So screw it back to bed. Woke up around 0940Q, to early…. Back to bed lol.
Between all of the sleeping, I’ve had some of the craziest dreams :. From a singing math teacher from hell (don’t ask lol), and getting even with him years later. To leading a human insurrection against a wave of Terminators; I forget just how effective the aerial HKs could be, but at least I was smart enough to keep the location of our forward operating base secret. All the way to what’s probably best described as Star Trek meets the Invasion of the Body Snatchers. ALl the way to various engagements with Orcs; both peaceful and combat filled encounters. Even a stint best described as a mixture of being stranded in deep space Orc country, and a bad Babylon 5 episode. Hmm, I wonder what those human star-fighters were called, ain’t gotten to watch B5 in over a decade lol.
And even ending up in Raven Shield, wasting tangos, sneaking around, meeting a tango that was bullet proof, meeting a tango that was in “spectator” mode, and oy…
One great thing about dreaming, and knowing your dreaming — when you enoucnter a super tango… shoot him about 20 times, reload, put 2, then 4 rounds more into him (centre mass and head). Then when the tango finally gets close to you and start shooting back, unlike in the video game…
You can tell the tango to go to hell and ignore him lol.
Believe it or not, I’ve just spent the last several hours spelunking around FreeBSD, and end it with a smile lol.
I got tired of a program I was writing (and a minor headache), so… I turned my attention to something that’s been on my todo list for ages. Tracking more and more of how the system handles it’s startup procedures. It would certainly be a bit more helpful to my understandings, if I had ever had time to learn x86 assembly. Maybe someday, I’ll get to that part of my todo list, lol but by then AMD64 will probably be old as a Pentium :
Well after 0500 now, time to get some sleep…. Flibin’ work early tomorrow, and another day of… annoyance.
Terry@dixie$ uptime && shutdown -p +2 'head hits keyboard, begins to snore loudly'
9:23AM up 6:15, 2 users, load averages: 0.07, 0.09, 0.06
Shutdown at Fri Oct 31 09:25:48 2008.
shutdown: [pid 3624]
Terry@dixie$
*** System shutdown message from Terry@dixie.launchmodem.com ***
System going down in 2 minutes
head hits keyboard, begins to snore loudly
# this is so recursive, it hurts
for topdir in args:
for root, dirs, files in os.walk(topdir):
for file in files:
for regexp in patterns:
if re.search(regexp, file):
file = os.path.join(root, file)
if verbose:
sys.stdout.write("file name: %st" % file)
p = os.stat(file)
a, m, t = (
time.strftime("%Y-%m-%dT%H:%M:%S",
time.gmtime(p.st_atime)),
time.strftime("%Y-%m-%dT%H:%M:%S",
time.gmtime(p.st_mtime)),
time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()), )
sys.stdout.write( "atime: %stmtime: %stnow: %sn" %
(a,m,t))
else:
print file
What a huge, ugly, monster, I’m glad the finished code doesn’t look like that lol.
h man, if I never see apt-get mania again, I’ll be happy lol.
$ sudo apt-get install -y foo
....
$ sudo apt-get install -y foo-doc foo-eggs foo-ham foo-spam
To be honest, if whoever organized this thing… doesn’t know what database normalization means, I’d be shocked as shit lol.
I’ve been using a mixture of vim/ssh to setup sal1600 with my standard operating environment, thankfully Ubuntu has a decent package search site hehe. I still need to sort out Java (jdk, jre, browser plugins), flash plugins (maybe anyway), realplayer, and codecs for mplayer. But for the most part, I’m up to go. I’ll need to go over libraries with a fine tooth come, to make sure I don’t lose anything. I really don’t like GNU/Linux, I like the Linux kernel well enough, but the mish-mash of parts pisses me off. But, given the choice of Windows or GNU/Linux, I’d rather put up with it. As far as Linux distributions go, Ubuntu is probably one of the best desktop systems. It’s certainly not my favorite distribution (Slackware), but it likes my desktops hardware much better… Something no other GNU/Linux distro has done lol. One thing I regret about my desktop, it usually needs kicking into obedience a lot of times under any OS.
Tomorrow, I’ve got 3 main goals after work:
If I can play SWAT comfortably on GNU/Linux, I’m more then willing to switch back to a single monitor. Which really, is a shame b/c the X Windows System truly offers a better experience then what I’ve had with Windows multi-monitor support. The real concession will be having to shift to a usable resolution to play SWAT :.
For the most part, I’ve only used the 2nd monitor as a dumping ground for extra programs. Most of the time, I’m alternating between 2-5+ programs. On my laptop however, I’ve found it perfectly comfortable to arrange 3 virtual desktops to “split” the workload. I guess, I will probably end up with something similiar on my desktop now. 1600x1200px on a 19″ CRT is just to small for the amount of programs I interact with; but the 2880px wide (-monitor edges in the centre) that my current setup gives, is also a bit too darn big… optical scrolling sucks. This really makes me wish I had one big 22″ LCD, but I’m not sure if anything with a /sane/ price and good performance for action games, has caught up yet (probably has).
My original design specs for sal1600, did call for an LCD – not because I /like/ them, but because it’s a pain to lug a CRT around haha !
The game is not supported by code weavers, and I don’t support users of this posting ether. However, comments and corrections are always welcome – spam will be killed. Also note well, I prefer the command line interface, so I do not use file mangers such as Explorer, Nautilus, or Filer often.
Step one: Purchase a copy of “CrossOver Games for Linux” from CodeWeavers, or download the free 7 day trial.
Step two: install Cross Over Games for Linux, hence forth called simply cxgames — for brevities sake!
The installation process is simple, the format I suggest is to install it as root for all users. This basically amounts to executing the install shell script as root, either with su or sudo
$ su - root
# ./install-crossover-games-demo-7.1.0.sh$ sudo -H ././install-crossover-games-demo-7.1.0.shEither way, root will need access to you’re display. Via the su method, on a secure system to will have to grant root this access. The proscribed method is you’ll need to run
xhost +local:root, and set your $DISPLAY value accordingly once you’ve su’d to root. N.B. a lot of documents say
xhost +localhost, which will grant everyone on your machine access to the display; instead of adding root.
Once you’ve launched the install script, it will walk you through it — mostly by a graphical installation wizard.
Step Three: Install SWAT 4
Insert your SWAT 4 disk #1 into the drive, and make sure it is mounted. Some Linux distributions are set to automount it like Windows (Ubuntu), others require you to manually mount it. N.B. that secure systems will only allow root to mount file systems by default.
Launch the cxgames windows program installer; this may be in your applications menu (gnome/kde users) or have to be run manually from a prompt. If you have to run it manually, the program you want to execute is /where/you/installed/cxgames/bin/cxinstall, for example: /opt/cxgames/bin/cxinstall.
Since SWAT 4 is not one of the supported games, you’ll want to go with the “install other games” option, and pass by the disclaimer. You’ll thne need to tell it where to find the disk, usually this is just clicking a checkbox but it is quite flexible. You should install SWAT 4 into it’s own “bottle”, because Linux doesn’t care much for spaces (and command lines are fun), a good bottle name is “SWAT4”.
A bottle is just a simulated windows installation, so if desired – every game can be installed into it’s own separate place. This really makes back ups a snap, limits one program screwing with another, and improves situations if you need to make ‘tweaks’ to the bottle. The installer will then create the bottle in your personal space, e.g. /home/terry/.cxgames/SWAT4. N.B. that .files-and-dirs in Linux are considered ‘hidden’ files, in a GUI file manager, you’ll need to b/p to deal with that.
When the installer starts, run it, there is no need to change the default install paths, unless you are installing into a very customized bottle. Since SWAT 4 uses two CD-ROMs, you will have to umount your first disk, and mount your second before pressing “retry” on the change disks dialog. Same thing happens again at the end of the install, to put the play disk back into circulation. When you’re done, you can close the install program and tell the cxgames installer that it has completed, it will warn you for paranoias sake — close it.
Step Four: Launch SWAT 4
SWAT 4 uses a SecuROM based copy protection system, when I set this up – it thought cxgames version of wine was a cd-rom emulator! And refused to run, a quick fix is to google for the ‘swat 4 no cd’. You will need to backup the old Swat4.exe, and then replace it with the no cd fix in order to launch the game.
Since I prefer the command line, I use cp and mv to copy and move files around; rather then copy/pasting icons in a file manager.
$ cd ~/.cxgames/SWAT4/drive-c/Program Files/SierraSWAT 4/Content/System
$ mv Swat4.exe Swat4.exe.orig-1.0
$ cp /path/to/fixed/1.0/Swat4.exe ./Swat4.exe.nocd-1.0
$ cp Swat4.exe.nocd-1.0 Swat4.exeNow launch the game, either via your applications menu (gnome/kde users), or manually with the wine subsystem of cxgames, e.g.
$ /opt/cxgames/bin/wine --bottle ~/.cxgames/SWAT4 ~/.cxgames/SWAT4/drive-c/Program Files/SierraSWAT 4/Content/System/Swat4.exeThen go ahead and test the training level or something like that. SWAT 4 must take care of first run chores before you install the path. When you’re done, just exit the game like normal. In the vent of catrostrophic disaster, you should be able to ctl+alt+function key to vtty, login to a command prompt, and us the ps and kill commands to terminate the process, cxgames also has it’s own way of nuking bad windows processes hehe.
Step Five: Patch SWAT 4
Because the patch checks for a legit copy of SWAT4, we have to replace Swat4.exe with Swat4.exe.orig-1.0, otherwise the patch will fail and scramble a few game files.
$ rm Swat4.exe
$ cp Swat4.exe.orig-1.0 Swat4.exeNow insert you SWAT 4: TSS disk and run the installer, just like when you installed SWAT 4. Except use the same bottle, by selecting it from a list of existing bottles when prompted for a bottle to use. Once the TSS installer pops up, click the button to install the SWAT 4 1.1 patch.
Step Six: Test run SWAT 4 1.1
Now you need to use a no cd fix for SWAT 4 1.1 in order to continue, download it and do like in Step Four.
$ mv Swat4.exe Swat4.exe.orig-1.1
$ cp /path/to/fixed/1.1/Swat4.exe ./Swat4.exe.nocd-1.1
$ cp Swat4.exe.nocd-1.1 Swat4.exeand launch the game as in Step Five.
Step Seven: Installing TSS
If you left the TSS installer open from Step Six, fine, if not, open it again — same exact way.
You will have to replace the no cd fixed Swat4.exe with the original one from the path, else the TSS installer will bomb out on you.
$ rm Swat4.exe
$ cp Swat4.exe.orig-1.1 Swat4.exeNow get the TSS installer up and click the install swat 4 tss expansion pack button. Then proceed through the installation process; you shouldn’t have any major problem, as long as you remembered switch executables first.
Step Eight: Run SWAT 4: TSS
Now you should be able to launch SWAT 4: TSS, when I did it… there was no problem with the Swat4x.exe file in the expansion pack, but the game soon refused to run, having verification problems, despite being a legally paid for copy, with the legally paid for copy in the drive. So one will need to employ another no cd fix to be able to use this legally paid for copy of the game.
$ cd ~/.cxgames/SWAT4/drive-c/Program Files/SierraSWAT 4/ContentExpansion/System
$ mv Swat4X.exe Swat4X.exe.orig
$ cp /path/to/fixed/Swat4X.exe ./Swat4X.exe.nocd
$ cp Swat4X.exe.nocd Swat4X.exeYou can launch it the same way as SWAT 4, but in the case of the command line, the path changes. Just like on Windows, from ContentSystemSwat4.exe to ContentExpansionSystemSwat4.exe.
If the game and your display are not running at the same resolution, moving your mouse pointer to the ‘edge’ will make it scroll outside the window, effectively creating a pan and scan across your display. I have a 1600x1200px primary screen and a 1280×1024 secondary screen. Having SWAT in 1024x768px mode, was horrible… edit: this happens even when the game and X screen are at the same resolution.
I have yet to determine under what conditions dual heads will work, but luckyally most X Window Managers handle dual heads better then Microsoft Windows (in my indignant opinion), at least that has been my experience under FreeBSD 7 and Ubuntu GNU/Linux 8.04 with X.Org 7.2,a nd Windows XP Media Center Edition. So the main problem is a question of mouse handling.
Because of the way things work, people who use mods (e.g. SSF) may have problems launching them, without a corresponding no cd exe. Other wise the game seems to be useable, I’ve only to acertain whether or not graphical performance can be maintained.
My word, wouldn’t it be heaven to only need windows to play Raven Shield once in a blue moon?