deltanedas / ui-lib

Mindustry library mod that unifies and simplifies UI creation.
GNU General Public License v3.0
74 stars 35 forks source link

unsupported #14

Closed niocresup closed 1 year ago

niocresup commented 1 year ago

this modhas beenmanually blacklisted for causing crashes or othe issues with this version of the game. my ver: 140 (7.0)

j-refs commented 1 year ago

So how do I use this? RTFM does not work without it, and I can't install this due to this issue. Should I rollback the game version? Or what can I do to get RTFM working

minombreesprorax commented 1 year ago

The lib is still disabled, not working, could you please fix it? I want to use some mods, and I do not want to go v6 mindustry v7 140.4

TheDogOfChaos commented 1 year ago

well, you could just fork mindustry, remove ui-lib from this file (remember to keep the quote marks in the brackets otherwise java probably won't like it) and then recompile

nashviray commented 1 year ago

Im so confused i don't know what im going to do

ExcellentFisherman commented 1 year ago

well, you could just fork mindustry, remove ui-lib from this file (remember to keep the quote marks in the brackets otherwise java probably won't like it) and then recompile

how do i recompile?

Kepler-Gigaz commented 1 year ago

I finally found how to bypass the Ui Lib. Unfortunately it is complex for those who do not have minimal knowledge of programming.

Step 1:go to "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods".

Step 2:unzip deltanedas-ui-lib.zip.

Step 3:rename libraries in "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a > scripts" the file where it is renamed is called "main.js" in code line 18.

Step 4:rename everything, but with the same inside "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a" a mod.json.

Step 5:copy "deltanedas-ui-lib-13c931a" (you must change the name except "-13c931a").

Step 6:stick it on "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods" and zip it.

and ready! I already bypassed the file through the mindustry blacklist, the bad thing is that other mods won't be able to read it, if you want I tell you how :).

Or do I just give you a download link so that you can just move the files in the mods folder and not make life more complicated?.

PixelProtogen commented 1 year ago

I finally found how to bypass the Ui Lib. Unfortunately it is complex for those who do not have minimal knowledge of programming.

Step 1:go to "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods".

Step 2:unzip deltanedas-ui-lib.zip.

Step 3:rename libraries in "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a > scripts" the file where it is renamed is called "main.js" in code line 18.

Step 4:rename everything, but with the same inside "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a" a mod.json.

Step 5:copy "deltanedas-ui-lib-13c931a" (you must change the name except "-13c931a").

Step 6:stick it on "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods" and zip it.

and ready! I already bypassed the file through the mindustry blacklist, the bad thing is that other mods won't be able to read it, if you want I tell you how :).

Or do I just give you a download link so that you can just move the files in the mods folder and not make life more complicated?.

Yes please

nashviray commented 1 year ago

I finally found how to bypass the Ui Lib. Unfortunately it is complex for those who do not have minimal knowledge of programming.

Step 1:go to "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods".

Step 2:unzip deltanedas-ui-lib.zip.

Step 3:rename libraries in "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a > scripts" the file where it is renamed is called "main.js" in code line 18.

Step 4:rename everything, but with the same inside "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods > deltanedas-ui-lib > deltanedas-ui-lib-13c931a" a mod.json.

Step 5:copy "deltanedas-ui-lib-13c931a" (you must change the name except "-13c931a").

Step 6:stick it on "/ > storage > emulated > 0 > android > data > io.anuken.mindustry > files > mods" and zip it.

and ready! I already bypassed the file through the mindustry blacklist, the bad thing is that other mods won't be able to read it, if you want I tell you how :).

Or do I just give you a download link so that you can just move the files in the mods folder and not make life more complicated?.

How bout Pc users?

Scamolor commented 1 year ago

How bout Pc users?

For Windows users, you do the same thing, except that the Mindustry mod folder is "C:\Users\\AppData\Roaming\Mindustry\mods" (without the quotation marks of course.)

For Linux or Mac users, I'm not sure where the Mindustry mod folder is, but I presume that if you do know where it is, you can also do exactly the same thing.

minachiroshiwa commented 1 year ago

I'm sorry,but this mod unsupported for Mindustry 7-offcial build 142 Reason is got into blacklist because get error for the game

minachiroshiwa commented 1 year ago

I'm sorry,but this mod unsupported for Mindustry 7-offcial build 142 Reason is got into blacklist because get error for the game

How I can use it on ver 142?

Azzurous commented 1 year ago

@Kepler-Gigaz got really close to the right answer here and it really helped me figure out the rest. All you have to do is follow the same steps as before but for both ui-lib and the mod that needs it as a dependency. Personally I just opened these mod.json/main.js files for both mods and did a replace-all on them. I kept it simple changing "ui-lib" to "ui-lib1"

image

and in case the explanation of the file locations wasn't clear enough here's a visual for where to find them once you are already in the mod folder. Also the folders in the screen shot are the mod's .zip's after being extracted.

image

On pc you don't need to zip the folder again to have them work as a mod but I'm not sure if that required on the mobile versions of the game.

deltanedas commented 1 year ago

bozos just change the mod.json name

Darklord2996 commented 1 year ago

how about you make a pr on the mindustry git and remove the blacklist on it ._.

deltanedas commented 1 year ago

check prs before you type, i already did