Vous êtes ici > Les forums > Vos créations > Serious Sam sv ru pl es en

Les forums

Serious Sam

Nouveau  - Répondre
Auteur Posts
syberia303 Le Vendredi 23 Mai 2008 à 20:13 - [Citer]
Membre

Membre
J'avais ouvert un post pour discuter de l'idée de faire un script d'installation pour Serious Sam. Vu qu'il n'y a pas eu de contestation, je vous poste les deux scripts que j'ai réalisés.

Serious Sam : The First Encounter

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"


cfg_check


#Presentation
presentation "Serious Sam : The First Encounter" "Take 2 Interactive" "http://www.seriouszone.com/" "syberia303"


if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
LNG_WAIT_START="L'installation va commencer..."
LNG_WAIT_END="Appuyez sur "Suivant" UNIQUEMENT quand l'installation du jeu sera terminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="Are you serious?!"

else
LNG_WAIT_START="Installation is going to begin..."
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished or you will have to install again the game."
LNG_WAIT_HF="Are you serious?!"
fi

message "$LNG_WAIT_START"

select_prefixe "$HOME/.PlayOnLinux/wineprefix/SeriousSam-TheFirstEncounter"
creer_prefixe


Ask_For_cdrom
Check_cdrom "Setup.exe"

wine d:Setup.exe

message "$LNG_WAIT_END"

simuler_reboot

creer_lanceur "SeriousSam-TheFirstEncounter" "Program Files/Croteam/Serious Sam/Bin" "SeriousSam.exe" "" "SeriousSam-TheFirstEncounter"

message "$LNG_WAIT_HF"

end_install
exit



Serious Sam - The Second Encounter


#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"


cfg_check


#Presentation
presentation "Serious Sam : The First Encounter" "Take 2 Interactive" "http://www.seriouszone.com/" "syberia303"


if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
LNG_WAIT_START="L'installation va commencer..."
LNG_WAIT_END="Appuyez sur "Suivant" UNIQUEMENT quand l'installation du jeu sera terminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="A vous les extraterrestres à fragger!"

else
LNG_WAIT_START="Installation is going to begin..."
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished or you will have to install again the game."
LNG_WAIT_HF="Happy fragging!"
fi

message "$LNG_WAIT_START"

select_prefixe "$HOME/.PlayOnLinux/wineprefix/SeriousSam-SecondContact"
creer_prefixe


Ask_For_cdrom
Check_cdrom "Setup.exe"

wine d:Setup.exe

message "$LNG_WAIT_END"

simuler_reboot

creer_lanceur "SeriousSam-SecondContact" "Program Files/Croteam/Serious Sam - Second Contact/Bin" "SeriousSam.exe" "" "SeriousSam-SecondContact"


message "$LNG_WAIT_HF"

end_install
exit


Happy fragging!
syberia303 Le Lundi 2 Juin 2008 à 23:22 - [Citer]
Membre

Membre
Suite à la mise à jour de POL, voici les scripts pour la version 3.

Serious Sam - The First Encounter:

Console:

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"


cfg_check

POL_SetupWindow_Init "" "" 

#Presentation
POL_SetupWindow_presentation "Serious Sam : The First Encounter" "Take 2 Interactive" "http://www.seriouszone.com/" "syberia303" 


if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_WARNING="Essayez de jouer en version native à Serious Sam via l'installeur disponible à cette adresse: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="L'installation va commencer..." 
LNG_WAIT_END="Appuyez sur "Suivant" UNIQUEMENT quand l'installation du jeu sera
 terminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="Are you serious?!"

else
LNG_WAIT_WARNING="Try to play Serious Sam natively via the installer which is available there: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="Installation is going to begin..." 
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished or you will have to install again the game."
LNG_WAIT_HF="Are you serious?!"
fi 

POL_SetupWindow_message "$LNG_WAIT_WARNING"

POL_SetupWindow_message "$LNG_WAIT_START"

select_prefixe "$HOME/.PlayOnLinux/wineprefix/SeriousSam-TheFirstEncounter"
POL_SetupWindow_prefixcreate  


POL_SetupWindow_cdrom  
POL_SetupWindow_check_cdrom "Setup.exe"

wine d:Setup.exe 

POL_SetupWindow_message "$LNG_WAIT_END"

POL_SetupWindow_reboot 

POL_SetupWindow_make_shortcut "SeriousSam-TheFirstEncounter" "Program Files/Croteam/Serious Sam/Bin" "SeriousSam.exe" "SeriousSam-TheFirstEncounter.xpm" "SeriousSam-TheFirstEncounter"

POL_SetupWindow_message "$LNG_WAIT_HF" 

POL_SetupWindow_Close 
exit


Serious Sam : The Second Encounter:

Console:

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"


cfg_check


POL_SetupWindow_Init "" "" 

#Presentation
POL_SetupWindow_presentation "Serious Sam : The First Encounter" "Take 2 Interactive" "http://www.seriouszone.com/" "syberia303" 


if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_WARNING="Essayez de jouer en version native à Serious Sam via l'installeur disponible à cette adresse: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="L'installation va commencer..." 
LNG_WAIT_END="Appuyez sur "Suivant" UNIQUEMENT quand l'installation du jeu sera terminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="A vous les extraterrestres à fragger!"

else
LNG_WAIT_WARNING="Try to play Serious Sam natively via the installer which is available there: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="Installation is going to begin..." 
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished or you will have to install again the game."
LNG_WAIT_HF="Happy fragging!"
fi 

POL_SetupWindow_message "$LNG_WAIT_WARNING"

POL_SetupWindow_message "$LNG_WAIT_START"

select_prefixe "$HOME/.PlayOnLinux/wineprefix/SeriousSam-SecondContact"
POL_SetupWindow_prefixcreate   


POL_SetupWindow_cdrom  
POL_SetupWindow_check_cdrom "Setup.exe"

wine d:Setup.exe 

POL_SetupWindow_message "$LNG_WAIT_END"

POL_SetupWindow_reboot 

POL_SetupWindow_make_shortcut "SeriousSam-SecondContact" "Program Files/Croteam/Serious Sam - Second Contact/Bin" "SeriousSam.exe" "SeriousSam-SecondContact.xpm" "SeriousSam-SecondContact"


POL_SetupWindow_message "$LNG_WAIT_HF" 

POL_SetupWindow_Close
exit


Tout fonctionne bien, il n'y a que le paramètre de langue qui ne marche pas. Il est vrai que je n'ai plus l'option pour changer la langue dans POL. Cela vient peut-être de ça. Pour info, c'est la version 3.0.1.

Edité par Toumeno

Toumeno Le Jeudi 5 Juin 2008 à 20:30 - [Citer]
Membre

Membre
J'ai fais la modif pour faire marcher la langue, dans les scripts de ton dernier post.

Est ce que tout marche correctement (install+lancement) ?
Puis je avoir quelques screenshots de l'installation et pendant le jeu (sous linux) ?

Merci
syberia303 Le Jeudi 5 Juin 2008 à 23:40 - [Citer]
Membre

Membre
Salut,
L'installation fonctionne parfaitement et le lancement du jeu ne me pose aucun problème. je change la résolution sans aucun souci.
Je vais te faire quelques screenshots que je t'enverrai assez rapidement.
Concrètement, tu as changé quoi pour que la langue soit bien prise en compte. J'ai jeté un oeil mais je dois dire que rien ne m'a sauté aux yeux .

Edit: Après avoir regardé de plus près, tu as changé "fr_FR.UTF-8" par "fr".

Edité par syberia303

Toumeno Le Vendredi 6 Juin 2008 à 18:49 - [Citer]
Membre

Membre

Citation:

Edit: Après avoir regardé de plus près, tu as changé "fr_FR.UTF-8" par "fr".


Tout a fait ;)

Edité par Toumeno

syberia303 Le Samedi 7 Juin 2008 à 14:19 - [Citer]
Membre

Membre
Salut,
J'ai pris des screenshots de l'installation et ingame pour les deux jeux. Ils ne vont pas tarder à être visibles .
++
Toumeno Le Lundi 9 Juin 2008 à 19:41 - [Citer]
Membre

Membre
syberia303, propose tes deux scripts.(via la page Les Scripts) Je vais les valider.

Merci pour les screenshots
syberia303 Le Lundi 9 Juin 2008 à 23:08 - [Citer]
Membre

Membre
Voilà c'est fait. Logiquement Tinou doit avoir reçu les deux icônes en 22x22.
De rien pour les screenshots .
syberia303 Le Vendredi 21 Janvier 2011 à 20:00 - [Citer]
Membre

Membre
Suite aux changements de versions de POL, j'ai mis à jour les scripts d'installation pour Serious Sam : First en Second Encounter.

Configuration de test: Debian Squeeze, noyau 2.6.32-5-686, drivers fglrx 10.9, alsa 1.0.23


First Encounter

#!/bin/bash
# date 2011-01-21
# Wine version used : 1.3.5 
# Distribution used to test : Debian Squeeze (Testing)
# Author : syberia303


#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0 
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

TITLE="Serious Sam : The First Encounter"
PREFIX="Serious Sam : The First Encounter"
WORKING_WINE_VERSION="1.3.5"
 

 
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_WARNING="Essayez de jouer en version native à Serious Sam via l'installeur\ndisponible à cette adresse: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="L'installation va commencer..." 
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du programme sera\nterminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="Are you serious?!" 
else
LNG_WAIT_WARNING="Try to play Serious Sam natively via the installer which is\navailable there: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="Installation is going to begin..." 
LNG_WAIT_END="Click on \"Next\" ONLY when the software installation is finished\nor you will have to install again the game."
LNG_WAIT_HF="Are you serious?!"
fi 
 
