Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pocket Extras Support & Other Stuff #255

Merged
merged 32 commits into from
Feb 18, 2024

Conversation

hallem
Copy link
Contributor

@hallem hallem commented Feb 16, 2024

  • Added support for @dyreschlock Pocket Estras
  • Added support for @espiox Sega System 16 combination core

Other Stuff

  • Removed jtbeta decompressed files when finished
  • Added support to refresh the local cores list on Global Helper so that's updated when this core is installed
  • Added the ability to refresh the Status Update event bindings on Pocket Core Updater so the output gets sent to the Console when downloading the assets for the Pocket Extras
  • Added JSON Ignore to the Pocket Extras core setting so it's not output for every core, only when it's true
  • Suppressed the Fun Facts messaging when there's nothing to show
  • Added check to make sure the Assets common directory exists first (System.IO.DirectoryNotFoundException: Could not find a part of the path '/Volumes/POCKET/Assets/wonderswan/common/bw.rom'. #252)
  • Added logic to the Get Random Sponsor method to only be able to choose from the ones that have sponsors
  • Fixed the logic in Select Cores to always show when a core requires beta access.
  • Added missing logic to the RunUpdates when a beta core is skipped on initial install because the beta key is missing
    ( I think that's it...)

hallem added 30 commits February 6, 2024 16:25
- Added menu item for uninstalling one or more of the installed cores
- Added menu item for reinstalling one or more of the installed cores
- Added a .DotSettings file to ignore some warnings
- Little bit of cleanup on Program.cs
Using the enum makes it a lot easier to change the order of the menu items and and/remove menu items.
Ability to download and install Donkey Kong extras from dyrschlock's pocket-extras repo.
The GC was having trouble cleaning up the heap in the hash check method. Assigned the byte arrays to a variable and set that variable to null before it fell out of scope to clue the GC in better.
- Added the Radar Mission and Jotego pocket extras
- Fixed the logic to always show the "Requires Beta Access" message during core selection changes
- Added second check to make sure the core is installed before trying to install one of the pocket extras
- Added missing logic to the RunUpdates when a beta core is skipped because the key is missing
- If get random sponsor links doesn't return anything, it no longer writes a blank line
- Added the "bios_1_0_usa.pce" file from the PC Engine CD core alternate file names to the blacklist because it doesn't exist (per discord conversations)
- Added the blacklist check to the alternate file names logic
- Added ifdef statements around both the blacklist and image packs logic to load the JSON files locally when in DEBUG mode
Turns out only 59 of the cores have sponsor information. So I added logic to the Get Random Sponsor method to only be able to choose from the ones that have that information. Also added logic to the Global Helper to reduce the amount of times it's accessed to once.
stops an error from being thrown if the common directory is missing
- Added support to refresh the local cores list on Global Helper so that's updated when this core is installed
- Added the ability to refresh the Status Update event bindings on Pocket Core Updater so the output gets sent to the Console when downloading the assets for the Pocket Extras
- Added JSON Ignore to the Pocket Extras core setting so it's not output for every core, only when it's true
- Suppressed the Fun Facts messaging when there's nothing to show
refactored a little to reduce the number of times strings were used and to keep them localized to one file.
- combination cores are skipped at the moment
- refactored pocket extras code into service to allow for check on core update
- corrected asset prefix typo in JSON
- removed the unzipped jotego beta key when finished
@mattpannella mattpannella merged commit c9bc5dc into mattpannella:main Feb 18, 2024
1 check passed
@hallem hallem deleted the pocket-extras branch February 18, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants