ENG New site

Advanced search

[ New messages · Forum rules · Members ]
[BETA]Planets Palettes - Palettes editor
SolarLinerDate: Sunday, 27.04.2014, 01:01 | Message # 1
Explorer
Group: Users
France
Messages: 267
Status: Offline
Hi,
I want to share with you a project I've been working on for lately:


Project homepage

This tools allows you to manage your planet palettes in a easier way: automatic weighting based on the number of palettes (to have everything sorted from 0 to 1 on the "StyleRange" parameter). I plan on having export functions that let you copy one or several palettes, for form copy paste or to include in a file for sharing with images (the blank in top-left is actually placeholder for image), modification/creation of palettes via custom form, and more.
I originally made this app to make sharing easier, by just sharing files that opens directly the tool or pieces of code that you copy/paste from/to the tool, and make automatically the appropriate changes to include the palette into your SE installation.
If you wonder what the "Color" column is for, it is for when I'll add a custom weighting with drag bars that will eventually replace the current weighting algorithm that treats all palettes equally. The color is picked from a random pixel in the class "image palette", it's a 16x16 bitmap image with the name of the class that contains the colors:


Oceania (above) and Terra (below) color palettes

At each save, the tool will make a new backup in the "backup" folder of the app, so if anything goes wrong, you should be able to recover from it.

The beta is, well a beta. While things should be working normally, there are still bugs that needs to be found and exterminated. So let me know about these, or better, add an issue here.
DOWNLOAD (v0.972 beta)

Documentation

What do you think of this? Do you have any suggestions? Please let me know!

Happy exploring!





custom landing page to share: http://bit.ly/spaceengine

Edited by SolarLiner - Sunday, 04.05.2014, 11:10
 
DisasterpieceDate: Sunday, 27.04.2014, 01:04 | Message # 2
World Builder
Group: Users
United States
Messages: 640
Status: Offline
Wow, that is a really good idea.




I play teh spase engien
 
SalvoDate: Sunday, 27.04.2014, 07:59 | Message # 3
Star Engineer
Group: Local Moderators
Italy
Messages: 1400
Status: Offline
Genius! Can't wait to try it cool




The universe is not required to be in perfect harmony with human ambition.

CPU: Intel Core i7 4770 GPU: ASUS Radeon R9 270 RAM: 8 GBs

(still don't know why everyone is doing this...)
 
SolarLinerDate: Tuesday, 29.04.2014, 01:11 | Message # 4
Explorer
Group: Users
France
Messages: 267
Status: Offline
Update:
The export form is now close to complete: it only miss the actual export code, but everything else is functionning.


Added (29.04.2014, 00:57)
---------------------------------------------
This is a test forum export from the tool:
Code
// Moon with mare | #5B6B5A
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.32, 0.32, 0.32, 0.00)
  colorShelf     (0.37, 0.37, 0.37, 0.00)
  colorBeach     (0.50, 0.50, 0.50, 0.00)
  colorDesert    (0.62, 0.60, 0.57, 0.20)
  colorLowland   (0.67, 0.64, 0.64, 0.50)
  colorUpland    (0.70, 0.67, 0.66, 0.80)
  colorRock      (0.65, 0.61, 0.62, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Ganymede colors | #7D745E
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.40, 0.35, 0.32, 0.00)
  colorShelf     (0.47, 0.41, 0.38, 0.00)
  colorBeach     (0.56, 0.47, 0.42, 0.00)
  colorDesert    (0.51, 0.44, 0.37, 0.20)
  colorLowland   (0.39, 0.34, 0.28, 0.50)
  colorUpland    (0.66, 0.60, 0.52, 0.80)
  colorRock      (0.67, 0.62, 0.55, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Io colors | #363530
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.87, 0.81, 0.46, 0.00)
  colorShelf     (0.98, 0.94, 0.46, 0.00)
  colorBeach     (0.67, 0.53, 0.23, 0.00)
  colorDesert    (0.62, 0.47, 0.21, 0.00)
  colorLowland   (0.56, 0.54, 0.20, 0.20)
  colorUpland    (0.62, 0.60, 0.26, 0.50)
  colorRock      (0.86, 0.63, 0.26, 0.10)
  colorSnow      (0.80, 0.41, 0.16, 1.00)
}

