You are here

Stellarium Portable 0.9.0 Pre-Release 2 (Testers Needed) *Outdated*

46 posts / 0 new
Last post
Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Stellarium Portable 0.9.0 Pre-Release 2 (Testers Needed) *Outdated*

For those that have no lives :P, Stellarium Portable is the popular Stellarium astronomy program packaged as a portable app. Stellarium has real-time heavens-viewing, so that you can see the stars without having to get out a telescope, even during the daytime. (More details)

I would like to give a big thanks to Patrick for advising me on a launcher problem.

To-do

  • Add appinfo.ini

New in Pre-Release 2

  • Fixed left directory
  • Fixed configuration settings typo

Downloads

  • Pre-Release 1- 41
  • Pre-Release 2- 98
Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Cool

I once tried that myself and will test it tomorrow...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

tanisthalon
tanisthalon's picture
Offline
Last seen: 3 years 9 months ago
Developer
Joined: 2006-02-11 08:02
Almost there...

Stellarium folder and config.ini left in User Profile.
https://portableapps.com/node/6975#comment-35091

Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
love your sig ;-)

nice movie. Especially the "v-speech".

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Right.

The launcher should move the file to the Data/settings folder, but that should be it. If it doesn't get moved, then we have a problem. I have to leave the folder there just in case an installation of Stellarium is currently on the system.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 6 days ago
Joined: 2006-01-06 21:27
Why not...
IfFileExists "$APPDATA\Whatever" "" CopySettings
//Backup settings here
// ...
ExecWait "whatever.exe"

Rename "$APPDATA\whatever" "$EXEDIR\Data\profile"
IfFileExists "$EXEDIR\Data\backup" "" End
Rename "$EXEDIR\Data\backup" "$APPDATA\whatever"
End:

Why not do that instead?

"If you're not part of the solution, you're part of the precipitate."

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
:P

I didn't know that I could do that :P. Thanks. I'll add that next.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

tanisthalon
tanisthalon's picture
Offline
Last seen: 3 years 9 months ago
Developer
Joined: 2006-02-11 08:02
Additional

After I had ran the app I deleted the folder to check again. Only when the app has been run once and the ini stored in the data folder, will it leave the ini on a pc without a Stellarium folder in the User Profile.

Otherwise it leaves the folder, although empty, behind after use.

Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT

peter_g
Offline
Last seen: 12 years 1 month ago
Joined: 2006-09-09 05:54
yes, I found that too

... a config.ini in the "local Setting" directory on the harddrive ...

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
Didn´t realise...

the launcher doesn´t put the config.ini into Your data/settings folder, but if You put it there , it is read and changed. Since I had a local install i just made a copy of my local config.ini and it works...

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

peter_g
Offline
Last seen: 12 years 1 month ago
Joined: 2006-09-09 05:54
Sorry, Stellarium has done it !

Sorry, Stellarium has done it !

It was the first time I have used stellarium. And it wasn't there before !

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
?

I'm not sure what you're saying, but nothing is left in any directory by Stellarium or Stellarium Portable other than the config.ini in the user's profile. That's it.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

peter_g
Offline
Last seen: 12 years 1 month ago
Joined: 2006-09-09 05:54
.....

what I wanted to say:

