Universe Sandbox

Universe Sandbox Legacy => Universe Sandbox 2008 | Discussion => Topic started by: Dan Dixon on August 21, 2009, 10:20:26 PM

Title: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on August 21, 2009, 10:20:26 PM
The next version of Universe Sandbox (version 2) will also have an enhanced file format that will allow easy bundling of a system, custom textures, custom horizon data, settings, and even custom info screens.

The current plan is to bundle these files in a standard zip file format with a custom extension that will allow you to launch Universe Sandbox by double clicking this file.

This bundle file could contain a single system file or many files like:
- system.xml
- settings.xml
- terraformedmars.png (a custom texture)
- help.txt
- info.txt
- appearance.xml (custom modifications to the default appearance.xml data file)
- objects.xml (custom modifications to the default object.xml data file)
and when opened Universe Sandbox will automatically un-compress the files and load the simulation.

This will also eliminate the need to put textures in one folder, systems in another, etc... My hope is that this will make everything simpler.

Any comments or questions?

Any though on what the file extension should be?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Andreas on August 22, 2009, 09:25:31 AM
Enceladus :P
Title: Re: Universe Sandbox 2 File Format Plans
Post by: FGFG on August 22, 2009, 09:49:24 AM
Just very useful.

Could you rename the .zip file in something like .usf (universe sandbox file) or whatever maintaining the same functions, so that it would be more recognizable?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 22, 2009, 03:27:46 PM
USE. lol. you use it. Stands for Universe Sandbox Editor. Or USEP. Universe Sandbox Editor Page.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 22, 2009, 04:06:22 PM
.uni (uni)verse!
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on August 22, 2009, 07:01:47 PM
Could you rename the .zip file in something like .usf (universe sandbox file) or whatever maintaining the same functions, so that it would be more recognizable?

Yes. That's the plan. It will be a standard zip file with a different extension so that when you 'open' the file it opens in Universe Sandbox.


File Extension Suggestions So Far

.use - Universe Sandbox Editor
.usep - Universe Sandbox Editor Page
.usf - Universe Sandbox File
.uni - (Uni)verse

Any others?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 23, 2009, 03:07:08 AM
Just in case anyone was wondering why I chose Universe Sandbox Editor (Page) is because it would be the primary page to edit systems. Am I right or do you have other plans Dan?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 03:12:16 AM
.use is cool. :P
.uni is also good, the other ones are more informative which is also good ofc... Hmm. ???
.unsa - Universe Sandbox. :P
Or .usa lol. ;D

Err... ???
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 23, 2009, 03:23:26 AM
Ummmmm... Not really getting the unsa or usa. Double abbreviations are a little too complicated. You would never be able to know what it is by looking at it. :-\
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on August 23, 2009, 04:43:23 AM
Just in case anyone was wondering why I chose Universe Sandbox Editor (Page) is because it would be the primary page to edit systems. Am I right or do you have other plans Dan?

I'm still working out the details, but I envision this as the all-in-one file format for the program.

It could contain presets, textures, systems, tutorials, or a combination of all of them.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 09:57:22 AM
Ummmmm... Not really getting the unsa or usa. Double abbreviations are a little too complicated. You would never be able to know what it is by looking at it. :-\

Don't talk like that to CoRoT! lol  ;D hahaha
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 11:44:59 AM
Ummmmm... Not really getting the unsa or usa. Double abbreviations are a little too complicated. You would never be able to know what it is by looking at it. :-\

Don't talk like that to CoRoT! lol  ;D hahaha
CoRoT? ?????????
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 11:50:07 AM
You haven't heard of CoRoT?

COnvection ROtation and planetary Transits?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 11:55:10 AM
You haven't heard of CoRoT?

