-
Notifications
You must be signed in to change notification settings - Fork 7
Creating ALX PC Parts
Warning: This documentation is not completed and may not work with the current version of ALX PC.
- Copy folder alx_pc from expression2 to "Steam\steamapps\common\GarrysMod\garrysmod\data\expression2".
- Start the game.
- Get Wiremod tab - Chips, Gates - Expression 2 Tool in hands.
- Open folder "alx_pc" in e2 editor.
- Place an E2 chip somewhere with the
BIOS_Chipset.txtfile. - Spawn one DHDD (it is in the Wiremod tab) which will be used as the BIOS ROM.
- Spawn any prop or entity which will be used as the Beep Speaker.
- Get the Plugs tool from the Wiremod tab.
- Spawn different types of sockets by right-clicking with the Plugs tool for the different bus types. The socket model can be changed to any model you prefer.
- Use the following information to connect the BIOS inputs:
Note: Each Plug provides letters from
AtoH. The letter can be chosen freely, but it must match the letter of the corresponding Plug used as the board. All sockets of the same type must use the same letter. For example, if the PCI socket uses A, all PCI sockets must use A. PCIe sockets may also use A, while all PCIe sockets must use the same letter.
| Input | Type | Connection | ALX PC Default |
|---|---|---|---|
ROM |
wirelink |
DHDD used as BIOS ROM | — |
Speaker |
entity |
Entity used as Beep Speaker | — |
CPU_SOCKET |
number |
Select the letter of the CPU socket (A–H) |
A |
PCIE_SOCKET[0-1] |
number |
Select the letter of each PCIe socket (A–H) |
A |
PCI_SOCKET[0-3] |
number |
Select the letter of each PCI socket (A–H) |
A |
KeyboardSocket |
entity |
Keyboard socket using a letter from (A–H) |
A |
Power |
number |
Power button, can be connected directly or through a socket | H |
Reset |
number |
Reset button, can be connected directly or through a socket | G |
NoFanSound |
number |
Optional. Set to 1 to disable fan sound |
0 |
PowerandResetbuttons can be connected directly to the BIOS inputs. Alternatively, they can be connected through a socket, as used in the ALX PC setup.
| Output | Type | Connection | ALX PC Default |
|---|---|---|---|
BIOS |
entity |
BIOS/Chipset entity | — |
BIOS_ID |
number |
Connect to the selected letter input of all CPU, PCIe, PCI and Keyboard sockets | A |
PowerInd |
number |
Connect to a Wire Indicator or other device | — |
HDDInd |
number |
Connect to a Wire Indicator or other device | — |
PowerInd and HDDInd output 1 or 0.
- Spawn a Plug using the same socket model selected for
CPU_SOCKET. - Spawn a
CPU.txtE2 chip on this Plug. - Insert the Plug into the CPU socket.
- Use the following information to connect the CPU inputs:
| Input | Type | Connection | ALX PC Default |
|---|---|---|---|
Board |
wirelink |
The Plug entity used as the CPU board | — |
InA |
number |
The selected letter input of the CPU Plug (A–H) |
A |
Note: The Plug entity acts as the board and is inserted into the CPU socket.
InAmust use the same letter selected for the CPU socket and the Plug.Ais used by default in ALX PC.
- Spawn a Plug using the same socket model selected for
PCIE_SOCKET. - Spawn a
GPU.txtE2 chip on this Plug. - Insert the Plug into the PCIe socket.
- Use the following information to connect the GPU inputs and output:
| Input | Type | Connection | ALX PC Default |
|---|---|---|---|
Board |
wirelink |
The Plug entity used as the GPU board | — |
InA |
number |
The selected letter input of the GPU Plug (A–H) |
A |
ScreenSockG_0 |
number |
Letter of the first screen socket (A–H) |
G |
ScreenSockG_1 |
number |
Letter of the second screen socket (A–H) |
G |
| Output | Type | Connection |
|---|---|---|
EntID |
number |
Connect to the selected letter input of both screen sockets |
Note:
BoardandInAwork the same way as on the CPU. The GPU provides two screen sockets for connecting compatible screen devices. Both screen sockets useGby default in ALX PC.EntIDmust be connected to the selected letter input of both screen sockets.
- Spawn an plug what you used for PCIE_SOCKET or PCI_SOCKET.
- Spawn an "HDD_Controller.txt" chip on board.
- Spawn 1-4 sockets on board what will be used as SATA ports. If you are building PCI card then max sockets are limited to 2.
- Use this information for connect inputs on CPU chip:
[ coming soon ]
- Spawn "HDD.txt" on some prop or anything else.
- Spawn an DHDD near it. You can spawn up to 4 DHDD's in default configuration (you can extend that by editing HDD code). Each DHDD can hold up to 1 MB of data.
- Spawn socket what you used on hdd controller.
- Use this information for connect inputs on CPU chip:
[ coming soon ]
UNDER CONSTRUCTION* 7. Get Memory - DHDD tool and spawn 1 or more HDD Banks near HDD chip. 8. Spawn one more DHDD for BIOS ROM. 9. Spawn two wire buttons (power/reset) without TOGGLE checkbox. 10. Spawn EGP, Digital Screen. 11. Spawn two wire indicators (Visuals->Indicators->Indicator). 12. Spawn any prop as BIOS Speaker. 13. Spawn Wire Gate "To Character" (connect NullByte on BIOS to Out on this gate). 14. Connect everything between chips using Wiring tool, don't forget connect every chip to BIOS. 15. If everything connected correct - you can boot PC now.
Have fun. :)