360haven works best with JavaScript enabled
[Beta] Minecraft XBLA Compression Library - Page 2
Loading
Register
Page 2 of 3 FirstFirst 123 LastLast
Results 9 to 16 of 22
  1. #9
    Eternal Dragoon
    Rpg_Fan

    Serious_M is offline
    Join Date : Dec 2010
    Location : Netherlands , Amsterdam
    Age : 36
    Posts : 13,027
    Array
    Barts Watersport Adventure Champion

    Re: Minecraft XBLA Compression Library

    nice work as always fairchild
    Downloads : 57 || Uploads : 1 || Rep Power : 17160 || Posts : 13,027 || Thanks : 3,661 || Thanked 1,791 Times in 1,446 Posts


    Serious_M

  2. #10
    maskedstick

    Re: Minecraft XBLA Compression Library

    Thank you, I finally got it working. This is truly amazing. But I noticed one thing (which, in practice, doesn't make a difference):

    Shouldn't this:

    Code:
    [DllImport("libminecraft.dll", CallingConvention = CallingConvention.Cdecl)]
    public static extern uint decompress([Out] byte[] compressed_buffer, uint compressed_size, [In] byte[] decompressed_buffer, uint decompressed_size);
    be this?

    Code:
    [DllImport("libminecraft.dll", CallingConvention = CallingConvention.Cdecl)]
    public static extern uint decompress([In] byte[] compressed_buffer, uint compressed_size, [Out] byte[] decompressed_buffer, uint decompressed_size);
    and same for the compress method?
    It seems that in the decompress method, the compressed_buffer is what's going IN to the method to be processed, and the decompressed_buffer is what's coming OUT.

    Like I said, in practice, there's no difference, but I wanted to help get rid of confusion.
    Last edited by maskedstick; 08-16-2012 at 05:45 PM.

  3. #11
    Junior Member
    OzelotDEHD is offline
    Join Date : Aug 2012
    Posts : 7
    Array

    Re: Minecraft XBLA Compression Library

    how can use in VB.NET? i will programming a simple tool for me to Compress and DeCompress the file.

  4. #12
    Reverse Engineer


    fairchild is offline
    Join Date : Jan 2011
    Location : Spain / Sweden
    Posts : 211
    Array

    Re: Minecraft XBLA Compression Library

    Quote Originally Posted by maskedstick View Post
    Thank you, I finally got it working. This is truly amazing. But I noticed one thing (which, in practice, doesn't make a difference):

    Shouldn't this:

    Code:
    [DllImport("libminecraft.dll", CallingConvention = CallingConvention.Cdecl)]
    public static extern uint decompress([Out] byte[] compressed_buffer, uint compressed_size, [In] byte[] decompressed_buffer, uint decompressed_size);
    be this?

    Code:
    [DllImport("libminecraft.dll", CallingConvention = CallingConvention.Cdecl)]
    public static extern uint decompress([In] byte[] compressed_buffer, uint compressed_size, [Out] byte[] decompressed_buffer, uint decompressed_size);
    and same for the compress method?
    It seems that in the decompress method, the compressed_buffer is what's going IN to the method to be processed, and the decompressed_buffer is what's coming OUT.

    Like I said, in practice, there's no difference, but I wanted to help get rid of confusion.
    That might be right, i'm no expert in C# and i rarely code things using this language.
    Downloads : 47 || Uploads : 4 || Rep Power : 4058 || Posts : 211 || Thanks : 71 || Thanked 737 Times in 108 Posts


    If you feel like donating some bit coins, please do so to address "1DNcjKhrVTGnKTyQYbjx8yTRoenTSySeoP", if you are interested in other projects visit www.chipit.se or www.baeckstrom.com, thanks!

  5. #13
    Junior Member
    OzelotDEHD is offline
    Join Date : Aug 2012
    Posts : 7
    Array

    Re: Minecraft XBLA Compression Library

    i can decompress savegame.dat under 9MB but if the file is big over 9MB, crash the Decompressor, plz fix


  6. #14
    Reverse Engineer


    fairchild is offline
    Join Date : Jan 2011
    Location : Spain / Sweden
    Posts : 211
    Array

    Re: Minecraft XBLA Compression Library

    Quote Originally Posted by OzelotDEHD View Post
    i can decompress savegame.dat under 9MB but if the file is big over 9MB, crash the Decompressor, plz fix
    Can you upload your savegame somewhere so that i can take a look?
    Downloads : 47 || Uploads : 4 || Rep Power : 4058 || Posts : 211 || Thanks : 71 || Thanked 737 Times in 108 Posts


    If you feel like donating some bit coins, please do so to address "1DNcjKhrVTGnKTyQYbjx8yTRoenTSySeoP", if you are interested in other projects visit www.chipit.se or www.baeckstrom.com, thanks!

  7. #15
    Garbag3man117

    Re: Minecraft XBLA Compression Library

    Has anyone gotten this to work with C#? If so, can you post a code sample? I get an AccessViolationException whenever I try to decompress a save file. Not knowing the slightest thing about C++, I'm not sure what to do.

  8. #16
    Haven Donator
    pistol_pte is offline
    Join Date : May 2012
    Posts : 6
    Array

    Re: Minecraft XBLA Compression Library

    Quote Originally Posted by fairchild View Post
    I implemented this in NBTExplorer, but now i want to know which is the best map editor that is open source so that i can modify that to use xbox360 savegames. :)
    MCEdit is open source, its writen in Python not sure if thats a problem

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Minecraft (XBLA) TU 27
    By bruno_kiko in forum Trainer Request
    Replies: 5
    Last Post: 1 Week Ago, 11:53 AM
  2. [Release] Minecraft XBLA Editor
    By Idlehands88 in forum Xbox 360 Modding Programs
    Replies: 298
    Last Post: 09-03-2016, 03:33 AM
  3. [WIP] Generic Xbox360 Compression Library
    By fairchild in forum Xbox 360 Modding Programs
    Replies: 29
    Last Post: 08-14-2013, 04:11 AM
  4. Minecraft on XBLA working toward constant updates
    By jkipp82 in forum XBL Marketplace News
    Replies: 1
    Last Post: 01-23-2012, 06:06 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.

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