Age Verification
This website contains age-restricted material including nudity and explicit content. By entering, you confirm being at least 18 years old or the age of majority in the jurisdiction you are accessing the website from.
I am 18+ or older - Enter
I am under 18 - Exit
Our parental controls page explains how you can easily block access to this site.

Derniers messages - Page 635

  Forum

TheEmu
Inscrit en Jul 2012
7424 message(s)

How do I add fullscreen backgrounds?

Le coin des nouveaux
11 December 2020, 25 réponses
The .scn Files are located inside your Data Directory.
vghd/data/scenes/

Or you can put them, the .scn files, one directory deeper, e.g. to group them by their creators

vghd/data/scenes/Stanston
vghd/data/scenes/Typos

This gets to be important if you have a large number of scenes. Unfortunately when the scenes are listed by the iStripper GUI it sorts tham just using their file names ignoring the directory names so it is useful to include a prefix as part of the .scn file's name so that related scenes are grouped together when on the fullscreen preview page.

Also unfortunately the system will not look for .scn files any deeper than that but you can use multiple directories at that level to break up things more finely, e.g.

vghd/data/scenes//TheEmu_Tunnels
vghd/data/scenes//TheEmu_Naughty Faries

(They aren't the names I actually use, but you should get the idea)

Although the locations that can be used for the .scn files is restricted any other files used by the scene can be anywhere. Tp avoid cluttering the directory used for the .scn files the best practice is to put them in one or more lower level directories - e.g. one for the various backgrounds used by a group of scenes and another for any shaders etc. or you can use one lower level directory to hold everything except the .scn file for one scene (or small group of scenes), a second for a different group of scenes, etc. Choose the scheme that best suits the scenes that you are using.

Also note that when specifying an image (called a "texture" in the language of the .scn files) you can either directly refer to a specific image by name, e.g.

texture {
Id : TheRoom
Source : Rooms/Room1.jpg
}

or you can use the name of a directory

texture {
Id : TheRoom
Source : Rooms/
}

The final slash is optional - I find it a useful reminder that it is a directory name but often forget to use it. If you use a directory name for the source then the program will randomly select one from any images that it finds in that directory. This means that you can use a single .scn file for groups of scenes that only differ in their backgrounds, which can be convenient, and that if you want to just add a background all you need to do is copy it to the relevant directory rather than create a new .scn file.

You can use the image directory mechanism for other parts of the scene but it is mainly used for backgrounds. As a special case if the directory itself is called Backgrounds the iStripper GUI provides a way to enable or disable their use on a file by file basis.

Note, although the normal directory separator on Windows is a backslash, and that can be used in a .scn file, it is preferable to use forward slashes as they work on both Windows and Macs. Similarly it is preferable to treat all file names used with a .scn file as if they were case sensitive as although it doesn't matter under Windows it does on Macs.

As well as the link @Stanston posted you should also look at these threads

https://www.istripper.com/forum/thread/27449/1?post=428429
https://www.istripper.com/forum/thread/29408/1?post=460103
https://www.istripper.com/forum/thread/42492/1?post=626142
Wyldanimal
MODÉRATEUR
Inscrit en Mar 2008
17379 message(s)