Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: guild wars on wine

  1. #11
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: guild wars on wine

    Code:
    #!/bin/sh
    #uncomment if launching from console session
    #sudo /etc/init.d/gdm stop
    #KDE use this instead
    #sudo /etc/init.d/kdm stop
    
    # Goto game dir (modify as needed)
    cd "$HOME/.wine/drive_c/Program Files/Guild Wars/Gw.exe"
    
    # Forces the system to have a break for 2 seconds, X doesn't launch
    instantly
    sleep 2
    
    # Launches game (modify as needed)
    DISPLAY=:3 WINEDEBUG=-all wine "C:/Program Files/Guild Wars/Gw.exe"
    is that all correct?

  2. #12
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: guild wars on wine

    Yup, that's what it was. The "Goto game directory" section shouldn't have the .exe in the path. It should be like this:
    Code:
    #!/bin/sh
    #uncomment if launching from console session
    #sudo /etc/init.d/gdm stop
    #KDE use this instead
    #sudo /etc/init.d/kdm stop
    
    # Goto game dir (modify as needed)
    cd "$HOME/.wine/drive_c/Program Files/Guild Wars/"
    
    # Forces the system to have a break for 2 seconds, X doesn't launch
    instantly
    sleep 2
    
    # Launches game (modify as needed)
    DISPLAY=:3 WINEDEBUG=-all wine "C:/Program Files/Guild Wars/Gw.exe"

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  3. #13
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: guild wars on wine

    it still doesnt say any thing when i type
    Code:
    chmod +x ~/launcher.sh
    and then i use
    Code:
    ./ launcher.sh
    and it says
    Code:
    bash: ./: is a directory
    so then i try to do this
    Code:
    sh launcher.sh
    and it does a lot of things mostly a lot of waiting though...
    man i hope i can get this to work!

    i have been looking over your wine thing and i think that making the games own x server but will it fix the problem i have now?
    Last edited by taehC; August 10th, 2007 at 06:03 PM.

  4. #14
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: guild wars on wine

    Can't believe I missed this, but you are missing the very first line that creates the new X session for the game to run in. The full script should be like this:
    Code:
    #!/bin/sh
    #uncomment if launching from console session
    #sudo /etc/init.d/gdm stop
    #KDE use this instead
    #sudo /etc/init.d/kdm stop
    
    # Launches a new X session on display 3. If you don't have an Nvidia card
    # take out the "& nvidia-settings --load-config-only" part
    X :3 -ac 
    
    # Goto game dir (modify as needed)
    cd "$HOME/.wine/drive_c/Program Files/Guild Wars/"
    
    # Forces the system to have a break for 2 seconds, X doesn't launch
    instantly
    sleep 2
    
    # Launches game (modify as needed)
    DISPLAY=:3 WINEDEBUG=-all wine "C:/Program Files/Guild Wars/Gw.exe"
    I'm assuming you don't have an Nvidia card, so I left the Nvidia settings part off.

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  5. #15
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: guild wars on wine

    SO CLOSE

    now what happens is when i run it it has a gray screen and a X for a mouse
    but thats it...

  6. #16
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: guild wars on wine

    You should get that at first and then the game should launch after a few seconds. If it doesn't, are there any error messages showing up in the terminal?

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  7. #17
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: guild wars on wine

    i waited about a minute and still nothing and after i press ctrl alt backspace it does have anything on the terminal
    should i try the alternative way to make it work?

    OH AND I FORGOT TO MENTION that i have xgl running i dont have beryl on at the moment but if xgl is on should that change anything? should i turn it off?

  8. #18
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: guild wars on wine

    Are you certain that the Guild Wars executable is actually "Gw.exe" (i.e. could it be all uppercase letters or lowercase letters)?

    Linux User #355330 | Ubuntu User #15618 | Last.FM

  9. #19
    Join Date
    Apr 2007
    Beans
    138
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: guild wars on wine

    yes i am sure and
    does me running xgl matter?
    i dont have beryl running but i am in a xgl session

  10. #20
    Join Date
    Oct 2005
    Location
    U.S.A.
    Beans
    4,164
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: guild wars on wine

    Nope, that shouldn't matter at all.

    Try this script, I know it looks the same, but I removed a line break where it shouldn't have been:
    Code:
    #!/bin/sh
    #uncomment if launching from console session
    #sudo /etc/init.d/gdm stop
    #KDE use this instead
    #sudo /etc/init.d/kdm stop
    
    # Launches a new X session on display 3. If you don't have an Nvidia card
    # take out the "& nvidia-settings --load-config-only" part
    X :3 -ac 
    
    # Goto game dir (modify as needed)
    cd "$HOME/.wine/drive_c/Program Files/Guild Wars/"
    
    # Forces the system to have a break for 2 seconds, X doesn't launch instantly
    sleep 2
    
    # Launches game (modify as needed)
    DISPLAY=:3 WINEDEBUG=-all wine "C:/Program Files/Guild Wars/Gw.exe"

    Linux User #355330 | Ubuntu User #15618 | Last.FM

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •