Closed belnek closed 4 months ago
Are you sure that the zip you have don't have a folder before the resource pack itself ?
And on another note, the current version of Objmc is compatible with minecraft version after 1.20.4.
Yes, I archived everything correctly, according to the rules. As for the version, I downloaded an old version of the script that supports 1.20.4. Everything works well in the unzipped form.
The client logs of the game show "missing metadata" in the presence of pack.meta. I also tried to take a working resource pack and replace the models and textures in it with those created in objmc. When replacing textures, everything works by adding models or models with shaders - the above error appears. I think this has something to do with Minecraft's determination of the correctness of the models in the resource pack, but I don't know if I'm thinking correctly.
Could you provide the log of your client when you try to load the rp ?
[20:59:22] [Render thread/ERROR]: Failed to open pack C:\Users\Nikita\AppData\Roaming\.minecraft\resourcepacks\objmc.zip java.util.zip.ZipException: invalid CEN header (bad entry name) at java.util.zip.ZipFile$Source.zerror(ZipFile.java:1728) ~[?:?] at java.util.zip.ZipFile$Source.checkAndAddEntry(ZipFile.java:1226) ~[?:?] at java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1667) ~[?:?] at java.util.zip.ZipFile$Source.<init>(ZipFile.java:1445) ~[?:?] at java.util.zip.ZipFile$Source.get(ZipFile.java:1407) ~[?:?] at java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:716) ~[?:?] at java.util.zip.ZipFile.<init>(ZipFile.java:250) ~[?:?] at java.util.zip.ZipFile.<init>(ZipFile.java:179) ~[?:?] at java.util.zip.ZipFile.<init>(ZipFile.java:193) ~[?:?] at aou$b.a(SourceFile:172) ~[1.20.4.jar:?] at aou.b(SourceFile:61) ~[1.20.4.jar:?] at aou.a(SourceFile:43) ~[1.20.4.jar:?] at aoo.a(SourceFile:30) ~[1.20.4.jar:?] at apq.a(SourceFile:69) ~[1.20.4.jar:?] at apq.a(SourceFile:47) ~[1.20.4.jar:?] at app.a(SourceFile:55) ~[1.20.4.jar:?] at app.a(SourceFile:76) ~[1.20.4.jar:?] at app.loadPacks(SourceFile:50) ~[1.20.4.jar:?] at apt.h(SourceFile:39) ~[1.20.4.jar:?] at apt.a(SourceFile:32) ~[1.20.4.jar:?] at fgh.d(SourceFile:60) ~[1.20.4.jar:?] at fgi.H(SourceFile:174) ~[1.20.4.jar:?] at fgi.d(SourceFile:138) ~[1.20.4.jar:?] at evi.bK(SourceFile:1985) ~[1.20.4.jar:?] at fdb.a(SourceFile:414) ~[1.20.4.jar:?] at evi.s(SourceFile:1985) ~[1.20.4.jar:?] at evi.d(SourceFile:1289) ~[1.20.4.jar:?] at evi.f(SourceFile:888) ~[1.20.4.jar:?] at net.minecraft.client.main.Main.main(SourceFile:265) ~[1.20.4.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:136) ~[tl_skin_cape_1.20.4-1.33d.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:31) ~[tl_skin_cape_1.20.4-1.33d.jar:?]
[20:59:22] [Render thread/WARN]: Missing metadata in pack file/objmc.zip
The problem turned out to be in the backup file with the extension .jso. It is very strange that it worked in folder mode, without an archive, I thought that minecraft ignores files without .json in models.
Anyway, this is a problem of my inattention, thanks for the help.
Description OBJMC Resourcepack not working in a ZIP archive. Minecraft doesn't see it.
Environment: