# COFPES-OF-Editor-6 **Repository Path**: loa123/COFPES-OF-Editor-6 ## Basic Information - **Project Name**: COFPES-OF-Editor-6 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-02 - **Last Updated**: 2025-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # COFPES-OF-Editor-6 Python utility to decrypt/encrypt PES 6 option files. Based on Compulsion's PESFan Editor for PES 6. The aim is to adapt all OF editing functionality from [PESEditor](https://github.com/PeterC10/PESEditor), with this package being available to use with GUI editors and other tools. ## Features - Decrypt/encrypt PES 6 option file - Change club name/TLA - Change player name/shirt name - Change player attributes ## Installation To install and use this utility, you'll need Python 3.x installed on your system. 1. Clone the repository: ```bash git clone https://gitee.com/loa123/COFPES-OF-Editor-6.git cd COFPES-OF-Editor-6 ``` 2. Install the dependencies: ```bash pip install -r requirements.txt ``` ## Usage This utility can be used as a standalone tool or integrated into other applications. Here are some basic usage examples: ### Decrypt an Option File ```python from editor.option_file import OptionFile of = OptionFile("path/to/your/file.bin") of.decrypt() ``` ### Encrypt an Option File ```python of.save_option_file("path/to/save/decrypted_file.bin") ``` ### Change Club Name ```python club = Club(of, club_index) club.update_name("New Club Name") ``` ### Change Player Name ```python player = Player(of, player_index) player.name = "New Player Name" ``` ### Modify Player Attributes Each player attribute has a dedicated class in the `editor/attributes/player/` directory. Here's an example of changing a player's acceleration: ```python from editor.attributes.player.player_attribute_acceleration import PlayerAttributeAcceleration acceleration_attr = PlayerAttributeAcceleration(player) acceleration_attr.set_value(85) # Set acceleration to 85 ``` ## Contributing Contributions are welcome! If you'd like to contribute to this project, please follow these steps: 1. Fork the repository 2. Create a new branch (`git checkout -b feature-your-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin feature-your-feature`) 5. Create a new Pull Request ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## Acknowledgments - Compulsion for the original PESFan Editor - PeterC10 for the PESEditor project which inspired this utility