Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extract support for DMA-8.2 & DMA-8.3 archives. #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebastic
Copy link
Contributor

DMA Games uses a custom RPA format for its games.

  • Sophia's Spa uses DMA-8.2:
    00000000  44 4d 41 2d 38 2e 32 20  30 30 30 30 30 30 30 30  |DMA-8.2 00000000|
    00000010  30 30 30 38 39 63 62 38  20 34 32 34 32 34 32 34  |00089cb8 4242424|
    00000020  32 0a 4d 61 64 65 20 77  69 74 68 20 52 65 6e 27  |2.Made with Ren'|
    00000030  50 79 2e 20 44 4d 41 20  47 41 4d 45 53 20 28 63  |Py. DMA GAMES (c|
    00000040  29 20 32 30 32 34 20 52  45 4e 50 59 20 52 50 43  |) 2024 RENPY RPC|
    00000050  32 01 00 00 00 2e 00 00  00 0e 53 00 00 02 00 00  |2.........S.....|
    
  • Brothel Tycoon uses DMA-8.3:
    00000000  44 4d 41 2d 38 2e 33 20  30 30 30 30 30 30 30 30  |DMA-8.3 00000000|
    00000010  30 30 31 36 37 66 63 33  20 34 32 34 32 34 32 34  |00167fc3 4242424|
    00000020  32 0a 4d 61 64 65 20 77  69 74 68 20 52 65 6e 27  |2.Made with Ren'|
    00000030  50 79 2e 20 44 4d 41 20  47 41 4d 45 53 20 28 63  |Py. DMA GAMES (c|
    00000040  29 20 32 30 32 34 20 52  45 4e 50 59 20 52 50 43  |) 2024 RENPY RPC|
    00000050  32 01 00 00 00 2e 00 00  00 b5 11 00 00 02 00 00  |2...............|
    

But it seems to be the regular RPA-3.0 format, as using the same logic for these archives allowed extracting the .rpyc files from the scripts.rpa files which unrpyc could then decompile.

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.

1 participant