Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Nov 15, 2018 1:53 am

All times are UTC




Post new topic  Reply to topic  [ 40 posts ]  Go to page 1 2 3 Next
Author Message
PostPosted: Fri Oct 30, 2015 9:48 pm 
Offline
Competent
Competent

Joined: Thu Oct 29, 2015 9:41 pm
Posts: 37
hey comanders i found what has been causeing some older oxp from working at all thats been efecting some poplear oxz ship packs! this will be helpful for the ootlie comutity to restore the funchons of alot of poplear addons. ~ hope this helps ~ ashtiboy the mac oolite fan and player


*i have edited and gotin rid of all misinfomation related to this topic due to finding out that i can indrictly find wich ship that does not work by finding ship data load errors indrectly from how the shipyard plist and ship data entrys efect echother*


Last edited by ashtiboy on Sat Oct 31, 2015 11:49 pm, edited 1 time in total.

Top
   
PostPosted: Fri Oct 30, 2015 10:20 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Aug 28, 2012 8:05 pm
Posts: 485
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Itsi, itsi, itsi! !We eat your yak disco!

ok, seriously. this seems to be a some kind of bug report. As far I understood there's bug in shipdata.plist, affects only Mac OS, the curly bracket is not parsed correctly with Oolite v1.82? Can anybody with a Mac confirm and maybe explain what's the deal.I have no problems here on Linux.

_________________
Amah


Top
   
PostPosted: Fri Oct 30, 2015 11:02 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2208
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Rather than the { at the beginning of the file, I suspect it's the lack of a ; on the last element. Mac's seem to be sensitive to this - each element in the list needs a ; to terminate it, otherwise it doesn't parse. I don't have all those OXP's, so someone else will need to check, but I've certainly run into this issue before (see this post, or here as well).

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
PostPosted: Fri Oct 30, 2015 11:11 pm 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8401
Location: Disunited Kingdom
Clippers and YellOo Cabs were updated a while ago to fix this - do you have the current version? The first curly should be there, but the problem lay further down the code - missing semi-colons in the Materials dictionary. The thread discussion is here.
Something similar may be causing problems with the other OXPs as well.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
PostPosted: Sat Oct 31, 2015 12:45 am 
Offline
Competent
Competent

Joined: Thu Oct 29, 2015 9:41 pm
Posts: 37
ok i will check


Top
   
PostPosted: Sat Oct 31, 2015 1:19 am 
Offline
Competent
Competent

Joined: Thu Oct 29, 2015 9:41 pm
Posts: 37
i checked my logs it seams that my mac with mac os x 9 does in fact can't parse any plist file with a { on the very top of the plist file i compadred my logs from before i delited the { and after and it seams that mac os x 9 does not like haveing a { on line 1 at all


Top
   
PostPosted: Sat Oct 31, 2015 3:25 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2208
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
I think the issue is not in the "{" on line 1, otherwise every single OXZ will fail because they each have a manifest.plist file that begins with a "{".

The error may be reporting as failing to parse the plist file at character position 1, but I think the error is misleading. The actual bug will be, as smivs said, somewhere in the body of the file. Look for entries that don't have a terminating ";" character.

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
PostPosted: Sat Oct 31, 2015 3:42 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2208
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
For instance, in the "Noshader Mimoriarty's Radical Logistics ships", in the shipdata.plist file, on line 916, it looks like this:
Code:
                		illumination_map = { name = "noshaders_lira_sub_rud_lit.png"}; 
You can add a semicolon like this:
Code:
                		illumination_map = { name = "noshaders_lira_sub_rud_lit.png";}; 
It's the same with line 1046, 1170 and 1231. Can you add semi-colons to each of these lines and try the OXZ again?

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
PostPosted: Sat Oct 31, 2015 10:01 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Aug 28, 2012 8:05 pm
Posts: 485
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Thanks for clearing up,smiv, phkb and ashtiboy...

I'm currently fixing the missing ";" in the materials of the RL ships... Will upload a first update soon. Please check again.


I'm not sure what's wrong with the missing core ships, yet... but I'll go through that file...
Is there a way for me to check with no Mac for other syntax parsing errors?

_________________
Amah


Top
   
PostPosted: Sat Oct 31, 2015 10:07 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Jun 11, 2011 6:07 am
Posts: 2161
Location: Western Australia
This preciousness of the Mac plist parser would be the one good argument in favour of writing plists in XML format instead of nextstep.


Top
   
PostPosted: Sat Oct 31, 2015 10:35 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Aug 28, 2012 8:05 pm
Posts: 485
Location: aboard the Laenina Crowne - Yasen-N class space freighter
I have to admit as someone who normally codes in C, the javascript style plist is friendlier to my eyes ... but then again, I'm going through the missing core ship shipdata.plist for the second time and I haven't found anything yet...

/e: hmmh... I seem to have found a culprit:
Code:
	"noshaders_missingcoreships_tharglet_organic" =     {
	like_ship = "oolite_template_tharglet";
	model="noshaders_tharglet_organic.dat";
	materials = 
		{ 
			"noshaders_missingcoreships_tharglet_organic_diffuse.png" = 
			{ 
				diffuse_map = "noshaders_missingcoreships_tharglet_organic_diffuse.png"; 
				specular_color = (0.2, 0.3, 0.2 );
				shininess = 25; 
				emission_map = { name = "noshaders_missingcoreships_tharglet_organic_diffuse.png"; extract_channel = "a"; }; 
				emission_modulate_color = (0.80, 0.0, 0.0); 
-->			}
		};
	};
Ashtiboy, could you add a ";" behind the closing curly bracket of the materials section and report back if it works for you now.

_________________
Amah


Top
   
PostPosted: Sat Oct 31, 2015 2:44 pm 
Offline
Competent
Competent

Joined: Thu Oct 29, 2015 9:41 pm
Posts: 37
thanks for the help but i can't seam to go into the oxz files for some reason becuse my computer does not reconizse a oxz as a file with packaged files inside to add the ;


Top
   
PostPosted: Sat Oct 31, 2015 2:48 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13394
Location: Corke's Drift
On Windows, you rename the .oxz to .zip then extract and tinker - don't know about Macs though. I think the in-game manager will extract stuff too.

Welcome aboard, btw!

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
PostPosted: Sat Oct 31, 2015 2:54 pm 
Offline
Competent
Competent

Joined: Thu Oct 29, 2015 9:41 pm
Posts: 37
ok thanks now i'm going to try to fix adcks ffe ships by looking for missing ; to get some of these oxps back up and runing


Top
   
PostPosted: Sat Oct 31, 2015 3:41 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Aug 28, 2012 8:05 pm
Posts: 485
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Has adding the ";" fixed the missingcoreships for you? If yes, I'll upload the fix in the ingame expansion managerfor all.

_________________
Amah


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 40 posts ]  Go to page 1 2 3 Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited