Tetattds 3.1

What’s new:

  • Network protocol rewritten
  • Support 8 players
  • Fix displaying highscores

Me and Gustav spent some time during the summer to rewrite the network protocol. Every packet is now smaller which means we can send them much more often. Every client now only sends the changes to the playfield (delta) and also the last seen version of the other players’ fields (ack). The whole field is sent if a new player joins or the delta is so big that it is more efficient to send the whole field. It also sends a new packet directly after reciving a packet from the player on the left. Before it simply sent packets at a fixed interval. The improvement is very noticable with two players.

Unfortunately the improvement is most apparent when using dswifi (”Internet”). It seems liblobby (”Local”) is not as fast.

My friends requested that you could see your own field on the upper screen. This is useful after the round is over to look at what you could have done to survive. This would have reduced the number of players to 4, but I’ve added a button (X) to switch the upper screen to show players 5-8. I noticed this doesn’t work very well on Nintendo DS after packaging this release, because I’ve only tested 8 players in the SDL version. Sorry about that. But if you do get 8 people together please let me know.

Download here

8 Responses to “Tetattds 3.1”

  1. Gerome Says:

    I love tetris attack,

    I actually started to make a version from scratch for wii but I’m faaaar behind you guys.

    I think I should maybe try to “addapt” your version to the wii :p

    It could be nice if DS users and wii users could play all together as well.

    Never tried your version as I unfortunatelly don’t have a DS.

    Let me know what you think of this idea.

    Thanks,

    Gerome.

  2. Splash2 Says:

    I can’t find the .nds file inside the download =(
    Is this only a PC version this time?

  3. Sten Larsson Says:

    It should be fairly easy to port Tetattds to Wii but the biggest problem is the user interface. It is not suited at all for a 16:9 screen. Maybe I should try to port it anyway.

    The nds-file is inside tetattds-3.1.zip. You were probably downloading tetattsdl-3.1.zip.

  4. Gerome Says:

    Ideally, it would suit a 16:9 screen if you allow 4 players. I think this is what the wii is all about :) I will be really happy to help on this, the only problem is that I haven’t seen it working since I don’t have a DS.

  5. Sten Larsson Says:

    There is an SDL version that works on Windows. It’s also possible to compile for Linux and OSX.

  6. KanyonKris Says:

    I’ve been getting crashes playing 3.1 on local WiFi. No pattern I can see - just playing along and then a crash (guru meditation error). Sometimes happens early, sometime much later. Playing on 2 DS only a few feet from each other.

    Will try Internet WiFi to see if that also crashes or not. Have not had any crashes on single player.

  7. sylvainulg Says:

    I loved your clone at first sight, and i need to thank you for this lobby-enabled version that allows me to play with my fairy.

    Here follow a bug report. Happened in Local wifi game, at level 6, after several succesful games at level 5.

    Crash on the game host:
    pc: 02026266 addr: 0000000
    r0: 00000000 r8 : 00000000
    r1: 020295b3 r9 : 0000002a
    r2: 00000000 r10: 0b003c58
    r3: 00000001 r11: 00000000
    r4: 00000066 r12: 00000013
    r5: 020ebce0 sp: 0b003948
    r6: 00000004 lr: 020384b5
    r7: 0b003c06 pc: 0202626e

    stack dump from 0b003948:
    0000007e 023fef08 020ebce0 00000000
    00000066 02026447 0100015c 00000066
    023fee98 0b0039b2 020ebce0 023fef08
    00000066 0202672d 0b0039b2 0000005e
    023fee30 08fe0056 020ebce0 023fee98

    Crash on the game guest:

    pc: ffff0a94 addr:ffff0a94
    r0: 0204c6b2 r8 : 0a00fff8
    r1: 00000000 r9 : 00000000
    r2: 0000B280 r10: 00000000
    r3: 00000000 r11: 0000001f
    r4: 00000007 r12: FFFF0A64
    r5: 00B28010 sp: 0B003C98
    r6: 00000009 lr: 0000000F
    r7: 06204000 pc: FFFF0A9C

    stack dump from 0B003C98:
    00000000 0000B280 0204C6AC FFFF02C8
    0A00FFF8 02000B9B 00000000 00003DEF
    00000000 020B80B0 03007EB8 020014b5
    020f8340 020d0498 037f800c 02040da5
    020a4974 020a4978 020a4974 0200a22d

    Host is a DS lite with a R4 and guest a DS phat with a supercard, if that’s of any interest.

  8. Sten Larsson Says:

    I’m pretty sure this is a problem with liblobby, the library I’m using for local wireless, but development on this library stopped a long time ago. The more players the more often it crashes. We should hope for ad-hoc support in DSWifi instead. http://forum.gbadev.org/viewtopic.php?t=16394

Leave a Reply


Bad Behavior has blocked 48 access attempts in the last 7 days.