Open deReeperJosh opened 1 year ago
I do know that there is other games that also uses nfc characters like Disney Infinity. Do you think it could be used for such game or others? If so wouldn’t the name be better to describe it as load figure dump (Skylanders Portal), figuring manager (skylander manager).
@Spidy123222 yeah I have got another PR open (https://github.com/dolphin-emu/dolphin/pull/11546) to emulate the Infinity Base - but the structure for dumps for Infinity is much different and a lot more complex, would want a separate UIAction for that with different names
Since there's a bunch of commits here that have been merged upstream already, would it be OK if I merged upstream on master
and have you rebase this PR?
@OatmealDome yeah of course - I'm happy with that
Let me just take a bit of time to get this to only the one commit of things that are relevant - I might have missed a commit or 2 when cherry-picking
This is where I want it now - not sure about the XCode auto generated changes, but can revert those where needed
With the Skylander Portal now in mainline Dolphin, I have seen a few requests come through (like here https://github.com/OatmealDome/dolphin-ios/issues/60) to bring the functionality to Dolphin iOS, so this PR aims to implement that here. The only relevant commit is the most recent one, the rest have been cherry-picked from the main Dolphin Repo.
As a start, I haven't added the create Skylander Functionality, so users can either just use their existing Dumps or use ones they have created on Dolphin for Desktop.
I have tried to make it as simple as possible, and not clog up the UI - so Users can select to Load, Clear or Clear All. Load will load in to the next available slot (determined in the C++ code), Clear will clear the Skylander from the most recently used Slot, and Clear all will reset the portal.
If it would be better to create a Dialog Window with the full create, load and clear functionality, I can try to implement that further down the line, but for now the UIAlert is limited with what can and can't be done. Screenshots below:
Position in the Left Menu![IMG_0524](https://user-images.githubusercontent.com/28370004/224890034-47b2e771-7962-4a4f-92cf-32da8f62b061.PNG)
The Alert Dialog![IMG_0525](https://user-images.githubusercontent.com/28370004/224890051-c99f04ca-877f-4f26-9a5a-1141f590863f.PNG)
In Game![IMG_0526](https://user-images.githubusercontent.com/28370004/224890058-403cb3d4-6cfd-4afb-a78f-06f470218d5b.PNG)