RomCenter

Informations

Créateur Messages
RobLoach

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4559
Wine: 1.7.34

Retours d'expérience

Description

RomCenter is a rom manager, a program with which you can manage collections of games supported by an emulator. Its purpose is to give you the ability to:

  • View all games supported by an emulator plus all the games you have in your collection for it
  • Fix missing or bad-named games and roms in your collection (this will be analyzed later on) so they can be playable by the emulator

 

Code source

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

# Configuration
TITLE="RomCenter"
WEBSITE="http://www.romcenter.com"
DEVELOPER="Eric Bole-Feysot"
AUTHOR="Rob Loach"
PREFIX="romcenter"
WINE_VERSION="1.7.34"
DOWNLOAD="http://www.romcenter.com/download/rc_3_7_1.exe"
DOWNLOAD_MD5="9f15807707bd0895d46290e526cdb308"
DOWNLOAD_SETUP="rc_3_7_1.exe"
SHORTCUT="romcenter.exe"

# Start up PlayOnLinux
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "$DEVELOPER" "$WEBSITE" "$AUTHOR" "$PREFIX"

# Create the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINE_VERSION"

# Select the installation method
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  # Select and run the file
  POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine start /unix "$APP_ANSWER"
  POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
  # Create a temporary directory
  POL_System_TmpCreate "$PREFIX"
  cd "$POL_System_TmpDir"

  # Download the program
  POL_Download "$DOWNLOAD" "$DOWNLOAD_MD5"
  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"

  # Run the setup
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine start /unix "$POL_System_TmpDir/$DOWNLOAD_SETUP"
  POL_Wine_WaitExit "$TITLE"
  POL_System_TmpDelete
fi

# Create the Shortcut to the program
POL_Shortcut "$SHORTCUT" "$TITLE"

POL_SetupWindow_Close
exit1

Contributions

Filters:

Contribuer
Membre Messages
RobLoach Dimanche 18 Janvier 2015 à 15:41
RobLoach

Information

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

Differences

@@ -0,0 +1,57 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+# Configuration
+TITLE="RomCenter"
+WEBSITE="http://www.romcenter.com"
+DEVELOPER="Eric Bole-Feysot"
+AUTHOR="Rob Loach"
+PREFIX="romcenter"
+WINE_VERSION="1.7.34"
+DOWNLOAD="http://www.romcenter.com/download/rc_3_7_1.exe"
+DOWNLOAD_MD5="9f15807707bd0895d46290e526cdb308"
+DOWNLOAD_SETUP="rc_3_7_1.exe"
+SHORTCUT="romcenter.exe"
+
+# Start up PlayOnLinux
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "$TITLE" "$DEVELOPER" "$WEBSITE" "$AUTHOR" "$PREFIX"
+
+# Create the Wine Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+# Select the installation method
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+  # Select and run the file
+  POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine start /unix "$APP_ANSWER"
+  POL_Wine_WaitExit "$TITLE"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+  # Create a temporary directory
+  POL_System_TmpCreate "$PREFIX"
+  cd "$POL_System_TmpDir"
+
+  # Download the program
+  POL_Download "$DOWNLOAD" "$DOWNLOAD_MD5"
+  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
+
+  # Run the setup
+  POL_Wine_WaitBefore "$TITLE"
+  POL_Wine start /unix "$POL_System_TmpDir/$DOWNLOAD_SETUP"
+  POL_Wine_WaitExit "$TITLE"
+  POL_System_TmpDelete
+fi
+
+# Create the Shortcut to the program
+POL_Shortcut "$SHORTCUT" "$TITLE"
+
+POL_SetupWindow_Close
+exit1

Nouveau code source

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

# Configuration
TITLE="RomCenter"
WEBSITE="http://www.romcenter.com"
DEVELOPER="Eric Bole-Feysot"
AUTHOR="Rob Loach"
PREFIX="romcenter"
WINE_VERSION="1.7.34"
DOWNLOAD="http://www.romcenter.com/download/rc_3_7_1.exe"
DOWNLOAD_MD5="9f15807707bd0895d46290e526cdb308"
DOWNLOAD_SETUP="rc_3_7_1.exe"
SHORTCUT="romcenter.exe"

# Start up PlayOnLinux
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "$DEVELOPER" "$WEBSITE" "$AUTHOR" "$PREFIX"

# Create the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINE_VERSION"

# Select the installation method
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  # Select and run the file
  POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine start /unix "$APP_ANSWER"
  POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
  # Create a temporary directory
  POL_System_TmpCreate "$PREFIX"
  cd "$POL_System_TmpDir"

  # Download the program
  POL_Download "$DOWNLOAD" "$DOWNLOAD_MD5"
  POL_SetupWindow_wait "Installation in progress." "$TITLE installation"

  # Run the setup
  POL_Wine_WaitBefore "$TITLE"
  POL_Wine start /unix "$POL_System_TmpDir/$DOWNLOAD_SETUP"
  POL_Wine_WaitExit "$TITLE"
  POL_System_TmpDelete
fi

# Create the Shortcut to the program
POL_Shortcut "$SHORTCUT" "$TITLE"

POL_SetupWindow_Close
exit1

Réponses

Vendredi 3 Janvier 2020 à 0:57
Script approved.