SLIDESHOW–DIAPORAMA presentations without scripting

The home for finished/released addons.

Moderator: selden

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Sat Jul 10, 2010 7:43 am

Joël,

Following your comments above, this must be a great improvement of the SLIDESHOW-DIAPORAMA add-on :D

I already downloaded it (twice, to improve the statistics :wink:), but unfortunately, the zip-file seems corrupt :?

10-7-2010 16-32-40.jpg


Are there also some additional translations to do in this new release?
If so, I'll send the NL-translations ASAP to you, so it can be integrated...

Hope to download the correct file soon to experience the improvements :blue:

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Sat Jul 10, 2010 12:40 pm

Marco,

Your post comes just in time.
I was just thinking of uploading it to the motherlode to achieve the definitive version.
I'll wait a bit...

The file is not corrupted. I have downloaded it to vefify. Try again at another moment. :wink:

And yes, there are a few translations :blue: to do. It is very kind of you to think of that.

Cheers.
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Sun Jul 11, 2010 4:55 am

Hi Joël
:( Unfortunately it does not work here...
I downloaded it on 3 different computers and from 2 different Internet Service Providers, but all gave the same bad result.
The ZIP file cannot be opened...

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Sun Jul 11, 2010 6:53 am

Hi,

Marco Klunder wrote:Hi Joël
:( Unfortunately it does not work here...
I downloaded it on 3 different computers and from 2 different Internet Service Providers, but all gave the same bad result.
The ZIP file cannot be opened...
Marco


This is very annoying and very stange. I have absolutely no problem with this link. :?
Anyhow that confirm the necessity to upload it on the motherlode as soon as possible.

Edit: obsolete link removed
Last edited by jogad on Thu Jul 29, 2010 10:31 pm, edited 1 time in total.
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Fenerit » Sun Jul 11, 2010 7:12 am

No problems found on the first link you posted. Zip was corrected. 99 files in the zip.
Never at rest.
Massimo

Mirror site
User avatar
Fenerit
 
Posts: 1793
Joined: Mon Mar 26, 2007 1:43 pm
Location: Tuscany, Thyrrenian sea

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Mon Jul 12, 2010 12:23 am

OK, the link above works fine for me, I got the correct ZIP file now. :D

The original ZIP file always terminated at 5,47 MB.
This one is 8,48 MB with indeed 99 files as Massimo already mentioned.

I will test later on this week ans send you an update of the NL translation files.

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Mon Jul 12, 2010 11:43 am

Well Joël, it works great here :!: :!: :!:

The added documentation is also of a very good quality.
I only have a few remarks here, (at least concerning the English version):
1)
french.jpg
The second paragraph in the shown section above, is still left in French
2)
button.jpg
button.jpg (1.54 KiB) Viewed 1476 times
Missing explanation of this button
3) Minor typo in "Color and transparency palette" section, last alinea: But it if extremely --> But it is extremely

Attached my new localized Dutch file:

locale_slideshow_nl.zip
(773 Bytes) Downloaded 86 times


Probably another suggestion for your new version 2.1 which will be released quite soon :mrgreen:
As it becomes easier and easier to to change things, it also becomes easier to make a mistake. :?
Actually, I had it myself a few times that changed something wrong and I wanted the previous situation back again (especially when testing all the new possibilities). I think there may be 2 things welcome here:
a) When starting edit mode, automatically make a .bak file of the current slidecatalog
b) usage of an "undo" and/or "redo" function, to automatically go back to the previous situation, when in edit mode

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Tue Jul 13, 2010 12:53 pm

Hi,

Marco Klunder wrote:I only have a few remarks here, (at least concerning the English version):

Marco, thank you to read so carefully the manual. :D
It is indeed a very important part of this program.
I correct this right now.

this button Image is the "copy format" button. The format of the reference object is copied to the selected object. This works from a picture to another but it is more useful to harmonize the format of the texts. The copied elements are the colors and transparencies of the foreground, bakground and borders. For the texts the font and the margin are also copied.


Marco Klunder wrote:Attached my new localized Dutch file:

