Unable to Update Mod to Current Source

  • star400040
    27th Jan 2012 Member 0 Permalink
    I have been frustrating myself for months now trying to update my mod to the most recent source code as I started creating my mod a week before the big interface update. I have been unable to update my mod correctly and was wondering if somebody wanted to team up with me and help me update my mod to the most recent source code, I compile on windows using visual studio, I don't know if that is part of the problem or not, however I do need help, if you are interested in helping me let me know and I will allow you to use my source code in order to update my mod to the current powder toy version. I hope this question is allowed and legitimate.
  • MasterMind555
    27th Jan 2012 Member 0 Permalink
    @star400040 (View Post)
    Use Git/GitHub
  • vanquish349
    27th Jan 2012 Member 0 Permalink
    @MasterMind555 (View Post)
    it is still almost impossible since he is talking about the rewrite of the graphics since thosands of lines of code where changed.

  • MasterMind555
    27th Jan 2012 Member 0 Permalink
    @vanquish349 (View Post)
    Yes and?
    1. Copy the Official source
    2. Go in your old mod source and copy and paste the changes you noticed back into your copy of the official source
    3. Test and fix
    4. Commit
    5. Remember to stay up to date
    6. ???
    7. PROFIT

    This works except if you moded something in the graphics

    From what I understood, this is correct.
  • star400040
    27th Jan 2012 Member 0 Permalink
    since the update I seem to be having trouble getting the official source to work and compile under the correct settings as described in the wiki, I guess I can try again

    Where is the most recent source again? Is the one on the wiki up to date?

    Also at the moment I will have trouble doing this without visual studio, is there anyway that the compiled and linked base source can be updated for the visual studio version?
  • abczyx123987
    27th Jan 2012 Member 0 Permalink
    Can you post a pastebin of the errors you get when you compile? (but first try what's below)

    For me, the official source compiles fine in Visual Studio, if I change the following:
    -- Replace all (void*) with (char*) in luaconsole.c
    -- Change _inline int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a) to just int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a) in graphics.c (basically just remove the "_inline").
  • star400040
    27th Jan 2012 Member 0 Permalink
    Where is the most recent visual studio compiled linked source? The one in the wiki seems to be out of date at least I understand it to be out of date unless the people in the wiki or on the download or what not never changed the version number
  • abczyx123987
    27th Jan 2012 Member 0 Permalink
    @star400040 (View Post)
    The Visual Studio project file in the wiki is pretty out-of-date (as you've seen already).
    At the moment there's nothing newer than that, so you'll just have to follow the wiki and do it all yourself...(it's not that bad, really).
  • star400040
    27th Jan 2012 Member 0 Permalink
    I just suck at linking at least I think I suck at linking :P can I do it in visual studio rather than code blocks but still do it myself?
  • Videogamer555
    27th Jan 2012 Member 0 Permalink
    What's new in beta 72.0?