Sonntag, 26. Januar 2014

Expansion Board

yay, finished my expansion shield for my IO board, so now I have access to data0-7 and strobe on parallelport! this way I can do usually LPT bitbanging or in my case control a stepper motor card!





greetz WV

Freitag, 17. Januar 2014

And done! added the other 12 pinouts, some hotglue to the usb port and made some "feet" out of the hotglue... works 1A!




greetz WV

Donnerstag, 16. Januar 2014

USB 4 All

finally all parts arrived, and I could solder the first time this year :D this is my all-in-one-IO circuit, after sprut's USB4All circuit and firmware (source) also wrote a little testprogram to flip a LED on/off


greetz WV

Montag, 30. Dezember 2013

LAN Pong

Here comes the first version of my demo game, LAN Pong. For now only single player is done, but almost all game mechanics for MP are prepared, so next step will be including the SDK for MP



now on SVN...
greetz WV

Mittwoch, 25. Dezember 2013

well fine, my server has player and session list implemented, time to write a real demo game :) on SVN...

greetz WV

Dienstag, 24. Dezember 2013

it actually works fine! I love my packed vars... :) now on SVN


greetz WV

Montag, 23. Dezember 2013

Universal Game Server SDK

following up to the previous post, I created a SDK for a universal gameserver. It will handle player authentication, stats, lobby chat and game listing. So f.e. an example game log into it and sees what other players and games are available. Once a hosting player starts a session, the other talk to him over p2p with the IP they got from this game server. The "protocol" are the packed variables from previous post. WIP and first stable version on SVN :D



here the example code for creating the test packet, convinient enough for me^^

public static void SendTestPacket()
        {            
            List<NetHelper.PackedVariable> l1 = new List<NetHelper.PackedVariable>();
            l1.Add(NetHelper.CreatePackedVar(1, -1)); 
            l1.Add(NetHelper.CreatePackedVar(2, (uint)0x1000)); 
            l1.Add(NetHelper.CreatePackedVar(3, 3.1415f));
            List<NetHelper.PackedVariable> l2 = new List<NetHelper.PackedVariable>();
            l2.Add(NetHelper.CreatePackedVar(5, l1));
            l2.Add(NetHelper.CreatePackedVar(4, "Hello World"));
            List<NetHelper.PackedVariable> l3 = new List<NetHelper.PackedVariable>();
            l3.Add(NetHelper.CreatePackedVar(5, l2));
            l3.Add(NetHelper.CreatePackedVar(2, (uint)0x1111));
            SendPacket(NetHelper.CreatePackedVar(5, l3));
            log.Write("GameClient : Test Packet Send", 5, Color.Blue);
        }


greetz WV

Sonntag, 22. Dezember 2013

Packed And Streamed Variables

Sometimes a picture explains alot more than text. I needed a way to send structured (nested) variables over network as streams of bytes, so I decided to go for blocks that can nest, and quickly implemented this (10 mins). Its a bit like binary xml I guess :)


greetz WV

Mittwoch, 13. November 2013

Samstag, 9. November 2013

So, ACTA, SEPA and what they are not all called, prevent me from circumventing any reverse engineering protections and also any copy protection? So loading my DVD in my player, which loads it into its memory for playing, is actually illegal? Or cant I actually just copy any digital code, sell it for less and claim mine, just add a little protection and the original owner cant legally bypass it and proof its stolen? Does it help to delay research into critical infrastructure, just because I could really find out how it works? sometimes...

greetz WV