When Bradshaw said offline SimCity required "significant engineering", she was right - Maxis | PCGamesN

Layoffs hit Double Fine as unannounced project deal falls through

Civilization Online trailer shows time-lapse of players building Paris, before nuking it

Blizzard revert World of Warcraft dungeon loot changes after overwhelming fan feedback

When Bradshaw said offline SimCity required "significant engineering", she was right - Maxis

SimCity offline has been a distant hope for the best part of a year.

In the 10 months since SimCity’s release, a formula has been developed for effective protest against its always-online requirement. First, complainants point to the mod released shortly after the game itself that had the game working offline in truncated form. Then, they point to former Maxis VP Lucy Bradshaw’s assertion that an offline mode wouldn’t be possible “without a significant amount of engineering work”. Somewhere between those two points, they find evidence of malevolent intent.

The thing is, says Maxis lead engineer Simon Fox, “she’s right”. It’s taken a dedicated team six and a half months of rewriting “core parts of the game” to make single player SimCity make sense.

Fox and his team began work on an offline mode for SimCity in August - “as soon as practical after launch”. In an elucidative blog post, he explains that the game was originally designed so that “every action had an effect on other cities in your region”. As a consequence, its entire architecture was built around communication between the player’s PC and EA’s servers.

“So yes, while someone was able to remove the ‘time check’ shortly after launch, they were unable to perform key actions like communicating with other cities that they had created locally, or with the rest of their region(s), or even saving the current state of their cities,” said Fox. 

“I wish it were as simple as flipping a switch and telling the game to communicate with a dummy client rather than our server, but it’s more than that. Entire calculations had to be rewritten in order to make the game function correctly.”

SimCity’s total reliance on its servers to keep its cogs going meant that Fox and team had to rewrite “the entire system”, translating the simulation from Java to C++. They’ve had to write code from scratch to produce region data locally.

“The algorithms governing trading between cities needed to be retuned in order to make the behavior between cities more responsive for this type of play,” explained Fox. “This in itself required major optimizations in order to run the simulation locally. 

“We have an obligation to make the game fun and functional on all specs of machines. We wouldn’t want someone who was enjoying the Multiplayer game to find the Single Player game crippled due to poor optimization.”

Most parts of the game that once pinged the servers for help now do the same client-side. But some elements needed to be stripped out entirely - including code for trading, social features, leaderboards, achievements and the global market. 

“All without crippling the Multiplayer game,” notes Fox.

But now the work is done. Maxis are in the final stages of testing, and will push out the single player mode in SimCity’s upcoming update 10. Whisper it - but have they corrected a critical mistake too late?

Thanks, Kotaku.

Login or Register
1
+1
-0
Htorne's picture
238

I might be going back to the game giving it a try.

1
+1
-0
Shriven's picture
1753

I may purchase it.... potentially.

1
+1
-0
rci's picture
1

Of course it took "engineering", but not because it's hard to make simulated cities work on a PC... it is ONLY, and I mean ONLY, because developers wrote code that made the assumption (because they were told so), that the game would absolutely be on-line. This doesn't change things in any serious technological way... but it's just that the code breaks and it has to be patched in such a way as to....

... still work right in on-line mode as well... so when you make LOCAL changes, those changes don't:

#1 - blow up the on-line play

#2 - allow for people to "cheat" with modified local data.

When it was controlled, strictly, by EA servers... they had the comfort of knowing that modified user data was nearly impossible... it's not the wild west.

Opening up off-line, whilst still allowing on-line, suddenly makes the west wild and very much untamed again...

But it has nothing to do with any difficulties in city building code.

Alienware - Game VictoriousTurtle Beach
SimCity: Cities Of Tomorrow PC review

SimCity

SimCity: Cities Of Tomorrow PC review

All aboard the local-motive: SimCity offline mode coming today via update 10

All aboard the local-motive: SimCity offline mode coming today via update 10

Night-mayor nearly over: SimCity offline mode is just a spot of

Night-mayor nearly over: SimCity offline mode is just a spot of "final testing" away

Hell procedurally freezes over: SimCity is getting an offline mode

Hell procedurally freezes over: SimCity is getting an offline mode

Maxis wants you to mod SimCity, but only if you play by their draconian rules

Maxis wants you to mod SimCity, but only if you play by their draconian rules

SimCity: Cities of Tomorrow comes with more maps for everyone

SimCity: Cities of Tomorrow comes with more maps for everyone

SimCity players in revolt after 2.0 patch leaves cities overflowing with bugs and faeces

SimCity

SimCity players in revolt after 2.0 patch leaves cities overflowing with bugs and faeces

SimCity Central Train Station is a

SimCity Central Train Station is a "proof-of-concept" mod designed to herald a wave of custom buildings

Maxis

Maxis "exploring the possibility" of a SimCity offline mode, but "will not be providing bigger city sizes"

Maxis want to talk SimCity mods;

Maxis want to talk SimCity mods; "It's difficult to determine what mods cross the line"

SimCity: Cities of Tomorrow expansion summons commercialist dystopia

SimCity: Cities of Tomorrow expansion summons commercialist dystopia

How EA are teaching SimCity players about the work of the Red Cross

How EA are teaching SimCity players about the work of the Red Cross

Lucy Bradshaw gives some

SimCity

Lucy Bradshaw gives some "straight answers" about SimCity: "In many ways, we built an MMO”

SimCity Mac installation problems are resolved

SimCity Mac installation problems are resolved

SimCity is out on Mac today, shares Region play with Windows

SimCity is out on Mac today, shares Region play with Windows

SimCity update 7's road bridges and tunnels should put paid to traffic problems

SimCity update 7's road bridges and tunnels should put paid to traffic problems

SimCity update 7 brings further improvements to traffic. No more rubbish truck clumping

SimCity update 7 brings further improvements to traffic. No more rubbish truck clumping

SimCity for Mac due for August 29 release, free for PC version owners

SimCity for Mac due for August 29 release, free for PC version owners

How EA could repair SimCity's disastrous launch

SimCity

How EA could repair SimCity's disastrous launch

SimCity Update 7 introduces bridges, overpasses and tunnels for road builders

SimCity Update 7 introduces bridges, overpasses and tunnels for road builders

SimCity sells two million copies,

SimCity sells two million copies, "is a success" despite "really rough" first week

SimCity creative director leads upper-tier exodus at Maxis to start new simulation studio

SimCity creative director leads upper-tier exodus at Maxis to start new simulation studio

Hints suggest offline mode may be coming to a SimCity near you

Hints suggest offline mode may be coming to a SimCity near you

SimCity survey suggests EA want to double city size

SimCity survey suggests EA want to double city size