Legacy repository for the Pokémon3D Visual Basic version
Go to file
Daniel S. Billing daf48f656b Added ss_aqua, ancient_ruins and millennial_star_tower images from AlexCorruptor 2021-04-12 09:06:55 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2020-07-25 23:00:12 +02:00
P3D Added ss_aqua, ancient_ruins and millennial_star_tower images from AlexCorruptor 2021-04-12 09:06:55 +02:00
lib Ignore the build folder 2021-01-25 00:13:57 +03:00
.gitignore discord-rpc.dll 2021-02-20 00:42:46 +01:00
.gitmodules add game dev common submodule 2018-02-24 09:31:49 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2021-01-08 22:55:43 +01:00
LICENSE Create LICENSE 2016-12-04 20:55:15 +03:00
NuGet.config Create NuGet.config 2018-06-04 23:02:35 +03:00
P3D.sln Binary changes 2021-02-20 00:18:38 +01:00
README.md Update README.md 2021-01-24 23:49:35 +01:00

README.md

P3D-Legacy

License Total Downloads Contributors Version Release Discord

The game is not in active development by nilllzz anymore, but few people from the community are maintaining the game and porting it to MonoGame platform.

You are free to fork and redistribute the code under the GNU GPLv3 license.

Downloading the game

You will find the latest release here.

Requirements for the game

In order to run the game, you will need the following:

Build instructions for the game

The game is written in Visual Basic and was compiled targeting the .NET Framework 4.6

It is built using the MonoGame framework as graphics middleware.

In order to build the game's solution, you need the following:

To run the game after a successful build, you also need an applicable graphics card that supports DirectX (version 9 minimum).

The first build of the game will take a little longer due to the MonoGame Content Pipeline building all assets for the first time.

Classified information

The game was configured to connect to several servers and internet APIs using private keys. To keep the private keys private, they have been redacted from the source code, along with a few URLs.

If you want to you can add your own private keys/URLs back into the game to enable certain online features. To find these places search for these comments in the source code: ' CLASSIFIED

Every line that has the "CLASSIFIED" comment at the end of it had some kind of string removed from it.

File Validation

To ensure that the game has the original files, for fair online gaming, the game validates the files. It basically stores a hash for each map, script and data-file in a file called "meta". This is stored in the game's root directory.

Hardcoded into the game's code is the hash for the meta file, to ensure that it did not get altered.

The code responsible for this is located in Security/FileValidation.vb.

To generate a valid meta file for the current state of the files in the game, go to the aforementioned code file and set this:

    Const RUNVALIDATION As Boolean = True ' Instead of False

Also, be sure to turn off the IS_DEBUG_ACTIVE in the Core/GameController.vb file.

Then build and debug-run the game. The console output of during the game's launch will output an expected size and metahash value.

It will also produce an updated "meta" file.

Stop the debugging of the game and copy these two values into the correct places at the top of the FileValidation code:

    Const EXPECTEDSIZE As Integer = <your expected size output here>
    Const METAHASH As String = <your meta hash here>

Once you have done this, disable the RUNVALIDATION variable again and build the game again to have it boot up like normal.

Development

The game includes a switch to enable debug mode that makes map development or general fooling around easier.

Locate the file Core/GameController.vb and set the IS_DEBUG_ACTIVE const to True, then rebuild the game.

This is basically the Sandbox Mode that can be enabled in the game's save files plus these features:

  • Display last build time in the F3 menu.
  • Trade with yourself in the Game Jolt GTS.
  • Bypass current version checks in the Game Jolt login screen.
  • Update the game's current version on Game Jolt. Set UPDATEONLINEVERSION to True in Core/GameController.vb and rebuild the game.
  • Move the 3rd person camera around freely with arrow keys. Hold CTRL and up/down to move the camera on the Y axis.
  • Open the Pokégear even though the player has not received it yet and use its modules without receiving them.
  • Legacy diagonal movement support.
  • Reduce Kolben Splash Screen delay as much as possible.
  • All HM moves are present in every Pokémon's menu.
  • Ignore FileValidation warning.