Sim Theme Park/Theme Park World Online Functions

I'm still interested in this - I had a look not too long ago at trying to re-create the online features. Here's some of the stuff I discovered: please note that I could be completely wrong!

The game actually runs several servers; I'm only going to be talking about the login server that runs on port 7598 for trivial reasons. Patching the client is relatively easy and only requires a change to the Online.sam file, which is plaintext anyway. I decided to go the long way around and add an entry to my hosts file so that daphne.eagames.co.uk would get resolved to localhost, because the client seems to work slightly differently when it's given localhost directly.

The login server uses TCP, and when a client connects the server *must* write at least one byte in the TCP stream, otherwise the client will just sit there and do nothing. The client then sends across a "packet" (write ~148 bytes to the stream) beginning with 0x42 and 0x63, which is a login request. This contains the username and password that the user entered at positions 20 and 84 respectively, plus some additional info I haven't figured out quite yet.

From there, I think the server has to write a few bytes back, however I found that writing more than two seems to cause the connection to drop instantaneously. 0x42 and 0x73 are mentioned at one point, so I've been trying those. It is quite possible that I am completely wrong as my knowledge of assembly language is extremely basic and I've never done anything like this before, but I'm giving it a try anyway.

I also did a bit of work trying to unpack the DWFB WAD files the game uses for use in the future, because the PS2 has additional rides that were rewards from the PC online play. This is actually relatively simple (there is some simple documentation on the format here) but once again decompression seems to be my downfall.
People appear to have had luck here, however contacting them has unfortunately yielded nothing.
 
It's clear that you've delved deep into the technical aspects of the game and the servers involved. Still, your dedication is commendable.
 
Regarding your quest for more information, it's unfortunate that you haven't had much luck reaching out to others who may have made progress in this area. Sometimes, these things can be a bit elusive.
If you're still on the hunt for this info, here's a suggestion: consider checking out amusement parks in the USA for some inspiration. You never know what ideas or insights you might stumble upon during a visit. Exploring real-life parks can often spark creativity and provide a fresh perspective on game development.
Keep up the good work, and who knows, your efforts might lead to some exciting discoveries in the world of Sim Theme Park.
 
Last edited:
Back
Top