Yes Stellarium left config.ini, not in the user profile directory (I haven't checked there), but in a temporary directory of my hard drive .....

Ok, I have checked it again ..... the temporary directory with config.ini on the hard drive exists as long as stellarium is running ..... after shutting down, that temporary directory is deleted

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Alright.

Then don't worry about it. Smile

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
A lot to ask

Would you mind posting just the launcher, please. Smile Or else I can't test this for a couple days.

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Sure.

Just a few minutes.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Thanks

Very much.

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Thanks,

But you forgot your name in the link.

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Sorry,

Forgot to report back.

You need to add

RMDir '$PROFILE\Stellarium'

At the end otherwise the stellarium folder is left there. But it will only remove it if it's empty anyways so it won't effect local settings.

Also, the outfile should now be ..\..\{$NAME}.paf.exe, and check the latest Mozilla Apps for the path to the icon in the launcher as well.

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Sorry.

I won't change the installer's code because it causes errors, and it doesn't make any difference in the installation or to the app.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
No

That outfile path is for the launcher. And make sure you have the portable app closed when compiling.

It's much more efficient. Open the source in Notepad++, edit it. Press Ctrl+R in the NSIS Compiler window, then from your StelleriumPortable directory, launch your new StellariumPortable.exe

alpha1
alpha1's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-07-08 20:02
works nicely thanks ought to

works nicely thanks
ought to be helpful in Geoscience
~regards alpha1

Lead, Follow, or get out of the way.

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
weired

it only flashed a console window an that was it.

win xp pros sp2 limited account.
And it left '$PROFILE\Stellarium' behind but Patrick already said that.
And the launcher link doesnt work Smile

Edit:

And i think you forgot to tell the launcher to rename the backup of the local settings. So line 78 should be
Rename `$PROFILE\Stellarium\config.ini.bak` $PROFILE\Stellarium\config.ini`

instead of
Rename `$PROFILE\Stellarium\config.ini` `$PROFILE\Stellarium\config.ini`
.

And you´d have to delete the $PROFILE\Stellarium\config.ini.bak.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Yeah.

Typo. Sorry. I should be able to get another pre-release up tonight. The flashing is a Stellarium issue. Could you give me the details of what it says (anything about a config.ini or a fontmap.dat?)?

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
it flashes so fast

I cant read anything. Is there a way to make a console window stay longer???

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Yeah.

The "Pause key. It takes a few minutes to get it exactly right, but try pre-release
****_____
****Break"
2 first. It should fix that problem. If not, let me know.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
sorry

its the same with pr2 Sad
but ill try at a different pc if i find the time...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Hmmm...

Do you have anything like C.A.F.E. running?

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
no

nothing i now of.
but it was the pc at university and I ll test it at home.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Pre-Release 2

Pre-Release 2 is out. See above for details.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Cool

Thanks.

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
Lovely..

I used to start Stellarium with P-start but it wrote the settings to a local stellarium file. Having a launcher now is much better. I tested putting the config.ini into settings and it kept all the changes.Nice work. Smile

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Thank you.

Thank you very much for your complement. Smile

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

TStodden
TStodden's picture
Offline
Last seen: 7 years 3 months ago
Joined: 2006-02-21 16:29
Folder Shredder request to fix known issue

Would it be possible for the Stellarium Portable launcher to search & delete C:\Stellarium from the computer before it Stellarium itself loads up.

This is a known issue with the program itself & NOT with Stellarium Portable. For some reason, the program looks for its configuration file at C:\Stellarium first BEFORE looking where the program is stored itself. If C:\Stellarium doesn't exist, Stellarium will create the folder. Since there's nothing in that folder, the program just fails & quits without launching.

I know it's not necessarily the portable programmer's job to make a fix (or a workaround) for a program's known issue, but it would be greatly appreciated.

~TStodden
Game Monkey Likes You!

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
?

I am not aware of this problem, and have never had such a problem.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

TStodden
TStodden's picture
Offline
Last seen: 7 years 3 months ago
Joined: 2006-02-21 16:29
May not be an obvious issue

This is one issue that I constantly run into with the non-portable version with 0.9.0 (0.8.2 doesn't have this issue).

If you try running Stellarium with that directory, the DOS window that pops up comes up with an error message (something along the lines that the settings file cannot be found) & quits quietly. I have to delete that directory in order to get Stellarium to work again, which it creates that directory again.

The computer that I have Stellarium 0.9.0 on is running Windows ME (working on getting the system XP-ready), so it could be a pre-XP issue.

~TStodden
Game Monkey Likes You!

Simeon
Simeon's picture
Offline
Last seen: 9 years 11 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Did you

ask/report that at the Stellarium homepage?
Because its a non-portable issue...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

TStodden
TStodden's picture
Offline
Last seen: 7 years 3 months ago
Joined: 2006-02-21 16:29
It's been noted

I complained to Stellarium when I first ran into the problem (right after I upgraded from 0.8.2)... so they're already aware of it.

~TStodden
Game Monkey Likes You!

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Changes

Here's the changes that will get this one closed to a release. Many are small and tedious, but worth it. Smile

  • First off, update to the KompoZer installer, and change the stuff inside Basic Info accordingly, and the Pre-Install, and Post-Install stuff, you can probably just remove it unless you need to use that area.
  • You can remove the acknowledgments for me from the help file, it wasn't that much. Blum
  • Your icon should have only 16, 32, and 48 sizes of both 256, and XP formats. IcoFX is easy enough to use for this, if not GIMP. You can also just download this one I made. Blum
  • Add your copyright below John's in the launcher, and change the website from PNotes accordingly, too.

  • !define NAME "StellariumPortable"
    !define FRIENDLYNAME "Stellarium Portable"
    !define APP "Stellarium"

    Should be changed to:


    !define PORTABLEAPPNAME "Stellarium Portable"
    !define NAME "StellariumPortable"
    !define APPNAME "Stellarium"

    You'll need to update those variables in other parts of the launcher now.

  • From the release of WinMerge Portable, it looks like our name isn't going beside PortableApps.com in the CompanyName line.
  • The outfile should be change too:
    OutFile "..\..\${NAME}.exe"
  • The program icon should be changed to:
    Icon "..\..\App\AppInfo\appicon.ico" so you can delete StellariumPortable.ico.
  • Add:

    ; Best Compression
    SetCompress Auto
    SetCompressor /SOLID lzma
    SetCompressorDictSize 32
    SetDatablockOptimize On

    After the ;=== Runtime Switches.
  • We're using the latest version of the splash plugin, so update it and change:
    newadvsplash::wait
    To:
    newadvsplash::stop /WAIT
  • The VER variable should be the version of the LAUNCHER, so therefore change 0.9.0.0 to 1.5.3.0
  • Use the DevelopmentTest splash on it.
  • You need AppSource.txt in the Source dir, just copy the one from the latest KeePass Portable, and you need a readme, too. Copy that from KeePass Portable, too and modify it.
  • Copy the Readme.txt from KeePassPortable\App to your App\ directory.
  • Add and modify an App\AppInfo\AppInfo.ini from the latest KeePass release.
  • Rename App\Stellarium to App\stellarium.
  • Go download cleanup.bat, upax.bat, and pangout.bat from here, place them in C:\WINDOWS. Then go download UPX and PNGOUT.exe and place pngout.exe and upx.exe in C:\WINDOWS. Next run the command prompt, and 'cd ..' to go up or 'cd directory\directory' to change to App\stellarium (a fresh unupxed copy of Stellarium) and type 'upax', that will UPX everything very nicely, then type 'pangout' that will compress your PNG's losslessly very slowly, then after that's done a while later, just type 'cleanup' to cleanup all the fun filename created like stellarium.ex~.
  • That's about it, there's some new launcher lines for errors and stuff, but you don't have any strings for that in your launcher, so don't worry about it.

Finally, I'd contact the devs to see if they can add or if it already supports specifying a place for the config.ini file using a command line switch.

Smile

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Yeah.

Most of it I've already done and just haven't uploaded it. Thanks for the update.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
No Problem

Just make sure you try to get all those things, it'll make things quicker.

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Everything done.

Except the UPXing. Ryan's site is down right now, so I'll have to wait until later.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Patrick Patience
Offline
Last seen: 4 years 9 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Great

Good work. Can't wait to try it out.

Edit: Here you go. cleanup.bat, upax.bat, and pangout.bat.

(Right Click, Save As)

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 6 days ago
Joined: 2006-01-06 21:27
Yep.

Moved to a new server.

"If you're not part of the solution, you're part of the precipitate."

wk
wk's picture
Offline
Last seen: 1 year 3 months ago
Joined: 2007-09-05 12:31
Stellarium 0.9.1 seems to work

with the launcher ,too. The new release affords some bugfixes and has changed the config file location for the local version to %appdata%/stellarium.

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2007-01-10 19:25
Thank you.

Thank you very much. I'll change the code for that right away before I release a development test.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

Log in or register to post comments