Monthly Archive for April, 2008

GTA4 on PC

You can play GTA4 on PC!!! Even if you don't have PS3. Just get a friend with PS3, Camcoder*, and gamepad-to-PC adapter, and setup a game via internet. You might also need TV-Tuner card for connecting camcoder.

But in the end, you play gta4 on pc before anybody else! Yay! Don't mind the latencies n shit...

Camcoder* - required for good quality.

GTA2 sound format

GTA2 sound format:

.sdt file stores array of following 24-byte records:
[0] Start offset
[4] Size
[8] Frequency
[12] [no fucking idea, its usually 0 or 1000]
[16] [no idea, its 0 mostly. Loop?]
[24] End marker (0xFFFFFFFF)
 
.raw just stores 16-bit signed PCM samples. Data is pointed by start offset and size from .sdt

Extractor (put in gta2\data\audio):
http://users.d2k5.com/Black%20Phoenix/files/soundext2.rar

Wheee

Ball logic

Ball-logic – one-way set gate. It will always switch to 1. It outputs ball to the right if switch occured, else to the left. (It is important point in ball logic – where ball will fall out. It’s used for additional timing stuff, etc)

Blocky

Hey guys, it’s blocky!

Ball logic – toggle gate

Ball logic – T-Gate (the toggle gate). Each time ball passes through it, it inverts it’s state. A very important component, and base of counter and addition gates. Can be attached to another gate, which would reset it to zero state.

Ball logic ROM scheme

Ball-logic ROM schemes, partial. Now you can actually build a processor that will execute code – you can store instructions and parameters in ROM. ROM stores bits, organized into levels. There are 4 levels, 16 bits on each here. You just flip switches for each level for bits, and balls to the job. This is a very bad and crude scheme, but general idea is this: to read bit, we send ball through the ROM unit, and it will flip switches in the CPU itself (using remote link of some sort, maybe rope), setting internal register to value read from ROM. There are some troubles addressing, but they can be fixed.