Ragnarok Online

Informations

Créateur Messages
Xafic Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 45807
Wine: System

Retours d'expérience

Description

MMO RPG (2002, still up in 2020). Wikipedia.

A scripter wrote (2015 ?): "It seems that we should add vcrun6, vcrun 2008 and directx9"

Appdb.winehq.org (tests reports), PCGamingWiki.

Code source

#!/bin/bash
# Date : (2009-06-17 14-00)
# Last revision : (2009-06-17 14-00)
# Wine version used : N/A 
# Distribution used to test : N/A
# Author : NSLW

#Translated from V2 to V3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources" 

#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}

TITLE="Ragnarok Online"
PREFIX="RagnarokOnline"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Gravity Corp. et Lee Myoungjin" "http://www.ragnarokonline.fr" "Xafic and NSLW" "$PREFIX"  

POL_SetupWindow_question "Do you have got $TITLE installation file?" "$TITLE"
if [ "$APP_ANSWER" == "TRUE" ] ;then
POL_SetupWindow_browse "Select RagnarokOnline installation file" "$TITLE" ""
ROINSTALLATIONFILE="$APP_ANSWER"
else

cd "$REPERTOIRE/ressources/"
if [ ! -e "RagnarokOnline_11.2a.exe" ]; then
POL_SetupWindow_download "Veuillez patienter pendant le téléchargement du client de Ragnarok..." "$TITLE" "http://www.ragnarokexperience.com/RagnarokOnline_11.2a.exe"
fi
ROINSTALLATIONFILE="RagnarokOnline_11.2a.exe"
fi

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate

cd "$REPERTOIRE/ressources/"
POL_SetupWindow_wait_next_signal "Patientez pendant l'extraction de Ragnarok Online" "$TITLE"
wine "$ROINSTALLATIONFILE"
POL_SetupWindow_detect_exit

POL_Shortcut "Ragnarok.exe" "$TITLE"
POL_SetupWindow_reboot

POL_SetupWindow_message "Installation terminée" "$TITLE"
POL_SetupWindow_Close
exit

#Presentation
#presentation "Ragnarok Online" "Gravity Corp. et Lee Myoungjin" "http://www.ragnarokonline.fr" "Xafic" "RagnarokOnline"
 
#Cette partie contiendra le code du jeu.
#mkdir -p $REPERTOIRE/wineprefix/RagnarokOnline
#rm $REPERTOIRE/tmp/RagnarokOnline/ -R
#mkdir -p $REPERTOIRE/tmp/RagnarokOnline
#cd $REPERTOIRE/tmp/RagnarokOnline
#telecharger "Veuillez patienter pendant le téléchargement du client de Ragnarok..." "http://www.ragnarokonline.fr/FR_OB/download/Client/InstallRagnarok.exe"
#message "Téléchargement terminé. nAppuyez sur entrer, puis patientez le temps de préparer l'installation"
#select_prefixe "$HOME/.PlayOnLinux/wineprefix/RagnarokOnline/"
#creer_prefixe
#attendre "Patientez pendant l'extraction de Ragnarok Online"
#wine ./InstallRagnarok.exe
#Fin du code du jeu
#simuler_reboot
#Création du lanceur
#creer_lanceur "RagnarokOnline" "Program Files/Gravity/Ragnarok_france/" "Ragnarok.exe"
#rm $REPERTOIRE/tmp/RagnarokOnline/ -R
 
#message "Installation terminée"
#exit

Contributions

Filters:

Contribuer
Membre Messages
pLesur Mercredi 15 Mars 2017 à 7:21
pLesur Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Ok so depending on the RO client you'll use the location of the exe will be different.

 

Using POL_Shortcut, it is possible to simply give the name of the executable (POL then searches a file with the same name).

I don't know if it's possible to do the same with the older function (POL_Setupwindow_make_shortcut) for the simple reason that the idiots at POL removed the doc on the deprecated API.

If you run on POL < 4.2 you will probably just need to change the path of the script ("$PROGRAMFILES/Gravity/RagnarokOnline") to the right one.

The game still doesn't run for me. but at least I got past the launcher.

Differences

@@ -40,7 +40,7 @@
 wine "$ROINSTALLATIONFILE"
 POL_SetupWindow_detect_exit
 
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Gravity/RagnarokOnline" "Ragnarok.exe" "" "$TITLE" "" ""
+POL_Shortcut "Ragnarok.exe" "$TITLE"
 POL_SetupWindow_reboot
 
 POL_SetupWindow_message "Installation terminée" "$TITLE"

