OXP

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
j f gearing
Dangerous
Dangerous
Posts: 83
Joined: Sun Nov 11, 2007 4:28 pm
Location: Armchair

OXP

Post by j f gearing »

What is going on
every time i download an oxp nowadays it comes up as Macosx and wont work
This never used to happen,
Before, I would sometimes get an oxp in mac format but there was usually a PC version in there somewhere
Now I just get a load of files of zero bytes

Any ideas

JG

PS what is a mac
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

You should be getting a folder named “._MacOSX” or similar as well as an OXP. Ignore the contents of the strangely-named folder.
User avatar
JohnnyBoy
---- E L I T E ----
---- E L I T E ----
Posts: 490
Joined: Mon May 05, 2008 9:41 pm
Location: West Sussex, UK (rich agricultural)

Re: OXP

Post by JohnnyBoy »

j f gearing wrote:
PS what is a mac
:shock:

http://en.wikipedia.org/wiki/Macintosh
"That's no vicious Treeoid. That's my wife."
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

And I thought it was something to keep you dry in the rain....
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Post by FSOneblin »

TGHC wrote:
And I thought it was something to keep you dry in the rain....
No, unlike other computers, a mac is not a $900 peace of crap. I thought a pc was something to flush down the toilet :D.


Don't Panic: FSOneblin

P.S. This was a joke.
Don't panic

Now an "adult!"
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

FSOneblin wrote:
TGHC wrote:
And I thought it was something to keep you dry in the rain....
No, unlike other computers, a mac is not a $900 peace of crap. I thought a pc was something to flush down the toilet :D.


Don't Panic: FSOneblin

P.S. This was a joke.
i dont give a crap ;-) :-D
Bounty Scanner
Number 935
User avatar
j f gearing
Dangerous
Dangerous
Posts: 83
Joined: Sun Nov 11, 2007 4:28 pm
Location: Armchair

Post by j f gearing »

still having trouble but i expect it's me
On another subject, sometimes when i sign up to a haulage contract, new ones pop up, usually 100 times better than the one i've taken
I've been signing up for the good ones as well then dumping the first one
Should I be able to scroll the list in some way

cheers

JG
User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 735
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Post by Wolfwood »

I said so in another thread, but I've had problems opening some OXP zip packages on Win system - the mac files inside cause an error in the midst of the extraction process.
Davidtq
Deadly
Deadly
Posts: 214
Joined: Tue Jul 15, 2008 10:38 am
Location: Devon, UK

Post by Davidtq »

Wolfwood wrote:
I said so in another thread, but I've had problems opening some OXP zip packages on Win system - the mac files inside cause an error in the midst of the extraction process.
I find this if I open the zip file as if it was a folder and try to copy the files by dragging the oxp folder over. If extract all the files using the extract option instead the mac files dont cause a problem
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Difference between mac and dos/window file format stays a problem for sharing files between the two platforms. When the macintosh came out in 1984 it used a complete new, structured file format: resources. I always loved that format. But when you didn't want to use that structure, you could also use a unstructured file and maintain a structure yourself. This led to the situation that a mac file internally contains of two separate files (data- and resource fork). Often only one is used and the other stays empty.

For window compatibility only the unstructured datafork can be used. Zippers at the end of the 80ties often had the option to completely remove the mac-resource fork. That way it was by definition complete compatible but you lost your icons and filetypes in the process when extracted again on a mac.

Most mac zippers often have three options 1)always macbinary, 2)never mac binary 3)smart binary.
1) completely preserves the mac structure but is only recognised by a few window zippers.
2) should be completely compatible, but a lot of modern zippers still add the resource fork as separate files that the mac recognises and a window used can ditch.
3) Is the most dangerous one. It only uses macbinary when necessary.

When I zip files that should be also windows readable, I always choose 2. I used to use the zipper from the stuffIt package. Some months ago someone had problems with it and I changed to the mac's own zipper. I understood he had less problems with it. But that zipper has no preferences to select the type of compression. I now went back to my original zipper and also unchecked the option to include desktop files. I think this should be the most compatible option.

I just uploaded a new version 1.2 of Behemoth_Spacewar.oxp with this settings at: http://wiki.alioth.net/index.php/Behemoth_Spacewar

It is very short and I also left version 1.1 online that was compressed with mac's internal zipper. Please report back if one of the two has advantages over the other.
Last edited by Eric Walch on Fri Jul 18, 2008 5:29 pm, edited 1 time in total.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

The built-in compressor in OS X never uses MacBinary. What it does use is AppleDouble: resources and metadata are stored in separate files and folders. These are never needed for OXPs and can be safely ignored. As David says, extracting the archive instead of using Windows’s pseudo-folder interface should solve the problem.
Post Reply