Game Development Community

dev|Pro Game Development Curriculum

Air Ace Update Server + Launcher

by Thomas \"Man of Ice\" Lund · 06/17/2006 (6:31 am) · 10 comments

~2 years ago I had a student do a project with/for me. I was in need of a combined launcher+updater client, and we worked together on that 2-3 month. He wrote a project, got good grades and everyone was happy. The code wasnt 110% solid and finished, but it was good none the less.

Well - as things happen, the code never really got used and it went into my SVN "for later".

Since we are approaching alpha for Air Ace very fast, it was time to pull out this old stuff and brush it up. Yesterday I finally got the last pieces running again - and what better excuse but to write a blog and post some screenies :-)

The requirements for the system were (from top of my mind)

Client:
* "platform independent"
* C++
* display news
* update the game
* launch the game

The update process had to be fairly robust and secure. Encryption, CRC checks and rollback on any failure

For the client side we decided to use wxWindows and C++, so it would be easy to get it running on multiple platforms. The client talks to several webservices on the server to fetch news, check for updates, grabbing updates etc.

Server:
* "platform independent"
* J2EE
* support for unlimited games from same server
* webclient for uploading updates/writing news/configuration etc

All my backend stuff is coded in Java (Java2 Enterprise Edition), as its (in my mind) the best scalable language to use for server side. I've released several boxed non-game domain products with it and it just runs!. Having application servers like JBoss makes it _very_ easy to support clustering, sessions, database independence, transactions and webservices with minimal code.

The idea was an architecture like this:

airaceonline.arcadersplanet.com/screenshots/updater/Backend_architecture.gif
The administrative client was easily made as a web client included in the application server, so thats what we ended up with.

Various screenshots:

Boring ones first - the running server:
airaceonline.arcadersplanet.com/screenshots/updater/Update%20server.gif
Not much to see :-)

The administrative webclient (still under graphical development - but fully working):

airaceonline.arcadersplanet.com/screenshots/updater/Update%20webclient.gif
And lastly the progression from the "student art" client to the almost done Air Ace layout. Still to be done is the transparent wxHTML widget

airaceonline.arcadersplanet.com/screenshots/updater/launcher1.gifairaceonline.arcadersplanet.com/screenshots/updater/launcher2.jpgairaceonline.arcadersplanet.com/screenshots/updater/launcher3.jpg
and finally a fully connected client up against the backend

airaceonline.arcadersplanet.com/screenshots/updater/launcher4.jpg

#1
06/17/2006 (6:58 am)
Very, very nice!
#2
06/17/2006 (7:15 am)
done. ship it.
#3
06/17/2006 (8:10 am)
I like how you still have a search for "alpha" visible from the conversation on IRC earlier ;-)

T.
#4
06/17/2006 (8:39 am)
neato, looks and sounds very good :)
#5
06/17/2006 (9:31 am)
Really cool stuff Thomas :)
#6
06/17/2006 (3:30 pm)
Wow, the updater looks as great as the game. I'm excited to hear that Air Ace is coming out soon. Keep up the superb work...
#7
06/17/2006 (4:06 pm)
That's one game I want to play : if you guys want testers in North America to check latency response, you know who's eager to dogfight with you guys :)
Good work, looks like it's coming along fine.
Cheers !!
#8
06/18/2006 (5:36 am)
And updated now with latest version screenie!

Got transparency and font color into it

airaceonline.arcadersplanet.com/screenshots/updater/launcher5.jpg
#9
06/18/2006 (7:52 am)
Hey...That B-29 looks a little like FIFI, cool..... The Commemorative Air force (CAF) ,which is where she lives, is located here in Midland, TX at the Midland International Airport. Every year we have the Air Show, which is usually in October, they reenact the bombing of Pearl Harbor. Sometimes she flys during the show with a squadron of P51 Mustangs flying support. Man it is loud! It sends chills up and down my spine.

She recently got her 4 engines rebuilt and now she flys again. FIFI is the ONLY B-29 Bomber in existance that still flys!

You guys are doing an awsome job! Cant wait to buy this when it is released!!!
#10
07/15/2006 (11:13 am)
Very impressive Thomas!