Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    375
  • comments
    1136
  • views
    298556

First steps

Sign in to follow this  
superpig

108 views

So I picked up WiX and am writing an XML file that describes the MC2 deployment. There's a lot more in the FinalBuild folder (the output directory that the MC2 XNA project ships with) than is required to run the game itself - files for the editor etc are in there as well - so I'm constructing my deployment list by starting with just the MC2Rel.exe executable, and then adding any missing files it complains about until it works.

Interestingly, after a mere 136MB (of the FinalBuild folder's 460MB), the game launches to the menu without a complaint. If you explore the frontend - fire up the game encyclopaedia - then you can see that there are some textures missing, but running Mc2Rel.exe in the FinalBuild folder also appears to be missing these textures.

So, I've got a "working" minimal deployment. I suspect that if I actually tried launching a level it would complain some more, but I don't necessarily need to be launching levels yet. I know I'd like to work on the renderer, but there are other things that could be interesting to fix - specifically, MC2 currently wins no Best Practices awards for saving all of its data (including user prefs and savegames) in the Program Files/MC2 folder, which is no good if you don't have write permissions to that directory. I should be able to modify it to use the user directories correctly, maybe even implement launchable savegames.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!