Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, crone, Vladaar, Yandex, Bing, Google

Members: 2
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » General Discussions » Vista+Cygwin+SmaugFUSS?
Forum Rules | Mark all | Recent Posts

Vista+Cygwin+SmaugFUSS?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 17, 2007, 3:45 am
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

Greetings

I was wondering does someone here have experience on running FUSS with cygwin on Vista Premium?
Would be happy to hear about em before starting and if it's a working combo, would be glad to hear some
tips to how to make it smooth as possible.

Not planning to perm run it on Vista, just that my only comp(laptop) atm runs on vista and would be nice to
use it as development ground.

Sincerealy

Wermidon
       
Post is unread #2 Dec 17, 2007, 6:47 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

As long as you can still install and use Cygwin in Vista there shouldn't be any real problems. I don't know what to expect from it, having only touched Vista in passing at work. Hated every second of it.
       
Post is unread #3 Dec 17, 2007, 8:35 am
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

Ok, got cywgin installed and running properly (atleast I think so), but as this is pretty much my first time
doing anything with linux type applications, Would be nice if someone could direct me into some step-by-step
guide to how to set up smaugfuss running,

Using DeV-C++ and cygwin atm, my previous experience is with VS and winxp so all help would be appreciated.

Wermidon
       
Post is unread #4 Dec 17, 2007, 11:34 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Honestly, Dev-C++ has an easier interface than Visual Studio, So as long as you did pretty well in VS, you should be fine in Dev-C++.

As for a step by step guide, Aside from the one on the forums here somewhere that talks about what Cygwin packages you'll need to run FUSS I don't think we have any, so I'll throw one together real quick here for you. Hopefully it'll be easy to understand.

First things first, verify that you have the proper packages for Cygwin installed, and download the latest release or your preferred release of SmaugFUSS.

Now, there's two ways to proceed from here, and the first way, and the way I do it, is by far easier to manage. So here's how I do it: In the C:/Cygwin/home (I think this is the right path, don't currently have Cygwin installed on this computer) directory on your C drive or wherever it installed to, unzip the contents of the FUSS archive. This is the easiest way to do it because then you've only got to change into the directory, instead of the alternate: unzip the contents of the archive wherever on your computer is easiest for you. Open Cygwin and then navigate your way to that spot, normally looks something like: cd ../../cygdrive/Documents\ And\ Settings/User/My\ Documents/smaugfuss/ or something along those lines.

Next, open up the Makefile, something like nano Makefile, and remove the # in front of the CYGWIN part. like so:
#Uncomment to compile in Cygwin
#CYGWIN = -DCYGWIN

Becomes
#Uncomment to compile in Cygwin
CYGWIN = -DCYGWIN


Once that's done, do a make clean (to be safe) and then a make. Once all the text finished scrolling, you'll want to then start the mud, something like: nohup ./startup &

You can leave off the nohup if you want, but it's a good practice to get into. Nohup will produce a pair of lines that complain about things in Cygwin, at least it did for me, might have been something I changed in my makefile, but anyway, if it does, they don't prevent it from running, then just open up telnet, or since you're on vista your favorite mud client since I'm pretty sure I saw somewhere that telnet is disabled without registry tampering in Vista, and connect to localhost port 4020. And there you go. SmaugFUSS running on your computer.

Now, if you want a different port, you'll want to go into the startup file and there's a line that says "set port = 4020" or something like that, and just change the number to whatever you want your port to be.
       
Post is unread #5 Dec 17, 2007, 2:20 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Also a reminder. The Dev-C++ support is not production stable. It's still to be considered experimental and non-supported. It's also unnecessary to install Cygwin if you intend to use Dev-C++ as your environment, but in this case Cygwin is "officially" supported so you'll have better luck with getting things working.
       
Post is unread #6 Dec 17, 2007, 11:35 pm   Last edited Dec 17, 2007, 11:42 pm by Wermidon
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

Thank you both for the quick responses

Did what you mentioned up there and run into few problems.

untagged the cygwin part in makefile
did a make clean and make
It compiled without errors.

2.when doing that nohup ./startup & , I get the following messages.
nohup: ignoring input and appending output to 'nohup.out'
nohup: cannot run command ./startup

And when trying to do 'run startup' I get error message in poup window that couldnt run startup.

So, any ideas what i'm doing wrong and how to do it right? specific commands to do things would be well
appreciated since I feel like a teletubby in a big world with cygwins commands :P
Thanks for all the help so far, nice to see helpfull and "newbie" friendly community here.

Wermidon
       
Post is unread #7 Dec 18, 2007, 2:22 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Try this. Go into the smaugfuss folder and type the following:

chmod -R 775 *


It should adjust all the permissions and allow you to startup using the script, just retry the nohup part and it should be fine.
       
Post is unread #8 Dec 19, 2007, 2:06 am
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

Still wont startup :P

When doing in smaugfuss/src

nohup ./startup &
i get the following

nohup: ignoring input and appending output to 'nohup.out'
nohup: cannot run command './startup': no such file or directory

nohup ./startup
i get the following

nohup:ignoring input and appending output to 'nohup.out'
nohup:cannot run command './startup': no such file or directory
[1]+ Exit 127

thanks for trying to help me out, looks like i'm hopeless case with cygwin :P




       
Post is unread #9 Dec 19, 2007, 8:12 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Well from the looks of your errors, your startup file looks to have disappeared, can you go to your smaugfuss/src directory and do:

ls

and paste the results for me?
       
Post is unread #10 Dec 19, 2007, 9:59 am
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

result of ls

Makefile const.c imc.h mud_comm.c services.c
act_comm.c count imccfg.h mud_prog.c sha256.c
act_info.c db.c imm_host.c news.c sha256.h
act_move.c deity.c interp.c news.h shops.c
act_obj.c dependencies.d lines nohup.out shutdown.txt
act_wiz.c dependencies.d.bak liquids.c o skills.c
ban.c dns.c liquids.h planes.c smaug.def
bet.h dns.h magic.c planes.h smaug.exe
boards.c fights.c makeobjs.c player.c smaug.exp
buils.c grind mapout.c polymorph.c special.c
chess.c handler.c mapper.c qstart startup
chess.h hashstr.c mapper.h renumber.c tables.c
clans.c hint.c mccp.c reset.c track.c
color.c hint.h mccp.h resolver.c update.c
color.h hotboot.c misc.c resolver.exe variables.c
comm.c hotboot.h mpxset.c resolver.o vg_suppress.supp
commeents.c imc.c mud.h save.c

the startup file is there, so I wonder why it doesnt "find" it.
       
Post is unread #11 Dec 19, 2007, 2:12 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

This is typically due to tcsh not being installed, not the startup file being missing. It's a pretty terrible error message, though. Try installing tcsh from the Cygwin package manager.
       
Post is unread #12 Dec 19, 2007, 3:14 pm
Go to the top of the page
Go to the bottom of the page

Wermidon
Fledgling
GroupMembers
Posts7
JoinedDec 17, 2007

*jigs*

Finally got it working! Thousand thanks to all of you, yeah the problem seemed to be that cygwin wasnt fully
installed, what makes me wonder why, cause I chose everything available the last time I run installation and now
did the same but i guess it just left out something last time.

But in short, thanks Kayle for guiding me with cygwin basic commands and David for figuring out the last problem.
*bows*

Wermidon
       
Pages:<< prev 1 next >>