Автор Тема: OSCam Emu Patch Manager  (Прочитано 141 раз)

0 Пользователей и 1 Гость просматривают эту тему.

sogaz

  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 11628
  • -> Вас поблагодарили: 23578
  • Сообщений: 5269
  • Респект: +3755/-0
OSCam Emu Patch Manager
« : 11 Январь 2026, 13:33:39 »
OSCam Emu Patch Manager by speedy005

1. Patch Management​

    Create Patch: Generates a patch file from the OSCam repositories (streamboard + emu-repo).
    Renew Patch: Recreates the patch including the latest commits.
    Check Patch: Verifies if a patch can be applied cleanly.
    Apply Patch: Applies the patch directly to the temporary OSCam repository.
    Zip Patch: Packages the patch into a .zip file for backup or distribution.
    Backup/Renew Old Patch: Saves the current patch to a backup folder and preserves the old patch.

2. Repository & Git Support​

    Maintains a temporary Git repository (temp_repo) automatically.
    Can fetch commits from upstream repositories (streamboard and emu-repo).
    Shows the last X commits for tracking changes.
    Supports Git status checking to verify patch application.

3. GUI Features​

    Fully graphical interface with buttons for all operations.
    Information window displays real-time logs for all operations.
    Commit counter to specify how many commits to include in patch creation.
    Color scheme selection: change button colors in the GUI.
    Language selection: switch instantly between English and German.
    Animated buttons for better user interaction.

4. Safety & Maintenance​

    Clean Patch Folder safely deletes temporary files but never deletes protected files:
        oscam_patch_manager.py
        oscam_patch_manager_gui.py
        oscam-patch-manager.sh
        oscam-patch-manager-gui.sh
        icons folder
    The icons folder is automatically created and maintained by the tool.

5. Config & Settings​

    Stores user settings in a config.json file, including:
        Language (EN/DE)
        Selected color scheme
    Restores settings automatically on startup.

6. Additional Features​

    Handles missing tools gracefully and informs the user (git, zip, unzip, python3, pip3).
    Provides exit confirmation with localized buttons (Yes/No in English, Ja/Nein in German).
    Fully cross-platform compatible with Python 3.

💡 Summary:
This tool is a complete patch management solution for OSCam Emu: it lets you create, check, apply, backup, and zip patches, track commits, and safely manage the patch folder – all via a friendly GUI with language and color customization.

new file
bug fix with patch version: 2.26.01-11920-802 (71dd9898)
The revision was not changed and adapted to the new one.
Бог наблюдает за тобой.
Так живи, чтобы ему было интересно.

nicoll

  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 8985
  • -> Вас поблагодарили: 12950
  • Сообщений: 2622
  • Респект: +1352/-0
OSCam Emu Patch Manager
« Ответ #1 : 15 Январь 2026, 21:34:53 »
OSCam Emu Patch Generator – Overview

The OSCam Emu Patch Generator is a comprehensive, GUI-based tool for managing, creating, and applying patches for OSCam Emu. It is designed to simplify patching workflows while providing advanced Git integration, backup options, and GitHub deployment.

Key Features:
1. Patch Creation & Management
- Automatically generate patches by comparing the OSCam Emu repository with a streaming OSCam source.
- Supports creating, renewing, and checking patches.
- Includes automatic patch headers with version, commit hash, and patch modifier information.

2. Git Integration
- Clone and manage OSCam and OSCam Emu repositories.
- Apply patches directly to the Git repository.
- Check patch compatibility using Git’s `apply --check`.
- View the latest commits directly in the GUI.
- Manage OSCam Emu Git folder with one-click cleanup and patching.

3. Backup & Version Control
- Backup existing patches to a configurable location.
- Automatically create alternative backups to prevent accidental overwrites.
- Maintain patch history with clear date and version metadata.

4. GitHub Deployment
- Upload patches to a GitHub repository using credentials stored in a secure configuration file.
- Supports forcing commits and pushing all changes to a selected branch.
- No private credentials are stored in the code; all user info comes from a secure JSON configuration.

5. Patch Distribution
- Export patches as ZIP files for easy distribution.
- Includes optional icons for quick identification of actions.

6. Customizable GUI
- Modern PyQt6-based interface with a dynamic info log window.
- Supports multiple languages (English and German) and customizable color themes.
- Includes progress bars, active button highlighting, and an easy-to-use layout for patch actions.

7. Safety & Convenience
- Never deletes critical files from the patch folder.
- Provides user confirmations for destructive actions (cleaning folder, exiting, etc.).
- Ensures all required tools (git, zip, Python3, pip3) are installed.

Technical Notes:
- Developed in Python 3 with PyQt6 and PIL for icons.
- Fully open-source under the MIT license.
- Designed for Linux-based systems with OSCam Emu installed.

Thanks speedy005
Излишняя скромность - кратчайший путь в неизвестность !

Gerakl

  • Друзья
  • Старожил
  • ***
  • Спасибо
  • -> Вы поблагодарили: 2797
  • -> Вас поблагодарили: 2362
  • Сообщений: 519
  • Респект: +285/-0
OSCam Emu Patch Manager
« Ответ #2 : 17 Январь 2026, 18:08:01 »
smal cosmetics