Page 3 of 13
Posted: Fri Jun 18, 2010 9:30 pm
by DaddyHoggy
pagroove wrote:I've stumbled upon the following thing that makes Famous Planets 2.5. unnecessary large than it has to be.
If you have already downloaded the whole package then please go into the texture directory and delete the sub directory G2WIP. This was a Work in progress dir and this should free about 200 mb.
Sorry I did'nt spot this earlier. I asked Lestradae to repackage the file with all the bug-fixes and then re-upload it. So The size will be reduced.
Also did a very light version with textures 512 by 384 and then the texture directory is only 56 mb.
Expect it to be up soon.
Won't Oolite have to scale the 384 aspect of the texture up to 512? I thought Oolite textures needed to be ratios that were powers of 2 (or they're scaled?)
Posted: Fri Jun 18, 2010 10:21 pm
by JensAyton
pagroove wrote:Also did a very light version with textures 512 by 384
These will be rescaled to 512 × 256 each time they’re loaded.
Posted: Fri Jun 18, 2010 10:37 pm
by DaddyHoggy
Ahruman wrote:pagroove wrote:Also did a very light version with textures 512 by 384
These will be rescaled to 512 × 256 each time they’re loaded.
Damn I had a choice of two - scale up or scale down - and I picked up!
Posted: Fri Jun 18, 2010 10:40 pm
by JensAyton
DaddyHoggy wrote:Damn I had a choice of two - scale up or scale down - and I picked up! :oops:
The rule used is: 2/3 of the size, rounded up to a power of two. 384 is rounded down, 385 is rounded up.
Posted: Fri Jun 18, 2010 11:31 pm
by Zieman
512 x 384 ???!!!???
Why change texture proportions from 2:1 to 4:3 ?
Doesn't make sense...
The hi-res textures are 4096 x 2048, downscaling them will result in 2048 x 1024, 1024 x 512 or 512 x 256, if we stick to power of 2 dimensions.
Oh yes, one planet was at 8192 x 4096.
As a side note, little cleaning of the base/hi-res set might be a good idea, as there are several textures with weird dimensions, like 1010 x 509, 4088 x 1984, 4096 x 2000 and a couple of not power of 2 textures, like 4000 x 2000 and 1600 x 800.
Posted: Sat Jun 19, 2010 8:10 am
by drew
Utterly, utterly awesome pagroove!
Amazing work, bravo!
Cheers,
Drew.
Posted: Sun Jun 20, 2010 10:35 am
by DGill
Excellent work, very much appreciate your efforts.
Seems a couple of errors in the log file, however:
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (System Redux 1.0 1.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
I suppose "onria.png" is a typo - should be Onrira
Dave
Posted: Sun Jun 20, 2010 10:38 am
by Thargoid
Updating your Welcome Mat to 1.10 will cure some of those.
Just noticed I forgot to upload that one to box It's up and available now.
Posted: Sun Jun 20, 2010 1:48 pm
by pagroove
DGill wrote:Excellent work, very much appreciate your efforts.
Seems a couple of errors in the log file, however:
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (System Redux 1.0 1.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[files.notFound]: ----- WARNING: Could not find texture file "Onria.png".
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Welcome Information Script 0.7): Ship.hasEquipment("EQ_WELCOME_MAT") is deprecated, use ship.equipmentStatus("EQ_WELCOME_MAT") == "EQUIPMENT_OK" instead.
I suppose "onria.png" is a typo - should be Onrira
Dave
thnx I will look into that.
Posted: Sun Jun 20, 2010 2:13 pm
by Cmd. Cheyd
DGill wrote:
[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (Famous Planets 2 Launch Script 2.0.2): Planet.setTexture() is deprecated, use planet.texture = "foo" instead.
Dave
DOH! Sorry, I thought I'd fixed that before I sent it back to PAGroove.
Open the script.js file, and change line 101 from:
Code: Select all
system.mainPlanet.setTexture(system.name + '.png');
to:
Code: Select all
system.mainPlanet.texture = (system.name + '.png');
As for the file.notFound error - It's a typo on line 212 of the planetinfo.plist. Just open the file, add the missing 'r', re-save. You should be golden.
Reminder - DO NOT use Notepad if on Windows. Use NotePad++ (Free Download) or Wordpad.
Posted: Sun Jun 20, 2010 2:54 pm
by pagroove
Thanx Cheyd!
BTW anyone visited any new planets?
Posted: Sun Jun 20, 2010 9:20 pm
by DGill
Thanks Cheyd
Dave
Posted: Tue Jun 22, 2010 12:13 pm
by ZygoUgo
As beautiful as these are it seems impossible to extend this project to all eight galaxies due to the amount of memory it requires, which is a shame. Is it possible to manually make up the generated planet seeds to approximate the the planets image instead of using textures? Is there a description anywhere of exactly how the planet seeds (would) work?
Posted: Tue Jun 22, 2010 9:02 pm
by DaddyHoggy
ZygoUgo wrote:As beautiful as these are it seems impossible to extend this project to all eight galaxies due to the amount of memory it requires, which is a shame. Is it possible to manually make up the generated planet seeds to approximate the the planets image instead of using textures? Is there a description anywhere of exactly how the planet seeds (would) work?
Surely, you just break them up into Galaxy based subsets?
A core oxp (ala YAH) that sets it all up and then sets 1 to 8 which you pull in and move out as you move from chart to chart. After all no point in having all those enormous textures ready to go for chart 1 if you're in chart 2.
Posted: Tue Jun 22, 2010 9:04 pm
by JensAyton
Um… Oolite doesn’t load every file it encounters into memory just in case it’s used, you know. What do you take me for, an idiot?