> >

Post New Thread  Reply
 
Thread Tools
Old 06-02-12 at 04:34 PM   #1
I plead INSANITY!

Join Date: Jan 2009
Location: Eville, Indiana, USA, Psychotic State
Posts: 1,744
Default Read-Write Binary Files

Is there a program which will read/write binary files?

I have DAZ Studio and have some scenes saved. Well I decided the other day to combine all of my content into 2 primary folders - 1 for DAZ content and the other for Poser Runtimes. I previously had separated all my content into Typed folders {Main, Clothes, Hair, etc...}. I put 'em all together and am now using the Categories View style in DAZ.

Unfortunately ALL the scenes I had saved previously are "broken" because they're looking for stuff in folders which are no longer there. And DAZ {for whatever reason} chose to use binary files so I can't just go in and change all the folders to what I now have.

I've looked around and all I've found is code snippets for programming. I was really hoping to find a simple program which can do what I want with these files. I'm still checking around but I'm not hopeful of finding anything on my own at this point, if it's even out there.

Thanks in advance!

Peace to you and yours,
Matthew "Dra'Gon" Stohler

BlueDragonFire is offline  
Discuss Read-Write Binary Files at the Helpdesk forum within tehPARADOX.COM Online Sharing Community.
Old 06-02-12 at 07:01 PM   #2
Elder

Join Date: Apr 2012
Location: Eventyrland
Posts: 3,511
If you haven't already done that try with a Hex editor like frhed
http://frhed.sourceforge.net/en/
It's light and at least you can decrypt binary files, something like this



But I don't know if it can serve your purposes. I tried it years ago to open a ms word binary file since the main doc was corrupt, I recovered many parts of the doc but not all.
Shawn_7 is offline   Reply With Quote
Old 06-02-12 at 10:31 PM   #3
I plead INSANITY!

Join Date: Jan 2009
Location: Eville, Indiana, USA, Psychotic State
Posts: 1,744
Ya, I tried Hexprobe. But once it's in Hex then what? I sure can't read much with that - LOL. I wish I knew enough about Hex and whatnot but I never really got into it. And the ASCII panel had some readable characters but it was mostly just periods.

Is there something which can interpret Hex into ASCII? Then, of course, put it back so that it works after changes are made.

Here are the first 15 lines after using Hexprobe to export as "Decimal Text":
068  065  090  066  024  002  001  003  000  000  000  000  014  000  000  000  
001  000  005  000  083  000  099  000  101  000  110  000  101  000  255  255  
255  255  006  000  000  000  049  000  000  000  000  000  006  000  000  000  
050  000  160  000  000  000  010  000  000  000  051  000  000  000  000  000  
192  018  000  000  010  000  000  000  052  000  000  000  000  000  192  018  
000  000  002  007  000  000  053  000  242  000  000  000  001  000  000  000  
242  000  001  000  002  000  000  000  242  000  002  000  003  000  000  000  
242  000  003  000  004  000  000  000  242  000  004  000  005  000  000  000  
242  000  005  000  006  000  000  000  242  000  006  000  007  000  000  000  
242  000  007  000  008  000  000  000  242  000  008  000  009  000  000  000  
242  000  009  000  010  000  000  000  242  000  010  000  011  000  000  000  
242  000  011  000  012  000  000  000  242  000  012  000  013  000  000  000  
242  000  013  000  014  000  000  000  242  000  014  000  015  000  000  000  
242  000  015  000  016  000  000  000  242  000  016  000  017  000  000  000  
242  000  017  000  018  000  000  000  242  000  018  000  019  000  000  000
Just not sure what else to try.

Peace to you and yours,
Matthew "Dra'Gon" Stohler

BlueDragonFire is offline   Reply With Quote
Old 06-02-12 at 11:07 PM   #4
Bad command or file name

