Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / whats the difference between saving in binary code and saving in other ways?

Author
Message
JaJDoo
21
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 19th Jan 2004 14:06
???

blaaaa
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 19th Jan 2004 21:41 Edited at: 19th Jan 2004 21:43
Binary can be more compact than text. Also, there is no need for a text parser to convert any data back into its binary format. On the other hand, I'm a big fan of text save files since they are easier to trouble shoot. Once you write one text parser, it is easy to re-use that code on other projects. When I want security, I either apply a cypher or I can zip them up and password protect them.
--
TAZ

PS. This really should be in the new comer section of the forum.

Mussi
22
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 19th Jan 2004 22:35
dunno if your explanation aply's to this but I think he meant whats the differnce between exporting a model in binary format and in text format.



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 20th Jan 2004 00:46 Edited at: 20th Jan 2004 05:12
It could be. But, I'm not a freaking telepath.

Same comments apply in general, binary models are difficult to edit and are smaller. Text is easier to read, but requires parsing (and is thus slower to load.) Once in memory, they are exactly the same size.
--
TAZ

Represent
21
Years of Service
User Offline
Joined: 24th Dec 2003
Location:
Posted: 20th Jan 2004 02:43
Binary is rather 0 or 1. It is what all computers use. it is the most basic code. 0 off, 1 on. It is that basic.
Preston C
22
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 20th Jan 2004 02:49
@Transworld: Wrong kind of binary buddy. He's referring to the Binary and Text formats of the DirectX .X file format.

Cheers,
Preston


Intel Celeron 1.3 Ghrz 512MB Ram NVIDIA GeForceFX 5200 128MB
Represent
21
Years of Service
User Offline
Joined: 24th Dec 2003
Location:
Posted: 20th Jan 2004 03:07
Ooops... hehe sorry.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Jan 2004 04:36
Here's some notes from one of my classes.

Streams - a flow of data between memory and a i/o source

text file - consists of characters, readable without parsing/conversion

binary file - data is stored in the file as byte instead of characters. More efficient for moving data between memory and a file

Here's a further example of binary files.
12345 is stored in a text file as "1","2","3","4","5"
12345 is stored in a binary file as 00 00 48 57 (hex equivalent of decimal 12345)

"eureka" - Archimedes

Login to post a reply

Server time is: 2025-06-28 13:47:25
Your offset time is: 2025-06-28 13:47:25