COnvection ROtation and planetary Transits?
Now that's scary.  :'( :'( :'(
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 11:56:27 AM
Scary? How?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 12:00:27 PM
It's not a question about how it's scary, it's a question about why it's not scary. :'(
Anyways, what could be other file endings?
.sys - system?
.syf - system file?
.spaf - space file?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 12:04:41 PM
huh?

.spa space
.gal galaxy (why, idk)
.usb Universe SandBox (file)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 12:08:54 PM
I think .gal is too un-neutral, like if you only made a solar system or perhaps two galaxies, then it doesn't work so good.
But the other ones are good. :)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 12:11:26 PM
If you make a "Universe" and you just made a solar system, that's tehnically not a "universe".

Quote
The Universe comprises everything that physically exists: the entirety of space and time, all forms of matter, energy and momentum, and the physical laws and constants that govern them. However, the term Universe may be used in slightly different contextual senses, denoting such concepts as the cosmos, the world or Nature.

.cos
.com
.cosm

All mean cosmos
Title: Re: Universe Sandbox 2 File Format Plans
Post by: FGFG on August 23, 2009, 02:24:24 PM
Maybe

 .uss - Universe Sandbox System

or symply

 .us - Universe Sandbox
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 02:32:06 PM
So we have:

.use
.usep
.usf
.uni
.unsa
.usa
.sys
.syf
.spaf
.spa
.gal
.usb
.cos
.com (I don't recommend it)
.cosm
.uss
.us

how about:

.uf - Universe File

Not recommended by at least one user

Title: Re: Universe Sandbox 2 File Format Plans
Post by: witold on August 23, 2009, 02:37:44 PM
XML file need change to .txt file bee easier to open in notepad  8)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 23, 2009, 02:39:00 PM
Both will open in notepad easy.

Let's take a vote. What's best?

We vote, then from those, we take them and put them into a vote. Dan chooses if majority wins (he probably will)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 23, 2009, 10:11:20 PM
Ummm I think usb and com are taken lol.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 23, 2009, 10:41:50 PM
.use - Bla
.usep Bla
.usf - Bla
.uni Bla
.unsa - hbmp88
.usa - Bla, hbmp88
.sys - Bla
.syf - Bla
.spaf - Bla
.spa - Bla
.gal - NeutronStar, Bla
.usb - Bla
.cos - Bla
.com - NeutronStar, Bla
.cosm - Bla
.uss - Bla
.us - Bla
.uf - Bla
.usandbox - monmarfori, Bla

Favorite (1) by user, approved by user, user is neutral, voted down by user.

Updated with MEEE! :D ;D :) :P >:(
And sorry anyone if I put you on in places you didn't vote, just delete them if it's false. :P
Title: Re: Universe Sandbox 2 File Format Plans
Post by: monmarfori on August 24, 2009, 01:39:35 AM
My custom one
.usandbox - monmarfori
I am not listed on Bla's post.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 24, 2009, 01:42:33 AM
You voted down your own post lol?! You know red is for disapproval. ;)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: witold on August 24, 2009, 03:46:33 AM
Dan will choose by himself what will be "end of file" named
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on August 24, 2009, 06:55:30 AM
Dan will choose by himself what will be "end of file" named
Yes, but we're just coming up with some ideas. :)
Btw i've put monmarfori's on my list. I voted against it, I think it's too long, but if we could get another abbreviation for it I think it'd be good. :)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 24, 2009, 07:03:03 AM
Ummm I think usb and com are taken lol.
Files. Remember. Files.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: hbmp88 on August 24, 2009, 01:48:41 PM
Ummm I think usb and com are taken lol.
Files. Remember. Files.

I know it was just a joke. ;)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on August 24, 2009, 04:17:26 PM
I know.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Arata on October 02, 2009, 10:44:36 AM
You should have a new rendition for our smaller neighbor, Andromeda.
It's rings are now in a rind form due to a collision with M32 210 millions years ago.
I stretch the photo and then I edit them to make them look even better.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Arata on October 03, 2009, 06:44:35 AM
Sorry for the spelling error.
I was trying to say its spiral arms are now in a ring form.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: bessy on October 03, 2009, 10:29:33 AM
.sys - Bla                             is already used in vista x64 OS file
.com - NeutronStar, Bla       is already used in vista x64 Unknown program

all others r not in use by vista x64
but i donno about other operating systems
you will have to check
Title: Re: Universe Sandbox 2 File Format Plans
Post by: monmarfori on October 03, 2009, 03:04:42 PM
I will use windows 7 in the mid-October
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Chuck14 on January 11, 2010, 08:33:57 PM
Wow! So we will be able to make clouds, change temperatures, change color, and change the shape or gas of any single planet? That is so cool! 8) 8) ;D ;D :D
Title: Re: Universe Sandbox 2 File Format Plans
Post by: deoxy99 on January 13, 2010, 08:24:29 PM
How about this file format:

.unisa

UNIverse SAndbox
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Naru523 on January 13, 2010, 09:41:17 PM
Wow! So we will be able to make clouds, change temperatures, change color, and change the shape or gas of any single planet? That is so cool! 8) 8) ;D ;D :D

Actually, no. Except the shape and color.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on January 18, 2010, 05:33:34 PM
What does everyone think of .ubox ?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on January 18, 2010, 08:04:43 PM
Its like the iPod. The all new uBox! A $2 value for the low price of $99.99 plus Shipping and Handling! It's great, not only does it play songs, it glitches them! Call 1-800-BUY-UBOX now!

Edit:  :) ;) :D ;D
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on January 18, 2010, 10:54:58 PM
.ubox sounds very good in my opinion. :)
Title: Re: Universe Sandbox 2 File Format Plans
Post by: APODman on January 19, 2010, 07:34:37 AM
What does everyone think of .ubox ?


