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
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
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
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
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
Why not do that instead?
"If you're not part of the solution, you're part of the precipitate."
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
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
... a config.ini in the "local Setting" directory on the harddrive ...
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
Sorry, Stellarium has done it !
It was the first time I have used stellarium. And it wasn't there before !
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
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
Then don't worry about 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
Would you mind posting just the launcher, please. Or else I can't test this for a couple days.
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
Very much.
But you forgot your name in the link.
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.
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
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
works nicely thanks
ought to be helpful in Geoscience
~regards alpha1
Lead, Follow, or get out of the way.
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
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
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
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
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
its the same with pr2
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
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
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
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
Thanks.
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.
"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
Thank you very much for your complement.
"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
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!
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
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!
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
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!
Here's the changes that will get this one closed to a release. Many are small and tedious, but worth it.
!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.
OutFile "..\..\${NAME}.exe"
Icon "..\..\App\AppInfo\appicon.ico"
so you can delete StellariumPortable.ico.; Best Compression
SetCompress Auto
SetCompressor /SOLID lzma
SetCompressorDictSize 32
SetDatablockOptimize On
After the ;=== Runtime Switches.
newadvsplash::wait
To:
newadvsplash::stop /WAIT
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.
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
Just make sure you try to get all those things, it'll make things quicker.
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
Good work. Can't wait to try it out.
Edit: Here you go. cleanup.bat, upax.bat, and pangout.bat.
(Right Click, Save As)
Moved to a new server.
"If you're not part of the solution, you're part of the precipitate."
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
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