1+ using Refresher . Core . Accessors ;
2+ using Refresher . Core . Pipelines . Steps ;
3+
4+ namespace Refresher . Core . Pipelines . Lbp ;
5+
6+ public class LbpRPCS3PatchPipeline : Pipeline
7+ {
8+ public override string Id => "lbp-rpcs3-patch" ;
9+ public override string Name => "LBP RPCS3 Patch" ;
10+
11+ protected override Type SetupAccessorStepType => typeof ( SetupEmulatorAccessorStep ) ;
12+ public override bool ReplacesEboot => false ;
13+
14+ public override string GuideLink => "https://docs.littlebigrefresh.com/rpcs3" ;
15+
16+ public override IEnumerable < string > GameNameFilters => [ "littlebigplanet" , "lbp" ] ;
17+
18+ protected override List < Type > StepTypes =>
19+ [
20+ // Info gathering stage
21+ typeof ( ValidateGameStep ) ,
22+ typeof ( DownloadParamSfoStep ) ,
23+ typeof ( DownloadGameEbootStep ) ,
24+ typeof ( ReadEbootContentIdStep ) ,
25+ typeof ( DownloadGameLicenseStep ) ,
26+
27+ // Decryption and patch stage
28+ typeof ( PrepareSceToolStep ) ,
29+ typeof ( DecryptGameEbootStep ) ,
30+ typeof ( ApplySprxPatchToEbootStep ) ,
31+
32+ // Encryption and upload stage
33+ // FIXME: encrypting seems to break the elf in rpcs3?
34+ // typeof(EncryptGameEbootStep),
35+ // typeof(BackupGameEbootBeforeReplaceStep),
36+ typeof ( UploadPatchworkSprxStep ) ,
37+ typeof ( UploadPatchworkConfigurationStep ) ,
38+ typeof ( UploadGameEbootElfStep ) , // upload EBOOT.elf for now
39+ ] ;
40+ }
0 commit comments