360haven works best with JavaScript enabled
[Release] RE6 Editor (by PUR3 RAF3X) - Page 2
Loading
Register
Page 2 of 14 FirstFirst 123456712 ... LastLast
Results 9 to 16 of 105
  1. #9
    Haven Donator
    edu_pt is offline
    Join Date : Nov 2011
    Location : Lisbon, Portugal
    Posts : 132
    Array
    Twitter: @

    Re: RE6 Editor (by PUR3 RAF3X)

    Here it is the ultimate re6 mod tool, great job PUR3. Thanks.

  2. #10
    AzaiNagamasa

    Re: RE6 Editor (by PUR3 RAF3X)

    Good work PUR3 RAF3X.
    Will their be a way to make a skill tree have more then 3 supports working at the same time?

  3. #11
    Developer

    PUR3 RAF3X is offline
    Join Date : Dec 2010
    Location : Germany
    Age : 45
    Posts : 722
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    Quote Originally Posted by AzaiNagamasa View Post
    Good work PUR3 RAF3X.
    Will their be a way to make a skill tree have more then 3 supports working at the same time?
    No I found no way doing this or choose more then 1 slot.

  4. #12
    Administrator

    feudalnate is offline
    Join Date : Nov 2010
    Location : Canada
    Age : 34
    Posts : 347
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    Here's the hash algo if that's all you needed. Also, I'm not certain which language you write in but either function will work with the extracted data just the same

    **Read/write hash value as big endian uint32 (not int32, my mistake)
    0x0 = Magic, 0x4 = Length, 0x8 = Hash

    Code:
        Function ComputeRE6Hash(ByRef Data As Byte()) As UInt32
            If Data Is Nothing OrElse Data.Length = 0 Then Throw New NullReferenceException("Bad data")
            Dim Magic As Byte() = New Byte() {&H12, 7, &H18, 0} '//Magic bytes @ 0x0
            For i As Int32 = 0 To 4 - 1 '//Check magic
                If Magic(i) <> Data(i) Then Throw New Exception("Invalid RE6 data")
            Next
            Dim Buffer(4 - 1) As Byte, Length As Int32, Hash As Int64 '//Declare Hash as int64 to prevent overflows/underflows
            Array.Copy(Data, 4, Buffer, 0, 4) '//Data length int @ 0x4
            Array.Reverse(Buffer)
            Length = BitConverter.ToInt32(Buffer, 0)
            For i As Int32 = &HC To Length - 1 '//Begin calculating from 0xC for specified length
                Hash += ((Data(i) And &HFF) << (24 - ((i And 3) * 8)))
            Next
            Do While Hash > &H100000000L
                Hash -= &H100000000L
            Loop
            Erase Buffer
            Return CUInt(Hash) '//Cast to uint
        End Function
    Code:
            uint ComputeRE6Hash(ref byte[] Data)
            {
                if(Data == null || Data.Length == 0) throw new NullReferenceException("Bad data");
                byte[] Magic = new byte[] {0x12, 7, 0x18, 0}; //Magic bytes @ 0x0
                for(int i = 0; i < 4; i++) //Check magic
                {
                    if(Magic[i] != Data[i]) throw new Exception("Invalid RE6 data");
                }
                byte[] Buffer = new byte[4]; int Length = 0; long Hash = 0; //Declare Hash as int64 to prevent overflows/underflows
                Array.Copy(Data, 4, Buffer, 0, 4); //Data length int @ 0x4
                Array.Reverse(Buffer);
                Length = BitConverter.ToInt32(Buffer, 0);
                for(int i = 0xC; i < Length; i++) //Begin calculating from 0xC for specified length
                {
                    Hash += ((Data[i] & 0xFF) << (24 - ((i & 3) * 8)));
                }
                while (Hash > 0x100000000)
                {
                    Hash -= 0x100000000;
                }
                Array.Clear(Buffer, 0, 4);
                return (uint)Hash; //Cast to uint
            }
    Last edited by feudalnate; 10-27-2012 at 01:22 PM. Reason: Hash is uint not int
    Downloads : 63 || Uploads : 11 || Rep Power : 5650 || Posts : 347 || Thanks : 62 || Thanked 939 Times in 190 Posts


    "If you can get 30 seconds of fun, you can pretty much stretch that out to be an entire game. So you can have all the great graphics, all the different characters,
    and lots of different weapons with amazing effects but if you don't nail that 30 seconds, you're not going to have a great game." ~Jamie Griesemer (Halo 2 Design Lead)

  5. #13
    Developer

    PUR3 RAF3X is offline
    Join Date : Dec 2010
    Location : Germany
    Age : 45
    Posts : 722
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    Thanks I need the vb code. And I try this later but Im sure your code work allways ;)

    EDIT: You are the best Mr.

    Only one prob your code have but it's no prob fix this.

    Return Cint(hash) make probs but without Cint work well ;)

    Tool Updated!
    Last edited by PUR3 RAF3X; 10-27-2012 at 06:39 PM.

  6. #14
    Senior Member
    bx don is offline
    Join Date : Aug 2012
    Posts : 257
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    ive tried alot editors but none have worked for ammo hopefully this one will work for me thanks...
    Downloads : 19 || Uploads : 0 || Rep Power : 4536 || Posts : 257 || Thanks : 125 || Thanked 23 Times in 21 Posts



  7. #15
    Haven Donator
    CrookedGamer is offline
    Join Date : Apr 2012
    Posts : 52
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    Many thanks but rar CRC fails.

  8. #16
    Senior Member
    360HAVEN
    Bloody Moon is offline
    Join Date : Oct 2012
    Posts : 127
    Array

    Re: RE6 Editor (by PUR3 RAF3X)

    Excellent editor. Thanks.

 

 
Page 2 of 14 FirstFirst 123456712 ... LastLast

Similar Threads

  1. [Release] DRAGON'S DOGMA EDITOR- by (Dev PUR3 RAF3X)
    By PUR3 RAF3X in forum Xbox 360 Modding Programs
    Replies: 655
    Last Post: 10-09-2020, 08:09 PM
  2. [Help] Dragon's Dogma Editor by PUR3 RAF3X
    By suplax in forum Help & Support
    Replies: 2
    Last Post: 05-29-2015, 06:24 AM
  3. help with PUR3 RAF3X's dragon's dogma save editor
    By Reborn Archangel in forum Xbox 360 Modding Discussion
    Replies: 5
    Last Post: 06-27-2013, 05:37 PM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