#Starting the script
POL_GetSetupImages "" "" "$TITLE"
POL_SetupWindow_InitWithImages
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "Croteam" "http://www.seriouszone.com/" "syberia303" "$PREFIX"

POL_SetupWindow_message "$LNG_WAIT_WARNING" "$TITLE"
 
POL_SetupWindow_message "$LNG_WAIT_START" "$TITLE"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"
  
 
#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

POL_SetupWindow_cdrom  
POL_SetupWindow_check_cdrom "Setup.exe"
wine start /unix "$CDROM/Setup.exe"
 
POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
 

POL_SetupWindow_auto_shortcut "$PREFIX" "SeriousSam.exe" "$PREFIX" "$TITLE.png" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_WAIT_HF" "$TITLE"
 
POL_SetupWindow_Close 
exit

Alors petit constat, j'ai un petit décalage entre le moment où je tire et le moment où j'entend la détonation. Je ne peux pas changer la résolution sinon j'ai un écran bardé de couleur dans le style n'importe quoi. Je soupçonne fortement les drivers ATI d'être responsables.


Second Encounter

#!/bin/bash
# date 2011-01-21
# Wine version used : 1.3.5 
# Distribution used to test : Debian Squeeze (Testing)
# Author : syberia303


#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0 
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

TITLE="Serious Sam : The Second Encounter"
PREFIX="Serious Sam : The Second Encounter"
WORKING_WINE_VERSION="1.3.5"
 

 
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_WARNING="Essayez de jouer en version native à Serious Sam via l'installeur\ndisponible à cette adresse: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="L'installation va commencer..." 
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du programme sera\nterminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="Are you serious?!" 
else
LNG_WAIT_WARNING="Try to play Serious Sam natively via the installer which is\navailable there: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="Installation is going to begin..." 
LNG_WAIT_END="Click on \"Next\" ONLY when the software installation is finished\nor you will have to install again the game."
LNG_WAIT_HF="Are you serious?!"
fi 
 
#Starting the script
POL_GetSetupImages "" "" "$TITLE"
POL_SetupWindow_InitWithImages
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "Croteam" "http://www.seriouszone.com/" "syberia303" "$PREFIX"

POL_SetupWindow_message "$LNG_WAIT_WARNING" "$TITLE"
 
POL_SetupWindow_message "$LNG_WAIT_START" "$TITLE"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"
  
 
#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

POL_SetupWindow_cdrom  
POL_SetupWindow_check_cdrom "Setup.exe"
wine start /unix "$CDROM/Setup.exe"
 
POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
 

POL_SetupWindow_auto_shortcut "$PREFIX" "SeriousSam.exe" "$PREFIX" "$TITLE.png" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_WAIT_HF" "$TITLE"
 
POL_SetupWindow_Close 
exit

Tout fonctionne bien sauf le même souci avec le son.
syberia303 Le Vendredi 21 Janvier 2011 à 20:34 - [Citer]
Membre

Membre
Je profite aussi de l'occasion pour rajouter la description.


First Encounter

Citation:

Français :

Dans les temps anciens, les Terriens combattaient les Siriens. À l'aube du XXIe siècle, les archéologues ont découvert des traces de la civilisation sirienne en Égypte et ont découvert des artefacts siriens. Mais au XXIIe siècle, Mental, de la planète Sirius, qui a pour projet d'envahir l'univers tout entier, envahit la Terre. Mental avait déjà envahi une bonne partie de la galaxie avec son armée diabolique de monstres venant de différentes planètes. Les Terriens ne purent les empêcher d'envahir la planète, toute armée terrienne avait été décimée. Un Humain cependant, résistait encore et toujours à l'envahisseur, la grande légende de la Terre, Sam "Serious" Stone alias Serious Sam. Les scientifiques ne virent qu'une façon de sauver la terre, utiliser un artefact sirien qui permettait de voyager dans le temps: "Le-verrou-du-temps". Il décidèrent d'envoyer Sam dans l'artefact pour aller au temps des siriens, la race de Mental, en Égypte, pour changer le cours du temps et éviter à l'humanité, l'anéantissement total.

Dans cette épisode dénommé Premier Contact, Sam cherche dans l'Égypte Antique (ancienne Égypte) un émetteur qui permet d'appeler le vaisseau spatial de Mental. Ainsi, Sam pourra rentrer dans le vaisseau, aller sur Sirius, trouver Mental et le tuer pour changer le cours du temps, faire en sorte que la Terre n'aie jamais été envahie.

