Git Product home page Git Product logo

romconverter's Introduction

RomConverter

convert your ROMs in bulk easily

Fonctionnalités

Le script PowerShell effectue les tâches suivantes :

  1. Gestion des Logs : Crée et gère un fichier de log pour enregistrer les activités du script.
  2. Vérification de 7-Zip : Vérifie si 7-Zip est installé sur la machine et guide pour l'installation si nécessaire.
  3. Vérification de chdman.exe : Contrôle la présence de chdman.exe nécessaire pour la conversion des fichiers.
  4. Sélection des Dossiers de Travail : Permet à l'utilisateur de sélectionner différents dossiers pour les fichiers source, décompression, stockage .chd et recompression.
  5. Chargement et Sauvegarde des Paramètres : Charge et enregistre les paramètres de l'utilisateur pour une utilisation future.
  6. Décompression des Fichiers avec 7-Zip : Décompresse les fichiers .7z dans un dossier spécifié.
  7. Conversion et Traitement des Fichiers : Convertit les fichiers décompressés en format .chd.
  8. Interface Utilisateur Graphique : Fournit une interface graphique avec une barre de progression et un bouton de pause/continuation.

Utilisation

Comment utiliser le script, par exemple :

  1. Clonez le dépôt dans votre système local.
  2. Ouvrez le terminal ou PowerShell et naviguez vers le répertoire du script.
  3. Exécutez le script avec la commande : .\NomDuScript.ps1
  4. Suivez les instructions à l'écran pour sélectionner les dossiers et effectuer les opérations.

Prérequis

  • Windows PowerShell 5.1 ou plus récent.
  • 7-Zip installé sur la machine.
  • chdman.exe présent dans le même répertoire que le script.

Licence

Ce projet est sous licence. Voir le fichier LICENSE pour plus de détails.

romconverter's People

Contributors

alb06 avatar zahag avatar

Watchers

 avatar

romconverter's Issues

choice to use the subroutines as desired

The user must be able to choose what they want to use and only that.
To do this several modifications must be made in the code:

  • gives the user the choice of subprograms he wishes to launch via checkboxes. the different choices will for the moment be:
    • decompress
    • decompress then convert
    • convert
  • adapt the folder choices to be selected according to the choices of sub-actions desired by the user
    • decompressFolder
    • decompressFolder and convertFolder
    • convertFolder
  • check the presence of the necessary subprograms according to the choices of subactions desired by the user
    • 7zip
    • 7zip and chdman
    • chdman
  • review the construction of the script block so that it adapts to all the configurations offered to the user

[Bug] Select-Folder function and MessageBox

"Select-Folder" function does not work as it should.

Reproduce the bug:

  • When an invalid path is chosen,
  • a MessageBox appears to notify the user.
  • To close this MessageBox you must press an "OK" button.
  • This adds the term "OK" to "$folderBrowser.SelectedPath"
  • which causes the return of the function to return a false path because it contains the term "OK"

Reconstruct Logs

re-insert logs from third-party utilities.
It is necessary to reconnect the outputs of 7Zip and ChdMan with the logs for debugging.

Error management

Several cases of errors can occur:

  • there is no file in the decompression folder
  • there is files in the decompression folder but none of them are compatible with chdman (iso, cue, gdi)
    • you must then save the name of these files to list them for the user
      • in a window (just for info) (just name)
      • in a file to process them afterwards (full path)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.