de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Image import problem
PostPosted: Fri Dec 05, 2014 7:36 pm 
Offline
Regular
I tried the Guess it! script and i got the same as error message as the one from the scripts with the milovana images.
(Sexscript and Script are on the desktop)
Computer Specs

Win7 64 Bit running on Virtual Machine.

Video Memory 27MB

RAM 2GB

Core: 2 of the Mac book pro cores


Attachments:
Optimized-Screen Shot 2014-12-05 at 18.29.32.jpg
Optimized-Screen Shot 2014-12-05 at 18.29.32.jpg [ 237.72 KiB | Viewed 16900 times ]
Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Sat Dec 06, 2014 12:56 pm 
Offline
Site Admin
User avatar
Here is it for now for me :
- it's not a capitalization problem (GuessIt / guessit , etc)
- in the script, it is "GuessIt/alice.jpg", but it shows here ".\GuessIt\alice.jpg" : normal, it's ok ; it shows it's executing on a Windows file system, nothing else
- I still can't see any difference between those script and others


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 6:26 pm 
Offline
Site Admin
User avatar
Some more tests :
- if you open the picture "images/GuessIt/alice.jpg" with the usual Windows gallery tool (use the file explorer, and double click), does it works ?
- start the terminal (start menu>"cmd" [hit return]). Inside, use cd to go to the folder containing sexscripts.exe using the command "cd", for example cd "c:\my apps\sexscripts\" ; does then the command start images\background.png works ? And start images\GuessIt\alice.jpg ?


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 6:59 pm 
Offline
Regular
Alice cmd http://puu.sh/eqbpb/24e374b715.png

Alice windows gallery http://puu.sh/eqbtj/a2337985e4.png

Background http://puu.sh/eqbqr/47965a3730.png


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 7:11 pm 
Offline
Site Admin
User avatar
Ok, all good
Let's continue with a test script : open SexScripts (using sexscripts.exe), wait a few seconds, then menu>scripts>edit. Replace all with the script below, save as "tmp.groovy", and test it in the main window (menu>scripts>restart)
Code:
setInfos(4, "Tmp test", "summary?", "Doti", "started", 0xFFFFFF, "en", ["", "", ""]);

show("Case 1")
wait(1)
setImage("door.jpg")
wait(1)

show("Case 2")
wait(1)
setImage("GuessIt/alice.jpg")
wait(1)

show("Case 3")
wait(1)
setImage("GuessIt\\aliceboobs.jpg")
wait(1)

show("Case 4")
wait(1)
setImage("guessit/ashley.jpg")
wait(1)

show("end")


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 7:40 pm 
Offline
Regular
Case 2. i get the error. Fichier manquant : .\images\GuessIt\alice.jpg

The sexscript folder is in Documents/

And the scripts are on the desktop (As you said that it might be that the filename was too long)


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 8:07 pm 
Offline
Site Admin
User avatar
Do cases 3 and 4 show the picture, or only the first one ? (not finding an image does not stop a script)
You can count the number of characters ; it should be <257 (explained value : see here). Or you can add at the end of the script above those lines :
Code:
def canonicalPath = new java.io.File("images/GuessIt/alice.jpg").getCanonicalPath()
show("Canonical : " + canonicalPath+" : "+canonicalPath.length())
wait(2)

def absolutePath = new java.io.File("images/GuessIt/alice.jpg").getAbsolutePath()
show("Absolute : " + absolutePath+" : "+absolutePath.length())
wait(2)


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 8:22 pm 
Offline
Regular
Case 2 & 3 & 4. error image not found. i only see the door
http://puu.sh/eqnmx/0510bd3947.png


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Jan 12, 2015 9:04 pm 
Offline
Site Admin
User avatar
It may be related to the directory rights (ACL), or the image format.
Can you try something else ? Copy the door.jpg file into the GuessIt folder, then update tmp.groovy above :
Quote:
show("Case 1")
wait(1)
setImage("GuessIt/door.jpg")
wait(1)

Also, how did you import this script, using the internal import, or downloading the inflating the zip file ?


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Thu Jan 29, 2015 12:01 am 
Offline
Regular
When i put door in guessit. i get the same errors as for the other pictures. The scripts i download them. unzip them. and "Open" them in the menu of the sexscript program. sorry for taking so long to answer. Had a lot of work which had to be done.


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Thu Jan 29, 2015 6:10 pm 
Offline
Site Admin
User avatar
It still looks like a directory problem. You confirm this (partial) exact hierarchy ?
Code:
xxxxx/
|--images/
|--|--GuessIt/
|--|--|--alice.jpg
|--|--\--door.jpg
|--|--door.jpg
|--scripts/
|--|--intro.groovy
|--|--guessit.groovy
|--\--tmp.groovy
\--sexscripts.jar


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Sun Feb 01, 2015 7:00 pm 
Offline
Regular
Having copied the images/guessit and guessit.groovy into the folder the sexscript(lib, images, video,sounds). I was able to start it correctly. showing the images correctly

thx :)


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Sun Feb 01, 2015 7:04 pm 
Offline
Regular
Works for the sissycourse1 as well. This post and the past one worked on the Windows Virtual Machine as well on the Mac Osx Yosemite host system


Top
 Profile Send private message 
 
 Re: Image import problem
PostPosted: Mon Feb 02, 2015 12:31 am 
Offline
Regular
From now on i'll import from URL i think that's the easiest to do it.

Now i can finally enjoy sexscripts :)


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.