OSS of the moment: wincdemu

wincdemu acts as a virtual optical drive that allows you to mount disc images. what’s nice about that is that you don’t need to actually burn a cd/dvd to either view the contents or run the program on the disc. i think most people use disc mounters to play games (including myself), though i’ve used it for a few other purposes as well.

i personally love these sort of programs because i am unorganized and hate having to keep media around. i’ll most likely scratch it up, break it, or lose it.

there’s other software that accomplishes this same task, most notably daemontools. personally, i stopped using daemontools years ago. at one point it included some kind of sketchy adware-ish type thing. that was bundled with the install. of course you could always say you didn’t want to install it, but if you weren’t paying close enough attention..i.e. Next Next Next, you’d get it installed. i’m all for freeware/opensource developers making money, but a better sponsor probably could have been chosen. anyways i believe the internet community released a version that came without the adware garbage. i haven’t followed daemontools since then.

i eventually moved on to use Virtual CloneDrive by SlySoft, a freeware product. can’t say that i have any complaints about virtual clonedrive…it’s an awesome product. however, since i really like to use true opensource software i’ve begun to use wincdemu.

the linux counterpart for iso mounting would be acetoneiso.
also to mount from CLI:
mount -o loop mydvd.iso /mnt/iso

Posted in: IT by resinblade No Comments

uccx prompt recorder

we’ve had an existing prompt recorder script that uses one set of credentials to alter every prompt. that solution works great when just one person manages every prompt and they make themselves forever available. however, now we’re starting to absorb more departments into UCCX and that means more prompts and more people likely to want to change those prompts. so we need to disperse the management of them.

at first i simply cloned the existing script and had it authenticate against a different user. that worked fine, but it also meant that at the very least i’d need a new app and trigger for every department. that dawned on me to be very wasteful.

i got around to resolving this by making a single script to authenticate everyone…in a very simple but effective manner, a switch statement with entries for each dept’s PIN. the upload prompt step still needs a callmanager user authenticated first though. so i just provided the script with complete credentials – username, PIN. so prior to using “upload prompt”, both “get user” and “authenticate user” steps need to be used.

Posted in: IT by resinblade No Comments

fake HDR

two links with some info about creating a fake HDR look with OSS
http://garmahis.com/tutorials/hdr-tutorial-free-software
http://gimpology.com/submission/view/fake_hdr_look_in_gimp

Posted in: Art, IT by resinblade No Comments

pcsxr, mandriva hostname, verbose booting

pt1
not sure why, but PLF respositories don’t have any pcsx packages. i’ve chosen pcsx-reloaded (pcsxr) to build because i couldn’t get the other well known fork to compile – pcsx-df.

pcsxr builds quite easily…the single problem i encountered was that by default this version still builds with an OSS sound plugin. to build with ALSA support use “–enable-alsa” during the configure process.

and pcsxr ran fine..not sure if it’s the default video plugin or not, but i don’t remember playstation1 graphics being so bad. could be though i guess..
i’ll do some research.

pt2
needed to change my hostname in mandriva recently. and just changing it in /etc/hosts didn’t do the job. so i googled. the hostname must also be edited in /etc/sysconfig/network: HOSTNAME=
found that info here: http://www.brunolinux.com/05-Configuring_Your_System/Changing_Hostname.html

pt3
the advancements of kernel mode-setting and plymouth are obviously pretty cool. i am practical though and like to see what’s going on during the boot process. to re-enable non-graphical booting, edit the grub configuration file and add “splash=verbose”

Posted in: IT by resinblade No Comments

opensuse 11.2

just upgraded one of my PCs to 11.2. i think i started out this PC with opensuse 10.3 and have continuously upgraded ever since. 10.3 ran great on it..i ran into what seemed to be performance issues when i first upgraded to 11.x.

and by that i mean a sluggish desktop environment, gnome in particular. all of a sudden with 11.x, gnome didn’t seem very responsive at all. in defense of 11.x…this isn’t exactly a new computer…
model name    : Pentium III (Coppermine)
stepping    : 6
cpu MHz        : 996.702
cache size    : 256 KB

BUT…gnome was running great in the prior release so it was puzzling. it was still running fairly crappy even after i minimized the amount of daemons and other startup apps running. so then i started using xfce and lxde on this particular computer. of course i would have much rather used gnome….

and now the good news! 11.2 seems to have restored the prior performance with gnome that i was getting in 10.3.  this pc could really almost not even boot X since it’s mostly used for file storage. occasionally though, i use it to scan pictures and documents (as in it is hooked to a scanner).

if mandriva ever disappeared or it became complete garbage i would most definitely choose opensuse to be my desktop distro. it has always been a very close #2. i used sled10 for about 6 months as my main desktop at work and it was a great experience. in fact, sled10 is the most polished desktop linux distro i’ve ever laid my eyes on. i haven’t got around to trying sled11 yet…

my third choice distro? can’t say that i’m sure. probably fedora..?

Posted in: IT by resinblade No Comments

audio players

