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

Ability to generate and pack version list and crcs ? #32

Closed
Graviton1647 opened this issue Feb 26, 2020 · 5 comments
Closed

Ability to generate and pack version list and crcs ? #32

Graviton1647 opened this issue Feb 26, 2020 · 5 comments

Comments

@Graviton1647
Copy link

Graviton1647 commented Feb 26, 2020

Ability to run a function that generates and packs crcs and version lists

@Displee
Copy link
Owner

Displee commented Feb 26, 2020

Hmm. I'm assuming you're talking about files with a custom name?

The default ones are already being supported: https://github.com/Displee/rs-cache-library/blob/master/src/main/kotlin/com/displee/cache/index/Index317.kt#L159

@Graviton1647
Copy link
Author

Yes files with custom names :)

@Displee
Copy link
Owner

Displee commented Mar 1, 2020

Alright. So there are normally 3 custom files. I assume you only need 2 custom files right (crc and version).

@Graviton1647
Copy link
Author

Yes

@Displee
Copy link
Owner

Displee commented Mar 4, 2020

I've created a function where you should be able to add version and crc files in version 6.2 using the following code:

Index317.addMetaFiles("version_file", "crc_file")

This method needs to be executed before you create the cache library object.

Note: keep in mind the first 4 indices (1 until 4) are already defined and thus reserved. So when you add your own meta files you start at index 5.

#35

@Displee Displee closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants