[Release] Misc structures, tools, research etc

Page 5 of 6 FirstFirst 123456 LastLast
Results 61 to 75 of 83
  1. #61
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    Forgot i posted here, haven't checked ragezone for over a week...
    All i know i have likely a giga 3 client in mega.
    https://mega.nz/#!qJwzhBAZ!DOgGJ3ksO...flfGsTVVeMxMXA
    https://mega.nz/#!TdxiSQ6D!fQXEiWAGY...LI1ONb6G8GBTig
    or it maybe even older, not sure - might be a better match asa client to the source code.

  2. #62
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Thanks. By any chance do you have any idea how to apply the Transform matrix to exported data, its not needed but its helpful when working on a tool that makes the process less dependent on plugins written for modelling programs.

  3. #63
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    As much as i recall, after some research, at least for mesh08 format i had this:

    Code:
    //http://msdn.microsoft.com/en-us/library/windows/desktop/bb206269(v=vs.85).aspx
    // 1 World transform, 2 View Transform, 3 Projection transform
    //D3DMATRIX 
    repeat 4 {
        float -;
        float -;
        float -;
        float -;
    }
    repeat 4 {
        float X;
        float Y;
        float Z;
        float W;
    }
    repeat 4 {
        float -;
        float -;
        float -;
        float -;
    }

  4. #64
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Why didn't I think about looking at the Microsoft library o.o Also now I understand why the other external based programs I seen don't have support for it now.

  5. #65
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    When i was manipulating the msh - only the 2nd view transformation had any effect in rf - i could have set random values or zero to world and projection, didn't see any real changes ingame.
    Should make it a bit easier to deal with.


    Yeah, matrix is a combination of scale, rotation and translation - all those values should be available in a 3d tool (autodesk for example) - they just need to be converted to a matrix. C++ has handy functions for all 3.

    But can start with just the scale and leave other to as 0 (no rotation or translation).

    So basically setting the view transform to x,y,z to whatever values they are in 3d tool and y to 1 and see what happens.

  6. #66
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Shortly after I posted 2 days ago when I was playing around found out how that section was calculated, so basically just need to have time for adjusting some stuff to make use of it. Got the exact sections but when I pull the same data at certain points with my program its spitting out wrong values so somethings not right in it currently. Its going be something dumb like I'm reading floats when it should be ints or vice versa, just don't see it yet.... Once I do more that I'll look into the matrix math stuff.

  7. #67
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    doing the reverse math is...a bit trickier - not knowing the right order which they were multiplied for the .msh. Rotation calc can also be 2 diff kinds.

  8. #68
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Turns out I was right it, the error I had was something dumb. I was reading that section 2 bytes off.

    I don't see why I would need to do the same order/ "right order" as the .msh as long as I pull data one way then place it back in the exact spot I pulled it from. I would imagine everything would be relatively the same location because the same formula would be applied to everything.

  9. #69
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    Well the right order matters if you wanna use existing transform matrix and display models according to its data in 3d programs. If you are simply making/adding new ones, it doesn't matter much yea.
    C++ for example should already have existing functions to create matrixes.

    Also... the map tool source should have all info about msh model - afterall, it renders the models in the viewer so it must be able to read them.

  10. #70
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    At the moment I need to check out the details but there is a model viewer which might have proper support a format I happen to like a lot. If it does I wouldn't need to do any matrix math have at all, just would need to write as that format and the objects would lineup themselves.

  11. #71
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    For a viewer it would work.

    But ingame it's more important - To match the ingame model or have the correct handle when holding a weapon etc.

  12. #72
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Quote Originally Posted by lifestream View Post
    For a viewer it would work.
    Ya that is the only use I would have for it (other than an alt program just to view models). As then I could check my work when I begin trying to get a proper mesh08 to something non-game specific. The few plugins for noesis and other programs don't have proper support for all variants. Plus if I make itself myself then I know exactly what to do for a to mesh08 format, which should be useful for jetpacks.
    Last edited by HaterAids; 30-09-15 at 07:29 PM.

  13. #73
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    mesh08 works with everything, including armors and mobs.
    Its a newer format they ripped out of the cancelled planet wars project - it even was supposed to have dif/bump/spec etc texture support - but i guess they never fully integrated it ingame client side or finished the shaders.

    Would be fun if the planet wars project would leak out...

  14. #74
    Valued Member HaterAids is offline
    MemberRank
    Nov 2013 Join Date
    102Posts

    Re: [Release] Misc structures, tools, research etc

    Quote Originally Posted by lifestream View Post
    mesh08 works with everything, including armors and mobs.
    Its a newer format they ripped out of the cancelled planet wars project - it even was supposed to have dif/bump/spec etc texture support - but i guess they never fully integrated it ingame client side or finished the shaders.

    Would be fun if the planet wars project would leak out...

    It would be fun if any new development was going on. Like for example new launchers not using the same base source code as most people. More alternatives could help iron out some issues / bring about a better one.

    By any chance do you much about using sockets in C++ ? A different side project of mine is making C++ based launcher. After an conversion process from C# to C++ some stuff I know is going to be wrong. Like for example can't think of a way in C++ to do the sockets. Google is helping some but not much. Even looked at the Aion launcher source code but that is just too different to be helpful for me.

  15. #75
    Leech feeder. lifestream is offline
    MemberRank
    Oct 2008 Join Date
    855Posts

    Re: [Release] Misc structures, tools, research etc

    Haven't really used c++, i can read it but not really write it. I focus on PHP/js/ext/postgres mainly these days.
    If it's about sending the auth.
    Working with Sockets (Client/Server) - C++ Forum
    Server side can be different - the only important part is the login, so whole web emulation is excess in this case.
    If i recall, the launcher only sent the login info and got back a token to continue (saved the data to a temp file) - the bin itself did the final authentication/validation.
    Can skip all the server status, asking for server list etc first.



Page 5 of 6 FirstFirst 123456 LastLast

Advertisement