Thank you again. :D
But there is a little mistake in the file :(
Other files than French are incomplete. Particularly the "en" file.
Please take the local_slideshow_fr.lua as template. Otherwise some translations are missing. :oops:

:arrow: Anyone can translate the locale_slideshow that resides in the locale directory. This is a quick and easy job to do and I will be very happy if you send me such a file.

Marco Klunder wrote:Probably another suggestion for your new version 2.1 which will be released quite soon :mrgreen:

My hope is that this version is the last
The difficulty is to add new functions without increasing to much the number of buttons (for the user) and the length of the code (for me). slideshow.lua is yet 3700 lines of code.
I wanted a little addon and it seem I missed my goal.

I see that my system of colored buttons to cancel an action is not enough
:idea: So I propose this little workaround.

:arrow: The _slideshowcatalog.txt or _slideshowcatalog_xx.txt is saved when you click a first time on the "Edit" or the "Cat." button.
You did notice that the "edit" button (not the "Cat.") saves the current slide before editing.
The backup of the catalog takes place just before.
If you want that the backup of the catalog integrates the changes of the current slide before editing, you must save them in the usual way. (quit the design mode)

:arrow: to recover the last backup of the current slideshow, just type the character < and validate in the directory box.
Snap1.png
Snap1.png (1.2 KiB) Viewed 1456 times

The last backup is not deleted and you can use it later, even after restarting the computer. So if you type < after a while, you may have a surprise.
Fortunately this action itself is reversible: type < again and you return to the previous situation.

Now I have to update the manual again. :twisted: Ah la la...
Last edited by jogad on Fri Aug 13, 2010 2:36 am, edited 2 times in total.
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Wed Jul 14, 2010 1:50 pm

Hello again...

jogad wrote:Other files than French are incomplete. Particularly the "en" file.
Please take the local_slideshow_fr.lua as template. Otherwise some translations are missing. :oops:

Well, this is not completely true. 8)
Missing the ["Image"] = entry in the French version, which is on the other hand translated into French exactly the same, but as a reference for other languages it is missing.
Further it contains a duplicate entry for: ["Stealth mode OFF"] = "Mode furtif désactivé";
Advice to also adjust the en version for other translators (Massimo where is your version 2 translation :wink: )

Attatched the new nl locale version:
locale_slideshow_nl.zip
(959 Bytes) Downloaded 106 times


Furtheron, the proposed recover meganism seems to work great, but I will look further in detail in the coming days.

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Wed Jul 14, 2010 3:02 pm

Hello,

Marco, thank you very much
Your comments are very insightful

Marco Klunder wrote:Furtheron, the proposed recover meganism seems to work great, but I will look further in detail in the coming days.

Take your time :wink: Your help is very precious

:arrow: Now if someone wants to help for the translation, the best file to use as a template is the last file sent by Marco
locale_slideshow_nl.zip
At this time it is the only file which is complete and without duplicate. :mrgreen:
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby Marco Klunder » Tue Jul 27, 2010 2:11 pm

Hello Joël,

I'm back from a little holliday now, so it is Celeatia time again :D and I continued searching the new facilities of Slideshow 2.0.

I have a few remarks left on the (further perfect :!: ) documentation and I have an issue with playing an MP3 file:

Remarks:

Change slideshow section
SLIDESHOW remembers the current slideshow and will launch it next time.
Yes this is true, but only within the same Celestia session. When Celestia is restarted, the slideshow as defined in the config will be started by default.

Copy, Cut and Paste slides section
When I copy/paste a slide to a new slideshow (so another directory), the images (and I think also other files like MP3) are NOT copied. The result is a new slide with an empty image. Probably it is the way it is designed, but I think a remark in this section on this point may be appropriate.

Creating a new slide section
Little text mistake: The same than --> The same as

Slides description format section
You mention a "Modif" button here. I do not know or see it :(
Probably you mean the "Edit" button here?

Defining a picture section
I miss the description of the "no.jpg" option here, to produce a new slide without a new image or without displaying the previous image.

Defining a text section:
Little text mistake in first line, missing word "much" --> as mauch as




Than I came to the Defining a file to launch section.
Here I got stuck :?

I do not know what I'm doing wrong but I don't manage to get an MP3 started.
This is how I changed the config:

Code: Select all
------------------------------------------------------
-- command line to lauch a file
-- wich is associated with one of the above extensions
-- PLAYFILE will be automatically replaced
-- by the actual file. Keep this name (in uppercase)
-- You must adapt these lines to suit your OS
-- or to start files with other programs
------------------------------------------------------
running_OS = "Windows"
--play_file_command = '"PLAYFILE"'
play_file_command = [[start "" "C:\Program Files\Windows Media Player\wmplayer.exe" "PLAYFILE"]]


This is part of the slideshow (I also tried it without the path defenition)
Code: Select all
...

--nog een nieuwe slide

no.jpg
C:\Celestia Programs\Celestia160\extras\slideshow\asterix\HungUp.mp3
==
iets anders zonder image maar met muziek
# 0 0 -592 -429 0 1 100 1 0 1 0 1 0


It results each time in a very quick shown DOS window which I cannot read that quick, but no MP3 starts.

I tried the same line as defined in the config in a DOS window, and there it all works perfect :!:
Any advice for me on what I'm doing wrong :?:

Marco
Marco Klunder
email: marco.klunder@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED
User avatar
Marco Klunder
 
Posts: 172
Joined: Wed Feb 20, 2008 1:10 am
Location: The Netherlands

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Wed Jul 28, 2010 12:47 pm

Hello

As I didn't see remarks I thought naively that my plugin was perfect. Big mistake. :(
And because I was impatient to have at last my final version, I have uploaded it on the Motherlode this weekend. Even bigger mistake. :cry:

Marco Klunder wrote:SLIDESHOW remembers the current slideshow and will launch it next time.
Yes this is true, but only within the same Celestia session. When Celestia is restarted, the slideshow as defined in the config will be started by default.

This is absolutely NOT the expected behaviour.
Slideshow MUST remember the last session even if the computer is unplugged.
In this version, the default slideshow is the last slideshow.
If you define a special slideshow in the config, this override the default behaviour.
:arrow: Just delete or comment out the line in the configuration file.

Marco Klunder wrote:When I copy/paste a slide to a new slideshow (so another directory), the images (and I think also other files like MP3) are NOT copied. The result is a new slide with an empty image.

Yes. This is to avoid duplicating files if not necessary. And not to risk to delete them in an aborted cut/paste operation.
After copying a slide you have several possibilites that take effect without restarting celestia.

- copy the files to the new directory. (in my opinion this is not the best choice)
- deplace the pictures in the "commonPictures" folder so they are shared by the two slideshows. (but after a while this folder won't be so clean)
- make an "alias" from the second slideshow to the first one.
For example you have an image idefix.jpg in your "asterix" slideshow and you want to copy the slide in an "obelix" slideshow.
In your "obelix" slideshow, change the
idefix.jpg
to
../asterix/idefix.jpg
You can do that with the "Edit" button but if you want do keep its formatting my advice is to use the "Cat." button.

Marco Klunder wrote:You mention a "Modif" button here. I do not know or see it :(

Of course it is the "Edit" button. "Modif" is the French version.
But now and before you ask :wink: , there is no "Dump" button. If you want to translate it you must replace "Dump" with "Cat." (for Catalog)


Marco Klunder wrote:I do not know what I'm doing wrong but I don't manage to get an MP3 started.
This is how I changed the config:

Code: Select all
------------------------------------------------------
-- command line to lauch a file
-- wich is associated with one of the above extensions
-- PLAYFILE will be automatically replaced
-- by the actual file. Keep this name (in uppercase)
-- You must adapt these lines to suit your OS
-- or to start files with other programs
------------------------------------------------------
running_OS = "Windows"
--play_file_command = '"PLAYFILE"'
play_file_command = [[start "" "C:\Program Files\Windows Media Player\wmplayer.exe" "PLAYFILE"]]


You are doing nothing wrong*. It was a "last minute improvement" which is actually a bug.

*Oh yes there is a thing that is wrong with this line
Code: Select all
play_file_command = [[start "" "C:\Program Files\Windows Media Player\wmplayer.exe" "PLAYFILE"]]

This line is for "exotic OS" and has no effect at all if you are running Windows.
In Windows files are launched by their associations. This lets launch many different types of files with their own associated program. If you specify a particular program the choice of files to launch is much more restricted.

For cons the "slide_edit_command" may be useful for the text editor.

There are certainly many things that are not in the manual. This leaves things to discover and questions to ask...

:arrow: I have updated the download link on the first page with a debugged version and improved manuals :mrgreen:

Cheers
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby BobHegwood » Wed Jul 28, 2010 1:39 pm

Jogad,

I have already approved your slide-show add-on for use on the ML.
Do you now NOT want it posted? Let me know.

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
User avatar
BobHegwood
 
Posts: 1811
Joined: Fri Oct 12, 2007 2:41 pm

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby jogad » Thu Jul 29, 2010 3:41 am

bob,
Thank you for being so attentive.
As you have understood, the version I sent to the ML has a small error. :(

Please reject this version until I send a new one.

Marco is doing the hard bug tracking job.
After that I think you can save your own time and approve the addon without even testing it. 8)

Take care
Joël
Jogad
My system: Intel Core2 6700, RAM 6GO, Windows 7, Nvidia 460 GTX
User avatar
jogad
 
Posts: 442
Joined: Wed Sep 17, 2008 1:26 pm
Location: Paris France

Re: SLIDESHOW–DIAPORAMA presentations without scripting

Postby BobHegwood » Thu Jul 29, 2010 8:00 am

jogad wrote:bob,
Thank you for being so attentive.
As you have understood, the version I sent to the ML has a small error. :(

Please reject this version until I send a new one.

Marco is doing the hard bug tracking job.
After that I think you can save your own time and approve the addon without even testing it. 8)

Take care
Joël


As far as I know, Ulrich has not posted it. However, it will be a while until
any more add-ons do get posted as Ulrich will be on vacation for two weeks.
Just FYI...

Love your work by the way. :wink:
Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
User avatar
BobHegwood
 
Posts: 1811
Joined: Fri Oct 12, 2007 2:41 pm

PreviousNext

Return to Add-on releases

Who is online

Users browsing this forum: No registered users and 0 guests