Closed lmiol closed 3 months ago
With this suggestion and the other one about CRLF in Mod Description, I suspect that you are currently struggling modifying and updating Mods and seek for some automation in the process.
Did you know OMM have some not exposed features that help Mod designers into their tasks ?
How exactly the icon "Update" works Could you tell all scenarios? with custom links in repo
With this suggestion and the other one about CRLF in Mod Description, I suspect that you are currently struggling modifying and updating Mods and seek for some automation in the process.
Did you know OMM have some not exposed features that help Mod designers into their tasks ?
- First, you can leave your Mod as folder within the Library folder, this allow you to directly modify files then try and check by installing/removing it to the game.
- Such "developement" folder supports Description and Picture, what you have to do is to put description text file and picture in the Library folder, along the Mod folder, and naming them the same as folder "core" name... For example, if you have Mod folder nammed "My_Great_Mod_v1.2", you name the description file "My_Great_Mod.txt" and the picture "My_Great_Mod.png". Description and pictures are (if everything work file) automatically updated once you modify it from an external program.
- With all that, if you right click on the Mod folder (within OMM) to "Open in Modpack Editor...", the Description and Picture fields are automatically filled, you just have to save as Modpack file.
thx. i found out about folder but thats it. Now you tell more cool info, it's usefull for me
How exactly the icon "Update" works Could you tell all scenarios?
The icon indicate this mod is already present in local library as a lower version. Behavior depend on Channel parameters. The default behavior is: Once the new version is downloaded, the old version Mod is renamed or deleted (so it disappear from local Library) after being uninstalled if required... If my memory is good, in case the old version Mod was found installed, the new version is automatically installed at the end of process, replacing the old version.
How exactly the icon "Update" works Could you tell all scenarios?
The icon indicate this mod is already present in local library as a lower version. Behavior depend on Channel parameters. The default behavior is: Once the new version is downloaded, the old version Mod is renamed or deleted (so it disappear from local Library) after being uninstalled if required... If my memory is good, in case the old version Mod was found installed, the new version is automatically installed at the end of process, replacing the old version.
how exactly works connection of mod? same <mod ident>
name but before postfix of _v*?
i mean
tomorrowland_vegas_v1.15
tomorrowland_begas_vtest
both will be the same
and what SUN (or Star) icon meaning? sometime i can see Download icon and almost everytime is SUN
how exactly works connection of mod? same
<mod ident>
name but before postfix of _v*?
Yes. Internally this is stored as the "core" name.
File string: My_Cool_Great_Mod_v2.0.ozp
Iden string: My_Cool_Great_Mod_v2.0
Core string: My_Cool_Great_Mod
and what SUN (or Star) icon meaning? sometime i can see Download icon and almost everytime is SUN
This mean "New", it indicates no version of this Mod in the local library...
And if you ask for: Grey down arrow : Mean "Downgrade", there is already a greater version of the Mod in the local library Triangle/Warning : Mean "Missing dependency", the Mod dependencies cannot be satisfied, one or more dependency Mod are not available in current (checked) network repositories. It is up to the repository manager to make it available.
Grey down arrow : Mean "Downgrade", there is already a greater version of the Mod in the local library
downgrade is not obvious icon, misunderstanding with simple download i think its fine icons now, but an app is exctremly need Tooltip with explanation for icons. Without your explanation i would never found out what suns means and gray downgrade.
Dont decide right now about icons (if you already want to) I will do few designs for you for icons and upload you later.
1 Sun: New mod (not installed) 2 Checkmark: Mod installed 3 Down arrow with square brackets: Downloading in progress 4 Down arrow: Downgrade to old version 5 Up arrowL Upgrade to new version 6 Cross: Error of mismatch data/failed link or else 7 Triangle/Warning: Missing dependency i missed something?
also could you tell algorythm of encryption of repo file <description>
section?
<description bytes="135">data:application/octet-stream;base64,eJwdzDEKwjAYBlBni3f4oIsGTVqHgt1EcHHQxUlEYhuSYNI/JJEsHl70HeDVNU520gkXmRI2OMiUncJiztg5Wm0n6bB/Z0OxZwzOW3L44GbIqyC1ui9NziH1QpRS+NN4GhMfyItt0+5E04nh/z3ajpvs3api7EjxhWsYZVa/EmtUmH0Bfbkp8Q==</description>
it's a last frontier of my auto repofile script =)
It is not encrypted, it is compressed using standard Deflate algorithm
It is not encrypted, it is compressed using standard Deflate algorithm
i tried openssl to decode with base64 and nothing
i tried openssl to decode with base64 and nothing
The binary data is encoded in base64 to be included in the data URI, but the binary data itself is compressed raw text using Deflate aka Gzip compression (implemented in Zlib) which is the legacy compression method used by Zip file format.
Process for writing:
Raw text => Gzip Compress => Base64 encode
Process for reading:
Base64 decode => Gzip Decompress => Raw text
The Deflate algorithm is very common, usually implemented from the open source Zlib library, it is available in standard in Python and PHP for example... Using PoweShell it seem you can use GzipStream class to perform Decompression.
https://sphinx.graae.dk/pages/gzipcompressionandbase64encoding/
Or you may use Gzip for Windows:
https://gnuwin32.sourceforge.net/packages/gzip.htm https://www.gnu.org/software/gzip/manual/gzip.html#Invoking-gzip
Raw text is a string or file?
A string... but this is nearly the same, a text file is simply a string saved in hard drive (indexed as a file in the file system)... everything is an octet/byte stream/string in computing, raw text, picture or executable, it is how you read and process it that make it something.
thanks
Added raw bytes values within parentheses next to the human readable size.
I will do few designs for you for icons and upload you later.
As i promised https://github.com/iquercorb/OpenModMan/issues/117
when i do updates for mods i need to update repo file so i am not use Repo Editor, i am just opening my RAW file and changing few fields ident, file, xxhsum, bytes xxsum i getting from Properties from local library (because mod updating by me here for testing) and want to get also get bytes, but it is on KB unfortunatly
could you do button Show in bytes?