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

Dynamic content loader #10

Open
Bravo555 opened this issue Jun 12, 2018 · 1 comment
Open

Dynamic content loader #10

Bravo555 opened this issue Jun 12, 2018 · 1 comment

Comments

@Bravo555
Copy link
Member

Make a dynamic content loader. Needs to be able to hotswap resources and decrypt downloadable content (dlc).

@Bravo555
Copy link
Member Author

Feature spec

Parts

  • PozaziemscyZaborcy-dlc-utils - library with encoding/decoding and encrypting/decrypting utilities. Remaining parts will be using functionality from this library.
  • PozaziemscyZaborcy-dlc-bin - binary (actually python script) for managing, preparing and depacking dlcs.
  • the part that will be included in main game code. Will decrypt and unpack dlcs from dlc directory.

DLC format

.dlc files in dlc directory will actually be .zip files, locked with a password.
In the archive itself, there will be texture files, and dlc.json file, with a following format:

{
    "textures": {
        "enemyShip": "path/to/enemy_texture.png",
        "playerShip": "path/to/player_texture.png"
    },
    "music": [
        "path1.mp3", "path2.mp3", "path3.mp3"
    ]
}

PozaziemscyZaborcy-dlc-bin will be used to convert directory with dlcs files to a prepared dlc archive and vice versa. (mainly for development and debugging purposes).

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

No branches or pull requests

1 participant