Categories
Programming SHAR Project

SHAR – Visual Studio 2019 Import

Windows 10 – Visual Studio 2019 Updating

First, I started by importing the project into Visual Studio 2019, accepting any changes it requires to change project files to the new format, next I rebuilt the solution just to see what might happen, expecting tons of errors as the software surely wouldn’t have been compatible going from 2002 Visual Studio to 2019 in one go.

Sure enough, during the build process I was already getting hundreds of errors such as

'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

Seems like the best course of action here would be to install VS Studio 2002 and select it as the toolset for compiling. Far to many BCs between 2019 and 2002 (duh)

Gonna give that a try…

Categories
Programming SHAR Project

The Simpsons: Hit & Run Source Code Leaked

Seems like someone somewhere is having a bad day. Simpsons Hit and Run (SHAR) has been leaked via 4chan. Not entirely sure how it dropped but as someone extremely interested in game development, projects releasing like this is a fantastic learning opportunity to see what is out there working in the real world. This one is especially great as it effectively comes with all the documentation concerning the entire game development process.

To be clear, not going to link the mirror links that are everywhere on the internet, but I’ll help you get setup!

Note, currently something I am working on so you’ll see this updated every now and then

Windows XP VM

  1. Setup Windows XP VM
  2. Install .net version 1.0 (https://download.cnet.com/Microsoft-NET-Framework-Redistributable-1-0/3055-10250_4-10725994.html)
  3. Install Visual Studio 2002
  4. Open the project
  5. Rebuild the project. If you build it at this stage you’ll have about 600 errors, you need to rebuild the entire thing
    • (NOTE, I HAD THIS MOUNTED ON A NETWORK PATH, THIS IS NOT POSSIBLE, EXTRACT SHAR TO YOUR LOCAL DISK)
  6. Navigate to shar\game\build\win32\Release and your newly compiled Simpsons Hit and Run should now be there!

Now, developing on Windows XP with Visual Studio 2002, isn’t exactly the best thing ANYONE would recommend, so let’s work on exporting to Visual Studio 2019.