Commit Graph

71 Commits

Author SHA1 Message Date
Riley Testut
a9f15144ed Repairs corrupted Game, GameSave, and SaveState relationships on initial launch
Automatically fixes Game and GameSaves, but requires user to manually review + fix all recent SaveStates.
2023-08-10 19:33:27 -05:00
Riley Testut
15e228f287 Adds GameSave.sha1 to sync hash between devices
Fixes redundant record uploads post-sync due to comparing hashes against locally-cached hash via extended attributes.
2023-06-28 13:33:16 -05:00
Riley Testut
4cf705f141 [ExpFeat] Fixes saving screenshots to Photos as JPEGs 2023-06-16 16:57:00 -05:00
Riley Testut
99417b418a [ExpFeat] Adds missing @unknown default to PHAuthorizationStatus switch statement 2023-06-16 16:46:35 -05:00
Riley Testut
648e9b8393 [ExpFeat] Fixes saving screenshots to Photos with .limited authorization 2023-06-16 16:44:24 -05:00
Riley Testut
b1a3a5076f Merge branch 'experimental_features' into develop
# Conflicts:
#	Delta.xcodeproj/project.pbxproj
#	Delta/Emulation/GameViewController.swift
#	Delta/Pause Menu/PauseViewController.swift
2023-04-28 15:51:08 -05:00
Riley Testut
7fceccc114 [Experimental Feature] Toast Notifications (#244)
commit c340cf842fbf5fea476a6637efe4928dbd734eba
Author: Chris Rittenhouse <dev@litritt.com>
Date:   Thu Apr 27 17:24:30 2023 -0400

    Addresses Riley's requested changes
    - Minor code structure change in extension
    - Minor changes to text and phrasing

commit 2a928dfa637dfb503e861dc863f6f85f5240941a
Author: Chris Rittenhouse <dev@litritt.com>
Date:   Wed Apr 26 20:11:38 2023 -0400

    Adds implementation for Toast Notifications Experimental Feature

commit 4fa7d139669994eff888c41bf7af9ac0b6cd2a75
Author: Chris Rittenhouse <dev@litritt.com>
Date:   Wed Apr 26 20:11:04 2023 -0400

    Adds @Feature and @Options for Toast Notifications Experimental Feature

Co-authored-by: Chris Rittenhouse <dev@litritt.com>
2023-04-28 15:32:13 -05:00
Chris Rittenhouse
6bdc05f640
[Experimental Feature] Game Screenshots (#242)
* Adds extension to handle interactions with Photos app
- isAuthorized to check/ask for authorization
- saveUIImage to save a UIImage to Photos

* Adds a Pause Menu button for taking game screenshots

* Adds @Feature and @Options for Game Screenshots

* Implements Game Screenshots feature in GameViewController

* Updates project settings

* Passes call to save to Photos as a closure into authorization prompt
- Ensures that the screenshot is saved when the user is first prompted for access to Photos
- More elegant extension code

---------

Co-authored-by: Riley Testut <riley@rileytestut.com>
2023-04-28 14:35:26 -05:00
Riley Testut
39522fda58 [Experimental Feature] Supports AirPlay controller skins
Allows users to customize controller skin when AirPlaying games to an external display.
2023-04-27 14:58:51 -05:00
Riley Testut
3fb7e8b4b7 [Features] Moves Notification.Name.settingsDidChange to DeltaFeatures
Re-exports as Settings.didChangeNotification to allow accessing without explicitly importing DeltaFeatures.
2023-04-13 15:57:25 -05:00
Riley Testut
5a019e5950 Optimizes default input mappings for Joy-Cons, Switch Online, and other non-MFi controllers
* Uses Home button as Menu button when possible
* Supports “Start/Select” buttons for Switch NES controllers
* Rotates single JoyCon face buttons 90º
* Re-maps single JoyCon control stick from dPad to leftAnalogStick
* Re-maps L1/R1/L2/R2 buttons for N64 core
2023-02-28 18:12:14 -06:00
Riley Testut
7c934cebe1 Merge branch 'ipad' into develop
# Conflicts:
#	Delta.xcodeproj/project.pbxproj
2022-05-31 17:51:31 -07:00
Riley Testut
edab6ea432 Fixes sharing games + exporting save files
* Makes temporary copy instead of symbolic link when exporting game
* Sanitizes game name before exporting game
* Fixes prematurely deleting temporary game
* Exported save file names now match exported game names
2022-04-28 18:13:25 -07:00
Riley Testut
f14bb0f890 Supports AltJIT
Automatically enables JIT for MelonDS core when on the same WiFi as AltServer.
2021-11-16 14:39:48 -08:00
Riley Testut
c67b72068a Adds missing imports 2021-02-09 12:26:16 -06:00
Riley Testut
1871f69aca Disables JIT on iOS 14.4
JIT no longer works on iOS 14.4 beta 2, so disable for now until it (hopefully) works again.
2021-01-19 13:04:27 -06:00
Riley Testut
d0823b1acb Raises MelonDSDeltaCore maximum Fast Forward speed to 3x 2021-01-11 14:14:02 -06:00
Riley Testut
64df7b97ab Supports MelonDS JIT 2020-11-24 13:11:02 -06:00
Riley Testut
5c9332e61e Fixes importing games + controller skins from Files
Exposing Documents directory in Files app requires us to support opening files in place (despite LSSupportsOpeningDocumentsInPlace set to NO in Info.plist), so we now coordinate access to any external file URL
2020-04-28 14:44:06 -07:00
Riley Testut
e11e4437c5 Adds coreID to SaveState’s Harmony metadata for backwards compatibility 2020-04-27 13:03:28 -07:00
Riley Testut
77da71cd62 Adds “Home Screen” DS game to boot into DS main menu 2020-04-23 17:18:59 -07:00
Riley Testut
6f336a82a5 Adds DS settings UI to import melonDS BIOS + switch DS cores 2020-04-23 17:16:44 -07:00
Riley Testut
cd7e9652ab Replaces peek & pop with context menus on iOS 13+ 2020-02-06 14:37:21 -08:00
Riley Testut
86fd55b17a Limits N64 Fast Forwarding to devices with A9 or better 2019-09-21 17:58:39 -07:00
Riley Testut
ebf3fc6c27 Adds support for building Delta Lite (and Delta Lite beta)
Limits Delta Lite to NES games, and Delta Lite beta to NES and GBC games.
2019-09-15 18:57:15 -07:00
Riley Testut
aa05e57afc Limits DS support to beta builds 2019-09-12 15:25:13 -07:00
Riley Testut
e91b6bcd6b Uses constant bundleID for Fabric regardless of actual bundleID
AltStore resigns apps with unique bundle identifiers per-user, so we temporarily swizzle Bundle.infoDictionary to return a constant bundle identifier for Fabric so they can all be grouped together.
2019-08-07 16:51:00 -07:00
Riley Testut
2a81710d07 Adds support for DS games 2019-08-05 23:03:08 -07:00
Riley Testut
0046bfaf46 Adds support for N64 games 2019-06-21 12:07:30 -07:00
Riley Testut
3ecee031be Compares hashes before marking game saves as updated 2019-03-26 00:55:52 -07:00
Riley Testut
fe6701c82c Migrates to Swift 5 2019-02-25 13:50:11 -08:00
Riley Testut
d03cc90a29 Merge branch 'feature/nes' into develop
# Conflicts:
#	.gitmodules
#	Delta.xcodeproj/xcshareddata/xcschemes/Delta.xcscheme
#	Delta.xcworkspace/contents.xcworkspacedata
#	Delta/Base.lproj/Settings.storyboard
#	Delta/Settings/SettingsViewController.swift
2019-02-06 15:40:11 -08:00
Riley Testut
986b329178 Merge branch 'feature/harmony' into develop 2019-02-06 14:21:47 -08:00
Riley Testut
1e144e5657 Adds support for NES games 2019-02-01 12:44:32 -08:00
Riley Testut
7523102982 Adjusts keyboard input display priorities to favor special character keys 2019-02-01 12:25:08 -08:00
Riley Testut
17e20a6a7c Adds complete support for external keyboards
Fixes misc. other controller skin issues
2019-01-29 16:34:51 -08:00
Riley Testut
bace668739 Adds SyncResultViewController to view errors that occured during sync 2018-12-04 17:21:04 -08:00
Riley Testut
9a186ffea9 Changes Cheat.name to non-optional 2018-12-04 17:05:14 -08:00
Riley Testut
c4487433cd Adds Delta colors to asset catalog 2018-11-27 14:39:38 -08:00
Riley Testut
97b456d9b7 Adds UIAlertController extension to display Errors 2018-11-27 14:38:29 -08:00
Riley Testut
18d6bd262a Adds support for iPhone X-optimized controller skins 2017-12-19 01:54:10 -06:00
Riley Testut
52c39dbc4d Adds ability to search for games from GamesViewController 2017-10-16 13:03:00 -07:00
Riley Testut
fb5036acf8 Manually fixes Swift 4 migrator errors 2017-10-12 14:40:15 -07:00
Riley Testut
d709204107 Migrates to Swift 4 via Xcode migrator 2017-10-12 13:46:11 -07:00
Riley Testut
d70105e30e Adds ControllerInputsViewController to customize external game controller inputs
Includes necessary code changes to use refactored DeltaCore Input logic
2017-09-27 13:08:41 -07:00
Riley Testut
1dcbb9c656 Merge branch 'master' of github.com:rileytestut/Delta into develop 2017-04-30 21:43:30 -07:00
Riley Testut
93493534e0 Adds support for GBC games
Adds System enum to represent supported game systems, simplifying the process to add future game systems.
2017-04-30 21:39:13 -07:00
Riley Testut
d0ed98ba6b Updates DeltaCore + system cores 2017-04-30 19:36:48 -07:00
Caroline Moore
10e9f85ad5 Updates Delta purple 2017-04-11 18:32:36 -07:00
Riley Testut
2bb4c4d278 Implements error handling when importing games + controller skins 2017-01-14 11:27:18 -08:00