// Black-white colors | #7A8169
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.20, 0.20, 0.20, 0.00)
  colorShelf     (0.30, 0.30, 0.30, 0.00)
  colorBeach     (0.50, 0.50, 0.50, 0.00)
  colorDesert    (0.70, 0.70, 0.70, 0.20)
  colorLowland   (0.40, 0.40, 0.40, 0.50)
  colorUpland    (0.60, 0.60, 0.60, 0.80)
  colorRock      (0.80, 0.80, 0.80, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Grey colors | #86896D
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.90, 0.90, 0.90, 0.00)
  colorShelf     (0.50, 0.50, 0.50, 0.00)
  colorBeach     (0.40, 0.40, 0.40, 0.00)
  colorDesert    (0.60, 0.60, 0.60, 0.20)
  colorLowland   (0.80, 0.80, 0.80, 0.50)
  colorUpland    (0.70, 0.70, 0.70, 0.80)
  colorRock      (0.40, 0.40, 0.40, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Light Grey colors | #464E45
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.90, 0.90, 0.90, 0.00)
  colorShelf     (0.60, 0.60, 0.60, 0.00)
  colorBeach     (0.50, 0.50, 0.50, 0.00)
  colorDesert    (0.70, 0.70, 0.70, 0.20)
  colorLowland   (0.90, 0.90, 0.90, 0.50)
  colorUpland    (0.80, 0.80, 0.80, 0.80)
  colorRock      (0.50, 0.50, 0.50, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Pink colors | #A99C7B
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.90, 0.90, 0.90, 0.00)
  colorShelf     (0.70, 0.60, 0.60, 0.00)
  colorBeach     (0.60, 0.50, 0.50, 0.00)
  colorDesert    (0.35, 0.30, 0.30, 0.20)
  colorLowland   (0.90, 0.90, 0.90, 0.50)
  colorUpland    (0.80, 0.80, 0.80, 0.80)
  colorRock      (0.50, 0.50, 0.50, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Blue colors | #485348
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.60, 0.60, 0.60, 0.00)
  colorShelf     (0.50, 0.50, 0.50, 0.00)
  colorBeach     (0.40, 0.40, 0.45, 0.00)
  colorDesert    (0.60, 0.60, 0.60, 0.20)
  colorLowland   (0.30, 0.30, 0.30, 0.50)
  colorUpland    (0.40, 0.40, 0.43, 0.80)
  colorRock      (0.40, 0.40, 0.40, 1.00)
  colorSnow      (0.70, 0.70, 0.70, 1.00)
}

// Gray 2 colors | #7F7660
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.40, 0.40, 0.40, 0.00)
  colorShelf     (0.50, 0.50, 0.50, 0.00)
  colorBeach     (0.60, 0.60, 0.60, 0.00)
  colorDesert    (0.60, 0.60, 0.60, 0.20)
  colorLowland   (0.40, 0.40, 0.40, 0.50)
  colorUpland    (0.70, 0.70, 0.70, 0.80)
  colorRock      (0.40, 0.40, 0.40, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Brown colors | #3E403A
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.35, 0.30, 0.30, 0.00)
  colorShelf     (0.35, 0.30, 0.30, 0.00)
  colorBeach     (0.35, 0.30, 0.30, 0.00)
  colorDesert    (0.30, 0.25, 0.25, 0.20)
  colorLowland   (0.35, 0.30, 0.30, 0.00)
  colorUpland    (0.35, 0.30, 0.30, 0.00)
  colorRock      (0.35, 0.30, 0.30, 0.00)
  colorSnow      (0.50, 0.50, 0.50, 1.00)
}

// Mirrodin (apenpaap) | #64725E
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.75, 0.75, 0.75, 1.00)
  colorShelf     (0.72, 0.25, 0.05, 0.10)
  colorBeach     (0.72, 0.45, 0.20, 0.80)
  colorDesert    (0.90, 0.89, 0.88, 1.00)
  colorLowland   (0.34, 0.34, 0.34, 0.50)
  colorUpland    (0.90, 0.89, 0.88, 1.00)
  colorRock      (0.83, 0.68, 0.22, 1.00)
  colorSnow      (0.83, 0.51, 0.19, 0.66)
}

// Tin planet (DeathStar) | #40443D
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.16, 0.20, 0.20, 0.00)
  colorShelf     (0.31, 0.36, 0.36, 0.00)
  colorBeach     (0.54, 0.51, 0.47, 0.00)
  colorDesert    (0.59, 0.56, 0.53, 0.20)
  colorLowland   (0.60, 0.63, 0.65, 0.50)
  colorUpland    (0.66, 0.68, 0.70, 0.80)
  colorRock      (0.71, 0.73, 0.75, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Io colors (DoctorOfSpace) | #363530
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.70, 0.55, 0.43, 0.00)
  colorShelf     (0.67, 0.53, 0.40, 0.00)
  colorBeach     (0.88, 0.72, 0.52, 0.00)
  colorDesert    (0.77, 0.61, 0.44, 0.20)
  colorLowland   (0.50, 0.35, 0.22, 0.50)
  colorUpland    (0.43, 0.35, 0.25, 0.80)
  colorRock      (0.12, 0.15, 0.10, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Moon with mare (DoctorOfSpace) | #A29576
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.32, 0.32, 0.32, 0.00)
  colorShelf     (0.37, 0.37, 0.37, 0.00)
  colorBeach     (0.50, 0.50, 0.50, 0.00)
  colorDesert    (0.62, 0.60, 0.57, 0.20)
  colorLowland   (0.67, 0.64, 0.64, 0.50)
  colorUpland    (0.70, 0.67, 0.66, 0.80)
  colorRock      (0.65, 0.61, 0.62, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}

// Small moon    (Exospace) | #485348
Palette
{
  Class          "Selena"
  //StyleRange   TO BE REPLACED
  colorSea       (0.20, 0.20, 0.19, 0.00)
  colorShelf     (0.24, 0.24, 0.24, 0.00)
  colorBeach     (0.28, 0.27, 0.27, 0.00)
  colorDesert    (0.28, 0.27, 0.27, 0.20)
  colorLowland   (0.28, 0.27, 0.27, 0.50)
  colorUpland    (0.28, 0.27, 0.27, 0.80)
  colorRock      (0.28, 0.27, 0.27, 1.00)
  colorSnow      (0.28, 0.27, 0.27, 1.00)
}



So you can now post your palettes here, "StyleRange" has been commented out to force you to replace the values (and will be ignored by the tool if you paste it back into it).
As you can see ahead, there is now 3 working ways of exporting: Plain text (only the palettes), Forum (for code with colors, not working here, but working everywhere else I tried), and Forum no colors, for here.

Added (29.04.2014, 04:11)
---------------------------------------------
And here we have a custom palette fully created then exported via the Tool! victory

Code
// Test By SolarLiner | #BBFF80
Palette
{
  Class          "Terra"
  //StyleRange   TO BE REPLACED
  colorBeach     (0.92, 0.93, 0.77, 1.00)
  colorSea       (0.60, 0.95, 0.88, 1.00)
  colorSnow      (1.00, 1.00, 1.00, 1.00)
}






custom landing page to share: http://bit.ly/spaceengine

Edited by SolarLiner - Monday, 28.04.2014, 22:12
 
BetelgeuzeDate: Tuesday, 29.04.2014, 10:13 | Message # 5
Space Pilot
Group: Banned
Belgium
Messages: 118
Status: Offline
nice i going rainbow gasgiant biggrin
 
SpaceEngineerDate: Tuesday, 29.04.2014, 21:34 | Message # 6
Author of Space Engine
Group: Administrators
Russian Federation
Messages: 4800
Status: Offline
Quote SolarLiner ()
Forum (for code with colors, not working here, but working everywhere else I tried)


If you trying to change a text color in the forum message, use the hexadecimal RGB representation (use code without spaces):