Nouveau code source

#!/bin/bash
# Date : (2009-06-17 14-00)
# Last revision : (2009-06-17 14-00)
# Wine version used : N/A 
# Distribution used to test : N/A
# Author : NSLW

#Translated from V2 to V3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources" 

#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}

TITLE="Ragnarok Online"
PREFIX="RagnarokOnline"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Gravity Corp. et Lee Myoungjin" "http://www.ragnarokonline.fr" "Xafic and NSLW" "$PREFIX"  

POL_SetupWindow_question "Do you have got $TITLE installation file?" "$TITLE"
if [ "$APP_ANSWER" == "TRUE" ] ;then
POL_SetupWindow_browse "Select RagnarokOnline installation file" "$TITLE" ""
ROINSTALLATIONFILE="$APP_ANSWER"
else

cd "$REPERTOIRE/ressources/"
if [ ! -e "RagnarokOnline_11.2a.exe" ]; then
POL_SetupWindow_download "Veuillez patienter pendant le téléchargement du client de Ragnarok..." "$TITLE" "http://www.ragnarokexperience.com/RagnarokOnline_11.2a.exe"
fi
ROINSTALLATIONFILE="RagnarokOnline_11.2a.exe"
fi

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate

cd "$REPERTOIRE/ressources/"
POL_SetupWindow_wait_next_signal "Patientez pendant l'extraction de Ragnarok Online" "$TITLE"
wine "$ROINSTALLATIONFILE"
POL_SetupWindow_detect_exit

POL_Shortcut "Ragnarok.exe" "$TITLE"
POL_SetupWindow_reboot

POL_SetupWindow_message "Installation terminée" "$TITLE"
POL_SetupWindow_Close
exit

#Presentation
#presentation "Ragnarok Online" "Gravity Corp. et Lee Myoungjin" "http://www.ragnarokonline.fr" "Xafic" "RagnarokOnline"
 
#Cette partie contiendra le code du jeu.
#mkdir -p $REPERTOIRE/wineprefix/RagnarokOnline
#rm $REPERTOIRE/tmp/RagnarokOnline/ -R
#mkdir -p $REPERTOIRE/tmp/RagnarokOnline
#cd $REPERTOIRE/tmp/RagnarokOnline
#telecharger "Veuillez patienter pendant le téléchargement du client de Ragnarok..." "http://www.ragnarokonline.fr/FR_OB/download/Client/InstallRagnarok.exe"
#message "Téléchargement terminé. nAppuyez sur entrer, puis patientez le temps de préparer l'installation"
#select_prefixe "$HOME/.PlayOnLinux/wineprefix/RagnarokOnline/"
#creer_prefixe
#attendre "Patientez pendant l'extraction de Ragnarok Online"
#wine ./InstallRagnarok.exe
#Fin du code du jeu
#simuler_reboot
#Création du lanceur
#creer_lanceur "RagnarokOnline" "Program Files/Gravity/Ragnarok_france/" "Ragnarok.exe"
#rm $REPERTOIRE/tmp/RagnarokOnline/ -R
 
#message "Installation terminée"
#exit

Réponses

BiTSHiFT Vendredi 11 Mars 2016 à 14:54
BiTSHiFT Anonymous

Messages

Tried running it with the newest ragnarok version from http://www.ragnarokeurope.com/.

But it looks like when running the game, wine searches Ragnarok.exe in the wrong directory. See the debug output:

[03/11/16 14:36:25] - Running wine- --version (Working directory : /usr/share/playonlinux/python)
wine-1.6.2

PlayOnLinux logfile
-------------------
Date: 03/11/16 14:36:25

> PlayOnLinux Version
  4.2.2
> uname -a
  Linux btshft-xmg 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.6.2
> POL_WINEVERSION
  
> WINEPREFIX
  /home/bitshift/.PlayOnLinux//wineprefix/RagnarokOnline
> Distribution
  Linux Mint 17.3 Rosa
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
      GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
> OpenGL libs (Direct rendering testing)
  
  

[03/11/16 14:36:26] - This is a 32bits prefix!
[03/11/16 14:36:29] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /usr/share/playonlinux/python)
C:\Program Files
[03/11/16 14:39:34] - Running wine- Ragnarok.exe (Working directory : /home/bitshift/.PlayOnLinux/shortcuts)
wine: cannot find L"C:\\windows\\system32\\Ragnarok.exe"

Réponses

Mercredi 30 Novembre 2016 à 14:50
I can confirm the issue.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com