Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ SWRIP v1.0.1 - Cgywin

SWRIP v1.0.1 - Cgywin

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Darrik Vequir   (24 posts)  Bio
Date Sun 06 Jun 2004 01:25 AM (UTC)

Amended on Sun 06 Jun 2004 01:35 AM (UTC) by Darrik Vequir

Message
Hi all,

I have updated the SWRIPv1.0.1 release to be compatible with cygwin. Just read the swripwin.txt file in the doc directory... Basically all you need to do is copy the Makefile-win file to overwrite Makefile and it will compile perfectly on cygwin. If you encounter any problems, please let me know. It runs perfectly on my cgywin, but I've learned that does not necessarily mean anything.

The address to download the code is http://swrip.net. Go to the "Technical" option, and click on "Source".

Thank you,

Darrik Vequir
Top

Posted by Darrik Vequir   (24 posts)  Bio
Date Reply #1 on Sun 06 Jun 2004 01:35 AM (UTC)

Amended on Sun 06 Jun 2004 01:57 AM (UTC) by Darrik Vequir

Message
For earlier versions of RiP, I have listed the modifications I made to the code to make RiP cygwin compatible. All of this information is also available in other threads, but I have compiled it into one, easy to read, list.

In fight.c, save.c and space.c:

Replace
#include <sys/dir.h>
with
#include <dirent.h>

In save.c, replace
struct direct *de
with
struct dirent *de

In act_wiz.c, replace
All occurences of 'trunc'
with
'trunc1'

The other changes I made were in the Makefile... you can diff the two files in the release to see what changes I made there.

Thank you to Ksilyan and Nick Gammon for helping out the many people attempting to use RiP with cygwin, and therefore supplying these fixes.

Darrik Vequir
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,099 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.