Linux port

Status
Not open for further replies.
It wasn't a joke. Please escort yourself to the nearest incinerator, and save yourself the trouble of the rest of your life. Thanks.
 
6. Does your son use Quake?

Quake is an online virtual reality used by hackers. It is a popular meeting place and training ground, where they discuss hacking and train in the use of various firearms. Many hackers develop anti-social tendencies due to the use of this virtual world, and it may cause erratic behaviour at home and at school.

If your son is using Quake, you should make hime understand that this is not acceptable to you. You should ensure all the firearms in your house are carefully locked away, and have trigger locks installed. You should also bring your concerns to the attention of his school.
This is the most awkward thing I've seen on the internet... Of all time.
 
Ironically, this guy also talks as if girls never use a computer. Nope! Female secretaries are absolute blasphemy!
 
mikesword221 said:
6. Does your son use Quake?

Quake is an online virtual reality used by hackers. It is a popular meeting place and training ground, where they discuss hacking and train in the use of various firearms. Many hackers develop anti-social tendencies due to the use of this virtual world, and it may cause erratic behaviour at home and at school.

If your son is using Quake, you should make hime understand that this is not acceptable to you. You should ensure all the firearms in your house are carefully locked away, and have trigger locks installed. You should also bring your concerns to the attention of his school.
This is the most awkward thing I've seen on the internet... Of all time.

That's right, people. Your son may be learning how to use many various firearms, such as:
1. The Nailgun
2. The Chaingun
3. The Rocket Launcher
4. The Lightning Gun

It's obvious that this game is made of pure evil, and its amazing 3D graphics are the work of the devil.
 
Woww... Have not checked back to this thread in a while, I just ran srb2 in opengl in wine. Runs great.
Sonic adventure 1 runs great too. (For anyone whoever tries this, install winedoors and install windows media player 9)
So does sonic heroes(not that I play this)

BTW, I've seen that article, it's obviously a joke. Or a very misinformed dolt. Btw, I lol'd on the telnet section.
 
I've tried SADX on WINE too and it worked,(without WINE Doors) but the camera wouldn't stop rotating, so I couldn't actually play it, DAH! I installed the Sonic Heroes demo too, and the frame rate wasn't totally unbearable, but it wasn't actually playable either...
But how did you get WINE to run SRB2 in OpenGL? Every time I try to make a launcher, SRB2 complains srb2.srb is missing in Drive Z or whatever. D:
Anyway, I've tried playing a net game through WINE, and it worked great, even when downloading WADs from a server. :) Although I think WINE screwed up file association on Ubuntu, so I'm having problems getting the Linux binaries Cue posted to run. I might have to reinstall it. >_<
 
Dr.Pepper said:
I've tried SADX on WINE too and it worked,(without WINE Doors) but the camera wouldn't stop rotating, so I couldn't actually play it, DAH! I installed the Sonic Heroes demo too, and the frame rate wasn't totally unbearable, but it wasn't actually playable either...
But how did you get WINE to run SRB2 in OpenGL? Every time I try to make a launcher, SRB2 complains srb2.srb is missing in Drive Z or whatever. D:
Anyway, I've tried playing a net game through WINE, and it worked great, even when downloading WADs from a server. :) Although I think WINE screwed up file association on Ubuntu, so I'm having problems getting the Linux binaries Cue posted to run. I might have to reinstall it. >_<

I used winedoors for windows media player 9, because without it I can't hear all the lovely music. To get open gl running, I had a shortcut in windows that ran srb2 in opengl, I double clicked it and it worked. File associations messed up? I didn't try it, I'll look at it later. About sonic heroes, my laptop has a t8100 c2d @ 2.1 ghz and a 8400mgs and 4 gigs of ram, and it's 13 inches. Sonic heroes felt like it was a bit in slow motion, I put it to 30 fps in the options and it ran fast, by fast I mean it was running tooo fast. Still playable however.

Also I only get misisng file errors in wine when I create shortcuts to a windows executable. It wants files in my Y: directory when it's running from my C: directory. I don't really get it, but I just copy the files form C: to Y: and it works. Kinda weird but whatever.

EDIT I looked at the linux srb2 in windows, and it has no extension? Maybe I'm not looking at it right, it's late.
 
