Skip to content

feat: Add --out and --patches arguments to list-patches command#60

Merged
LisoUseInAIKyrios merged 9 commits intoMorpheApp:devfrom
prateek-who:list-patches-out-flag
Feb 26, 2026
Merged

feat: Add --out and --patches arguments to list-patches command#60
LisoUseInAIKyrios merged 9 commits intoMorpheApp:devfrom
prateek-who:list-patches-out-flag

Conversation

@prateek-who
Copy link
Contributor

@prateek-who prateek-who commented Feb 21, 2026

As the title says, they have been added.

Completely written by me this time, lmaoo. Please be harsh on the review aswell. I seem to be finally learning something and want to continue to do so. Hopefully I am able to do more by myself soon!

Added --out and -- patches flag for list-command.
@prateek-who
Copy link
Contributor Author

Unrelated to this. But there are multiple issues related to keystore. What are the problems there?

@LisoUseInAIKyrios
Copy link
Contributor

I don't use keystore and have never tried using it. If reproduction steps exist then someone can make an issue for it.

@prateek-who
Copy link
Contributor Author

They already exist. #32 #34 #57 are all keystore issues. Was wondering what it was all about. Will check them out

Added --out and -- patches flag for list-command.
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat: Added --out and --patches flags for list-patches command feat: Add --out and --patches arguments for list-patches command Feb 22, 2026
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat: Add --out and --patches arguments for list-patches command feat: Add --out and --patches arguments to list-patches command Feb 22, 2026
@LisoUseInAIKyrios LisoUseInAIKyrios linked an issue Feb 22, 2026 that may be closed by this pull request
2 tasks
@LisoUseInAIKyrios
Copy link
Contributor

Will merge tomorrow if there's no new reviews or changes

@prateek-who
Copy link
Contributor Author

@kitadai31 Could you check if it's better now?

@kitadai31
Copy link

@kitadai31 Could you check if it's better now?

Good!

@LisoUseInAIKyrios
Copy link
Contributor

Ready to merge?

@prateek-who
Copy link
Contributor Author

Yea, should be good

@LisoUseInAIKyrios LisoUseInAIKyrios merged commit ef9fc48 into MorpheApp:dev Feb 26, 2026
1 check passed
github-actions bot pushed a commit that referenced this pull request Feb 26, 2026
# [1.5.0-dev.5](v1.5.0-dev.4...v1.5.0-dev.5) (2026-02-26)

### Features

* Add `--out` and `--patches` arguments to `list-patches` command ([#60](#60)) ([ef9fc48](ef9fc48))
@prateek-who prateek-who deleted the list-patches-out-flag branch February 26, 2026 20:56
@cyberboh
Copy link

I get this error on cli 1.5.0-dev.5 while patching YT 20.08.265 with patches patches-1.16.0-dev.2.mpp
Idk what caused this @LisoUseInAIKyrios

INFO: Compiling modified resources
INFO: Unescaping strings
INFO: Post-processing package name change
INFO: Processing aapt macros
[Fatal Error] :2163:52: Invalid byte 3 of 3-byte UTF-8 sequence.
SEVERE: An unexpected error occurred: Invalid byte 3 of 3-byte UTF-8 sequence.
org.xml.sax.SAXParseException; lineNumber: 2163; columnNumber: 52; Invalid byte 3 of 3-byte UTF-8 sequence.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:263)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
        at app.morphe.patcher.util.Document.<init>(Document.kt:15)
        at app.morphe.patcher.util.Document.<init>(Document.kt:22)
        at app.morphe.patcher.resource.processor.AaptMacroProcessor.processDocument(AaptMacroProcessor.kt:73)
        at app.morphe.patcher.resource.processor.AaptMacroProcessor.process(AaptMacroProcessor.kt:48)
        at app.morphe.patcher.resource.coder.ArsclibResourceCoder.encodeResources(ArsclibResourceCoder.kt:155)
        at app.morphe.patcher.patch.ResourcePatchContext.get(ResourcePatchContext.kt:84)
        at app.morphe.patcher.Patcher.get(Patcher.kt:165)
        at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:591)
        at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:49)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at app.morphe.cli.command.MainCommandKt.main(MainCommand.kt:14)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence.
        at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:702)
        at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:436)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1699)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1375)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2762)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
        ... 20 more

@LisoUseInAIKyrios
Copy link
Contributor

@cyberboh does CLI 1.5.0-dev.3 work?

@cyberboh
Copy link

@cyberboh does CLI 1.5.0-dev.3 work?

@cyberboh does CLI 1.5.0-dev.3 work?

Yes, its working fine

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented Feb 27, 2026

@cyberboh Try this

https://limewire.com/testovr

@LisoUseInAIKyrios
Copy link
Contributor

@cyberboh what Java runtime are you using with your pc?

java --version should say.

@cyberboh
Copy link

cyberboh commented Feb 28, 2026

@cyberboh Try this

This still getting error msg

INFO: Unescaping strings
INFO: Post-processing package name change
INFO: Processing aapt macros
[Fatal Error] :1501:890: Invalid byte 3 of 3-byte UTF-8 sequence.
SEVERE: An unexpected error occurred: Invalid byte 3 of 3-byte UTF-8 sequence.
org.xml.sax.SAXParseException; lineNumber: 1501; columnNumber: 890; Invalid byte 3 of 3-byte UTF-8 sequence.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:263)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
        at app.morphe.patcher.util.Document.<init>(Document.kt:15)
        at app.morphe.patcher.util.Document.<init>(Document.kt:22)
        at app.morphe.patcher.resource.processor.AaptMacroProcessor.processDocument(AaptMacroProcessor.kt:83)
        at app.morphe.patcher.resource.processor.AaptMacroProcessor.process(AaptMacroProcessor.kt:51)
        at app.morphe.patcher.resource.coder.ArsclibResourceCoder.encodeResources(ArsclibResourceCoder.kt:155)
        at app.morphe.patcher.patch.ResourcePatchContext.get(ResourcePatchContext.kt:84)
        at app.morphe.patcher.Patcher.get(Patcher.kt:165)
        at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:591)
        at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:49)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
        at picocli.CommandLine.execute(CommandLine.java:2174)
        at app.morphe.cli.command.MainCommandKt.main(MainCommand.kt:14)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence.
        at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:702)
        at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:436)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1699)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1375)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2762)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
        at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
        ... 20 more
INFO: Purging temporary files
INFO: Failed to purge resource cache directory

@cyberboh
Copy link

cyberboh commented Feb 28, 2026

@cyberboh what Java runtime are you using with your pc?

java --version should say.

Written like this:

PS E:\ANDROID\APPS\Morphe> java --version
openjdk 17.0.18 2026-01-20 LTS
OpenJDK Runtime Environment Zulu17.64+15-CA (build 17.0.18+8-LTS)
OpenJDK 64-Bit Server VM Zulu17.64+15-CA (build 17.0.18+8-LTS, mixed mode, sharing)

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.

feat: Add --out file output parameter to list-patches command

4 participants