(Source : http://fr.wikipedia.org/wiki/Serious_Sam_:_Premier_Contact)



English :

The First Encounter was the first game in the series; it had been in the making since 1996 and had a video showing its early game play in 2000. The First Encounter was originally developed by Croteam as a demonstrator for their engine and this is the reason why some countries saw its initial release priced at less than half the value of other games in the genre.

The game introduction reveals what happened before the game actually takes place: in ancient times, Earth was involved in a conflict between Mental and the Sirians, an alien race that left many of its artifacts to be found by humanity. In the 22nd century Mental's forces return to Earth hell-bent on eradicating humankind: as a last resort the usage of the "Time Lock" is decided: this Sirian device can send back through time a single individual who can, hopefully, defeat Mental and alter the course of history. Because of his bravery in fighting the monsters, Sam "Serious" Stone is chosen to use the "Time Lock". As the game opens, Sam appears in Ancient Egypt. He travels from one Egyptian monument to the next, all the way fighting against the monsters Mental sent after him, make up most of the story of The First Encounter. During his wandering, Sam is able to activate a hidden Sirian communicator, located in Luxor, that summons to Earth a starship from the depths of space. Sam goes to the Great Pyramid for a rendezvous with the ship and, after a titanic battle against Mental's general Ugh Zan III, he is whisked on-board the Sirian starship.

(Source : http://en.wikipedia.org/wiki/Serious_sam#Serious_Sam:_The_First_Encounter)


Miniature First Encounter
Icone 24 x 24
Icone 32 x 32
Image top
Image Left



Second Encounter


Citation:

Français :

Alors que Sam se dirigeait vers Sirius, Le vaisseau de Mental est abattu par le bus des programmeurs et Sam doit à nouveau combattre. Lorsque le vaisseau se fait abattre, il s'écrase en Amérique centrale, chez les Mayas. Sam part alors à la recherche d'un portail qui permettait de voyager dans le temps. Sam doit encore combattre les forces de Mental téléportées dans le temps pour le tuer. Sam voyage alors dans trois différentes époques. Sa dernière quête sera, en Pologne médiévale, de retrouver le Saint-Graal pour empêcher Mental de le voler.

(Source : http://fr.wikipedia.org/wiki/Serious_Sam:_The_Second_Encounter)



English :

The Second Encounter starts where the previous chapter left off, with Sam travelling to Sirius on the starship. Unfortunately Sam's vehicle is accidentally hit by the "Croteam crate-bus" and plummets down to Earth's surface. Serious Sam crash lands in Central America in the Mayan age. However not all is lost, since the Sirians left a back-up ship on Earth. Since this vehicle is located in a different age from the one Sam finds himself, the hero has to uncover the locations of a number of Sirian time-gates that will help him reach his destination. With this objective, Sam storms through Ancient Mesoamerica, then travels to Ancient Mesopotamia and finally to Medieval Europe where the starship is located. On his way, Sam battles two of Mental's timelock guardians: the spirit named Kukulkan the Wind God and a biomechanical creature, the Exotech Larva. Finally, in front of the Cathedral of Sacred Blood, Sam confronts Mordekai The Summoner, the last obstacle to overcome on his path to the Holy Grail. After a time-consuming battle with Mordekai's minions, The Summoner is finally silenced forever. In the cathedral, Sam lifts the Holy Grail, followed by his confession of his sins in a booth... to Mental, during which he reassures Mental that "he's coming to get him."

Other than the more varied locations, The Second Encounter features some additional weapons—a chainsaw, a flamethrower, a sniper rifle, and the powerful Serious Bomb—and a number of new monsters that Sam has to face. This game has also seen the release of a level-pack titled Dark Island, featuring fan-made levels for single and multiplayer mode.

The Second Encounter soundtrack featured three instrumental songs from the Croatian heavy-metal band Undercode.

(Source : http://en.wikipedia.org/wiki/Serious_sam#Serious_Sam:_The_Second_Encounter)




Miniature Second Encounter
Icone 24 x 24
Icone 32 x 32
Image top Second Encounter
Image left Second Encounter

Edité par syberia303

SuperPlumus Le Samedi 22 Janvier 2011 à 14:09 - [Citer]
Admin

Admin
Bonjour,

Merci pour les mises à jour, et les descriptions.

J'ai mis à jour les 2 scripts Serious Sam.
J'ai modifiés tes scripts afin d'inclure la version Digital Download, j'ai également corrigé quelques petites choses.

Je n'ai pas inclus les images top et left des 2 scripts, car elles sont trop déformées, Merci de donner des images top et left qui ne sont pas déformées lors du redimensionnement.

Edité par SuperPlumus

syberia303 Le Samedi 22 Janvier 2011 à 18:04 - [Citer]
Membre

Membre
Merci pour la mise à jour des scripts. Vu les dimensions demandées pour les images top et left, ça donne parfois des images déformées ;).
Vous êtes ici: Index > Vos créations > Serious Sam
Il n'y a rien à voir ici