Perfect !!

[ ]īs
Title: Re: Universe Sandbox 2 File Format Plans
Post by: deoxy99 on January 24, 2010, 06:34:24 PM
How about:

.universesandbox
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on January 24, 2010, 08:24:50 PM
If we could use that, that would probably be it, but i think file names are limited to 4 letters, unless they are glitched files, for example one time an automated animation was being created and it glitched, it came out to be 700 files, each one named the file name. There was 00001.00001 and if you hover your mouse over it it said [00001 FILE]
Title: Re: Universe Sandbox 2 File Format Plans
Post by: SuperNova on February 03, 2010, 01:02:41 PM
awsome, ubox.
but what program do u use to make own file types?! i must know!!! its realy important!
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on February 03, 2010, 01:55:06 PM
In its simplest form the new file format is just an old xml system file that's been zipped and then renamed from *.zip to *.ubox.

This is how Microsoft's docx and xmlx files work (they are zip file containers for xml files).

In order to make *.ubox files open Universe Sandbox when you double click on then in Windows requires a few registry edits that are performed by the setup.exe program.

(where * = whatever-the-file-name-is)

Does that answer your question SuperNova?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: SuperNova on February 07, 2010, 08:12:38 AM
In it's simplest form the new file format is just an old xml system file that's been zipped and then renamed from *.zip to *.ubox.

This is how Microsoft's docx and xmlx files work (they are zip file containers for xml files).

In order to make *.ubox files open Universe Sandbox when you double click on then in Windows requires a few registry edits that are performed by the setup.exe program.

(where * = whatever-the-file-name-is)

Does that answer your question SuperNova?

yeah, but how can i open a .ubox to edit it?
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on February 07, 2010, 12:50:08 PM
yeah, but how can i open a .ubox to edit it?
Right click on the .ubox-file, and select Open with.... Then, select the program you want to edit it with, usually Notepad.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: SuperNova on February 08, 2010, 06:21:22 AM
yeah, but how can i open a .ubox to edit it?
Right click on the .ubox-file, and select Open with.... Then, select the program you want to edit it with, usually Notepad.

it gave me a crazy code
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on February 08, 2010, 06:32:30 AM
What does it say?

I can't even seem to find a ubox file.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Bla on February 08, 2010, 06:42:01 AM
I can't even seem to find a ubox file.
Universe Sandbox Beta 1 and 2 didn't save as .ubox files I think, but if you save a system in Beta 3 they will be saved as .ubox files.
You can also rename files from X.xml to X.ubox.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on February 08, 2010, 11:31:42 AM
[the ubox file] gave me a crazy code

That's because it's a zip file. You need to extract the contents of the ubox file (which will be a single xml file) and then you can open that file in notepad.

You can either rename the ubox file to zip or just open the ubox file with a program that opens zip files.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on February 08, 2010, 03:43:29 PM
Where do you find them? In Documents\Universe Sandbox
Title: Re: Universe Sandbox 2 File Format Plans
Post by: SuperNova on February 11, 2010, 06:23:12 AM
OK i opened it and there was a system.XML in the .zip
i edited it, but i don't know how to make it a .ubox again....cause i can change it to .zip but not to .ubox.
and when i make it system.ubox it openens US Sandbox and shows a empty universe.

XML was more easy
Title: Re: Universe Sandbox 2 File Format Plans
Post by: atomic7732 on February 11, 2010, 07:39:46 AM
that's because the computer or program does not know how to process a .ubox that isn't a disguesed .zip. The .ubox is just a file, not a compressed file. It thinks it needs to know that programming to open it, so it doesn't.
Title: Re: Universe Sandbox 2 File Format Plans
Post by: SuperNova on February 11, 2010, 10:52:17 AM
that's because the computer or program does not know how to process a .ubox that isn't a disguesed .zip. The .ubox is just a file, not a compressed file. It thinks it needs to know that programming to open it, so it doesn't.

well, its to hard for me to edit a .ubox and make it an .ubox again
Title: Re: Universe Sandbox 2 File Format Plans
Post by: Dan Dixon on February 11, 2010, 11:11:56 AM
How to edit a UBOX file
1 - Rename "yourfile.ubox" to "yourfile.ubox.zip"
2 - Extract contents of zip file
3 - Open and edit the xml file contained inside.
4 - Use program to compress xml file into a zip file
5 - Rename "newfile.zip" to "newfile.ubox"

Let me know what step you're having trouble with and I'll explain in more detail.

XML was more easy

I agree. Two new things that the new ubox file format will let us do are (that we couldn't do with xml by itself):
- Open Universe Sandbox by double clicking on a ubox file.
- Bundle image maps, help files, and multiple xml files together. (not yet implemented)