Results 1 to 4 of 4

Thread: SimCity3000, Loki_Compat, audio works even though crash to desktop

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Beans
    6
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Question SimCity3000, Loki_Compat, audio works even though crash to desktop

    Wow, so I've spent the past 5 hours today, and about an hour and a half each of the past two days, trying to get SimCity 3000 Unlimited to work. It doesn't. I've scoured various forums, tried different things, but still, nothing. The farthest I've gotten is just now when I followed instructions from this gentoo-wiki which called for running sc3u with old libraries. But then I read this, which suggested the use of a different set of libs, so I followed the aforementioned wiki, substituting the libs of the latter link. So I ran:
    Code:
     LD_LIBRARY_PATH=/usr/local/games/SC3U/Loki_Compat/ /usr/local/games/SC3U/Loki_Compat/ld-linux.so.2 /usr/local/games/SC3U/sc3u
    But I had a musicplayer running, so all I got was the following error message:
    Code:
    open /dev/dsp: Device or resource busy
    X Error:  BadMatch
      Request Major code 141 (XVideo)
      Request Minor code 19 ()
      Error Serial #19
      Current Serial #20
    I killed the musicplayer and tried running it again. My screen went black, as though the game were starting up, my mouse cursor changed from small and white to big and black, I got excited, music was playing, but then the video crashed. The music, however, kept on playing. I got the following error message:
    Code:
    fcntl: Operation not permitted
    fcntl: Operation not permitted
    X Error:  BadMatch
      Request Major code 141 (XVideo)
      Request Minor code 19 ()
      Error Serial #19
      Current Serial #20
    Now, when I get this error, the music keeps playing, and my term acts as though the program's running - which is to say, the cursor blinks on a blank line, without the usual username@computername: prefix.

    I don't know what to do. Any help would be greatly appreciated.

  2. #2
    Join Date
    Oct 2007
    Beans
    15
    Distro
    Hardy Heron (Ubuntu Development)

    Re: SimCity3000, Loki_Compat, audio works even though crash to desktop

    I have EXACTLY the same problem. I'm willing to try anything if someone has a sugestion. Several people have sugested that I look for a config file to change the video settings but I am at a loss.

    My error was the same except the "Error Serial" was "#20" and the "Current Serial" was "#21"
    Last edited by aschaetter; October 3rd, 2007 at 04:43 AM.

  3. #3
    Join Date
    Mar 2007
    Location
    Montréal
    Beans
    298
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: SimCity3000, Loki_Compat, audio works even though crash to desktop

    Same problem here,linux mint 4.0
    You can't just hope-you have to go out there and make things happen.
    My blog and Flash Games!

  4. #4
    Join Date
    Sep 2006
    Beans
    9
    Distro
    Ubuntu 6.06

    Re: SimCity3000, Loki_Compat, audio works even though crash to desktop

    ehhh
    1. Install without videos or delete videos from game dir
    2. My launcher
    Code:
    #!/bin/bash
    ###############################################################################
    #
    ## Thx to LIFLG and LOKI
    #
    # Skoruppa
    #
    ###############################################################################
    
    
    # readlink replacement for older bash versions
    readlink() {
    	local path=$1 ll
    
    	if [ -L "${path}" ]; then
    		ll="$(LC_ALL=C ls -l "${path}" 2> /dev/null)" &&
    		echo "${ll/* -> }"
    	else
    		return 1
    	fi
    }
    
    
    SCRIPT="$0"
    COUNT=0
    while [ -L "${SCRIPT}" ]
    do
    	SCRIPT=$(readlink ${SCRIPT})
    	COUNT=$(expr ${COUNT} + 1)
    	if [ ${COUNT} -gt 100 ]
    	then
    		echo "Too many symbolic links"
    		exit 1
    	fi
    done
    GAMEDIR=$(dirname ${SCRIPT})
    LOKI=${GAMEDIR}/Loki_Compat
    cd ${GAMEDIR}
    
    export LD_LIBRARY_PATH=$LOKI
    if [ $@ = -pl ]; then
    LANG=pl
    LD_ASSUME_KERNEL=2.4.26 $LOKI/ld-linux.so.2 ./sc3u
    elif [ $@ = -wpl ]; then
    LANG=pl
    LD_ASSUME_KERNEL=2.4.26 $LOKI/ld-linux.so.2 ./sc3u -w
    elif [ $@ = -w ]; then
    LANG=english
    LD_ASSUME_KERNEL=2.4.26 $LOKI/ld-linux.so.2 ./sc3u -w
    else
    LANG=english
    LD_ASSUME_KERNEL=2.4.26 $LOKI/ld-linux.so.2 ./sc3u
    fi
    -pl to run game in polish ;>
    -w for window mode

    And this is all

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
  •