JigglyWiggly said:
To get open gl running, I had a shortcut in windows that ran srb2 in opengl, I double clicked it and it worked.
Why didn't I think of doing that before? :P I need to try that.
JigglyWiggly said:
About sonic heroes, my laptop has a t8100 c2d @ 2.1 ghz and a 8400mgs and 4 gigs of ram, and it's 13 inches. Sonic heroes felt like it was a bit in slow motion, I put it to 30 fps in the options and it ran fast, by fast I mean it was running tooo fast. Still playable however.
It can actually be playable? Man I need to get a faster Graphics card. :P
On my Ubuntu install, I had set it to 15 FPS, minimal clipping/viewing distance, no fog, no filtering, etc, and it still ran at half the speed it should have on a Windows install. I think there was a tweak for WINE somewhere on the WineHQ that would improve the speed in SH, but I'm too lazy to bother right now. :P
JigglyWiggly said:
Also I only get misisng file errors in wine when I create shortcuts to a windows executable. It wants files in my Y: directory when it's running from my C: directory. I don't really get it, but I just copy the files form C: to Y: and it works. Kinda weird but whatever.
I guess I'll have to try extracting SRB2 to Drive Z: then. Maybe that's why HALO PC was complaining about a missing configuration file in Drive Z: as well?
JigglyWiggly said:
File associations messed up? I didn't try it, I'll look at it later.
I installed WINE in Ubuntu using GUI means, instead of using the command line like I had done on the Wubi install I dumped. Ever since then, the file association for any executable(Even Linux ones) was linked to WINE, dunno why. The binaries worked on my old Wubi install, can't figure out why they're not working in a real Ubuntu installation. I hate having to use WINE for something that already has a Linux equivalent...
 
Its saying that because it thinks the file is going to be on your desktop

1) to fix it open a terminal and type (or copy) this in:

cd "/home/$USER/.wine/drive_c/windows/system32"

2) now this

wine "cmd.exe"

3) something like this should show up:

CMD Version 1.1.12

C:\windows\system32>

4) go to your home folder, make sure you dont close out of that terminal
5) now go to your drive_c directory (click the address bar and type this in):


"/home/<Username>/.wine/drive_c"

6) make a new folder and name it SRB2
8) put all of your srb2 files in there
9) go back to your terminal and type this:


PUSHD C:\SRB2

10) type this (put whatever options you want at the end like -file <filename> or -opengl)

srb2win.exe <options>

11) If everything was done correctly, it will run.

This is an emulated windows cmd prompt, so you can execute windows batch files (.bat) with it.


Hope this helps :)
 
I'll have to remember that if I want SRB2 in my Programs folder instead of Home, all of the files are cluttering it up, thanks. :P

Also, I did forget to mention that I recently got OpenGL AND the SRB2Net launcher working. :) For some reason when I created a Gnome Launcher, SRB2 was looking for the srb2.srb in my home folder instead of the one I put it in. I placed all of the configuration files and a copy of the srb in my Home, and now the launcher with the -opengl command works.
Getting the SRB2Net launcher running was easy, I just needed to install the VB6 components. Using the Net Launcher is much easier, because I don't need to leave copies of the srb2.srb and configuration files/saves in my Home folder.

Now if I can just get the Linux port working. :P
 
Actually, i just found an even easier way to do it, take the stuff below copy it into a text file, save it (for a name use something like SRB2Launcher) and change the properties so you can execute it and you're done (just remember to throw the srb2 files in the directory at the bottom)

Code:
#!/bin/bash

# srb2 Shell Launcher script

