1. Announcing Mekorama on the Web!

    Now anyone can play levels from the forum online, with one click!

    Dismiss Notice
  2. Psst! If you're new here, welcome! Please visit these pages first for information about the forum and Mekorama:

    Welcome! ¡Bienvenido! Selamat datang! Добро пожаловать! Willkommen!
    Everything you want to know about Mekorama
    Frequently Asked Questions

    Dismiss Notice

MekoLab - Mekorama Level Editor

Discussion in 'General (Issues, Help, Discussions)' started by Labyrenight, Aug 18, 2025 at 2:20 AM.

  1. Labyrenight

    Labyrenight Famous Member

    Messages:
    376
    Levels:
    190
    Albums:
    3
    Likes Received:
    2,290
    Joined:
    Jan 22, 2021
    Hello everyone!

    I'd like to share a new web-based application I've been working on called MekoLab.
    It's a simple tool that allows you to quickly replace blocks in Mekorama levels by editing the QR code data.

    This project would not have been possible without the amazing research and reverse engineering work done by this community.
    A huge thank you to everyone who contributed to the reverse engineering thread, especially the original poster, @QuantumForce .
    Your research was the foundation that allowed this web app to be built.

    I would also like to express my gratitude to @Gepeto who generously shared parts of the source code from Mekostudio. His code served as a reference and guide during the development of MekoLab.
    If you are looking for a powerful, 3D level editor, I highly recommend visiting Mekostudio.

    A special thank you to @EL797 and @Denis Nazin for their valuable help in testing earlier versions of this application.
    Their feedback was essential for making improvements and fixing bugs.

    A quick note of caution:
    Please be careful when using this tool with unreleased block types.
    The logic for some blocks, particularly the wheel block, has not been fully implemented.
    Using it might cause the Mekorama game to behave unstably or even crash.

    For more information about the web app, its features, and the libraries it uses, you can visit the official GitHub repository:
    https://github.com/nurularifin04/mekolab

    I hope you find this tool useful.

    Thank you all.

    This text was generated with assistance from Gemini AI :oops:
     
    Rush, MekaSage, oiiiriei and 2 others like this.
  2. oiiiriei

    oiiiriei Member

    Messages:
    2
    Levels:
    6
    Albums:
    1
    Likes Received:
    25
    Joined:
    Aug 7, 2025
    It's cool! Now I can make levels with non-strandard blocks easily!
     
  3. Labyrenight

    Labyrenight Famous Member

    Messages:
    376
    Levels:
    190
    Albums:
    3
    Likes Received:
    2,290
    Joined:
    Jan 22, 2021
    I added code so we can input the same image when a block has been changed.
    Code:
    event.target.value = '';
    Please clear the cache for this to work, or open this and refresh.
     
    Last edited: Aug 20, 2025 at 11:15 AM
    MekaSage and oiiiriei like this.
  4. MekaSage

    MekaSage Famous Member

    Messages:
    242
    Levels:
    50
    Albums:
    4
    Likes Received:
    1,341
    Joined:
    Oct 27, 2020
    @Labyrenight - in the "New Orientation" menu, is there an easy way to interpret what is meant by "head" and "body" for a block? I understand that there are 24 possible orientations for a block, but due to the symmetry of certain pieces, many of the positions are equivalent to each other.
    But I'm having a hard time understanding what the various position combinations mean.
    Screenshot_20250820_130601_Chrome.jpg
     
    oiiiriei likes this.
  5. Labyrenight

    Labyrenight Famous Member

    Messages:
    376
    Levels:
    190
    Albums:
    3
    Likes Received:
    2,290
    Joined:
    Jan 22, 2021
    Orientation 0: Imagine robot B in its normal position. Its head (eyes) is up, and its body faces forward (z+ axis). [head = up, body = front]

    Orientation 1: Robot B is rotated 90 degrees ccw on the y-axis, which means its body now faces left (x+ axis) while its head remains up (y+ axis). [head = up, body = left]

    What if [head = down, body = right]?
    The head is down and the body faces right. From its normal position, this means the block has been rotated 180 degrees on the x-axis and then rotated another 90 degrees ccw on the y-axis.

    look at the rotation on the metal wedge below. the metal cube is used as a marker.
    Screenshot_20250822-185655.png
     
    MekaSage and oiiiriei like this.
  6. Labyrenight

    Labyrenight Famous Member

    Messages:
    376
    Levels:
    190
    Albums:
    3
    Likes Received:
    2,290
    Joined:
    Jan 22, 2021
    There's an issue with the jsQR library, which can't read QR Code version 23. I've found the error:
    Code:
    alignmentPatternCenters: [6, 30, 54, 74, 102]
    The correct one should be:
    Code:
    alignmentPatternCenters: [6, 30, 54, 78, 102]
    But I can't just modify the library; I have to fork or self-host it and include the license. So it takes time.
     
    oiiiriei likes this.
  7. MekaSage

    MekaSage Famous Member

    Messages:
    242
    Levels:
    50
    Albums:
    4
    Likes Received:
    1,341
    Joined:
    Oct 27, 2020
    Thank you for the explanation, @Labyrenight. And thanks for building Mekolab!
     

Share This Page