Which tool for tweaking OXZ files for iMac?

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 14143
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Which tool for tweaking OXZ files for iMac?

Post by Cody »

This forum has a long history of thread derailment, RGVV. Be thankful there are no jelly babies!
Give me five, I'm still alive
Ain't no luck, I learned to duck

User avatar
RGVV
Competent
Competent
Posts: 54
Joined: Sun Jan 03, 2021 2:18 pm
Location: Nunsexmonkrock

Re: Which tool for tweaking OXZ files for iMac?

Post by RGVV »

Ah! Thread hijacking is a feature and not a bug here - I see. 8)
I was born in Xixax (oh la la la dee)/On my mama's farm/My father was a junkie/Und wir war'n sehr arm/My brother was a soldier (ooh)/By the war in Vietnam (shoot)/My uncle is a spy/In the Soviet Union

User avatar
RGVV
Competent
Competent
Posts: 54
Joined: Sun Jan 03, 2021 2:18 pm
Location: Nunsexmonkrock

Re: Which tool for tweaking OXZ files for iMac?

Post by RGVV »

Doesn't the Mac Notebook work all right? What is the advantage of Textastic? And have you yet managed to rezip any of your tweaked OXZ's?
I had Textastic laying around here, didn't try Mac Notebook, also because I thought it might save hidden characters too, like Windows Notepad does. Yes, I've managed to rezip the tweaked OXZ's, just for test purposes. Textastic shows tab indents, for example, and allows you to keep multiple files open in tabs, which is very convenient.

I'm trying to figure out how to make a start-up expansion pack with the Copperhead Mk. II and 1,000 credits at Lave station. Have been busy this afternoon with reading the Elite Wiki on how to compile expansion packs in general. I maybe unique that I'm somebody who first RTFM. :D
I was born in Xixax (oh la la la dee)/On my mama's farm/My father was a junkie/Und wir war'n sehr arm/My brother was a soldier (ooh)/By the war in Vietnam (shoot)/My uncle is a spy/In the Soviet Union

User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2759
Joined: Tue Apr 04, 2006 7:02 pm
Location: Teaned, Galaxy 3. Ship: Boa Class Frigate: Transfigured Night. Rated: Dangerous.

Re: Which tool for tweaking OXZ files for iMac?

Post by LittleBear »

Not sure about the Mac Version of Notepad, but the first rule of OXPing on a PC is Thou Shalt Not Use Notpad.

The windows version of Note Pad completley mangels the file format and often means Oolite won't read a file saved in notepad.

Anything where you have the option to turn on line numbers and see the code in Java format (this makes it way easier to read) should be fine though.
My OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits and Renegade Pirates can be downloaded from the Elite Wiki here.

User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 1971
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Which tool for tweaking OXZ files for iMac?

Post by maik »

The "Mac version" of Windows Notepad is actually TextEdit, not "Notebook". As far as I'm aware it does not mangle file formats though, so in that sense I would not call it a Mac version of Windows Notepad :wink:

User avatar
Cholmondely
---- E L I T E ----
---- E L I T E ----
Posts: 558
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty
Contact:

Re: Which tool for tweaking OXZ files for iMac?

Post by Cholmondely »

LittleBear wrote:
Mon Jan 11, 2021 5:49 pm
Not sure about the Mac Version of Notepad, but the first rule of OXPing on a PC is Thou Shalt Not Use Notepad.

The windows version of Note Pad completely mangles the file format and often means Oolite won't read a file saved in notepad.

Anything where you have the option to turn on line numbers and see the code in Java format (this makes it way easier to read) should be fine though.
As Maik noted, I've used the Macintosh's Notepad to tweak a handful of .oxp's without any side-effects (so far!). But no line numbers or any other flourishes. I did have a hunt around to find something a bit more baroque, but failed dismally. I'll have to have a peek at yours!

NB: these are the hijacking jellybabies, if you want a laugh...
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte

User avatar
RGVV
Competent
Competent
Posts: 54
Joined: Sun Jan 03, 2021 2:18 pm
Location: Nunsexmonkrock

Re: Which tool for tweaking OXZ files for iMac?

Post by RGVV »

Textastic has line numbers too.
I was born in Xixax (oh la la la dee)/On my mama's farm/My father was a junkie/Und wir war'n sehr arm/My brother was a soldier (ooh)/By the war in Vietnam (shoot)/My uncle is a spy/In the Soviet Union

User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 1971
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: Which tool for tweaking OXZ files for iMac?

Post by maik »

In case you are interested in a free alternative: Visual Studio Code is available for MacOS, and surprisingly (it is from Microsoft, no less) small and fast as well.

User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6609
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Which tool for tweaking OXZ files for iMac?

Post by Disembodied »

Xcode comes with all sorts of bells and whistles for editing .plists, and is free on the Apple app store.

User avatar
stranger
---- E L I T E ----
---- E L I T E ----
Posts: 294
Joined: Thu Apr 05, 2018 5:31 am
Location: Vladivostok, Russia

Re: Which tool for tweaking OXZ files for iMac?

Post by stranger »

TextEdit has two output formats - RTF (by default) and plain text. Switch to plain text to edit code - it will be new default settings for all files opened by TextEdit. Plain text has no any hidden characters and safe to modify code. TextEdit is a good simple general-purpose editor, but it has no line numbers and color-coding.
I'm using Dashcode to maintain my projects. It has line numbers and color coding. Dashcode was developed to create dashboard widgets and web applications, but it is pretty fine to edit JavaScript and property lists. Maybe it lacks functionality to develop and manage large integrated projects, but it is fine for me. And it is free.
There are also other free code editors for Mac, like Brackets. You don't need AppleID to get Brackets. It has line numbers and color coding too.
Sometimes I'm also using PlistEdit Pro to convert tabulated text onto plist format.
Old, but still essential utility - ZipCleaner. It removes Mac resource files from packed archives. Use it to prepare to upload OXZs from Mac.
The last, but not the least - I have both Oolite versions, game and development. You can safely run both versions from one drive - it will share Managed AddOns folder, but has unique AddOns folders. Development versions has very useful debugging tools. Place your experimental packages onto AddOns folder of Oolite development version, test and edit it without any harm for your game (you just need separate save files to test your wild ideas).

Post Reply