P3D Legacy

2025-12-10 0 642

P3D-Legacy

The game is not in active development by the original developer nilllzz anymore, but a few people from the community are still developing and maintaining the game, hence the name P3D-Legacy.

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

Looking for documentation for the game? Check out the Wiki we have for the game!

Downloading the game

You will find the latest release here.

Instructions to play the game

  • Go to the releases page (here) and download the game (you need the one that ends with \”Release.zip\”) to a location where you can find it.
  • After it has been downloaded, use an application like WinRAR or 7zip to extract the contents of the zip archive to a location of your preference.
  • Navigate to the folder where you extracted the zip and double-click Pokemon3D.exe.
  • Have fun playing Pokémon 3D!

If you want to play online on the official Pokémon 3D server, you need a GameJolt account and your game token (Click here if you don\’t know where to find your game token).

  • Start the game, click on the GameJolt button in the Main Menu and enter your GameJolt username and your game token in the corresponding boxes.
  • Click on the button that says \”Log In\” and when you\’re back in the Main Menu, select the new Savegame that appeared.
  • If you want to play as a different character, check out the Skin Changer page on the Pokémon 3D homepage here.
  • Log in with your GameJolt account

Instructions to build the game from source

The game is written in Visual Basic/VB.NET 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:

  • Microsoft Windows operating system (XP and up)
  • Microsoft Visual Studio Community Edition (2019 and up)
  • MonoGame 3.7.1 for Visual Studio
  • Visual C++ Redistributable Packages for Visual Studio 2012 Update 4
  • Visual C++ Redistributable Packages for Visual Studio 2013

Make sure you\’ve cloned the repository to a filepath without any spaces in it. It won\’t build otherwise.
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 set the Solution Configuration at the top of the screen to Release instead of Debug.

Then build and debug-run the game. The console output during the game\’s launch will output an expected size and metahash value.
It will also produce an updated \”meta\” file in the \”P3D\\bin\\Release\” folder. Copy this to the main project folder (that\’s called P3D) and replace the file that\’s already there.

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.

If you want to continue working on the code, it is recommended to set the Solution Configuration at the top of the screen back to Debug instead of Release.

Development

The game has a Solution Configuration that enables debug mode which makes map development or general fooling around easier.

Set the Solution Configuration at the top of the screen to Debug (not Release), 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.

下载源码

通过命令行克隆项目:

git clone https://github.com/P3D-Legacy/P3D-Legacy.git

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

申明:本文由第三方发布,内容仅代表作者观点,与本网站无关。对本文以及其中全部或者部分内容的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。本网发布或转载文章出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,也不代表本网对其真实性负责。

左子网 编程相关 P3D Legacy https://www.zuozi.net/33549.html

ReplaceOSK
上一篇: ReplaceOSK
Virus Collection
下一篇: Virus Collection
常见问题
  • 1、自动:拍下后,点击(下载)链接即可下载;2、手动:拍下后,联系卖家发放即可或者联系官方找开发者发货。
查看详情
  • 1、源码默认交易周期:手动发货商品为1-3天,并且用户付款金额将会进入平台担保直到交易完成或者3-7天即可发放,如遇纠纷无限期延长收款金额直至纠纷解决或者退款!;
查看详情
  • 1、描述:源码描述(含标题)与实际源码不一致的(例:货不对板); 2、演示:有演示站时,与实际源码小于95%一致的(但描述中有”不保证完全一样、有变化的可能性”类似显著声明的除外); 3、发货:不发货可无理由退款; 4、安装:免费提供安装服务的源码但卖家不履行的; 5、收费:价格虚标,额外收取其他费用的(但描述中有显著声明或双方交易前有商定的除外); 6、其他:如质量方面的硬性常规问题BUG等。 注:经核实符合上述任一,均支持退款,但卖家予以积极解决问题则除外。
查看详情
  • 1、左子会对双方交易的过程及交易商品的快照进行永久存档,以确保交易的真实、有效、安全! 2、左子无法对如“永久包更新”、“永久技术支持”等类似交易之后的商家承诺做担保,请买家自行鉴别; 3、在源码同时有网站演示与图片演示,且站演与图演不一致时,默认按图演作为纠纷评判依据(特别声明或有商定除外); 4、在没有”无任何正当退款依据”的前提下,商品写有”一旦售出,概不支持退款”等类似的声明,视为无效声明; 5、在未拍下前,双方在QQ上所商定的交易内容,亦可成为纠纷评判依据(商定与描述冲突时,商定为准); 6、因聊天记录可作为纠纷评判依据,故双方联系时,只与对方在左子上所留的QQ、手机号沟通,以防对方不承认自我承诺。 7、虽然交易产生纠纷的几率很小,但一定要保留如聊天记录、手机短信等这样的重要信息,以防产生纠纷时便于左子介入快速处理。
查看详情

相关文章

猜你喜欢
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务