TPT with all menus unlocked

  • Videogamer555
    17th Jan 2012 Member 0 Permalink
    I just made this mod with Codeblocks (WOOHOO my first mod ever). It unlocks all the menus that are actually in the source code:
    "More Life"
    ""
    "Cracker"
    "Cracker!"

    ---------LINK TO EXE FILE REMOVED DUE TO I DON'T HAVE THE SOURCE ANY MORE FOR THIS EXACT MOD. I'VE FURTHER EDITED IT SINCE THIS POST, AND NEVER HAD POSTED IT FOR THIS MOD. THIS REMOVAL IS TO BE IN COMPLIANCE WITH THE LICENSE FOR THE POWDER TOY----------

    Of all these menus only "Cracker" has any elements in it (the "secret menu"). The rest are completely empty, and the one that I listed as "" literally has no name! I wonder what it was for. Oh well, I guess you can use this extra menu to put all your stuff you make via Lua script, or just use it as a favorites menu to put all the stuff you use most often. To put something into this menu just type the below line into the console (or better yet put it in the autorun.lua file).
    tpt.el.xxxx.menusection = 13

    where xxxx is the name of the element you want to move

    Keep in mind that if you rename an element like "METL" to "TEST" or whatever you want to call it (using the Lua command tpt.el.xxxx.name=yyyy where xxx is the old name yyyy the new name), you'll still need to remember the old name of the element to move it, as only the displayed element name is changed. The internal name of METL is (and always will remain) METL.


    Also keep in mind that this isn't going to be my own "personal mods page". This mod was just for one thing and one thing only, to use modding as a form of "cheat code" to unlock the "hidden menus", because I feel people have the right to see what is actually in the code (a.k.a. what the game was "meant to look like") whether or not the official developers want it to be revealed.

    Any actual highly useful mods (which will likely have all these menus unlocked anyway) will all fit in one thread which will be called something like "Videogamer's Mods" or something like that, which will be my own actual mods thread where people should go to check out my mods.
  • ArtMaster
    17th Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • Videogamer555
    17th Jan 2012 Member 0 Permalink
    Works fine, don't know what you did wrong.
    I don't release things that have bugs in them.
    In other words, I always try it on my own computer after compiling it to make sure it does work.
  • ArtMaster
    17th Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • MasterMind555
    17th Jan 2012 Member 0 Permalink
    @Videogamer555 (View Post)
    It doesn't start
  • randalserrano
    17th Jan 2012 Member 0 Permalink
    @Videogamer555, in order to test those type of mods properly, you need to test it on another computer. If it doesnt work on another computer, you need to find out why.

  • Videogamer555
    17th Jan 2012 Member 0 Permalink
    You were right to say it didn't work. I just tried it on my other computer and it didn't work. However I took the exact same source code and compiled it on this other one, and one compiled on it now works. I'm guessing that the difference is that one was compiled on a 64bit computer so Codeblocks+minGW automatically detected somehow it was a 64bit system and so it became not backwards compatible with 32 bit systems (like my other computer, and your computer). Compiling on a 32bit machine though made a 32bit version of TPT that should now work on both 32bit and 64bit systems.

    I'd like you to go back up to my top post now and download the new one I compiled (I replaced the link for the old one with the link for the new one). It is the same mod as before (all menus unlocked) but this time it was compiled on a 32bit machine.

    Then after having tried the new one, please report back here to tell me if it worked for you.
  • ArtMaster
    17th Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacksonmj
    17th Jan 2012 Developer 0 Permalink
    Please post the source code. TPT is released under the GPL - if you post a mod of TPT, you must post the source code.
  • Videogamer555
    17th Jan 2012 Member 0 Permalink

    jacksonmj:

    Please post the source code. TPT is released under the GPL - if you post a mod of TPT, you must post the source code.


    Before I even bother to post mod source, I want to make sure it is good source. Best way to do that is to have someone run the compiled exe, and then report back if it works. If it works I'll then assume the source is good and also post the source. But posting the source is a big task as it requires uploading 100MB of stuff, so I want to make sure it works first. THEN and ONLY THEN will the source code go up (I'm not gonna waste my time uploading 100MB of broken source). That's MY policy.

    ArtMaster:

    You idiot XD
    For what you add empty menus?
    'More life'-Empty
    'Cracker'-Empty
    ''-Empty

    Those were already in the C code and are currently unused. I told you I just activated the deactivated menus. I added nothing. The Cracker! (note the exclamation point) menu is the "secret elements" menu though and DOES have stuff in it. I assume the first 3 extra menus will eventually have stuff added to them.