lvlann Posted August 4, 2023 Posted August 4, 2023 Hello, I wanted to to dump all my pokemon from my gamesave, to a folder on my desktop. When I go Tools - Data - Dump Boxes It dumps them all into the folder but it dumps them with their dex number - star if its shiny or not - species name - PID(i think). Is it possible to dump them with just the species name? For Example: I dumped a Charmander into a folder from pkhex and it saved it as "0004 ★ - Charmander - 86B0019942AE" I'd like to simply save it as "Charmander" or "Charmander ★" is it possible to do that? if so how? Thanks in Advance.
Kaphotics Posted August 4, 2023 Posted August 4, 2023 Use a file name plugin that replaces the naming logic. 1
lvlann Posted August 4, 2023 Author Posted August 4, 2023 21 hours ago, Kaphotics said: Use a file name plugin that replaces the naming logic. Thanks I went ahead and searched for it and downloaded from https://github.com/architdate/PokeFilename/releases/tag/2.0.0 Placed the .dll file in plugins folder inside the pkhex folder, and ignored and deleted the pdb file as stated in the installation guide. i turn pkhex on and get the following error: Exception Details: System.TypeInitializationException: The type initializer for 'PokeFilename.PokeFileNamePlugin' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified. File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at PokeFilename.SettingsLoader.GetSettings[T](String configPath) at PokeFilename.SettingsLoader.GetSettings() at PokeFilename.PokeFileNamePlugin..cctor() --- End of inner exception stack trace --- at PokeFilename.PokeFileNamePlugin.Initialize(Object[] args) at PKHeX.WinForms.Main.FormLoadPlugins() at PKHeX.WinForms.Main..ctor() at PKHeX.WinForms.Program.Main() Loaded Assemblies: -------------------- System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Private.CoreLib.dll PKHeX, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\AppData\Local\Temp\.net\PKHeX\z_UOGni8NZwbS8k1gbAQErXI27UiO+w=\PKHeX.dll System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Runtime.dll System.Windows.Forms, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Windows.Forms.dll System.ComponentModel.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.ComponentModel.Primitives.dll System.Windows.Forms.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Windows.Forms.Primitives.dll System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Runtime.InteropServices.dll System.Drawing.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Drawing.Primitives.dll System.Collections.Specialized, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Collections.Specialized.dll System.Threading.Thread, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Threading.Thread.dll System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Collections.dll System.Threading, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Threading.dll System.Diagnostics.TraceSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Diagnostics.TraceSource.dll System.Drawing.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Drawing.Common.dll Microsoft.Win32.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\Microsoft.Win32.Primitives.dll System.ComponentModel.EventBasedAsync, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.ComponentModel.EventBasedAsync.dll Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\Accessibility.dll System.Resources.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Resources.Extensions.dll System.Memory, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Memory.dll System.Drawing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Drawing.dll System.Numerics.Vectors, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Numerics.Vectors.dll PKHeX.Core, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\AppData\Local\Temp\.net\PKHeX\z_UOGni8NZwbS8k1gbAQErXI27UiO+w=\PKHeX.Core.dll System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Linq.dll Microsoft.Win32.SystemEvents, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\Microsoft.Win32.SystemEvents.dll System.Collections.NonGeneric, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Collections.NonGeneric.dll System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Text.Json.dll System.ComponentModel.TypeConverter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.ComponentModel.TypeConverter.dll System.Text.Encodings.Web, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Text.Encodings.Web.dll System.Text.Encoding.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Text.Encoding.Extensions.dll System.Runtime.Intrinsics, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Runtime.Intrinsics.dll System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.ComponentModel.dll System.Collections.Concurrent, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Collections.Concurrent.dll PKHeX.Drawing.PokeSprite, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\AppData\Local\Temp\.net\PKHeX\z_UOGni8NZwbS8k1gbAQErXI27UiO+w=\PKHeX.Drawing.PokeSprite.dll System.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.ObjectModel.dll System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Runtime.Loader.dll System.Private.Uri, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Private.Uri.dll System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.Http.dll System.Net.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.Primitives.dll System.Diagnostics.Tracing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Diagnostics.Tracing.dll System.Diagnostics.DiagnosticSource, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Diagnostics.DiagnosticSource.dll System.Net.Security, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.Security.dll System.Security.Cryptography, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Security.Cryptography.dll System.Net.Quic, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.Quic.dll PKHeX.Drawing, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\AppData\Local\Temp\.net\PKHeX\z_UOGni8NZwbS8k1gbAQErXI27UiO+w=\PKHeX.Drawing.dll System.Threading.ThreadPool, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Threading.ThreadPool.dll System.Net.Sockets, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.Sockets.dll PKHeX.Drawing.Misc, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\AppData\Local\Temp\.net\PKHeX\z_UOGni8NZwbS8k1gbAQErXI27UiO+w=\PKHeX.Drawing.Misc.dll System.Threading.Overlapped, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Threading.Overlapped.dll System.Net.NameResolution, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.NameResolution.dll System.Security.Principal.Windows, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Security.Principal.Windows.dll System.Security.Claims, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Security.Claims.dll System.Text.RegularExpressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Text.RegularExpressions.dll System.Windows.Extensions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Windows.Extensions.dll AutoModPlugins, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\AutoModPlugins.dll System.IO.Compression, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.IO.Compression.dll PKHeX.Core.Injection, Version=23.7.9.0, Culture=neutral, PublicKeyToken=null FashionEditor, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\FashionEditor.dll Common, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null InsertionPlugin, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\InsertionPlugin.dll PokeFilename, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\PokeFilename.dll mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\mscorlib.dll RaidImportPlugin, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\RaidImportPlugin.dll SortingPlugin, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\SortingPlugin.dll StartDateEditor, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\StartDateEditor.dll SVivillonPlugin, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\SVivillonPlugin.dll SVProfilePictureViewer, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\SVProfilePictureViewer.dll TeraFinder.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\amanm\Desktop\PKHeX\plugins\TeraFinder.Plugins_v2.4.0.dll TeraFinder.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null System.Configuration.ConfigurationManager, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.5\System.Configuration.ConfigurationManager.dll System.Xml.ReaderWriter, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Xml.ReaderWriter.dll System.Private.Xml, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Private.Xml.dll System.Net.WebClient, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Net.WebClient.dll System.Runtime.Serialization.Formatters, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Runtime.Serialization.Formatters.dll System.Xml.XmlSerializer, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Xml.XmlSerializer.dll System.Reflection.Emit.Lightweight, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Reflection.Emit.Lightweight.dll System.Reflection.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Reflection.Primitives.dll System.Reflection.Emit.ILGeneration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Reflection.Emit.ILGeneration.dll System.Console, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Console.dll System.Linq.Expressions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Linq.Expressions.dll Microsoft.CSharp, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\Microsoft.CSharp.dll Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null System.Diagnostics.StackTrace, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Diagnostics.StackTrace.dll System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Reflection.Metadata.dll System.Collections.Immutable, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.5\System.Collections.Immutable.dll -------------------- User Message: An unhandled exception has occurred. PKHeX must now close. ==================================================================================================================== Please advise.
Kaphotics Posted August 5, 2023 Posted August 5, 2023 The last release to that page was over a year ago; PKHeX no longer provides the Newtonsoft JSON library because it no longer uses it. If you are having issues with using out of date plugins on the latest release, message the plugin author. 1
lvlann Posted August 5, 2023 Author Posted August 5, 2023 2 hours ago, Kaphotics said: The last release to that page was over a year ago; PKHeX no longer provides the Newtonsoft JSON library because it no longer uses it. If you are having issues with using out of date plugins on the latest release, message the plugin author. Sounds good. there is no other way to change the names other than this plugin then? Ill be sure to message the author.
lvlann Posted August 5, 2023 Author Posted August 5, 2023 (edited) 2 hours ago, Kaphotics said: The last release to that page was over a year ago; PKHeX no longer provides the Newtonsoft JSON library because it no longer uses it. If you are having issues with using out of date plugins on the latest release, message the plugin author. @architdate Any Help? Edited August 5, 2023 by lvlann
theSLAYER Posted August 5, 2023 Posted August 5, 2023 I think he meant report an issue on their Github page. 1
lvlann Posted August 14, 2023 Author Posted August 14, 2023 On 8/4/2023 at 10:26 PM, theSLAYER said: I think he meant report an issue on their Github page. I did, never got a reply. I assume that plugin is abandoned.. Anything else I can do on my part? Is there another way within PKHeX which can implement that? May be in next update? @Kaphotics
theSLAYER Posted August 15, 2023 Posted August 15, 2023 4 hours ago, lvlann said: I did, never got a reply. I assume that plugin is abandoned.. Anything else I can do on my part? Is there another way within PKHeX which can implement that? May be in next update? You could consider forking the repo and updating it to use the nuget or something idk. 1
lvlann Posted August 15, 2023 Author Posted August 15, 2023 3 hours ago, theSLAYER said: You could consider forking the repo and updating it to use the nuget or something idk. I have no idea what that even means? I dont mind learning, would you know where I can learn how to do what you mentioned?
theSLAYER Posted August 15, 2023 Posted August 15, 2023 7 minutes ago, lvlann said: I have no idea what that even means? I dont mind learning, would you know where I can learn how to do what you mentioned? I don’t even know if there’s a resource to teach you how to do that. I don’t even remember how I learned, reckon there were others being patient with me. 1. Create a GitHub account. It allows you to make your own repositories (basically individual project areas for code) 2. With your account, you’ll be able to fork their project. What that means is that you’ll get a 1:1 copy of the project that was shared at that time, and you can proceed to make changes to the code 3. have a program that can edit and compile code. I use Visual Studio (I think 2019?) for free. Use it for making my mini programs or plugins Let’s get that all done before we jump to next steps 1
lvlann Posted August 15, 2023 Author Posted August 15, 2023 11 hours ago, theSLAYER said: I don’t even know if there’s a resource to teach you how to do that. I don’t even remember how I learned, reckon there were others being patient with me. 1. Create a GitHub account. It allows you to make your own repositories (basically individual project areas for code) 2. With your account, you’ll be able to fork their project. What that means is that you’ll get a 1:1 copy of the project that was shared at that time, and you can proceed to make changes to the code 3. have a program that can edit and compile code. I use Visual Studio (I think 2019?) for free. Use it for making my mini programs or plugins Let’s get that all done before we jump to next steps Love this. Git Hub Account: Done. Visual Studio 2022: Done. Lets go to the next step. Also thank you so so much by the way.
Kaphotics Posted August 15, 2023 Posted August 15, 2023 Download the repo, open the sln Update the NuGet for PKHeX.Core to latest, rebuild all. Grab the output dll in the debug folder, done. 1
lvlann Posted August 15, 2023 Author Posted August 15, 2023 25 minutes ago, Kaphotics said: Download the repo, open the sln Update the NuGet for PKHeX.Core to latest, rebuild all. Grab the output dll in the debug folder, done. downloaded the master file.. found the pokefilename.sln. figuring out the NuGet bit.
lvlann Posted August 15, 2023 Author Posted August 15, 2023 Update: Uninstalling VS2022 and downloading 2019 community instead. 2022 kept giving me errors.
lvlann Posted August 15, 2023 Author Posted August 15, 2023 2 hours ago, Kaphotics said: Download the repo, open the sln Update the NuGet for PKHeX.Core to latest, rebuild all. Grab the output dll in the debug folder, done. Unable to figure out "Update the NuGet for PKHeX.Core to latest, rebuild all." You mentioned download the repo.. I downloaded PokeFilename-master.zip i cant find pkhex core in it. I found NuGet Package manager under tools but thats the extent of it. Kindly Advise.
lvlann Posted August 15, 2023 Author Posted August 15, 2023 (edited) 2 hours ago, Kaphotics said: Download the repo, open the sln Update the NuGet for PKHeX.Core to latest, rebuild all. Grab the output dll in the debug folder, done. also getting the following error now. C:\Users\amanm\Downloads\PokeFilename-master\PokeFilename-master\PokeFilename.API\PokeFilename.API.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version. I've downloaded .NET 8.0 SDK already. Edited August 15, 2023 by lvlann
Kaphotics Posted August 15, 2023 Posted August 15, 2023 You need the sdk that is required for the project; none require net8 yet. 1
lvlann Posted August 15, 2023 Author Posted August 15, 2023 4 minutes ago, Kaphotics said: You need the sdk that is required for the project; none require net8 yet. how do i know which sdk is required for the project?
lvlann Posted August 15, 2023 Author Posted August 15, 2023 46 minutes ago, Kaphotics said: You need the sdk that is required for the project; none require net8 yet. i went on to its github https://github.com/lvlann/PokeFilename/new/master?filename=.github%2Fworkflows%2Fdotnet.yml&workflow_template=ci%2Fdotnet right side it states "Setup .NET Core SDK" under it it says "Installation Copy and paste the following snippet into your .yml file." I copied the snippet and opened "azure-pipelines" which is the only yml file with notepad and pasted the snippet at the bottom and saved it. tried opening the sln again, but it gave me the same error. setup .net core sdk was the only thing closest to what u mentioned. not that its not obvious, but my Major is not computers, its Aviation lol. But i LOVE to learn anything and everything new. That being said, I dont intend to be annoying just trying trying to learn something entirely new which might even help someone else in the future. I really hope you guys dont mind taking the time out of your schedule to help me figure this out, and I really really appreciate it.
Kaphotics Posted August 15, 2023 Posted August 15, 2023 The project uses .NET 7 to install, so you need the .NET 7 SDK https://dotnet.microsoft.com/en-us/download/dotnet/7.0 Use Visual Studio 2022 Community, as it's always going to be better than 2019. I myself use GitHub Desktop, which makes it incredibly easy to manage GitHub projects. Once you've forked the project to your own account/repo (you've already figured this out), open up GitHub Desktop and File->Clone Repository (this will clone it from GitHub's server to your local machine) Once it is loaded, you can view the files (ctrl-shift-f), which will show the root folder of the code project We want to open and edit the .sln (solution) file. With the sln open, you want to update the NuGet code libraries that Pokefilename reuses. Manage... Install the NuGet for PKHeX.Core to the latest: With NuGet updated, you can rebuild the entire project to get the outputs. Since the project is kinda outdated, the methods it uses in PKHeX.Core have been relocated. You'll see the following errors in the bottom pane: The first error indicates it was unable to build the application (csharp compiler), and the second indicates it was unable to reference a specific method in PKHeX.Core. We need to correct that. `PokeCrypto.GetCHK` was relocated to a different class & method name, namely: `Checksums.Add16`. With that fixed, we can rebuild the sln again (CTRL-SHIFT-B) and it succeeds (with some warnings)... but the output folder (PokeFilename\PokeFilename.GUI\bin\Debug\net7.0-windows) should have your *GUI.dll plugin file. Now, you don't need to do the remainder, but here's how you can contribute these fixes/updates back to the owner's repo: In the GitHub Desktop UI, it'll show you a diff of the files you changed, and the ability to "commit" them to your local repository. Go ahead and "commit" to "master". Once committed, the commit will only live in your local repository. You can "push" it to the remote host (origin) on GitHub. You can then create a "Pull Request" to request your commit be integrated into the main repo codebase. Branch -> Create Pull Request Create a new Pull Request, which will allow you to send it to the owner's repo (whoever you forked it from) and they can accept & merge the pull request. 1 1
Kaphotics Posted August 15, 2023 Posted August 15, 2023 This actually doesn't change anything for the newtonsoft thing, but I think it will work since it merges the newtonsoft DLL to the GUI dll on whatever current commit. 1
lvlann Posted August 16, 2023 Author Posted August 16, 2023 4 hours ago, Kaphotics said: This actually doesn't change anything for the newtonsoft thing, but I think it will work since it merges the newtonsoft DLL to the GUI dll on whatever current commit. I keep getting the same error again and again when I open sln file. "one or more projects in the solution were not loaded correctly. please see output window for details'. C:\Users\amanm\Desktop\PokeFilename\PokeFilename.API\PokeFilename.API.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version. C:\Users\amanm\Desktop\PokeFilename\PokeFilename.GUI\PokeFilename.GUI.csproj : error : The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version. i have downloaded the 7 .net sdk u mentioned.
lvlann Posted September 15, 2023 Author Posted September 15, 2023 @Kaphotics if it's not too much to ask, would it be OK for you to add the naming feature in the next pkhex update?
Kaphotics Posted September 15, 2023 Posted September 15, 2023 4 hours ago, lvlann said: @Kaphotics if it's not too much to ask, would it be OK for you to add the naming feature in the next pkhex update? It is perfectly fine being a plugin. I don't want to have to maintain everything; plugins allow people to write code / parsers for the exact behavior they want.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now