DriverPT |
Dimanche 17 Mars 2013 à 17:53
|
DriverPT
|
Hello,
I've tried creating an install Script for Street Wars: Constructor. I know the installer is kinda weird, contributions are welcome :P.
For now here's my work:
[code language=playonlinux]###################################################################### #!/bin/bash # Date : (2013-03-17 14:00) # Last revision : (2013-03-17 14:00) # Wine version used : 1.5.22 # Distribution used to test : Ubuntu 12.04 LTS x64 # Author : driverpt # Licence : Retail # Only For : http://www.playonmac.com [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources"
TITLE="Street Wars: Constructor" WINEVERSION="1.5.25" EDITOR="Studio 3" EDITOR_URL="" PREFIX="StreetWars"
POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX"
# Create and setup wine prefix POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_System_SetArch "x86" Set_OS "win98" if [ "$POL_SELECTED_FILE" ]; then SetupIs="$POL_SELECTED_FILE" else POL_SetupWindow_InstallMethod "CD" if [ "$INSTALL_METHOD" = "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "SETUP.exe" SetupIs="$CDROM/SETUP.exe" fi # TODO: Add GOG Version here (named Mob Rule) fi POL_Wine start /unix "$SetupIs" POL_Wine_WaitExit "$TITLE"
POL_Shortcut "SW.exe" "$TITLE"
POL_SetupWindow_Close exit 0 ######################################################################[/code] Edité par petch
|
petch |
Dimanche 17 Mars 2013 à 20:50
|
petch
|
Hi, Are you using Chrome? Your script was all mangled, I had to edit your post to make it readable. Well, not much to say about this script, simple and clean. Using POL_SetupWindow_InstallMethod with just one method is a bit strange though, sort of like an election in North Corea :D
|
Ronin DUSETTE |
Lundi 18 Mars 2013 à 17:07
|
Ronin DUSETTE
|
sort of like an election in North Corea hahahaha. nice one.
|
DriverPT |
Dimanche 7 Avril 2013 à 17:04
|
DriverPT
|
Hi, Are you using Chrome? Your script was all mangled, I had to edit your post to make it readable. Well, not much to say about this script, simple and clean. Using POL_SetupWindow_InstallMethod with just one method is a bit strange though, sort of like an election in North Corea :D
Hello, sorry for the late late response. Yeah, i'm using Chrome. I know, i tried submitting of every possible way and the script kept all mangled, so i gave up... :(.
Sorry if my script is a bit "newbish". Only reason i have the Install Method with only one option, is to support the GOG.com version of Street Wars/Mob Rule, which i haven't yet purchased. But as soon as i purchase, i'll add it to the script.
PS.: Like the North Corea quote :P
Cheers
|
steve723 |
Mercredi 31 Juillet 2013 à 19:51
|
steve723
|
Actually North Korea is spelled with the letter k. Same for our friends in South Korea. Its the Korean language just like in spanish Jesus is spelled hesus. Great joke though. :)
|
Ronin DUSETTE |
Mercredi 31 Juillet 2013 à 20:05
|
Ronin DUSETTE
|
Hello, sorry for the late late response.Yeah, i'm using Chrome. I know, i tried submitting of every possible way and the script kept all mangled, so i gave up... :(.Cheers
I just use firefox whenever I am on this site. It doesnt (usually) do that formatting thing. Chrome does it all of the time.
|
steve723 |
Mercredi 31 Juillet 2013 à 20:47
|
steve723
|
Lets see, I hate IE, don't like Safari, don't like Google Chrome and use Firefox except when I am checking out other web browsers. I forgot, I think Rekonq is to basic.
|
Ronin DUSETTE |
Mercredi 31 Juillet 2013 à 20:55
|
Ronin DUSETTE
|
I use chrome out of habit and it keeps all of my stuff nice and tidy between my systems, but other than that, Ill only use FF unless forced to use IE by my job.
|