Page 1 of 2

help needed

Posted: Mon Jul 25, 2022 2:25 pm
by idkman
This is my manifest.plist file:

{
"identifier" = "oolite.oxp.idkman.wavefront";
"required_oolite_version" = "1.90";
"title" = "Wavefront MK1 advanced multirole fighter";
"version" = "1.0";
"author" = "idkman";
"category" = "Ships";
"description" = "Adds a powerful fighter and a laser";
}

The game says it's not a valid manifest file and wont load the oxz. I only make this for local use only so no download links are included.
Please help:D

Re: help needed

Posted: Mon Jul 25, 2022 3:11 pm
by Cody
Try adding a license - something like: license = "CC-BY-NC-SA 4.0"; (and I'm not sure you need the first pairs of quotation marks).

And welcome aboard!



Disclaimer: I am not an expert in such things.

Re: help needed

Posted: Mon Jul 25, 2022 3:36 pm
by idkman
Thanks alot Cody.
I saw those quotation marks on the wiki about manifest.plist so i added them

And no they somehow still dont work.

Re: help needed

Posted: Mon Jul 25, 2022 3:46 pm
by tsoj
If you don't add any manifest, I believe the OXP should still work, so you can try that as a quick and dirty solution for now.

Re: help needed

Posted: Mon Jul 25, 2022 4:04 pm
by idkman
it said i didnt have a valid manifest and could not be loaded

Re: help needed

Posted: Mon Jul 25, 2022 4:14 pm
by Cody
Put all the files into a folder named Wavefront.oxp and drop it into your AddOns folder - it should work there.

And this is the manifest example I use:

Code: Select all

{
	identifier = "oolite.oxp.phkb.HomeSystem";
	version = "0.12";
	title = "Home System";
	required_oolite_version = "1.85";
	description = "Adds some flavour text to a variety of messages received by the player in systems designated as their home. As well, there are     some other benefits achievable the more players visit their home system.";
	category = "Ambience";
	author = "phkb, UK_Eliter, Cody, Diziet Sma";
	license = "CC-BY-NC-SA 4.0";
}

Re: help needed

Posted: Mon Jul 25, 2022 4:37 pm
by idkman
I tried all of those already and it still returns the same message
Maybe I should try reinstalling Oolite and hope for the best :)

edit: btw this is the link to the oxp for the ease of debugging
https://drive.google.com/drive/folders/ ... sp=sharing

Re: help needed

Posted: Mon Jul 25, 2022 4:46 pm
by Cody
With the OXP in my AddOns folder, it throws this error in the Latest.log:

Code: Select all

17:43:20.426 [plist.parse.failed]: Failed to parse ../AddOns/wavefront.oxp/Config/shipdata.plist as a property list.
Parse failed at line 82 (char 2340) - unexpected character (wanted ';' or '}')

Re: help needed

Posted: Mon Jul 25, 2022 4:50 pm
by Old Murgh
idkman wrote: Mon Jul 25, 2022 4:37 pm
I tried all of those already and it still returns the same message
Maybe I should try reinstalling Oolite and hope for the best :)

edit: btw this is the link to the oxp for the ease of debugging
https://drive.google.com/drive/folders/ ... sp=sharing
Just PLUTILchecking the shipdata, I get the error "Unexpected character { at line 1"

I was under the impression that the manifest is only an issue when you make it an OXZ in the Managed AddOns, and not an OXP in the AddOns..

Re: help needed

Posted: Mon Jul 25, 2022 4:55 pm
by Redspear
Cody wrote: Mon Jul 25, 2022 4:46 pm
With the OXP in my AddOns folder, it throws this error in the Latest.log:

Code: Select all

17:43:20.426 [plist.parse.failed]: Failed to parse ../AddOns/wavefront.oxp/Config/shipdata.plist as a property list.
Parse failed at line 82 (char 2340) - unexpected character (wanted ';' or '}')
idkman wrote: Mon Jul 25, 2022 4:37 pm
I tried all of those already and it still returns the same message
Maybe I should try reinstalling Oolite and hope for the best :)

edit: btw this is the link to the oxp for the ease of debugging
https://drive.google.com/drive/folders/ ... sp=sharing
Looks like a syntax error.
Although oolite will complain about a missing manifest list, it doesn't strictly require one.

Use notepad++ (or similar) to open up the file and look for a missing character at (or next to) line 82
(sorry - no time to check your file but welcome to the boards :) )

Re: help needed

Posted: Mon Jul 25, 2022 4:59 pm
by Cody
Old Murgh wrote: Mon Jul 25, 2022 4:50 pm
I was under the impression that the manifest is only an issue when you make it an OXZ in the Managed AddOns, and not an OXP in the AddOns..
Correct, amigo!

Re: help needed

Posted: Mon Jul 25, 2022 5:02 pm
by Old Murgh
Redspear wrote: Mon Jul 25, 2022 4:55 pm
Looks like a syntax error.
Although oolite will complain about a missing manifest list, it doesn't strictly require one.
Yes, seems the shipdata is corrupted. –My pList editor refuses to open it.
Easiest fix for me (instead of going crazy to possibly find a tiny error) would be to duplicate a good working shipdata and copy/paste all relevant Wavefront stats onto that, then use it instead.

Re: help needed

Posted: Mon Jul 25, 2022 5:15 pm
by idkman
Maybe I'll try to remake that ship.
and thank you all.
you guys were so helpful. I'm surprised a small game like oolite could have such an active community

Re: help needed

Posted: Mon Jul 25, 2022 5:16 pm
by Cody
Changing line 82 to this: exhaust_emissive_color = "1 0 0"; clears the error message.

Re: help needed

Posted: Mon Jul 25, 2022 9:08 pm
by Cholmondely
idkman wrote: Mon Jul 25, 2022 2:25 pm
help:D
Welcome to the merry throng!

If you wish to put together a wiki page, you can bug either his Munifence, the Mighty, Magnanimous, Marvellous and Magnificent Murgh of the Murghs of that Ilk (- or, alternatively, your humble servant) for a log-in.

Or, if you can get me the specifications and a screen shot that works, I can put something together for you which you can then hack to quivering and cowering submission...