Join Date: Jul 2010
Location: Terra Incognita
Posts: 2,709
The content may well not be readable in any way we can understand. If the ASCII panel didn't show the paths in plain-text (anywhere in the file, not just at the beginning), more elaborate methods are probably required. I'd suggest trying to to see if Daz can let you browse for the new file locations, or barring that, re-create the original folder structure so that you can reopen the complete scenes and replace the objects with their duplicates in the new locations.

Last edited by Noledox; 06-02-12 at 11:19 PM.
Noledox is offline   Reply With Quote
Old 06-02-12 at 11:26 PM   #5
Newcomer
Join Date: Nov 2010
Posts: 7
Dragon,

My .05 cents: rebuild the folder/file structure to get it working again. Maybe with 1 file/project until you figure it out. If necessary create a new project, save it and check the folder/file structure. Or you could find another computer, temporarily install the software, create a project and look at the folder/file structure then reproduce it on your main system.

If the software is legal you might contact the company and ask them how to rebuild the folder structure or how to edit the binary files (unlikely as binary layout is usually proprietary).

good luck
doxp is offline   Reply With Quote
Old 06-03-12 at 07:10 AM   #6
I plead INSANITY!

Join Date: Jan 2009
Location: Eville, Indiana, USA, Psychotic State
Posts: 1,744
Well, I don't know if you've used DAZ but there are a number of directories in each Runtime folder. In order to recreate the structure I had before I'd have to look for each file associated with every piece of content I used. Geometries, Textures, Morphs, etc... Then put all those where they were before. Just finding out what goes with what would take quite a while, I'd have to look through about 60+ gigs of Content .

Looks like I'll just have to recreate my scenes, it'd take MUCH less time.

Anyway, thanks for the replies! I really do appreciate your trying.

Peace to you and yours,
Matthew "Dra'Gon" Stohler

BlueDragonFire is offline   Reply With Quote
Old 06-03-12 at 12:19 PM   #7
Elder

Join Date: Apr 2012
Location: Eventyrland
Posts: 3,511
There is a function in ms excel for converting decimal text to ASCII. it's the function CHAR.

I converted the first (068) using CHAR it's a D. I know, it's a long work requiring time and patience. It depends on what you consider is more convenient, trying to recover the data or restart the entire work.

Shawn_7 is offline   Reply With Quote
Old 06-03-12 at 12:28 PM   #8
I plead INSANITY!

Join Date: Jan 2009
Location: Eville, Indiana, USA, Psychotic State
Posts: 1,744
Totally spaced about using Excel for something like this - LOL. Unfortunately it doesn't look like much {for those lines I posted above anyway}.


I'll check this one file to see if there is anything useful I could work with though. Thanks for reminding me of that!

Peace to you and yours,
Matthew "Dra'Gon" Stohler

BlueDragonFire is offline   Reply With Quote
Old 06-03-12 at 11:10 PM   #9
Bad command or file name

Join Date: Jul 2010
Location: Terra Incognita
Posts: 2,709
Quote: Originally Posted by Shawn_7 View Post
There is a function in ms excel for converting decimal text to ASCII. it's the function CHAR.

I converted the first (068) using CHAR it's a D. I know, it's a long work requiring time and patience. It depends on what you consider is more convenient, trying to recover the data or restart the entire work.

That'll give you a very time-consuming version of the right pane in the hex editor, which is an ASCII interpreter.
Noledox is offline   Reply With Quote
Old 06-04-12 at 03:50 AM   #10
Elder

Join Date: Apr 2012
Location: Eventyrland
Posts: 3,511
Quote: Originally Posted by Noledox View Post
That'll give you a very time-consuming version of the right pane in the hex editor, which is an ASCII interpreter.
It depends on the hex editor and on the conversion decimal > ASCII. Presumably not-free hex editor are better.

I mean something like hackman suite ($21)
http://www.technologismiki.com/prod.php?id=31

Last edited by Shawn_7; 06-04-12 at 07:17 AM.
Shawn_7 is offline   Reply With Quote
Reply


Like this page? Share it!  
 
  

Thread Tools



All times are GMT -7. The time now is 06:31 AM.
SEO by vBSEO ©2011, Crawlability, Inc.