Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DwarfFortress.PS1  (Read 1347 times)

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
DwarfFortress.PS1
« on: February 12, 2012, 10:11:19 pm »

Inspired by this article: http://www.codeproject.com/Articles/241411/PowerShell-Falling-Blocks-Ascii-art-on-the-move

If Dwarf Fortress were implemented in PowersHell (aside from breaking x-platform compatibility of course), magma could have REAL ramifications on your PC health.

Urist McUrist cancels gather plants: interrupted by magma in C:\DwarfFortress
The Forgotten Beast ArgleArgle has come! A file-eating lizard. He has spikes of destructive defragmentation. Beware his deadly tree walking!
Spoiler (click to show/hide)

I know well that this would never happen, but it would certainly make system administration moar fun.
Logged
stopped zombie cats from adopting dwarves

... with magma.

Starver

  • Bay Watcher
    • View Profile
Re: DwarfFortress.PS1
« Reply #1 on: February 12, 2012, 10:22:02 pm »

C:\>cd "Program Files"
The system cannot find the path specified: Bridge raised


(I know it's not what you meant, but it was the first thing that came to mind...)
Logged

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: DwarfFortress.PS1
« Reply #2 on: February 12, 2012, 10:23:13 pm »

That is so much more awesome.
Logged
stopped zombie cats from adopting dwarves

... with magma.

Miuramir

  • Bay Watcher
    • View Profile
Re: DwarfFortress.PS1
« Reply #3 on: February 13, 2012, 02:23:01 pm »

Terrifying screams come from C:\WINDOWS!
I know well that this would never happen, but it would certainly make system administration moar fun.

Linux is well ahead of the game; Doom as a tool for system administration dates back to 1999.  Is one of your daemons spawning too many sub-processes?  Go after them with a shotgun.  Just try not to accidentally kill off your csh in the firefight. 

I've been dealing with PowerShell lately at work, and the idea that perhaps the system isn't responding properly to my high-priority backup tasks because internally too many of the haulers are trying to recover ‼socks‼ from a warzone is peculiarly appealing.  (And has me wondering whether a sufficiently advanced version of one of the DF manager/therapist tools could take script input and let you actually see your process flows as dwarves scurrying about...)
Logged

Scarpa

  • Bay Watcher
    • View Profile
Re: DwarfFortress.PS1
« Reply #4 on: February 13, 2012, 05:31:59 pm »

As someone who has written powershell scripts to migrate graphics and init settings to new releases, as well as parse out interesting things from the xml dump, this thread is not what I initially expected.

Logged

MagmaSolutionsInc

  • Bay Watcher
  • Likes elves for their screaming, bubbling noises.
    • View Profile
Re: DwarfFortress.PS1
« Reply #5 on: February 15, 2012, 10:05:08 pm »

Miuramir, yeah, I remember reading that one. I like your thinking too  :D

Scarpa .. fair enough. You missed "but is far more awesome"  ;)
Logged
stopped zombie cats from adopting dwarves

... with magma.