Non mais en faite je vous explique, je suis tout as fais d'accord avec vous c'est totalement inutile sur un pc mais la en faite c'est sur PSP.
Je voudrais trouver un petit code qui permet de trouver la version de la PSP, puis avec cette version que le fichier a télécharger aille dans le bon dossier.
J'ai trouvé un readme en anglais qui utilise le même procédé, mais la personne qui l'a redigé a juste dis ce qu'il a fait et non comment.
a écrit :
In future the Install-o-tron will be enhanced with AI to allow automatic
installation of just about any homebrew package. For now, though, it relies
on a new proposed convention for homebrew packaging.
If you look in the ZIP files that are downloaded by the Install-o-tron, you'll
see that we've added a single text file, HBINFO.TXT, to the top-level folder
of the ZIP. This file provides scripts that tell the Install-o-tron how
to install the homebrew, on different PSP versions. For example:
name=snes9xTYL
ver=0.42
[install_150]
s9xTYL-0.4.2/1.5/* -> ms0:/psp/game/
s9xTYL-0.4.2/readme.txt -> ms0:/psp/game/snes9xTYL/readme.txt
s9xTYL-0.4.2/changes.txt -> ms0:/psp/game/snes9xTYL/changes.txt
[install_100]
[install_2XX]
s9xTYL-0.4.2/1.0/* -> ms0:/psp/game/
s9xTYL-0.4.2/readme.txt -> ms0:/psp/game/snes9xTYL/readme.txt
s9xTYL-0.4.2/changes.txt -> ms0:/psp/game/snes9xTYL/changes.txt
The section is currently ignored, but should contain basic name and
version information for the homebrew.
The [install_] sections provide simple installation scripts for different
firmware versions. The data on the left of the "->" is the source path within
the ZIP, and on the right is the destination to which it will be copied.
You can use '/*' on the end of the source to copy everything within a given
directory, as above.
Note that Install-o-tron searches for the first [install_] section that
matches the current firmware, and does all the instructions within that
section, then quits. '2XX' matches all firmwares from v2.00 upwards.
You can be more specific than '2XX' if you like, and include separate sections
for '200, 250, 260, 270, 271, 280, 281' etc. If a more specific section is found,
it will have priority over the generic '2XX' section.
We encourage homebrew developers to adopt this system for their releases -
it's easy, and it's clear to users and to computers how to install the
software. We all know that most people don't read README files, and sometimes
it can be hard to translate READMEs into your own language. The HBINFO.TXT
standard is language-neutral, and makes it easy to write installer programs.
Including HBINFO.TXT is also a great way to make sure that your homebrew is
immediately supported by Install-o-tron and other install programs - which
means that it will have a wider audience, with fewer installation support
questions to deal with.
Je suis désolé avec mes questions avec la PSP mais comme c'est le meme langage je me suis permis de poser mes questions ici.
Modifié par azertym (06 Feb 2007 - 16:59)