Back to the main site

Help to conver Playonlinux script to Lutris

Hello i am new to lutris, i want to write installer for pokemon TCGO , but i have succes in playonlinux script. Can some one help me to convert pol script to lutris script?

[ “$PLAYONLINUX” = “” ] && exit 0
source “$PLAYONLINUX/lib/sources”

TITLE=“Pokemon TCGO”
PREFIX=“PokemonTCGO”

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation “$TITLE” “Pokemon TCGO” “http://pokemon.com/” “The Unity Wine Support Team” “$PREFIX”

Create the prefix

POL_System_SetArch “AMD64”
POL_Wine_SelectPrefix “$PREFIX”
POL_Wine_PrefixCreate “3.20”
POL_System_SetArch “AMD64”

Install the fonts

POL_Wine_InstallFonts
POL_Call POL_Install_d3dx11
POL_Install_dotnet40
POL_SetupWindow_InstallMethod “DOWNLOAD,LOCAL”
POL_System_TmpCreate “$PREFIX”
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Create the prefix

- task:
    name: create_prefix
    arch: win64
    install_mono: false
    install_gecko: false
    prefix: $GAMEDIR

Install the fonts

 - task:
    app: corefonts
    name: winetricks
    prefix: $GAMEDIR

- task:
    app: d3dx10
    name: winetricks
    prefix: $GAMEDIR


    - task:
        app: dotnet40
        name: winetricks
        prefix: $GAMEDIR