Page 1 of 1

OXZ tweaking

Posted: Sun Sep 20, 2015 4:30 am
by Alex
Having problems with opening oxz files.
I use Notepad++ but doesn't seem to like opening oxz files.
More than likely finger trouble on my part but it comes up with stuff like this;

PK –WE¡Æ
U} Ù Config/script.js+ÉÈ,ÖËKÌMU [%÷œÄ¢Tg ‘™–™Z¤dÍËURQ–ZTœ™ŸRa¨g †J—$•„ %ÒJó’K@j44ªy¹@æä$V¦égdè—æÍvËÌ)I-ªš4¦nD±S~izF‰_jy0P%¦ PK á•WE,ît› ½ manifest.plistUAKÃ@…Ïú†ôR6V¤T¥ô P*‚e³;IF·;q3©ñ¿›ì6ˆ—™yßÌã}O''YôB%aÈ`³#AÅ_z%g±pÌVmœxÛ—$¼À€´Û„l÷Zb¯ÌÕò<©„Äaœ¸ÁlÆ6éþÓGØhÁŠÃ!NÑÔÚ“iÓÎbk52B/Ü„j0
X–hl =ù
܁0Xj%h3k¸c&ЊQçß{áÞ˜<Hð€ºê¸Œ>î—½?•>ëNjNiýE”VäK;=¼ØvÁEM-Ò\ç¹ÆŠ,i¯8TyQä{ÂOᆌjêf]®.Ne5_\-.Ó%G}›’{Ë;M>šø™N~PK –WE¡Æ
U} Ù Config/script.jsPK á•WE,ît› ½ « manifest.plistPK z ò

I tried under the language tab and J for java types.
My know how for coding is very limited.
Any ideas would be great.

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 4:50 am
by Devium
I use total commander to open the managed oxp's. Unlike the oxp's I download directly to addons I can't open directly with notepad++ or it's just gobbledygook. You will want to change total commander settings to get it to use notepad++ instead of regular notepad to make editing easier. http://www.ghisler.com <--- link to total commander

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 4:50 am
by Diziet Sma
An OXZ is actually a zipped collection of files.. the gobbledegook is because everything has been compressed.. so you need to unzip it before editing the files.

If you wish to re-zip it afterwards, be sure not to zip the "container" folder created when you unzipped it, but only the files contained inside it. Then change the filename extension from .zip to .oxz

Edit: Total Commander works for this because it can look inside zipped files and allows you to work directly on the individual files inside them.

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 7:45 am
by Alex
If I unzip the oxz then tweak, can I then save the new file unziped to a new folder and call it .oxp?

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 7:59 am
by Smivs
Yes, call it .oxp and pop it in AddOns the old-fashioned way.

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 7:59 am
by Diziet Sma
Alex wrote:
If I unzip the oxz then tweak, can I then save the new file unziped to a new folder and call it .oxp?
Yes. The next version of Oolite can even unzip, rename, and move it to 'AddOns' for you.

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 8:27 am
by Alex
Thanks guys. Always love to learn something new each day, espeacialy if I can use it. :D

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 8:32 am
by cim
Diziet Sma wrote:
Alex wrote:
If I unzip the oxz then tweak, can I then save the new file unziped to a new folder and call it .oxp?
Yes. The next version of Oolite can even unzip, rename, and move it to 'AddOns' for you.
We released 1.82 a few months back with that feature - just select the OXZ in the installed list and press 'x'.

Re: OXZ tweaking

Posted: Sun Sep 20, 2015 2:28 pm
by Diziet Sma
cim wrote:
Diziet Sma wrote:
Alex wrote:
If I unzip the oxz then tweak, can I then save the new file unziped to a new folder and call it .oxp?
Yes. The next version of Oolite can even unzip, rename, and move it to 'AddOns' for you.
We released 1.82 a few months back with that feature - just select the OXZ in the installed list and press 'x'.
Oops.. clearly my forgettory is working overtime lately.. :oops: