Standard file names

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

Moderators: winston, another_commander

Post Reply
User avatar
kcallis
Dangerous
Dangerous
Posts: 86
Joined: Sun Jan 25, 2009 2:45 pm
Location: N. Little Rock, AR
Contact:

Standard file names

Post by kcallis »

A couple of days ago, I was testing out extensions using the binary method and a thought came to mind. There is no real standard as far as file names. For instance this is two different ships:

oolite.oxp.ClymAngus.NeoCaduceus.oxz - NeoCaduceus
oolite.oxp.KillerWolf.KingCobra.oxz - King Cobra

Fortunately, I know that both are ships, but when moving the various files it becomes somewhat cumbersome to filter out the names. I was thinking that if we used a standard filename structure, it would be easier to move files easier. For instance, I have been having an issue with figuring what is causing issue with Bulletin Board. Intentionally, when starting out with a new Jamerson, Bulletin Board works correctly. But as I add more equipment or mechanics, suddenly although Bulletin Board still shows on F4, I can no longer access it.

So I figured I would move all of the equipment, mechanics and ambiance to a separate directory and move back individual files back into play. Granted that I live in Linux, it should be real easy to move files from one directory to another. But I have to go to every file and decided exactly what it. I know that a lot of the file names start off with oolite.oxp.[Author].[{ship, mechanic, ambience, mission, etc}].oxz. But maybe we could use something like this:

[{Ship, Mechanics, Mission, etc}].[Item].[Author].[Version].oxz

ex:
Ship.NeoCaduceus.ClymAngus.V1_0.oxz

or

EQ.IronHide.Thargoid.oxz

or

oolite.oxp.SHIPS.NeoCaduceus.ClymAngus.V1_0.oxz
oolite.oxp.EQ.IronHide.Thargoid.oxz

This way if I wanted to move all of my equipment items to a directory it would be as simple "mv *EQ.* tmp" or whatever works in Windows. Just a thought.

K
User avatar
Cholmondely
Archivist
Archivist
Posts: 5278
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Standard file names

Post by Cholmondely »

Just came across this.

I think that there is something in this idea.

I usually run with 200-300 oxp's (and that is despite my not being into different varieties of ships!). I recognise the vast majority thanks to the work I've put into editing the wiki. But most new player's won't. And I'm forever changing the mix of oxp's in my AddOns & ManagedAddOns folders. (And it is a pain!).
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Slartibartfast
Deadly
Deadly
Posts: 175
Joined: Mon Jan 21, 2008 3:54 pm

Re: Standard file names

Post by Slartibartfast »

Hello

some days ago i was searching an .oxz in my managed-addons-directory
and was also a little bit confused about the order of the names

...but - i think -
"mission" or "ship" or "EQ" or .... at first is too much
( if i am searching - i know the name )

my idea ( keep it simple! )
=> item / version / author
--- so if i wanna see "NeoCaduceus"
i know the position in the alphabet ( and therefore in the filemanager )

especially because f.x. a "ship-name" could be a mission

matthias
Oolite 1.91 / Imp. Trader ( slighly modified :wink: ) on Lubuntu 22.04 LTS on AMD64 2x 3800+ ,
ATI Radeon R7240 XFS / Samsung TV 40" 1080p
C-Media CMI8738 / Yamaha RX-V575 / DIY-Speaker
Logitech Attack3 & standard german keyboard
User avatar
hiran
Theorethicist
Posts: 2336
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Standard file names

Post by hiran »

Slartibartfast wrote: Sat Oct 23, 2021 9:40 pm
Hello

some days ago i was searching an .oxz in my managed-addons-directory
and was also a little bit confused about the order of the names

...but - i think -
"mission" or "ship" or "EQ" or .... at first is too much
( if i am searching - i know the name )

my idea ( keep it simple! )
=> item / version / author
--- so if i wanna see "NeoCaduceus"
i know the position in the alphabet ( and therefore in the filemanager )

especially because f.x. a "ship-name" could be a mission

matthias
Have a look at this page http://wiki.alioth.net/index.php/Index_of_artefacts and it's source (marked up in the pink box on top, directly beneath the red striped rectangle).
It helps Cholmondely to whiz around all the items in Ooniverse...
Sunshine - Moonlight - Good Times - Oolite
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 540
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Standard file names

Post by Nite Owl »

See THIS OLD POST of mine. Basically you can rename an OXZ to anything you like and the game will still recognize it. However, you will have to do some extra file management in order to keep things straight when you download newer versions of the same OXZ. The new file and the old renamed file will both be kept by the In Game File Manager and you will get duplicate file warnings when you exit the In Game File Manager. The key to this renaming is to NOT make any changes to the manifest.plist within the OXZ. If you make changes to the name as it is listed in the manifest.plist then the OXZ will no longer be recognized by the In Game File Manager which will lead to multiple problems.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Standard file names

Post by montana05 »

Slartibartfast wrote: Sat Oct 23, 2021 9:40 pm
some days ago i was searching an .oxz in my managed-addons-directory
and was also a little bit confused about the order of the names
There is/should be a certain standard:

oolite.oxp.zzz.Montana05.Far_Arm_Ships for example.

means

oolite.oxp."author"."oxp name"

I do agree that this system is not perfect and as Nite Owl mentioned you can rename any OXZ to your own standards.
Scars remind us where we've been. They don't have to dictate where we're going.
Post Reply