Recover Additional Pipes, Logistics Pipes, ComputerCraft and OpenCCSensors #9

Open
opened 2026-11-04 03:39:07 +01:00 by rexlManu · 10 comments
Owner

Parent: #5

  • Research upstream source, record binary recovery gaps and license evidence.
  • Download official packages and verify manifest MD5 and SHA-256.
  • Preserve ComputerCraft Lua and ROM assets.
  • Recover missing source from shipped binaries.
  • Complete integration and final checks.

Package paths: vendor/upstream-mods/{buildcraft-additionalpipes,buildcraft-logisticspipes,computercraft,openccsensors}/. Each has provenance.json and the official package. OpenCCSensors and Logistics Pipes include historical source as unverified reference only; all four need binary recovery. ComputerCraft package-resources preserves Lua, ROM and bundled license files.

Additional Pipes names BuildCraft 3.4.2, the pack specifies 3.4.3, and the maintained module is 3.4.6. Logistics Pipes and OpenCCSensors also have integrations requiring review. OpenCCSensors depends on ComputerCraft. No compile, bytecode agreement or runtime checks were performed.

Source recovery and selected-source validation pass. Evidence: vendor/pack-manifests/tekkit-lite/source-inventory.json and verification.json; docs/mod-source-recovery.md. Newly recovered mod compilation, bytecode agreement, and runtime integration are tracked in #18. Existing IC2 strict comparison still has 3627 matching entries and zero differences. No tests were written.

Parent: #5 - [x] Research upstream source, record binary recovery gaps and license evidence. - [x] Download official packages and verify manifest MD5 and SHA-256. - [x] Preserve ComputerCraft Lua and ROM assets. - [x] Recover missing source from shipped binaries. - [ ] Complete integration and final checks. Package paths: vendor/upstream-mods/{buildcraft-additionalpipes,buildcraft-logisticspipes,computercraft,openccsensors}/. Each has provenance.json and the official package. OpenCCSensors and Logistics Pipes include historical source as unverified reference only; all four need binary recovery. ComputerCraft package-resources preserves Lua, ROM and bundled license files. Additional Pipes names BuildCraft 3.4.2, the pack specifies 3.4.3, and the maintained module is 3.4.6. Logistics Pipes and OpenCCSensors also have integrations requiring review. OpenCCSensors depends on ComputerCraft. No compile, bytecode agreement or runtime checks were performed. Source recovery and selected-source validation pass. Evidence: vendor/pack-manifests/tekkit-lite/source-inventory.json and verification.json; docs/mod-source-recovery.md. Newly recovered mod compilation, bytecode agreement, and runtime integration are tracked in #18. Existing IC2 strict comparison still has 3627 matching entries and zero differences. No tests were written.
Author
Owner

Additional source history: f483f3b86c3869237958d43ce3f87f62448d1255 changes the Java version annotation from 0.1.4 to 0.1.4b during the Minecraft 1.5 upgrade, after the shipped archive timestamp. It does not establish an exact 1.4.7 binary match; provenance records this evidence.

Additional source history: f483f3b86c3869237958d43ce3f87f62448d1255 changes the Java version annotation from 0.1.4 to 0.1.4b during the Minecraft 1.5 upgrade, after the shipped archive timestamp. It does not establish an exact 1.4.7 binary match; provenance records this evidence.
Author
Owner

Integration under #18:

  • Compile and assemble Additional Pipes
  • Compile and assemble Logistics Pipes
  • Compile and assemble ComputerCraft and preserve Lua, ROM and native assets
  • Compile and assemble OpenCCSensors
  • Complete final client/server behavior checks

LuaClosure has a Vineflower finally/semaphore reconstruction notice. Preserve it and check its behavior at runtime.

Integration under #18: - [ ] Compile and assemble Additional Pipes - [ ] Compile and assemble Logistics Pipes - [ ] Compile and assemble ComputerCraft and preserve Lua, ROM and native assets - [ ] Compile and assemble OpenCCSensors - [ ] Complete final client/server behavior checks LuaClosure has a Vineflower finally/semaphore reconstruction notice. Preserve it and check its behavior at runtime.
Author
Owner

Additional Pipes and OpenCCSensors compile and jar assembly passed: ./gradlew :mods:buildcraft-additionalpipes:jar and ./gradlew :mods:openccsensors:jar with the documented JDK paths. OpenCCSensors uses compile-only Forestry and Thaumcraft declarations based on shipped bytecode descriptors; these are excluded from its jar. Runtime checks remain open.

  • Additional Pipes compile and jar
  • OpenCCSensors compile and jar
  • Logistics Pipes compile and jar
  • ComputerCraft compile and jar
  • Final runtime behavior checks
Additional Pipes and OpenCCSensors compile and jar assembly passed: `./gradlew :mods:buildcraft-additionalpipes:jar` and `./gradlew :mods:openccsensors:jar` with the documented JDK paths. OpenCCSensors uses compile-only Forestry and Thaumcraft declarations based on shipped bytecode descriptors; these are excluded from its jar. Runtime checks remain open. - [x] Additional Pipes compile and jar - [x] OpenCCSensors compile and jar - [ ] Logistics Pipes compile and jar - [ ] ComputerCraft compile and jar - [ ] Final runtime behavior checks
Author
Owner

Progress: Additional Pipes and OpenCCSensors jars built. Logistics Pipes has 367 compiler errors after restoring comparator, router, adjacent tile and collection types. Remaining work includes Forestry, Thaumcraft and GregTech optional APIs and recovered collection types. ComputerCraft has unresolved historical JNA/JNAerator Lua and Pluto bindings and BCEL, plus recovered-source errors; its Lua and ROM resources remain in src/main/resources and LuaClosure remains unchanged.

The current shared reference preparation task fails (reported in #18). I continued one Logistics Pipes compile with -x :tools:bytecode:prepareModReferences, using the 50 already generated reference jars; that compile did not pass. Both remaining modules and final runtime checks stay open.

Progress: Additional Pipes and OpenCCSensors jars built. Logistics Pipes has 367 compiler errors after restoring comparator, router, adjacent tile and collection types. Remaining work includes Forestry, Thaumcraft and GregTech optional APIs and recovered collection types. ComputerCraft has unresolved historical JNA/JNAerator Lua and Pluto bindings and BCEL, plus recovered-source errors; its Lua and ROM resources remain in src/main/resources and LuaClosure remains unchanged. The current shared reference preparation task fails (reported in #18). I continued one Logistics Pipes compile with `-x :tools:bytecode:prepareModReferences`, using the 50 already generated reference jars; that compile did not pass. Both remaining modules and final runtime checks stay open.
Author
Owner

ComputerCraft jar now assembles: JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar. LuaJ 2.0.2/2.0.3 Maven Central source was restored only for classes whose shipped binary matches the corresponding release class files; LuaClosure was retained for behavior review. Compile-only JNA 3.4.0 (resolved 4.1.0 through JNAerator), JNAerator runtime 0.12, and BCEL 5.2 are Maven Central dependencies; exact original external versions are not established. Optional Lua/Pluto binding signatures come from shipped ComputerCraft bytecode and are excluded from the jar. Lua/ROM resources remain present. Optional native/JIT backends require their real runtime dependencies if enabled; LuaJ, peripheral, client/server, and save-reload behavior still need review. Logistics Pipes remains in progress; no tests or game launch were run.

ComputerCraft jar now assembles: JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar. LuaJ 2.0.2/2.0.3 Maven Central source was restored only for classes whose shipped binary matches the corresponding release class files; LuaClosure was retained for behavior review. Compile-only JNA 3.4.0 (resolved 4.1.0 through JNAerator), JNAerator runtime 0.12, and BCEL 5.2 are Maven Central dependencies; exact original external versions are not established. Optional Lua/Pluto binding signatures come from shipped ComputerCraft bytecode and are excluded from the jar. Lua/ROM resources remain present. Optional native/JIT backends require their real runtime dependencies if enabled; LuaJ, peripheral, client/server, and save-reload behavior still need review. Logistics Pipes remains in progress; no tests or game launch were run.
Author
Owner

Logistics Pipes and ComputerCraft now both assemble with the shared platform API: JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar :mods:buildcraft-logisticspipes:jar. Forestry, GregTech and Thaumcraft compile-only declarations are derived from shipped Logistics bytecode and excluded from its jar; real mods must provide those APIs if enabled. The HUD interface now uses isInvalid, matching the reference callback mapping. The ComputerCraft jar contains all 159 original non-class resources, and neither jar contains its optional API declarations. Compilation and assembly do not establish gameplay, Lua behavior, optional integrations, or bytecode parity. Final client/server and save-reload checks remain pending; no tests or game launch were run.

Logistics Pipes and ComputerCraft now both assemble with the shared platform API: JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar :mods:buildcraft-logisticspipes:jar. Forestry, GregTech and Thaumcraft compile-only declarations are derived from shipped Logistics bytecode and excluded from its jar; real mods must provide those APIs if enabled. The HUD interface now uses isInvalid, matching the reference callback mapping. The ComputerCraft jar contains all 159 original non-class resources, and neither jar contains its optional API declarations. Compilation and assembly do not establish gameplay, Lua behavior, optional integrations, or bytecode parity. Final client/server and save-reload checks remain pending; no tests or game launch were run.
Author
Owner

Implementation checklist:

  • Compile and assemble Logistics Pipes and ComputerCraft.
  • Keep optional API declarations out of runtime jars and retain ComputerCraft resources.
  • Review LuaClosure and recovered gameplay behavior.
  • Complete full-pack client, dedicated server, and save-reload checks.
Implementation checklist: - [x] Compile and assemble Logistics Pipes and ComputerCraft. - [x] Keep optional API declarations out of runtime jars and retain ComputerCraft resources. - [ ] Review LuaClosure and recovered gameplay behavior. - [ ] Complete full-pack client, dedicated server, and save-reload checks.
Author
Owner

LuaClosure cleanup review:

  • Compare the retained recovery output and shipped remapped ComputerCraft 1.5 class.
  • Repair the recovered cleanup boundary and assemble :mods:computercraft:jar.
  • Check Lua programs, closures, errors, peripherals, and save/reload in the full client/server runtime.

The retained CFR output could not decompile execute. The maintained Vineflower output placed the instruction loop outside try/finally, so ordinary opcode continues called CallStack.onReturn and closed open upvalues on every instruction. The shipped remapped jar (SHA-256 1514cd19fa2583f52a7acd9f9bc81f7b66db9a451af9958a1ef143b12ea0bf7d) shows ordinary opcode branches returning to bytecode offset 96 without cleanup. Its nine return/tail-call paths perform onReturn then close remaining upvalues in descending order; its exception handler does the same, preserving LuaError and wrapping other Exceptions. Opcode CLOSE independently closes selected upvalues during execution.

Moved try/catch/finally around the existing loop and returned directly from the existing return/tail-call cases. Kept opcode bodies, debug hooks, varargs, exception behavior, and explicit CLOSE handling. javap of the rebuilt class shows the same nine return cleanup paths and exception cleanup boundary; this is a control-flow comparison, not a claim of full bytecode parity.

JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar passed. No tests, game launch, pack preparation, or runtime jar copy were performed. Runtime acceptance remains open.

LuaClosure cleanup review: - [x] Compare the retained recovery output and shipped remapped ComputerCraft 1.5 class. - [x] Repair the recovered cleanup boundary and assemble :mods:computercraft:jar. - [ ] Check Lua programs, closures, errors, peripherals, and save/reload in the full client/server runtime. The retained CFR output could not decompile execute. The maintained Vineflower output placed the instruction loop outside try/finally, so ordinary opcode continues called CallStack.onReturn and closed open upvalues on every instruction. The shipped remapped jar (SHA-256 1514cd19fa2583f52a7acd9f9bc81f7b66db9a451af9958a1ef143b12ea0bf7d) shows ordinary opcode branches returning to bytecode offset 96 without cleanup. Its nine return/tail-call paths perform onReturn then close remaining upvalues in descending order; its exception handler does the same, preserving LuaError and wrapping other Exceptions. Opcode CLOSE independently closes selected upvalues during execution. Moved try/catch/finally around the existing loop and returned directly from the existing return/tail-call cases. Kept opcode bodies, debug hooks, varargs, exception behavior, and explicit CLOSE handling. javap of the rebuilt class shows the same nine return cleanup paths and exception cleanup boundary; this is a control-flow comparison, not a claim of full bytecode parity. JAVA_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA21_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-21.0.12+101.0.LTS JAVA8_HOME=/home/rexlmanu/.local/share/mise/installs/java/temurin-8.0.504+1 ./gradlew :mods:computercraft:jar passed. No tests, game launch, pack preparation, or runtime jar copy were performed. Runtime acceptance remains open.
Author
Owner

Emmanuel tested the repaired ComputerCraft on the dedicated server: placed a mining turtle, opened Lua, and successfully ran turtle.dig() to break the block in front. Dedicated login and a Lua-driven server world action pass. The turtle was removed after the check, so persisted turtle/item state after restart remains pending.

Emmanuel tested the repaired ComputerCraft on the dedicated server: placed a mining turtle, opened Lua, and successfully ran turtle.dig() to break the block in front. Dedicated login and a Lua-driven server world action pass. The turtle was removed after the check, so persisted turtle/item state after restart remains pending.
Author
Owner

Final ComputerCraft persistence check passed on the dedicated server. After save-all and a clean stop/restart, Emmanuel reconnected and confirmed the placed mining turtle and both inventory items remain. The turtle storage ID, mining upgrade, facing, fuel and inventory NBT also match the pre-restart snapshot. Main full-pack integration issue #18 is closed.

Final ComputerCraft persistence check passed on the dedicated server. After save-all and a clean stop/restart, Emmanuel reconnected and confirmed the placed mining turtle and both inventory items remain. The turtle storage ID, mining upgrade, facing, fuel and inventory NBT also match the pre-restart snapshot. Main full-pack integration issue #18 is closed.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rexlManu/TekkitLite#9
No description provided.