Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorial:oc1_basic_computer [2014/07/13 13:51]
sangar created
tutorial:oc1_basic_computer [2015/10/31 20:13] (current)
jackcartersmith [Setting up your environment]
Line 1: Line 1:
-This tutorial will demonstrate ​how to build a simple ​computer.+OC Tutorial: Basic Computer 
 +======================= 
 +In this tutorial ​you will learn how to build a basic (Tier 1) computer
 +This tutorial is using the default config file.
  
-The first step is getting all the materials: you'​ll ​need [[block:​case|Tier 1 Case]], a [[block:​screen|Tier 1 Screen]], a [[block:​keyboard|Keyboard]], a [[item:​graphics_card|Tier 1 Graphics Card]], a [[item:​cpu|CPU]], some [[item:​memory|RAM]], a [[block:power_converter|Power Converter]] and lastly, some power source. We'll use a BuildCraft Stirling Engine in this example.+You will need
 +  - [[block:​case|Tier 1 Case]] 
 +  - [[block:​screen|Tier 1 Screen]] 
 +  - [[block:​keyboard|Keyboard]] 
 +  - [[item:​graphics_card|Tier 1 Graphics Card]] 
 +  - [[item:cpu|Tier 1 CPU]] 
 +  - [[item:​memory|Two Tier 1 RAM or 1 Tier 1.5 RAM]] 
 +  - [[block:disk_drive|Disk Drive]] 
 +  - [[item:​openos_floppy|OpenOS Floppy Disk]] 
 +  - [[item:​hard_disk_drive|Hard Disk Drive]] 
 +  - [[item:​eeprom|Lua BIOS]] 
 +  - Source of Power
  
-**Important**: as of 1.2.2 it is *no longer necessary* to have power converter in such a setup. Computer cases and server racks can also *directly* accept power since that version.+**Important:** Versions prior to 1.2.2 require ​[[block:​power_converter|Power Converter]]
  
-![Items](http://​i.imgur.com/​CErHpCu.png) 
  
-Now place them like in this image+Setting up your environment 
-![Placement](http://​i.imgur.com/​fcWUzZY.png) +===================== 
-Note that you can actually place them in any configuration you wish, as long as the blocks are next to each other.+The basic computer setup consists of a [[block:case|Computer Case 
 +]] with a [[block:​screen|Screen]] on top and a [[block:keyboard|Keyboard]] attached
  
-Make sure your energy ​source ​actually produces energy ​and feeds it into the converter (e.gwhen using Thermal Expansion energy cells make sure the right faces *emit* power).+Here is an example with  the power source ​on the left and a basic setup on the right 
 +{{http://i.imgur.com/TDIiBJr.png}}
  
-Now open the inventory of the Basic Case you just placed and insert ​the graphics card, CPU and the RAM into it: +Nowyou will need to right click on the computer case and put the items in here as shown 
-![Inventory](http://​i.imgur.com/​LiSsEpZ.png)+{{http://​i.imgur.com/​OrMN600.png}}
  
-After you've done that, press the power button ​(the big button in the middle of the GUI). And that's it, you *should* have a running computer!+Now, if you try to start the computer by clicking on the power button, you will end up getting an error:
  
-**Important** As of OC 1.3 you will also need to craft an OpenOS floppy as the operating system ​is not installed by default, ​for the first two tiers you will need to craft a [[block:​disk_drive|Disk Drive]]. You may also want a [[item:hdd|HardDrive]] to install OpenOS on, to allow writing to any directory (including root) and edit files in OpenOS. +{{http://i.imgur.com/​jiGZKSR.png}} 
-![Terminal](http://​i.imgur.com/​qWXliN8.png)+This means that there is no OS for the computer to run! To fix that, we will need to put a [[block:​disk_drive|Disk Drive]] ​directly next to the computer and place the [[item:openos_floppy|OpenOS Floppy Disk]] in it.
  
-The most direct (but in the long run suboptimal) way of playing around with it is via the Lua interpreter. Type `lua` and hit enter to open it. When you're donepress `Ctrl`+`C` to quit it (or `Ctrl`+`D` if the prompt is empty). Another useful key combination is `Ctrl`+`Alt`+`C`,​ which lets you break out of sleeps. For example, if you started something like `while true do os.sleep(1) end`, that's the key combination that'​ll break that loop. Alternatively just turn it off and on again+Now, it should ​turn on. 
-![Lua](http://​i.imgur.com/​mnf2I2Y.png)+{{http://​i.imgur.com/​SeEd9Xb.png}}
  
-**Next up: [[tutorial:​oc2_writing_code|writing programs]].**+Congratulations! You now have a fully working computer, but if you want more features, you will need to install OpenOS! 
 + 
 +To install OpenOS, you will need to run the "​install"​ command on the computer, which will allow you run the computer with out the OS Floppy. 
 + 
 +**Next up: [[tutorial:​oc2_writing_code|Writing Programs]].** 
 + 
 + 
 +Contents 
 +------------ 
 +{{page>​tutorial:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}