Search the Community
Showing results for tags 'c#'.
-
GitHub Source Code Download Latest Release About This tool aims to make past Mystery Gift event contents back again in all the Pokémon games for Nintendo Switch. Since those games won't allow event injection in the SAV file, this tool creates a forged BCAT package, injectable with homebrews like JKSV. This allows wondercards to be redeemed through the In-Game Mystery Gift Menu. The use of this tool does not involve hacking the game ROM nor hacking the game SAV. Video example: Compatible files Let's Go Pikachu and Let's Go Eevee wondercard full files (.wb7full) Sword and Shield wondercard files (.wc8) Brilliant Diamond and Shining Pearl wondercard files (.wb8) Legends Arceus wondercard files (.wa8) Scarlet & Violet wondercard files (.wc9) BCAT wondercard files, either with mutiple or single wondercards (no file format extension) Compatible games Pokémon Let's Go Pikachu and Eevee Pokémon Sword and Shield Pokémon Brilliant Diamond and Shining Pearl Pokémon Legends Arceus Pokémon Scarlet and Violet Disclosure Neither I nor the Project Pokémon staff takes any responsibility for possible adverse outcomes or bans due to the use of this tool. Use at your own discretion. N.B: Some BCAT files contain sensible console-specific informations, which you should keep safe. Don't share your BCAT to others! Usage Tutorial The following tutorial refers to the GUI version of the program. The .CommandLine app is currently just a simple script that calls the .Core functions and can run on any popular OS. Its usage is similar to the Windows Form app and should be fairly intuitive. Ensure you have the required .NET Desktop Runtime 8.0.x correctly installed Download the latest tool release from GitHub Dump your game's BCAT with JKSV and keep some copies somewhere safe Open the Switch Gift Data Manager tool and select your game of choice Import wondercard files of your choice (by drag & drop or by clicking the `Open Files` button) Eventually edit the wondercard id (WCID) if you have invalid WCs and click `Apply` Click the `Save as BCAT Package` button and select your dumped BCAT folder in the "Source BCAT Path" section. The path must lead to the folder containing the files "directories.meta", "etag.bin", "list.msgpack", "na_required", "passphrase.bin" [N.B: if your dumped BCAT only has the "passphrase.bin" file, it means it was not initialized properly. Connect in-game and use any Mystery Gift feature at least once to initialize the BCAT. Downloading Wild Area News or Poké Portal News works too] Click the "Save" button A folder called "Forged_BCAT_{Game}" should appear next to your dumped BCAT (or in whatever path you selected in "Destination BCAT Path") Restore the forged BCAT with JKSV To redeem the old fashion events, open your game -> Menu -> Mystery Gift -> redeem via Internet When you're done, restore your original BCAT package with JKSV (not doing so may cause sync issues) N.B: BCAT Sync usually occurs between 12:00 AM (UTC) and 01:00 AM (UTC) if there is new BCAT content in the servers. I suggest to not follow this procedure during that timeframe to avoid a desync. If you experience a desync, follow one of these methods to resync: Open JKSV, select BCAT, hover over your game and press X to open the menu, then click `Reset Save Data`. Download the latest BCAT for your game from citrusbolt's website and add the missing files to your dumped BCAT, then restore it with JKSV. If you find any bug or you need support, please read carefully the FAQ section. Comment this post with your question if you still need help. Credits PNZeml for the CRC-16/CCITT-FALSE with lookup table implementation Kurt, Matt and all the PKHeX and pkNX devs and contributors for a lot of offsets and resources theSLAYER for his researches in the Sword and Shield fashion block and for the clothing names resources All the Events Gallery contributors for the archival efforts that made this possible
- 175 replies
-
- 10
-
Tera Finder allows users to view, edit and calculate Raids and Mass Outbreaks for Scarlet & Violet, by loading a Save File or by Live RAM reading/editing. Both a standalone program and a PKHeX plugin are available for use. The .NET Desktop Runtime 8.0 is required for this tool to work! Compatible Games: Pokémon Scarlet & Pokémon Violet Source Code: https://github.com/Manu098vm/Tera-Finder Downloads: https://github.com/Manu098vm/Tera-Finder/releases Base Tutorials and Features: Initial Setup Use the Tera Finder plugins with PKHeX Connection to Remote Device (WiFi or USB) View & Edit Mass Outbreaks View & Edit Tera Raids Import Poké Portal News (Raid and Mass Outbreak Events) in Zip/Folder formats Calculate RNG seeds that result in Pokémon with wanted details/stats Calculate RNG seeds that result in Raids with wanted rewards Reverse a Pokémon into its Origin Seed to check legality Edit Tera Raid related Game Progress and Caught Flags Supports localized languages Full Tutorials: Encounter wanted Tera Raid Pokémon or Raid Rewards Encounter wanted Mass Outbreaks Generate Legal PK9s from Tera Raid and solve "Unable to match an encounter from origin game" or "PID mismatch" errors Import the Event's Gallery Raid Events Import the Event's Gallery Mass Outbreak Events Troubleshooting: Feel free to comment this thread if you find any issues. Please check the troubleshooting page for common errors. FAQ: Q) Can I use this program on unmodded Switch consoles? A) You can calculate seeds and generate PK9 files if you want, but interacting with the games requires Atmosphere CFW to be running on your Switch system. Q) Can I share the injected Raids and Outbreaks online? A) Yes, injected raid seeds are completely legal and could have been generated during the normal gameplay of the game. Default outbreaks data is dumped from legally obtained Outbreaks. Q) Can I generate a seed to produce Legendary / Shiny Locked / 999x Item Rewards / Unreleased stuff etc. A) This tool only produces legal raids. Check here to see what's possible and what not. Related Tools: RaidCalc - A super-fast, multiplatform Seed calculator, written in C++ RaidCrawler - A great SysBot-based Raid RAM Viewer with capabilites of automatate routines to search for wanted Raids, written in C# sv-live-map - Another great SysBot-based RAM Viewer with capabilites of automate routines to search for wanted Raids, written in Python sv_raid_lookup - A very cool website to check available raids and encounters, written in Rust
-
The problem is that I cant get the bits from 0x38-0x3B Might you help me please :smile: Im using this code for pokémon ID UInt16 pkmID = BitConverter.ToUInt16(pkm, 8); This code works fine :smile: for stats im using this code; UInt32 Stats = BitConverter.ToUInt32(pkm, (0x38 << 0)); This code dont work :frown: then i try this UInt32 Stats = BitConverter.ToUInt32(pkm, 0x38 ( [0-31] << 0 )); But noting same problem help me please
-
I'm only using this for personal use, just to calculate things.. but I need some help.. I use VisualStudio 2005 first, i used VB Private Function PRNG(ByVal seed As String) As String Dim temp As String = "" Dim t As UInt64 t = Convert.ToUInt64("0x41C64E6D", 16) * Convert.ToUInt64(seed, 16) + Convert.ToUInt64("0x6073", 16) temp = Hex(t) If temp.Length < 16 Then For t = 0 To 15 - temp.Length Step 1 'just to add zero temp = "0" & temp Next End If PRNG = temp End Function then for some reason i have to convert it to C#, here is the code: using Microsoft.VisualBasic; //for Conversion private const UInt64 factor = 0x41C64E6D; private const UInt64 adder = 0x6073; //... private string generate(String seed) { return temp = Conversion.Hex( (factor * Convert.ToUInt64(seed, 16) + adder)); } but i get different result, well the LSB is the same, but the MSB is different.. any clue? :bidoof::bidoof::bidoof: thx a lot