Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

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

Open
sebastic wants to merge 1 commit intoshizmob:masterfrom
sebastic:dma
Open

Add extract support for DMA-8.2 & DMA-8.3 archives.#23
sebastic wants to merge 1 commit intoshizmob:masterfrom
sebastic:dma

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant