Repository navigation
1.3.0 — 产物带 Forge mod 元数据(解决 CF failed processing)
1.3.0: Forge mod metadata in every artifact (fixes CurseForge "failed processing")
CurseForge rejected OptiForge-Reforged-1.2.0-mc26.3.jar with "The file failed processing, this could be caused due to
obfuscated code or corrupt files" and moved it to manual review.
The archive itself is fine: a strict check of every entry (declared size vs actual, CRC, class-file magic) passes, and
Java reads all entries. What it lacked was any mod metadata - only META-INF/MANIFEST.MF, the ModLauncher service file and
the optiforge/ folder. A client-mod processor has nothing to identify there, and a jar whose largest payload is a 1.9 MB
mapping table reads as an opaque archive.
Each artifact now carries proper metadata:
- OptiForge-.jar and -oldml.jar (1.13+): META-INF/mods.toml with modId "optiforge", display name, logo file and
forge/minecraft dependencies. - -legacy.jar and -legacy17.jar (<=1.12.2): mcmod.info, which both Forge 1.8-1.12 and CurseForge understand.
Loading is unchanged: the jars still declare ITransformationService, so Forge keeps treating them as transformation
services rather than mods, and they do not collide with the generated OptiForge--classes.jar. Verified: 26.3 boots
with 221 [OptiFine] lines and no crash reports; 1.20.1 in a real .minecraft layout boots with 118 [OptiFine] lines, 412
classes patched, no duplicate mod.
All 32 per-version files carry the metadata (checked one by one); strict zip validation reports 59 entries and 0 problems.