[ color=#f559a3 ] text [ /color ]

result:

text





 
SolarLinerDate: Tuesday, 29.04.2014, 23:01 | Message # 7
Explorer
Group: Users
France
Messages: 267
Status: Offline
Even between [ code ]?
Code
[color=#FF00FF]TEST COLOR![/color]


Ehh, that's what I thought. Using HTML names works in this forum, but not in the [ code ] part. But everywhere else it does.





custom landing page to share: http://bit.ly/spaceengine

Edited by SolarLiner - Tuesday, 29.04.2014, 23:01
 
DoctorOfSpaceDate: Wednesday, 30.04.2014, 03:06 | Message # 8
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
Really looking forward to this tool. Should help me fix up all the issues with my current palettes more easily.




Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
SolarLinerDate: Friday, 02.05.2014, 00:38 | Message # 9
Explorer
Group: Users
France
Messages: 267
Status: Offline
Hey guys,
I released a first beta, where things should normally be working, but few bugs are still in the vincity.
Read first post for download links.






custom landing page to share: http://bit.ly/spaceengine
 
HarbingerDawnDate: Friday, 02.05.2014, 02:03 | Message # 10
Cosmic Curator
Group: Administrators
United States
Messages: 8717
Status: Offline
I have a problem: when I click any button (except Import/Create and Export) I get an error and it does nothing. Is there a limitation on what file paths the program can read? I.e., can it handle a filepath with spaces in it, like F:\Program Files\SpaceEngine 0.9.7.1 ?




All forum users, please read this!
My SE mods and addons
Phenom II X6 1090T 3.2 GHz, 16 GB DDR3 RAM, GTX 970 3584 MB VRAM
 
DoctorOfSpaceDate: Friday, 02.05.2014, 07:54 | Message # 11
Galaxy Architect
Group: Global Moderators
Pirate
Messages: 3600
Status: Offline
I too get that error message, though I figured a workaround for it. Just have to click continue when it pops up with the error, even though it pops up for everything. Very handy tool, nice job.




Intel Core i7-5820K 4.2GHz 6-Core Processor
G.Skill Ripjaws V Series 32GB (4 x 8GB) DDR4-2400 Memory
EVGA GTX 980 Ti SC 6GB
 
SolarLinerDate: Friday, 02.05.2014, 11:30 | Message # 12
Explorer
Group: Users
France
Messages: 267
Status: Offline
Can you post your log (in folder logs, with the correct date) after having the issue?
What does the message says?





custom landing page to share: http://bit.ly/spaceengine
 
HarbingerDawnDate: Friday, 02.05.2014, 11:52 | Message # 13
Cosmic Curator
Group: Administrators
United States
Messages: 8717
Status: Offline
Quote SolarLiner ()
Can you post your log

The log doesn't seem to show any errors, but I'll attach it.

Quote SolarLiner ()
What does the message says?


Attachments: LOG_2014-05-02.log (0.5 Kb)





All forum users, please read this!
My SE mods and addons
Phenom II X6 1090T 3.2 GHz, 16 GB DDR3 RAM, GTX 970 3584 MB VRAM
 
SolarLinerDate: Friday, 02.05.2014, 16:56 | Message # 14
Explorer
Group: Users
France
Messages: 267
Status: Offline
From the log, I can tell that you didn't read palettes from file, nor did you create some. Is that correct?
If so, that's a bug that the array containing all the palettes has not been initialized, thus raising an error when being accessed.

Added to the buglist, will be resolved ASAP. Thanks for the feedback!

Added (02.05.2014, 19:48)
---------------------------------------------

Quote HarbingerDawn ()
can it handle a filepath with spaces in it, like F:\Program Files\SpaceEngine 0.9.7.1 ?

I installed SE 0.971 with the default path, so "C:\Games\Space Engine 0.971" and it handles it perfectly.

I'm about to release a patch witch will resolve the known bugs, make the unhandled exceptions boxes disappear (instead there will be text on the bottom of the main form that will show the error when there will be one), and log more things.

Added (02.05.2014, 19:56)
---------------------------------------------
Please go to the issue and download the patched "PlanettePalette.exe". Just replace the old executable, and then test everything that was bugged out. At last, please send le the logs.

FYI, I have not been able to reproduce the bug on buttons, only on right mouse clicks over the palettes list.




custom landing page to share: http://bit.ly/spaceengine
 
HarbingerDawnDate: Friday, 02.05.2014, 19:08 | Message # 15
Cosmic Curator
Group: Administrators
United States
Messages: 8717
Status: Offline
Quote SolarLiner ()
I have not been able to reproduce the bug on buttons

It's possible that I'm doing something wrong. I didn't see any instructions on how to use this tool, so I tried to do what made sense. I assumed that once you input the path to your SE directory then it would automatically find and load the palette file. Is this correct? And if not, what am I supposed to do?





All forum users, please read this!
My SE mods and addons
Phenom II X6 1090T 3.2 GHz, 16 GB DDR3 RAM, GTX 970 3584 MB VRAM
 
Search: