Loading...
 

 

Wineskin Manual

Previous Page  |  Back to ToC  |  Next Page

 

Section 3 - Wrapper Structure

3.2 Common things you can edit directly

 

There are only a couple of things you'd want to edit directly.  These would be the custom scripts found in Resources, and Resources/WineskinMenuScripts

 

WineskinMenuScripts - lets you add some custom options to the top screen menubar of your wrapper/port.  You can follow the example scripts in that folder.  If you look at the entires in there by default and where they appear in the menu (App Menu or Help Menu), then you should figure it out pretty quickly.  You can make more, you are not stuck with the number in there by default... make as many as you need and use the number after the menu name to help determine the order in which they appear.

 

WineskinQuitScript - This is what the main Quit (Cmd+Q) menu option runs.  By default Wineskin.app uses it with the "Try to shutdown nicely" option.  You can change out this file with any program or script you need run on shutdown.  If you delete this script, then CMD+Q will just quit the wrapper harshly without shutting down Wine, or any option for Windows apps to prompt to save work.  WineskinQuit.exe is also there, and is the program this script uses inside of Wine to get apps to shut down.  You can write your own WineskinQuit.exe program and replace this one if needed.

 

WineskinShutdownScript - you can use bash commands here to do extra things at shutdown if its really needed... maybe something like clearing out cache folders, or making a minor modification to a config file... whatever.  Its normal bash syntax, or can be replaced by a program named the same thing that you need run.

 

WineskinStartupScript - you can use bash commands here to do extra things at startup if its really needed... I usually use it to make sure .ini files or other config files have the right settings in them to fix game problems. Its normal bash syntax, or can be replaced by a program named the same thing that you need run.

 

The only other things you'd ever directly edit, are program files stored by your program in drive_c.

 

Previous Page  |  Back to ToC  |  Next Page