JacquesOlivier |
Saturday 23 January 2016 at 14:52
|
JacquesOlivier![](http://ninelives.ouvaton.org/img/playonlinux/game_class_blade.jpg)
|
Bonjour,
Je commence à apprendre à utiliser POL.
Je suis à l'aise avec Linux, je participe à la traduction d'un jeu RPG :
http://ninelives.smokymonkeys.com/
A terme celui-ci devrait tourner nativement sous GNU/Linux mais vu la petite équipe ça devrait prendre quelques mois voir années.
Est-ce que quelqu'un pourrait m'aider à démarrer pour le faire fonctionner sous Wine ? Et comment l'utiliser dans POL ?
Cordialement,
Jacques-Olivier
|
JacquesOlivier |
Saturday 23 January 2016 at 15:52
|
JacquesOlivier![](http://ninelives.ouvaton.org/img/playonlinux/game_class_blade.jpg)
|
Pour préciser, j'utilise Debian Jessie avec Wine 1.4-1 (version system), le jeu se lance, se connecte mais ne va pas jusqu'au bout.
J'essaie avec des versions de Wine autre (AMD64, 1.6.2, 1.7.53, 1.9.2 ...), sans succès pour l'instant.
|
JacquesOlivier |
Saturday 23 January 2016 at 16:16
|
JacquesOlivier![](http://ninelives.ouvaton.org/img/playonlinux/game_class_blade.jpg)
|
Re,
Et bien j'y suis arrivé !
Sous Debian Jessie, j'utilise 4.2.10 avec Wine version 1.6.2 en AMD64.
Maintenant faut que je comprenne cette histoire de script ...
|
petch |
Saturday 23 January 2016 at 21:48
|
petch![](http://ks369561.kimsufi.com/~petchema/gfx/spaceinv1.png)
|
|
JacquesOlivier |
Tuesday 9 February 2016 at 8:34
|
JacquesOlivier![](http://ninelives.ouvaton.org/img/playonlinux/game_class_blade.jpg)
|
Bonjour,
Merci Petch pour les informations et l'aide.
Voici donc ma première version du script, je l'ai testée sous Debian 7.2 AMD 64, avec la version Wine 1.6.2 64, ça passe ![smiley smiley](https://www.playonlinux.com/js/ckeditor/plugins/smiley/images/regular_smile.png)
J'ai une question, quelle est la commande qui permet de tester une précédente installation (un test sur le $Prefix) ?
A suivre,
#!/bin/bash
#
# Date : 2016-02-08
# Last revision : 2016-02-
# Author : Jacques-Olivier jacques-olivier AT ouvaton.org
# Tested on : Debian 7 64
# Wine version used to test : 1.6.2 AMD 64
#
# Pre-requisties :
# Distribution tested : Debian 7 and 8.2 AMD 64 / Xubuntu 15.10 AMD 64
#
# TODO
#
# Make tests under Debian 8.2 / Xubuntu 15.10
# Make a test for a previously installation, and ask to erase the Prefix before installation
#
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Variables definitions
TITLE="Ninelives"
PREFIX="smokymonkeys"
EDITOR="SmokyMonkeys"
AUTHOR="Jacques-Olivier"
GAME_URL="http://ninelives.smokymonkeys.com"
PICTURES_URL="http://ninelives.ouvaton.org/img/playonlinux"
WORKING_WINE_VERSION="1.6.2"
# Downloading pictures of the game
# The left.jpg picture must be about 150x356px and the top.jpg picture must be about 60x60px
POL_GetSetupImages "$PICTURES_URL/top.png" "$PICTURES_URL/left.png" "$PICTURES_URL/logo-48x48.png" "$PICTURES_URL/logo-22x22.png" "$TITLE"
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating 64-bit prefix
POL_System_SetArch "AMD64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Asking for the last setup installation file
POL_SetupWindow_question "Did you download the latest version of $TITLE from $GAME_URL ?" "Before installing ..."
POL_SetupWindow_InstallMethod "LOCAL"
# Begin game installation
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit "$TITLE"
#Create shortcuts
POL_Shortcut "Ninelives.exe" "$TITLE" "" "Game;RPGGame;"
POL_SetupWindow_Close
exit
Ändrat av JacquesOlivier
|