Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:oc1_basic_computer [2014/07/13 13:56]
vexatos
tutorial:oc1_basic_computer [2015/10/31 20:13] (current)
jackcartersmith [Setting up your environment]
Line 1: Line 1:
 OC Tutorial: Basic Computer OC Tutorial: Basic Computer
 ======================= =======================
-This tutorial will demonstrate ​how to build a simple ​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]]
  
-{{http://​i.imgur.com/​CErHpCu.png?​700}} 
  
-Now place them like in this image:+Setting up your environment 
 +===================== 
 +The basic computer setup consists of a [[block:case|Computer Case 
 +]] with a [[block:​screen|Screen]] on top and a [[block:​keyboard|Keyboard]] attached. ​
  
-{{http://​i.imgur.com/​fcWUzZY.png?700x}}+Here is an example with  the power source on the left and a basic setup on the right 
 +{{http://​i.imgur.com/​TDIiBJr.png}}
  
-Note that you can actually place them in any configuration you wish, as long as the blocks are next to each other.+Now, you will need to right click on the computer case and put the items in here as shown 
 +{{http://​i.imgur.com/​OrMN600.png}}
  
-Make sure your energy source actually produces energy and feeds it into the converter (e.g. when using Thermal Expansion energy cells make sure the right faces *emit* ​power).+Now, if you try to start the computer by clicking on the power button, you will end up getting an error:
  
-Now open the inventory of the Basic Case you just placed ​and insert ​the graphics card, CPU and the RAM into it:+{{http://​i.imgur.com/​jiGZKSR.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.
  
-{{http://​i.imgur.com/​LiSsEpZ.png?700x}}+Now, it should turn on. 
 +{{http://​i.imgur.com/​SeEd9Xb.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!+Congratulations! You now have a fully working ​computer, but if you want more features, you will need to install OpenOS!
  
-**Important** As of OC 1.3 you will also need to craft an OpenOS ​floppy as the operating system is not installed by defaultfor 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.+To install ​OpenOS, you will need to run the "install" command ​on the computerwhich will allow you run the computer with out the OS Floppy.
  
-{{http://​i.imgur.com/​qWXliN8.png?700x}}+**Next up[[tutorial:​oc2_writing_code|Writing Programs]].**
  
-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 done, press `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. 
- 
-{{http://​i.imgur.com/​mnf2I2Y.png?​700x}} 
- 
-**Next up: [[tutorial:​oc2_writing_code|writing programs]].** 
  
 Contents Contents
 ------------ ------------
 {{page>​tutorial:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} {{page>​tutorial:​contents&​noheader&​noeditbutton&​nouser&​nofooter}}