[Release] MRS DLL for Programmers

Page 1 of 2 12 LastLast
Results 1 to 25 of 31
  1. #1
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    [Release] MRS DLL for Programmers

    [FONT=Arial][SIZE=2]MRSDLL.dll is an easy way for all programmers to be able to access the MAIET


  2. #2
    Account Upgraded | Title Enabled! GotRice10 is offline
    MemberRank
    Jul 2007 Join Date
    346Posts

    Re: [Release] MRS DLL for Programmers

    omg T6 i think this is ur best work ever
    thank you fore sharing ur work
    very nice job

  3. #3
    Account Upgraded | Title Enabled! maxteam is offline
    MemberRank
    Aug 2007 Join Date
    IndiaLocation
    428Posts

    Re: [Release] MRS DLL for Programmers

    how do i encrypt thr MRS files with this??
    anyways thanks

  4. #4
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by maxteam View Post
    how do i encrypt thr MRS files with this??
    anyways thanks
    Please read the ToDo in the first post.

  5. #5
    Proficient Member Dr. Wet Pants is offline
    MemberRank
    Feb 2008 Join Date
    At my home? Where else?Location
    151Posts

    Re: [Release] MRS DLL for Programmers


    Is this a new version or something really diff.? And a new idea : Make an editor to edit .DLL files <3.

  6. #6
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by Dr. Wet Pants View Post

    Is this a new version or something really diff.? And a new idea : Make an editor to edit .DLL files <3.
    I'm inclined to think you have no idea what a DLL is.

    Anyway, since the C++ code given in his example was a little botched and a little hard to read, I made a simple little project showing how to implement the DLL in C++ (using Visual Studio 2005, not sure if it'll work in 2008, I doubt it in a way).

    Code:
    #include <windows.h>
    #include <iostream>
    using namespace std;
    
    typedef bool (__stdcall* _OpenMRSFile)(char* MRSFileName);
    typedef bool (__stdcall* _CloseMRSFile)();
    typedef int (__stdcall* _GetFileCount)();
    typedef char* (__stdcall* _GetFileName)(int Index);
    
    int main(int argc, char* argv[])
    {
        _OpenMRSFile OpenMRSFile;
        _CloseMRSFile CloseMRSFile;
        _GetFileCount GetFileCount;
        _GetFileName GetFileName;
        HINSTANCE hInst = LoadLibrary(TEXT("MRSDLL.dll"));
    
        OpenMRSFile = (_OpenMRSFile)GetProcAddress(hInst, "OpenMRSFile");
        CloseMRSFile = (_CloseMRSFile)GetProcAddress(hInst, "CloseMRSFile");
        GetFileCount = (_GetFileCount)GetProcAddress(hInst, "GetFileCount");
        GetFileName = (_GetFileName)GetProcAddress(hInst, "GetFileName");
    
        if(OpenMRSFile("model.mrs"))
        {
            for(int i = 0; i < GetFileCount(); i++)
            {
                cout << "file " << i << ": " << GetFileName(i) << "\n";
            }
    
            CloseMRSFile;
        }
    
        return 0;
    }
    Opens model.mrs and shows all the files in it. Simple enough.

  7. #7
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: [Release] MRS DLL for Programmers

    Thanks RoA, a little note to C++ users, when putting a full path use double backslashes.

    Example Wrong: C:\IJJI\Gunz\system.mrs
    Example Right: C:\\IJJI\\Gunz\\system.mrs

  8. #8
    Valued Member Psylithium is offline
    MemberRank
    Nov 2007 Join Date
    Germany, DortmuLocation
    138Posts

    Re: [Release] MRS DLL for Programmers

    Awesome Release.

  9. #9
    Account Upgraded | Title Enabled! sexy fire slash is offline
    MemberRank
    Oct 2007 Join Date
    Canada B.C. Currently A Developer.Location
    553Posts

    Re: [Release] MRS DLL for Programmers

    T6 Ur my idol still xD. finally been waiting for another of your releases =)\

    But i still don't get how to use it

  10. #10
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: [Release] MRS DLL for Programmers

    It's for programmers to be able to open, extract, view mrs files.

  11. #11
    Valued Member Psylithium is offline
    MemberRank
    Nov 2007 Join Date
    Germany, DortmuLocation
    138Posts

    Re: [Release] MRS DLL for Programmers

    I luv it!, very useful..

  12. #12
    Member D@rK_AnGeL is offline
    MemberRank
    Aug 2007 Join Date
    56Posts

    Re: [Release] MRS DLL for Programmers

    what it is do?? i didnt understood..
    and how i can use it?

  13. #13
    Account Upgraded | Title Enabled! war is offline
    MemberRank
    Feb 2007 Join Date
    353Posts

    Re: [Release] MRS DLL for Programmers

    Just a note to everyone. This is really not a thread to read if your not into programming.
    ThievingSix is kind enough to provide us with a very usefull, basic source to unpack an .mrs file.
    The goal of this release is to get people like me to get and extend the source, build an eviroment around it, and especialy getting things off the to-do list. If you really want to help, I suggest you learn the basic of programming the source, which lies in C++.

    Learn C++: C++ Language Tutorial

  14. #14
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: [Release] MRS DLL for Programmers

    The DLL isn't coded in C++ btw, it's coded in Delphi.

  15. #15
    Account Upgraded | Title Enabled! war is offline
    MemberRank
    Feb 2007 Join Date
    353Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by RepublicOfAstra View Post
    The DLL isn't coded in C++ btw, it's coded in Delphi.
    your source code is writen in C++.

  16. #16
    Account Upgraded | Title Enabled! Mr.Lucifer is offline
    MemberRank
    Apr 2007 Join Date
    797Posts

    Re: [Release] MRS DLL for Programmers

    [quote=war

  17. #17
    Account Upgraded | Title Enabled! Kingston is offline
    MemberRank
    Jun 2007 Join Date
    601Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by RepublicOfAstra View Post
    I'm inclined to think you have no idea what a DLL is.

    Anyway, since the C++ code given in his example was a little botched and a little hard to read, I made a simple little project showing how to implement the DLL in C++ (using Visual Studio 2005, not sure if it'll work in 2008, I doubt it in a way).

    Code:
    #include <windows.h>
    #include <iostream>
    using namespace std;
    
    typedef bool (__stdcall* _OpenMRSFile)(char* MRSFileName);
    typedef bool (__stdcall* _CloseMRSFile)();
    typedef int (__stdcall* _GetFileCount)();
    typedef char* (__stdcall* _GetFileName)(int Index);
    
    int main(int argc, char* argv[])
    {
        _OpenMRSFile OpenMRSFile;
        _CloseMRSFile CloseMRSFile;
        _GetFileCount GetFileCount;
        _GetFileName GetFileName;
        HINSTANCE hInst = LoadLibrary(TEXT("MRSDLL.dll"));
    
        OpenMRSFile = (_OpenMRSFile)GetProcAddress(hInst, "OpenMRSFile");
        CloseMRSFile = (_CloseMRSFile)GetProcAddress(hInst, "CloseMRSFile");
        GetFileCount = (_GetFileCount)GetProcAddress(hInst, "GetFileCount");
        GetFileName = (_GetFileName)GetProcAddress(hInst, "GetFileName");
    
        if(OpenMRSFile("model.mrs"))
        {
            for(int i = 0; i < GetFileCount(); i++)
            {
                cout << "file " << i << ": " << GetFileName(i) << "\n";
            }
    
            CloseMRSFile;
        }
    
        return 0;
    }
    Opens model.mrs and shows all the files in it. Simple enough.
    so for system.mrs is...

    Code:
    #include <windows.h>
    #include <iostream>
    using namespace std;
    
    typedef bool (__stdcall* _OpenMRSFile)(char* MRSFileName);
    typedef bool (__stdcall* _CloseMRSFile)();
    typedef int (__stdcall* _GetFileCount)();
    typedef char* (__stdcall* _GetFileName)(int Index);
    
    int main(int argc, char* argv[])
    {
        _OpenMRSFile OpenMRSFile;
        _CloseMRSFile CloseMRSFile;
        _GetFileCount GetFileCount;
        _GetFileName GetFileName;
        HINSTANCE hInst = LoadLibrary(TEXT("MRSDLL.dll"));
    
        OpenMRSFile = (_OpenMRSFile)GetProcAddress(hInst, "OpenMRSFile");
        CloseMRSFile = (_CloseMRSFile)GetProcAddress(hInst, "CloseMRSFile");
        GetFileCount = (_GetFileCount)GetProcAddress(hInst, "GetFileCount");
        GetFileName = (_GetFileName)GetProcAddress(hInst, "GetFileName");
    
        if(OpenMRSFile("system.mrs"))
        {
            for(int i = 0; i < GetFileCount(); i++)
            {
                cout << "file " << i << ": " << GetFileName(i) << "\n";
            }
    
            CloseMRSFile;
        }
    
        return 0;
    }

  18. #18
    Account Upgraded | Title Enabled! war is offline
    MemberRank
    Feb 2007 Join Date
    353Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by Mr.Lucifer View Post
    You can use the .dll with C++... The .dll itself is Delphi, that doesn't have to mean you can't use C++ to program with it.
    no shit sherlock.

  19. #19
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by Kingston View Post
    so for system.mrs is...

    Code:
    #include <windows.h>
    #include <iostream>
    using namespace std;
    
    typedef bool (__stdcall* _OpenMRSFile)(char* MRSFileName);
    typedef bool (__stdcall* _CloseMRSFile)();
    typedef int (__stdcall* _GetFileCount)();
    typedef char* (__stdcall* _GetFileName)(int Index);
    
    int main(int argc, char* argv[])
    {
        _OpenMRSFile OpenMRSFile;
        _CloseMRSFile CloseMRSFile;
        _GetFileCount GetFileCount;
        _GetFileName GetFileName;
        HINSTANCE hInst = LoadLibrary(TEXT("MRSDLL.dll"));
    
        OpenMRSFile = (_OpenMRSFile)GetProcAddress(hInst, "OpenMRSFile");
        CloseMRSFile = (_CloseMRSFile)GetProcAddress(hInst, "CloseMRSFile");
        GetFileCount = (_GetFileCount)GetProcAddress(hInst, "GetFileCount");
        GetFileName = (_GetFileName)GetProcAddress(hInst, "GetFileName");
    
        if(OpenMRSFile("system.mrs"))
        {
            for(int i = 0; i < GetFileCount(); i++)
            {
                cout << "file " << i << ": " << GetFileName(i) << "\n";
            }
    
            CloseMRSFile;
        }
    
        return 0;
    }
    You are correct unless the system.mrs isn't in the same folder that the DLL is in. I recommend full file paths such for the DLL and the MRS file.

  20. #20
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: [Release] MRS DLL for Programmers

    Very handy :)

  21. #21
    [Czt] Coder Team Member noobies is offline
    MemberRank
    Aug 2005 Join Date
    Behind you !!Location
    747Posts

    Re: [Release] MRS DLL for Programmers

    Damn, T6 ur the man!

  22. #22
    Proficient Member tagerinator is offline
    MemberRank
    Nov 2007 Join Date
    Canada FTW!Location
    199Posts

    Re: [Release] MRS DLL for Programmers

    Wow, mad bumpers.

  23. #23
    Account Upgraded | Title Enabled! CrashPoint is offline
    MemberRank
    Sep 2008 Join Date
    VietNamLocation
    706Posts

    Re: [Release] MRS DLL for Programmers

    sorry for bumpin this old topic but anyone re-upload pls?

  24. #24
    Account Upgraded | Title Enabled! Exiled Hero is offline
    MemberRank
    Nov 2008 Join Date
    Multiple PlacesLocation
    202Posts

    Re: [Release] MRS DLL for Programmers

    http://www.mediafire.com/?dymizmjronm

    Has source and compiled DLL.

  25. #25
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: [Release] MRS DLL for Programmers

    Quote Originally Posted by Exiled Hero View Post
    http://www.mediafire.com/?dymizmjronm

    Has source and compiled DLL.
    What a joke. It's blank =/



Page 1 of 2 12 LastLast

Advertisement