Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can someone tell me...

    What I need to view/parse these files? It's item information for a game and I want to extract the data and build a database.

    Thanks in advance.

    http://www.zshare dot net/download/50390460c012d0fa/

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    You can usually parse files in a number of languages. If you need more control, C/C++ will let you parse anything with tricky uses of you're pointers.
    I'm not going to copy / paste a url. Post a file format if its in plain text and you're language of choice and I'll see if I can help.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by incarnate1 View Post
    What I need to view/parse these files? It's item information for a game and I want to extract the data and build a database.

    Thanks in advance.

    http://www.zshare dot net/download/50390460c012d0fa/
    you are sure that what you want to do is legal?

    regards

  • #4
    New to the CF scene
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, I'm not trying to hack the game, I'm trying to build a database off it.

    Something like thottbot or alakhazam

  • #5
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Can you show us what the file format looks like?
    So long as its not encrypted I'm not worried.
    I find generally plain text files are line separated records with spaces, commas, etc to separate the properties.
    This isn't the case if you're using C or C++ though, you can just point and insert specific number of bits into the file and do the same when you're retreiving them. I love structs.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #6
    New to the CF scene
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts


    I opened it up in a hex editor and this is what it looks like, I'm just not sure where to go from here. I just want to build a database off the files.

  • #7
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Looks like you're out of luck.
    Chances are thats an encrypted file. Notice the right hand pane, thats generally the ascii character representation of the hex data on the left. Its possible it just a really long header, but methinks the files been encrypted to prevent reading, and more importantly, altering.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #8
    New Coder
    Join Date
    May 2006
    Posts
    81
    Thanks
    0
    Thanked 11 Times in 11 Posts
    The text on the right is readable though, Cash_Pet_Extend ExpireDate, etc. Like Fou said though, they could be the headers. If you know more about the game those may make more sense to you.

  • #9
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    It looks like byte code, I don't know what language its in. I couldn't read the full size image at work yesterday (though I can tonight :P), though I'm not sure why it blocks the full but not the preview image on image shack. In either case, its not text thats meant to be people readable.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #10
    New to the CF scene
    Join Date
    Jan 2009
    Location
    Some random website
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Looks like it's got a top layer Blowfish encryption on it. There's multiple decompiling software out there, however, it takes time to learn how to use it, and the software's quite expensive (if you buy it). I'd suggest finding someone with reverse engineering and ASM experience and seeing if they'll grab the data files for you.

    I'd offer, but I'm not up for blackhatting the nonprofit sector. Good luck though.

    -Nito


  •  

    Posting Permissions

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