-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New tools for PS5, updated payloads & bug fixes
- PS5 game library context menu actions - Payloads for PS5 updated - ffplay universal binary is now included - make_fSELF GUI for PS5 - PS5 Game Assets Browser - PS5 Game Patches Downloader - Fix: Now uses correct Homebrew path depending on cpu arch - Fix: PKG Merger now shows the correct success message - Fix: Removed unused views
- Loading branch information
Showing
34 changed files
with
2,084 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// DownloadQueueItem.swift | ||
// PS Mac Tools | ||
// | ||
// Created by SvenGDK on 06/01/2024. | ||
// | ||
|
||
import Foundation | ||
|
||
struct DownloadQueueItem { | ||
var GameID: String | ||
var FileName: String | ||
var FileSize: String | ||
var DownloadURL: URL | ||
var DownloadState: String | ||
var DownloadProgress: Double | ||
var MergeState: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
PS Mac Tools/TabViewControllers/PS5TabViewController.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// PS5TabViewController.swift | ||
// PS Mac Tools | ||
// | ||
// Created by SvenGDK on 07/01/2024. | ||
// | ||
|
||
import Cocoa | ||
|
||
class PS5TabViewController: NSTabViewController { | ||
|
||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// | ||
// Utils.swift | ||
// PS Mac Tools | ||
// | ||
// Created by SvenGDK on 06/01/2024. | ||
// | ||
|
||
import Foundation | ||
|
||
class Utils { | ||
|
||
public var Arch: String? | ||
|
||
func CPUType() -> Int { | ||
var cputype = UInt32(0) | ||
var size = cputype.bitWidth | ||
let result = sysctlbyname("hw.cputype", &cputype, &size, nil, 0) | ||
if result == -1 { | ||
if errno == ENOENT { | ||
return 0 | ||
} | ||
return -1 | ||
} | ||
return Int(cputype) | ||
} | ||
|
||
let CPU_ARCH_MASK = 0xff // Mask for architecture bits | ||
let CPU_TYPE_X86 = cpu_type_t(7) | ||
let CPU_TYPE_ARM = cpu_type_t(12) | ||
|
||
public func CPUTypeString() { | ||
let type: Int = CPUType() | ||
let cpu_arch = type & CPU_ARCH_MASK | ||
if cpu_arch == CPU_TYPE_X86 { | ||
Arch = "x86" | ||
} | ||
if cpu_arch == CPU_TYPE_ARM { | ||
Arch = "arm64" | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.