nylish / ritoskin

RitoSkin is an open-source tool for creating and managing custom skins in League of Legends. It provides a user-friendly interface and advanced methods to retrieve, modify, and integrate custom skins seamlessly into the game.
1 stars 0 forks source link

Fixed the skin ID issue - now all skins has their respective IDs #2

Closed koobzaar closed 1 week ago

koobzaar commented 1 week ago

Fixed the sorting issue:

This pull request implements a fix to the issue #1.

In the process_champion_folder function, I've added a custom sorting function for the skin files. This ensures that the files are processed in the correct numerical order (0, 1, 2, ..., 9, 10, 11, ...).

Removed Data Dragon implementation:

I've removed all references to the champion data file and the load_skin_data function. The program now simply creates folders with the skin ID as before.

Removed unnecessary code:

Removed the creation of the "champion_data" directory and the Python script execution, as they were related to the Data Dragon implementation.