360haven works best with JavaScript enabled
[Release] Risen 2 - Compression Tool - Page 4
Loading
Register
Page 4 of 5 FirstFirst 12345 LastLast
Results 25 to 32 of 34
  1. #25
    Ryner Lute: T.L.D.

    Re: Risen 2 - Compression Tool

    Quote Originally Posted by JizzaBeez View Post
    The (de)compress and hash are separate. The last 32 bytes of the savedata is the SHA256 hash and the rest is the compressed data. So it doesn't matter if the compressed data's length changes or not because the hash is always appended to the end of the compressed data.
    thanks I didn't know that ^.^
    that will help me for future editors as well.

  2. #26
    Saiyan Pride
    x Revenge Inc x is offline
    Join Date : Dec 2010
    Location : England
    Age : 30
    Posts : 227
    Array

    Re: Risen 2 - Compression Tool

    Hey dude, great tool, i can decompress just fine, but when i try to compress the file i get an error saying -

    "An error has occurred: the specified cryptographic algorithm is not supported on this platform"

    any ideas?

    *Edit* My friend tested it and it worked fine on Vista, I'm on Windows XP 32 bit. No idea why it won't work on my pc =/
    Last edited by x Revenge Inc x; 08-09-2012 at 09:37 PM.
    Downloads : 120 || Uploads : 10 || Rep Power : 3902 || Posts : 227 || Thanks : 60 || Thanked 235 Times in 38 Posts



    Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.

  3. #27
    DEADBEEF

    JizzaBeez is offline
    Join Date : Nov 2010
    Posts : 777
    Array

    Re: Risen 2 - Compression Tool

    Quote Originally Posted by x Revenge Inc x View Post
    Hey dude, great tool, i can decompress just fine, but when i try to compress the file i get an error saying -

    "An error has occurred: the specified cryptographic algorithm is not supported on this platform"

    any ideas?

    *Edit* My friend tested it and it worked fine on Vista, I'm on Windows XP 32 bit. No idea why it won't work on my pc =/
    Windows XP doesn't support something in the .Net Framework. There's nothing I can do about that, you have to work it out on your end.

  4. #28
    Administrator

    feudalnate is offline
    Join Date : Nov 2010
    Location : Canada
    Age : 30
    Posts : 344
    Array

    Re: Risen 2 - Compression Tool

    It seems only Windows XP SP3 and above supports the algorithm needed

    Prior to Windows XP Service Pack 3, there was no SHA2 functionality within Windows XP. With the release of Service Pack 3 some limited functionality was added to the crypto module rsaenh.dll. This includes the following SHA hashes: SHA-256, SHA-384, SHA-512. SHA-224 was not included.

    There's an open source library written by BouncyCastle that has many implementations of algorithms, compressions, streams and other cryptographic classes that are not reliant on the core services of the .NET libraries - BouncyCastle DLL

    Code:
    Imports Org.BouncyCastle.Crypto.Digests
    
      Sub DoSHA256()
          '32 byte output hash buffer and 100 byte buffer to process
          Dim Hash(&H20 - 1), Buffer(100 - 1) As Byte
          For i As Byte = 0 To Buffer.Length - 1 'Fill buffer with junk
              Buffer(i) = i
          Next
          Dim SHA As New Sha256Digest() 'Init SHA2
          SHA.BlockUpdate(Buffer, 0, Buffer.Length) 'Process junk buffer
          SHA.DoFinal(Hash, 0) 'Finalize crypto, copy resulting hash to hash buffer (returns an int aswell, always 0x20)
      End Sub
    Last edited by feudalnate; 08-10-2012 at 12:55 AM.
    Downloads : 61 || Uploads : 11 || Rep Power : 4377 || Posts : 344 || Thanks : 57 || Thanked 931 Times in 187 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. #29
    Saiyan Pride
    x Revenge Inc x is offline
    Join Date : Dec 2010
    Location : England
    Age : 30
    Posts : 227
    Array

    Re: Risen 2 - Compression Tool

    Thanks for the help guys, been meaning to upgrade to windows 7 but never got around to it lol, cheers again.
    Downloads : 120 || Uploads : 10 || Rep Power : 3902 || Posts : 227 || Thanks : 60 || Thanked 235 Times in 38 Posts



    Flying Is Simple, You Just Throw Yourself At The Ground, Then Miss.

  6. #30
    DEADBEEF

    JizzaBeez is offline
    Join Date : Nov 2010
    Posts : 777
    Array

    Re: Risen 2 - Compression Tool

    Quote Originally Posted by feudalnate View Post
    It seems only Windows XP SP3 and above supports the algorithm needed






    There's an open source library written by BouncyCastle that has many implementations of algorithms, compressions, streams and other cryptographic classes that are not reliant on the core services of the .NET libraries - BouncyCastle DLL

    Code:
    Imports Org.BouncyCastle.Crypto.Digests
    
      Sub DoSHA256()
          '32 byte output hash buffer and 100 byte buffer to process
          Dim Hash(&H20 - 1), Buffer(100 - 1) As Byte
          For i As Byte = 0 To Buffer.Length - 1 'Fill buffer with junk
              Buffer(i) = i
          Next
          Dim SHA As New Sha256Digest() 'Init SHA2
          SHA.BlockUpdate(Buffer, 0, Buffer.Length) 'Process junk buffer
          SHA.DoFinal(Hash, 0) 'Finalize crypto, copy resulting hash to hash buffer (returns an int aswell, always 0x20)
      End Sub
    Thanks for the info, I'll definitely give this a look.

  7. #31
    Bug6666

    Re: Risen 2 - Compression Tool

    Thanks For This!!

  8. #32
    thatloopydude

    Re: Risen 2 - Compression Tool

    Can't download this. Site say's I "Don't have permission to access this page" when I click the download button. Why don't it work for me? Fist time having a problem with this.

    Edit

    Spammed the download button, fixed it's self. Thanks for this.

 

 
Page 4 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. [WIP] Borderlands 2 Compression Tool
    By kill_seth in forum Xbox 360 Modding Programs
    Replies: 94
    Last Post: 10-14-2012, 09:18 PM
  2. [Release] Blur Compression Tool
    By iH8 Fr0st in forum Xbox 360 Modding Programs
    Replies: 3
    Last Post: 06-08-2012, 01:08 AM
  3. [Release] Infernal - Compression Tool
    By JizzaBeez in forum Xbox 360 Modding Programs
    Replies: 0
    Last Post: 05-22-2012, 10:36 AM
  4. QuikZip - Compression Tool
    By JizzaBeez in forum Programs
    Replies: 2
    Last Post: 03-09-2012, 06:43 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.

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