i’ve never considered myself a power user of any application. i just use the common functionality of most apps and thus i’m very easy to please. i want an app to do a few basic things and i’m happy. extra features are a plus of course, but it’s most likely that i will never delve into them.

and despite having used a few other platforms..i come from a ms-dos->windows 3.1->windows 95->and so on background. as mentioned before – http://resinblade.net/wordpress/?p=110, i like my UI a certain way. and that way is generally the win95/win98 model. because it’s the best layout ever? most likely not at all…but it’s what i’m used to. no matter what OS i am using i try to make my desktop reflect that. and when it comes to UI it’s always about preferences. to each their own. arguing about UI layout, though sometimes interesting, holds no real technical merit and arguing over what is “best” is pretty stupid.

all of that explanation leads to why i like my favorite audio player. i “grew up” on winamp and always really loved it. it was simple and efficient. so therefore i like players that resemble and mimic winamp. that used to be xmms(1), but that is no longer maintained and would need a considerable overhaul to modernize anyway. however, i use audacious which spawned from xmms1 at some point. it retains the same goal of being a winamp clone for linux. there’s an xmms2 in the works which i believe is still in its alpha stages.

most modern players seem to mimic itunes. i’m not really a fan of that layout. it makes sense if you manage your music…but i do not. though, if i do have to sync an ipod i use banshee (which is very itune-ish). i simply play single audio files, or sometimes a location, or rarely i’ll listen to shoutcast stations. that’s all i do really.

for playing music on windows i use songbird, also an itunes clone. i just put it in its compact play mode…it’s not bad. and this is because i don’t know of any opensource winamp clones for windows. why not use winamp? two reasons really…1. ever since version 5.x came out it has seemed bloated. 2. it’s closed source and owned by AOL.

just a note: to add mp4 support to audacious in mandriva install the PLF version of audacious-plugins

Posted in: IT by resinblade No Comments

chromium web browser

i was about to build chromium on linux today. why? well why not! i installed all the pre-req libraries. downloaded the source, a 700MB-ish tarball, that shocked me by extracting to near 2GB. i surveyed the documentation further..this time actually paying attention to details. and it appears that to build the app i’d need like 10GB free. that would be a horrible pain for me to free up at the moment.

so for now..i won’t bother trying to build chromium. i’ll wait for a more convenient build method or a binary package.
and btw chromium is the truly open source equivalent to the chrome web browser by google.

Posted in: IT by resinblade No Comments

quake1

recently, as in today, i decided to try a quake1 modernized port..but first! some memories…
i remember quake1 coming out years ago. it was big news that even made it to the mainstream newspapers. i think this happened because of the phenomenon doom created. quake was supposed to be a medieval dark fantasy game and ended up being a dark fantasy/futuristic hybrid. i forget how i got the shareware version/demo. back then i used to get demos mostly from pc gamer and cd-rom today magazine. i didn’t download much of anything because i was so limited with a dialup connection. i was a kid with no real income and games were expensive. so i would seriously play the hell out of demos. i would play a demo of a game (that i liked) so much that i’d have those levels memorized. and i’d keep playing it til i needed to make room to install more demos.

my first immediate impressions of quake were disappointment. i loved doom and expected a superior version of that. and instead quake levels looked bland and the enemies were all polygony looking. that was my initial reaction. but then after playing it for a while i really liked it. the atmosphere, the sound, and especially the gameplay. the gameplay was amazing. graphically, back then i don’t think consumer brand 3d cards existed yet. voodoo cards were the big thing during the following years. i never owned one. my first 3d video card was an nvidia geforce1 (1999). anyways, the point i’m trying to make is because of very limited availability of 3d-capable hardware..quake didn’t look great back then. yet, it was quite revolutionary in being one of the first true 3d game engines (along with descent1, and maybe some others). eventually i actually bought the full game (and at some point i bought the entire doom1/doom2 collection).

back then, i stumbled upon a service called mplayer.com back then which was like a gamespy-type service. via mplayer i got introduced to quake team fortress…and that is some of the most fun i’ve had playing games online. awesome experience despite having to play over dialup.

alright and now the modernized ports…
one that i have always commonly come across is quakeforge
it runs on both windows and linux. development seems to have ceased though. quakeforge looked good and provided a very smooth playing experience. doesn’t add much by effects, mostly just a classical quake look. had some problems getting it to fullscreen i think. i ran it on windows. gave up trying to figure out what path it wanted for the quake data files in linux.

secondly, tenebrae
not sure where i originally heard about this port. the tenebrae1 site seems to be broken, but i still found a download of it via googling. ran it on windows and it looked incredibly impressive. looked very doom3-ish. and i guess that was the point of the port? and now the bad news…i could never get over 30fps running it in various configurations. so that made the game pretty much too sluggish to play effectively. looked great though. the video card used is an ATI radeon 9550 256MB (AGP), not a modern videocard by any means.

