Omnimaga
General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: BrownyTCat on May 29, 2011, 09:30:38 pm
-
I'm working on a C++ program that only needs MS-DOS to run which will going to "emulate" the terminals in Portal. The only part that's actually done right now is a fraction of "Still Alive" too small to release. This program runs anywhere from DOS 5 to Windows 7. It will probably be able to link to other EXEs in the source code in case anyone wants to write an optional component to run inside "Aperture Terminal".
Pseudo-screenie:
.,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
=-./@M@M$ .;@MMMM@MM:
X@/ -$MM/ .+MM@@@M$
,@M@H: :@: . =X#@@@@-
,@@@MMX, . /H- ;@M@M=
.H@@@@M@+, %MM+..%#$.
/MMMM@MMH/. XM@MH; =;
/%+%$XHH@$= , .H@@@@MX,
.=--------. -%H.,@@@@@MX,
.%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%.
=XMMM@MM@MM#H;,-+HMM@M+ /MMMX=
=%@M@M#@$-.=$@MM@@@M; %M%=
,:+$+-,/H#MMMMMMM@= =,
=++%%%%+/:-.
-
Sounds interesting.
-
We do what we must. Because. We can.
-
We do what we must. Because. We can.
That's part of the code right now.
-
There's terminals in Portal? You mean the monitors that just scroll garbled cake recipes?
-
Demo out! No audio. :-\
-
For the good of all of us.
Except the ones who are dead.
You got the song stuck in my head now. I heard there was a GLaDOS terminal on the web somewhere. An advertaising tool. was it aperturelabortoties.com or something... I dunno. Check the wiki.
-
Oh nice.
Works pretty well in Wine.
-
For the good of all of us.
Except the ones who are dead.
You got the song stuck in my head now. I heard there was a GLaDOS terminal on the web somewhere. An advertaising tool. was it aperturelabortoties.com or something... I dunno. Check the wiki.
It vanished a few months ago. I'm making one for x86.
-
Source, please? :) I can help spot any optimizations and tricks if you want. ;)
-
Source, please? :) I can help spot any optimizations and tricks if you want. ;)
It's minimal right now, there's not really any way to optimize.
-
ah, there's always room to optimize XD
-
ah, there's always room to optimize XD
It only uses cout and _sleep()
-
oh :P however, if you're going to us a time delay function, I don't suggest anything found in stdlib.h, as sleep functions can be quite volatile in how they work. I suggest using something like found in a more sophisticated format -- here is a group of functions that can help attain the same thing, but more reliable (uses stdlib.h and time.h)
void wait (int seconds)
{
clock_t endwait;
endwait = clock() + seconds * CLOCKS_PER_SEC ;
while (clock() < endwait) {}
}
-
Demo 2, with audio! Starts from the beginning this time. Won't fit here though.
Download externally here (http://www.sendspace.com/file/en50fl)!
-
Update: Accidentally lost the demo in a hard drive format, a new version with full terminal capabilities will be up soon, with screenies this time!