Author Topic: [Project] Aperture Laboratories Terminal  (Read 7382 times)

0 Members and 1 Guest are viewing this topic.

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
[Project] Aperture Laboratories Terminal
« 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:
Code: [Select]
              .,-:;//;:=,               
          . :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@= =,       
               =++%%%%+/:-.             

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [Project] Aperture Laboratories Terminal
« Reply #1 on: May 29, 2011, 09:47:11 pm »
Sounds interesting.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #2 on: May 29, 2011, 09:59:09 pm »
We do what we must. Because. We can.
« Last Edit: May 29, 2011, 09:59:17 pm by AGVolnutt »

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #3 on: May 29, 2011, 10:00:55 pm »
We do what we must. Because. We can.
That's part of the code right now.

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: [Project] Aperture Laboratories Terminal
« Reply #4 on: May 29, 2011, 10:32:43 pm »
There's terminals in Portal? You mean the monitors that just scroll garbled cake recipes?
In-progress: Graviter (...)

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #5 on: May 29, 2011, 11:07:58 pm »
Demo out! No audio.  :-\

Offline AGVolnutt

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +4/-0
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #6 on: May 30, 2011, 12:46:00 am »
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.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [Project] Aperture Laboratories Terminal
« Reply #7 on: May 30, 2011, 01:47:44 pm »
Oh nice.

Works pretty well in Wine.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #8 on: May 30, 2011, 05:04:09 pm »
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.

Ashbad

  • Guest
Re: [Project] Aperture Laboratories Terminal
« Reply #9 on: May 30, 2011, 05:05:45 pm »
Source, please? :)  I can help spot any optimizations and tricks if you want. ;)

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #10 on: May 30, 2011, 05:06:20 pm »
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.

Ashbad

  • Guest
Re: [Project] Aperture Laboratories Terminal
« Reply #11 on: May 30, 2011, 05:06:45 pm »
ah, there's always room to optimize XD

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #12 on: May 30, 2011, 05:08:35 pm »
ah, there's always room to optimize XD
It only uses cout and _sleep()

Ashbad

  • Guest
Re: [Project] Aperture Laboratories Terminal
« Reply #13 on: May 30, 2011, 05:14:03 pm »
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)

Code: [Select]
void wait (int seconds)
{
  clock_t endwait;
  endwait = clock() + seconds * CLOCKS_PER_SEC ;
  while (clock() < endwait) {}
}

Offline BrownyTCat

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 420
  • Rating: +37/-8
    • View Profile
Re: [Project] Aperture Laboratories Terminal
« Reply #14 on: May 30, 2011, 06:24:31 pm »
Demo 2, with audio! Starts from the beginning this time. Won't fit here though.

Download externally here!
« Last Edit: May 30, 2011, 06:38:38 pm by BrownyTCat »