Skip to content

plasma4/magix-fix

Repository files navigation

Setting up the Magix fixer

Magix is a mod developed by @pelletsstarPL for NeverEnding Legacy, a game made by Orteil (open here). You can follow the instructions below on how to fix Magix. To locally download Magix and mess around with it, read the bottom section.

IF YOU ALREADY HAVE MAGIX INSTALLED (if you don't, look at the section below)

Paste in the following script into the console:

javascript:localStorage.setItem("legacySave-alpha",btoa(encodeURIComponent(decodeURIComponent(atob(G.Export())).replace("Xbm-ilapeDSxWf1b/MagixOfficialR55B.js","ZmatEHzFI2_QBuAF/magix.js").replace("Xbm-ilapeDSxWf1b/MagixUtilsR55B.js","ZmatEHzFI2_QBuAF/magixUtils.js")))),location.reload()

It's that easy! If you can't open the console for some reason, you can try selecting all the code above and dragging it to your bookmarks bar. Then, go to the tab with NeverEnding Legacy open and click on the bookmark. After that, the bookmark isn't needed anymore and can be removed.

IF YOU ARE STARTING AS A NEW PLAYER

To set up this mod, go to Orteil's NeverEnding Legacy and click on the "Use Mods" button. There, paste in the following 2 lines:

Upon loading it, you should be able to play the game!

PLEASE BE AWARE: The creator of this mod has personally stated in Discord messages that the Magix mod can be, well, modded by anyone who wishes. This mod has an unclear license, however. I AM NOT RESPONSIBLE IF THE PROJECT IS NOT PUBLIC-DOMAIN.

This mod provides a few important fixes that prevent the game from breaking. Minimal changes have been made to the contents of the mod. To compare, visit https://file.garden/Xbm-ilapeDSxWf1b/MagixOfficialR55B.js to find the original source.

What does this fixed mod do?

Here are a few examples:

  • Multiple game-breaking bugs are fixed now (in particular, bookwriting will no longer cause problems)
  • Thousands of spelling and text issues corrected or improved
  • Some alternative techs can now be obtained simultaneously
  • Various traits have been fixed
  • A few new unique trials implemented
  • Dozens of techs and mechanics have been added (including a new way to get sand)
  • Negative costs are hidden now
  • May come with new features down the line!

How would you go about adding other mods along with Magix?

It's simple! You can learn how to add other mods that work with Magix and find a list of a few of them over here.


How do you use Magix offline? If you wish, you can locally download a version of Magix that automatically updates. You can download the .zip file here. Open the index.html file to begin playing! (It is advised to extract the .zip file so that everything works properly.)

This offline version of Magix...

  • Allows you to import Magix saves and use Magix with just one click (well, maybe not one but close enough)
  • Automatically updates to the newest version of fixed Magix when online and uses that when offline
  • Has the ability to locally mess around with Magix
  • Has ALL sprites and files needed for both the base game and Magix pre-downloaded
  • Some options for when you exit the page, such as autosaving or confirming if you want to leave or not

Note: if you wish to view data about the Magix mod (such as icons, names, and functions), you can use the magix-wiki.html file or view the online version. You are even able to create your own mods from there, so check it out!

Alternate links for Magix

Want a few other links for loading Magix? Try some of these:

https://rawcdn.githack.com/plasma4/magix-fix/6af48b41422aa744548fce3eb2d6fabfab02f8e2/magix.js
https://rawcdn.githack.com/plasma4/magix-fix/6af48b41422aa744548fce3eb2d6fabfab02f8e2/magixUtils.js
https://cdn.jsdelivr.net/gh/plasma4/magix-fix@main/magix.js
https://cdn.jsdelivr.net/gh/plasma4/magix-fix@main/magixUtils.js
https://raw.githubusercontent.com/plasma4/magix-fix/master/magixUtils.js
https://raw.githubusercontent.com/plasma4/magix-fix/master/magix.js

(This last one is actually used in the file version of Magix due to it updating quickly and working with XML requests. However, it will not work for loading Magix normally; try one of the other links instead.)


:>