third, just today by looking up ports i came across darkplaces
i had heard that name before, mentioned around nexiuz, but never looked further into it.
it was equally easy to get darkplaces up and running on both linux and windows
on linux i used the -basedir <path> option to specify the path to quake data files.
darkplaces looks great and also plays very smoothly. not as nice as tenebrae, but that port is unplayable (at least by me).
and darkplaces is still actively developed which is always good news.

update 11/29/09: found out about one final quake port from wikipedia called ezquake
it focuses on being the standard quakeworld client. incredibly smooth and fast gameplay with this one.
graphically, it seemed conservative like quakeforge.

screenshots:
darkplaces – http://resinblade.net/cpg/displayimage.php?album=29&pos=0
darkplaces-sdl – http://resinblade.net/cpg/displayimage.php?album=29&pos=1
winquake – http://resinblade.net/cpg/displayimage.php?album=29&pos=5
quakeforge-wgl – http://resinblade.net/cpg/displayimage.php?album=29&pos=3
quakeforge-sgl – http://resinblade.net/cpg/displayimage.php?album=29&pos=2
ezquake – http://resinblade.net/cpg/displayimage.php?album=29&pos=6
tenebrae – http://resinblade.net/cpg/displayimage.php?album=29&pos=4

Posted in: Games by resinblade No Comments

stronghold1

stronghold is a medieval themed RTS that came out in 2001. i’m fairly sure my friend howard had bought a copy of it when it came out. i played it back then and enjoyed it, but never in depth. recently, i’m playing the whole game through.

despite just the cool idea of being able to siege castles, this game has really deep strategy. there are so many different ways of defending a castle, using offense, and even gathering food. stronghold is definitely one of the best RTS games i’ve ever played. in starcraft the strategy revolves around using units effectively…using units in combination with one another and knowing what’s best vs what. in stronghold there are further elements that involve strategy such as castle design (defense), resource gathering, morale, etc.

my strategies for some of the more difficult missions (i played everything on normal difficulty).

mission 11:
i had to put difficulty on easy to beat this one. i’ll revisit it again sometime.
my mistakes…putting archers all in one spot. i need to spread them out at angles. also i need to speedup crossbowmen production in this one or i’m doomeddd.

so…wood walls, crossbowmen quickly.

mission 15:
took me 5 complete attempts to finish this one on normal difficulty. here’s what i did…
i took half the large group of spearmen and the entire smaller group of spearmen to go fill in the moat, near the castle gate (these units all die of course).
it’s hit or miss whether they fill enough of the moat for a tunnel to be made..so when i got a good run i just saved at that point.
then i used 4 tunnelers to drop a portion of the front wall/gate.

next i set all my units on aggressive. i combined my entire macemen squad with the remainder of the spearmen and have them storm the castle. then i send the battering ram to take down the 2nd gate. after the macemen clear out most of the enemy troops in the first section of the castle i send the ladder guys to the 2nd wall. meanwhile, i try to use my remaining tunnelers to help take down the 2nd wall (whether this helps or not i don’t know). about the same time i start sending groups of archers to take tower positions in the castle that i’ve cleared the enemy out of.

the macemen pretty much take care of everything.

mission 17:
use the crossbowmen in select areas outside of the castle to very very slowly pick away enemy soldiers in the towers. if the towers aren’t cleared first you’ll never get into the castle.

Posted in: Games by resinblade No Comments

cli torrenting

i’m a big fan of the transmission bittorrent client, having ditched azureus/vuze some time ago. though i used azureus for a very long time..it was pretty close to being my first bt client, but now it’s time to move on.

the commandline version of transmission (transmissioncli) is decent but doesn’t seem to be as featureful as rtorrent.

basics of transmissioncli:
transmissioncli -o /storage6/rawdownloads -p port# <torrentfile>

basics of rtorrent:
quit = ctrl-q
stop torrent = ctrl-d
remove torrent = ctrl-d, ctrl-d
start torrent = ctrl-s
backspace = add a torrent (use tab for listing)
1-7 = various views

rtorrent i love. both apps should be used with GNU screen. also of note, there seems to be a lot of attention on a bt client called: deluge. it’s cross platform and OSS. i’ll try it out sometime, but for the moment i like transmission/rtorrent.

update 5/25/2010:
i’m running rtorrent on debian lenny right now. it comes with a 0.7.x version of rtorrent. i’ve really wanted to use a newer version like 0.8.x for a while to gain DHT support. i held back for a long time because i saw that installing the newer version requires newer versions of other fairly important packages like the c library and gcc, etc.

and now i’ve done it by messing around with “dpkg -i” to install packages manually. took about 20 minutes or so and at least once i thought i brought disaster upon myself. the system is still running though (luckily). i grabbed the packages from the squeeze-testing repository.

when i first ran rtorrent after the newer package was installed my existing session was messed up. this is a known issue: http://libtorrent.rakshasa.no/wiki/LibTorrentKnownIssues#session80

update 5/26/2010:
the path to the example config file for rtorrent (in debian at least) is
/usr/share/doc/rtorrent/examples/rtorrent.rc

make a copy of that to your home directory, but rename it to .rtorrent.rc.

Posted in: IT by resinblade No Comments