# Versions
echo "what version of srb2 do you want to run?"
echo "*********************************"
echo "type win for 1.09.4"
echo "type JTE for jte"
echo "type live-adv for Live"
read ver
clear
# Renderers
echo "choose one renderer:"
echo "*********************************"
echo "-opengl for opengl rendering"
echo "-D3D for Direct3D rendering" 
echo "-minigl for minigl rendering" 
echo "-fmod for fmod rendering" 
read render
clear
# Wads and Socs
echo "what files to include (wads/socs) (-file <file1> <file2> <file3...)(seperate with spaces):" 
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(extra options can be fund here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear
cd "/home/$USER/.wine/drive_c/SRB2"
command wine "srb2$ver.exe" $render $wads $options

as for the launcher thing, idk
same with the linux port

Directory:

Code:
"/home/<username>/.wine/drive_c/SRB2"

EDIT: I updated the script BIGTIME, you should find it a lot more useful.

EDIT2: I figured out why the launchers / links don't work, its because Ubuntu's default user directory is "/home/$USER/", unfortunately there is no way to change this, although I suppose this is a good thing because otherwise the entire OS would be messed up.
 
Popular hacker software includes "Comet Cursor", "Bonzi Buddy" and "Flash".

You're kidding. FLASH?! It's OBVIOUS that person is lying.

And there's, the fact they can't spell Linux right >.>
 
let fix up this script
-fmod <- what? no parm exist by that name
if you mean -fmod3d, that to load s_fmod.dll for 3D sound by FMOD
-D3D, you mean -d3d, to load r_d3d.dll, which does not compile anymore
-minigl is to load r_minigl.dll, for systems that do have a full OpenGL
note that Wine have a full Win32 OpenGL system
-software a param for the SDL version but we can use it here for the script

why use /home/$USER? the user home folder could be anywhere, use $HOME
use $WINEPREFIX instand of $HOME/.wine in cause of the Wine bottle is somewhere else

Code:
#!/bin/bash

# srb2 Shell Launcher script
#check WINEPREFIX
if [ "$WINEPREFIX" != "" ]; then
	WINEPREFIX=$HOME/.wine
fi

# Versions
echo "what version of srb2 do you want to run?"
echo "*********************************"
echo "type win for 1.09.4"
echo "type JTE for jte"
echo "type live-adv for Live"
read ver
clear
# Renderers
echo "choose one renderer:"
echo "*********************************"
echo "-opengl for opengl rendering"
echo "-software for software rendering"
read render
clear
# Wads and Socs
echo "what files to include (wads/socs) (-file <file1> <file2> <file3...)(seperate with spaces):" 
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(extra options can be fund here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear
cd $WINEPREFIX/drive_c/SRB2"
command wine "srb2$ver.exe" $render $wads $options

note: I have not tested this modifted script
 
thanks for the tip (Ill have to remember that), although you forgot to place a quotation mark here

Code:
cd $WINEPREFIX/drive_c/SRB2"

and, yes I did mean -fmod3d
and i didn't know they stopped using direct3d


Unfortunately (for me anyway) I'm still relatively new to Linux.
But anyway heres the updated script:

Code:
#!/bin/bash

# Srb2 Shell Launcher script v1.1


echo "   SRB2 Linux Launcher Script   "
echo "         Version 1.4b           "
echo "     Scripted by Cyclone214     "
echo "        and thanks to           "
echo "     AlamGBC for fixing up      "
echo "         My last script         "
echo "*********************************"
echo "*********************************"
# Directory
echo "What directory is SRB2 located in?"
read srb2dir
clear
# Versions
echo "what version of srb2 do you want to run?"
echo "*********************************"
echo "type win for 1.09.4"
echo "type JTE for jte"
echo "type live-adv for Live"
read ver
clear
# Renderers
echo "choose one renderer:"
echo "*********************************"
echo "-opengl for opengl rendering"
echo "-software for lsdsrb2 ONLY  " 
read render
clear
# Wads and Socs
echo "Here is a list of all the files in your SRB2 Directory"
echo "*********************************"
ls "$srb2dir"
echo "*********************************"
echo "scroll up and down to see all your wads/socs/other files"
echo "What files would you like to include? (wads/socs)"
echo "type it like this" 
echo "-file file1 file2 file3... (separate with spaces)"
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(options can be fund here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear
cd "$srb2dir"
command wine "srb2$ver.exe" $render $wads $options

Obviously theres a few new things like showing you all the files in your SRB2 directory and you choosing your directory, but it could still be improved (like being able to use ShuffarB2)

But back to the topic, what kind of idiot thinks FLASH is an illegal hacking program?

EDIT: okay, here is the script for ShufflarB2 (the only reason it gets its own script is , unlike the other versions, its version is in the front)
right now im working on one that does both (should only take a few minutes)

Code:
#!/bin/bash

# Shufflarb2 Shell Launcher script v1.0

echo "   ShufflarB2 Linux Launcher Script   "
echo "         Version 1.4c           "
echo "     Scripted by Cyclone214     "
echo "        and thanks to           "
echo "     AlamGBC for fixing up      "
echo "         my last script         "
echo "*********************************"
echo "*********************************"
# Directory
echo "What directory is ShufflarB2 located in?"
read srb2dir
clear
# Renderers
echo "currently there is only one renderer "
echo "that I know of for ShufflarB2:"
echo "So if you want to use it type"
echo "-opengl for opengl rendering"
read render
clear
# Wads and Socs
echo "Here is a list of all the files in your SRB2 Directory"
echo "*********************************"
ls "$srb2dir"
echo "*********************************"
echo "scroll up and down to see all your wads/socs/otherfiles"
echo "What files to include (wads/socs)"
echo "type it like this" 
echo "-file file1 file2 file3... (seperate with spaces)"
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(options can be fund here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear
cd "$srb2dir"
command wine "ShufflarB2.exe" $render $wads $options
 
...and by minutes I mean seconds!

but here it is the final (because I have no incentive to continue)
SRB2linLauncher...script...thing...lol?

Code:
#!/bin/bash

# Srb2 Shell Launcher script v1.1


echo "   SRB2 Linux Launcher Script   "
echo "         Version 1.4b           "
echo "     Scripted by Cyclone214     "
echo "        and thanks to           "
echo "     AlamGBC for fixing up      "
echo "         My last script         "
echo "*********************************"
echo "*********************************"
# Directory
echo "What directory is SRB2 located in?"
read srb2dir
clear
# Versions
echo "what version of srb2 do you want to run?"
echo "*********************************"
echo "type srb2win for 1.09.4"
echo "type srb2JTE for jte"
echo "type srb2live-adv for Live"
echo "type ShufflarB2 for ShufflarB2"
read ver
clear
# Renderers
echo "choose one renderer:"
echo "*********************************"
echo "-opengl for opengl rendering"
echo "-software for lsrb2sdl ONLY  " 
read render
clear
# Wads and Socs
echo "Here is a list of all the files in your SRB2 Directory"
echo "*********************************"
ls "$srb2dir"
echo "*********************************"
echo "scroll up and down to see all your wads/socs/otherfiles"
echo "What files to include (wads/socs)"
echo "type it like this" 
echo "-file file1 file2 file3... (seperate with spaces)"
 
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(options can be found here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear
cd "$srb2dir"
command wine "$ver.exe" $render $wads $options

EDIT: Thanks, and I know about both
 
when I mean SDL version, I do not mean lsrb2sdl, that the Linux SDL version
there also lsrb2sdl.exe, Win32 SDL version
 
I tried out the above script, and it works great. Although I haven't tested it with the Linux binary yet, and I don't think it loaded the Emerald Isles when I told it to. Then again, I might have made a small typo, just about everything in Linux is case-sensitive. :P
Also, I think it's hilarious that the SRB2Net launcher under WINE allows the Linux version to execute as well the Windows one. I find it odd that I can't run lsrb2sdl directly, but hey, at least it works. :P Now maybe I can also get SRB2 Linux running on PCLinuxOS2007.

I love using the Linux version on Ubuntu, as SRB2's OpenGL mode through WINE still shows my Gnome panels in fullscreen, and software mode (my preferred renderer) doesn't quite run as smoothly. WINE is still very useful for running EXE mods and playing net games though. I've hosted quite a few coop and match games without issue.

I feel like playing the Mystic Realm right now, I think I'll go do that. :D
 
As it happens, I'm working on a script that works with lsrb2sdl Im just running into a few problems (use this one for now, just throw lsrb2sdl in your srb2 directory and it should work)

Code:
#!/bin/bash

# srb2live Shell Execution script

# Directory
echo "What directory is lsrb2sdl located in?"
read srb2dir
cd "$srb2dir"
clear
#wads socs etc
echo "Here is a list of all the files in your lsdsrb2 Directory"
echo "*********************************"
ls "$srb2dir"
echo "*********************************"
echo "scroll up and down to see all your wads/socs/otherfiles"
echo "What files to include (wads/socs)"
echo "type it like this" 
echo "-file file1 file2 file3... (seperate with spaces)"
read wads
clear
#misc
echo "any other options you want?"
echo "heres a few examples:"
echo "-fmod3d"
echo "-opengl"
echo "-easter"
echo "-debug"
echo "more can be found here:"
echo "http://wiki.srb2.org/wiki/Command_Line"
read options
clear
command lsdlsrb2 $options $wads


NOTE: I haven't tested this script, this is because I don't have, nor do I need, lsrb2sdl
 
OK here it is (and this one actually has a name)
BTW if you don't already know how to, at the bottom is a link that should help to get lsrb2sdl to work ( I think, I haven't actually tried it yet)

Just copy this, save it to a text file, name it: SRB2LinLauncherv2.9b

EDIT: and don't forget to change the properties so that you can execute it

Code:
#!/bin/bash


# Srb2 Shell Launcher script v2.9b

echo "   SRB2 Linux Launcher Script   "
echo "         Version 2.9b           "
echo "     Scripted by Cyclone214     "
echo "        and thanks to           "
echo "     AlamGBC for fixing up      "
echo " an Earlier Version of this one "
echo "********************************"
echo "********************************"
# Directory
echo "What directory is SRB2 located in?"
read srb2dir
cd "$srb2dir"
clear
# Versions
# This is extremely important, because it tells you which progams you 
# can and cant run, its also needed later
# 

echo "Which OS was the program designed for?"
echo "Windows or Linux ?"
echo "(type the OS not the program)"
echo "AND DO NOT LEAVE IT BLANK!!!!!"
echo "1.09.4       = Windows"
echo "JTE          = Windows"
echo "ShufflarB2   = Windows"
echo "Live         = Windows"
echo "lsrb2sdl     = Linux"
read _OS_
clear

if [ $_OS_ = Linux ]; then
     echo "what version of srb2 do you want to run?"
     echo "*********************************"
     echo "type 4 for lsrb2sdl (Sorry, but your kinda stuck with this one)"
     read num
     clear
elif [ $_OS_ = linux ]; then
       echo "what version of srb2 do you want to run?"
       echo "*********************************"
       echo "type 4 for lsrb2sdl (Sorry, but your kinda stuck with this one)"
       read num
       clear
elif [ $_OS_ = Windows ]; then
       echo "what version of srb2 do you want to run?"
       echo "*********************************"
       echo "type 0 for 1.09.4"
       echo "type 1 for jte"
       echo "type 2 for Live"
       echo "type 3 for ShufflarB2"
       read num
       clear
elif [ $_OS_ = windows ]; then
       echo "what version of srb2 do you want to run?"
       echo "*********************************"
       echo "type 0 for 1.09.4"
       echo "type 1 for jte"
       echo "type 2 for Live"
       echo "type 3 for ShufflarB2"
       read num
       clear
fi

# Now that we're past all that confusing stuff, lets move on to the
# Renderers.
echo "choose one renderer:"
echo "*********************************"
echo "-opengl for opengl rendering"
echo "-software for lsrb2sdl ONLY  " 
read render
clear
# Now for the wads and the socs
echo "Here is a list of all the files in your SRB2 Directory"
echo "*********************************"
ls "$srb2dir"
echo "*********************************"
echo "scroll up and down to see all your wads/socs/otherfiles"
echo "What files to include (wads/socs)"
echo "type it like this"
# remember to leave the -file part alone, otherwise the files wont load
echo "-file <file1> <file2> <file3... (seperate with spaces)"
read wads
clear
# Misc options
echo "any other options you want?"
echo "leave blank if no"
echo "(options can be fund here: [url]http://wiki.srb2.org/wiki/Command_Line[/url])"
read options
clear

# this part determines which program you wanted to run
if [ $num = 0 ]; then
     srb2cmd="srb2win.exe"
     echo "Running srb2win.exe......"
elif [ $num = 1 ]; then
     srb2cmd="srb2JTE.exe"
     echo "Running srb2JTE.exe......"
elif [ $num = 2 ]; then
     srb2cmd="srb2live-adv.exe"
     echo "Running srb2live-adv.exe......"
elif [ $num = 3 ]; then
     srb2cmd="ShufflarB2.exe"
     echo "Running ShufflarB2.exe......"
elif [ $num = 4 ]; then
     srb2cmd="lsrb2sdl"
     echo "running on LinuxSDL"
elif [ -z $num];then
     srb2cmd="srb2win.exe"
     echo "Running default......"
fi
# And this one tells the OS how to run it
# (in wine or normally)
# This was also the most difficult part, because one screw up messes up the entire thing
# Also, the reason I put 2 of each OS is because Linux is case sensitive.
# So I put an extra one of each down there just in case theyforgot to capitolize.
if [ $_OS_ = Windows ]; then
     cd "$srb2dir"
     command wine "$srb2dir/$srb2cmd" $render $wads $options
elif [ $_OS_ = Linux ]; then
     cd "$srb2dir"
     command "$srb2dir/$srb2cmd" $render $wads $options
elif [ $_OS_ = windows ]; then
     cd "$srb2dir"
     command wine "$srb2dir/$srb2cmd" $render $wads $options
elif [ $_OS_ = linux ]; then
     cd "$srb2dir"
     command "$srb2dir/$srb2cmd" $render $wads $options
fi
exit 0

heres the link:
Code:
http://ubuntuforums.org/showthread.php?t=981039
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top