1. For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
    Dismiss Notice

[Cross-Platform] Prism modding API for 1.3

Discussion in 'Released' started by PoroCYon, Aug 30, 2015.

  1. Nopezal

    Nopezal Skeletron Prime

    Well, I've added some things to the repo a few months ago. Since then, no real progress has been made.
  2. TheVampireWolfboy

    TheVampireWolfboy Terrarian

    Yeah not much has been done for Prism
  3. PoroCYon

    PoroCYon Terrarian

    News flash: it's completely dead.

    Anyone can always fork it and move on if they want to (even as the base for any modding system, for any game), though, for any reason.
    Cyanogynist likes this.
  4. Cyanogynist

    Cyanogynist Cultist

    mmm whatcha say
    mmm that you only meant well
    mmm of course you did
    mmm whatcha say
    mmm that it's all for the best
    of course it is
  5. Meowmaritus

    Meowmaritus Terrarian

    We basically halted development due to a lack of motivation; everybody seemed content with using the much less refined tModLoader (which didn't improve upon tAPI's way of modding, but rather copied it) and didn't seem to care about Prism. Poro and I have both lost interest in programming it the last few months. However, it is still on GitHub if anyone would like to do a pull request. However, because the programming in Prism is very high level (Poro developed a very complex and versatile code base using every single feature of C# known to man), new programmers will likely be lost without a few years of C# experience, but by all means, anyone feel free to finish it.
    PoroCYon likes this.
  6. Jofairden

    Jofairden Golem

    Is there something wrong with that though? Wouldn't it be easier for 'earlier-modders' to work with a system that's rather familiar?
  7. PoroCYon

    PoroCYon Terrarian

    I haven't, but I don't have any projects atm (but I did have one after Prism).

    I'll put a note in the OP.
    EDIT: done.

    Should we put it in the public domain or relicense it under a more permissive license (GPL, MIT, ..., or even DBAD/WTFPL)? (will need approval from all the others, though)
    Last edited: Mar 21, 2016
  8. Meowmaritus

    Meowmaritus Terrarian

    There's nothing wrong with someone sticking to what is familiar, but what was familiar was rather unintuitive and limited the capacity for modding a bit. The aim with Prism was to add support for more stuff.
    I kinda like WTFPL :redspin:
  9. Jofairden

    Jofairden Golem

    Like? Could you give an example? This feels kind of abstract to me. I mean, what is there that tModLoader can't possibly do? (given you put the work in it that's needed to do it)
  10. PoroCYon

    PoroCYon Terrarian

    With Prism, one can easily load definitions from <any kind of database> or generate them on the fly. It also contains a cleaner object model that doesn't involve string parsing during lookup etc. It also demonstrates the use of code injection, instead of working with the decompiled code base, which can be more useful when a Terraria update hits (as nothing has to be compiled and reapplied again).

    It IS quite abstract, but it's more substantial than just "X can let you make this entity with that nifty but tiny special feature".

    By the way, keeping a system "just because it already worked like that" is quite stupid and doesn't leave room for actual changes. See: eg. 1750 and onwards.
    Maybe DBAD ("Don't Be A :red:") if others don't like the utter freedom of WTFPL?

    Anyway, pinging @MiraiMai @MageKing17 @Nopezal @Neojin .
    Last edited: Mar 24, 2016
    Neojin likes this.
  11. Nopezal

    Nopezal Skeletron Prime

    Fine by me. WTFPL is nice.
    PoroCYon likes this.
  12. PoroCYon

    PoroCYon Terrarian

    [​IMG] (from the #tapi channel on EsperNet)
  13. MageKing17

    MageKing17 Official Terrarian

    PoroCYon likes this.
  14. PoroCYon

    PoroCYon Terrarian

  15. Valkyrie Valhalla

    Valkyrie Valhalla Dungeon Spirit

    Welp, there goes something that could have done something amazing for the modding community.

    Now all that's left is a small seed of hope for some coding wizard to pick this up.

    Jofairden likes this.
  16. PoroCYon

    PoroCYon Terrarian

    I was bored, and...:


    This took me five days, and 2h work/day. It was easy to port because of the use of code injection :p (I did switch from Mono.Cecil to dnlib, though).
  17. Melly the WM

    Melly the WM Official Terrarian

    Soooo you're working on Prism again?

    Last edited: May 27, 2016
    Bullseye55 likes this.
  18. Meowmaritus

    Meowmaritus Terrarian

    Well you must be really bored :redspin:
  19. Nopezal

    Nopezal Skeletron Prime

    Don't get your hopes up, the project is still entirely dependent on pull requests. Unless he's working on it secretivly and not telling me?
  20. PoroCYon

    PoroCYon Terrarian

    I simply wanted to test how hard it'd be to update (because the 'code injection' strategy was never tested against big updates). I probably won't be adding any more features (in the near future, at least, but I don't guarantee anything in the non-near future), though.

    EDIT: @Nopezal, if you want to continue the project, you're free to ask (so I can give you write access to the repo).
    Last edited: May 27, 2016
    Bullseye55 likes this.