-   Programming (
-   -   Convert a dll code to linux (

EvilLinux 12-07-2004 06:54 PM

Convert a dll code to linux
Ok here is the low down. I need to convert\port this program @ Sourcemod (do a google search for the link since I can't put it up sorry) for Valve's Source engine, but the problem is that it was written for windows. Now us Linux Server hosts got kicked out of the loop because of this. But us linux server people want to covert to source of these plugins and program to Linux. I would like to know a couple things:

1) How do I port stuff from windows to linux. Really what we need is to convert he source of the program\mod\plugin we want to use to a .so to be run on the server
2) How do I compile and make this run on linux(s)?

Any help on this would be more than greatful. I'm a complete :newbie: at doing this stuff. I'm a hardcore linux user, but I havn't ported\created stuff to run on linux in a couple years.

itsme86 12-07-2004 07:07 PM

There is no cut and dry "port Windows code to Linux" method. Seriously, if you're not an experienced programmer then someone else will have to tackle this. Instead of "Can I get some help?" it would be more like "Can someone do this for me?" The main problem is that Microsoft felt the need to go against any programming ideas that were somewhat standard. They introduced all sort of non-portable things and that's why it's such a monstrous job to port the code over. Porting code from one flavor of *NIX to another can be really trivial. But porting code from Windows to any other OS is usually a nightmare.

I know it's not the answer you were looking for and I know it's frustrating to have the solution right there if only you knew how to use it, but porting code can be a very daunting task. Unless you find someone that has a motive in porting it over you're probably not going to find any volunteers.

EvilLinux 12-07-2004 07:08 PM

ok thank you very much.

*Siff Siff*

I better drop some money on programming books, sigh... Or I got to pay someone to do this, bummer man, bummer. Ok well thank you again, that was what I was going to guess. Thank you again.

bastard23 12-08-2004 01:53 AM

Have you looked at or ?

I don't have a valve source game, and I haven't found the sdk. Do I have to own one?

bastard23 12-08-2004 01:57 AM

And I suspect that there are few windows dependencies in valve's plugin acrhitecture, but who knows. If the've got a linux client and server sdk, then "porting" a plugin should be easy.

EvilLinux 12-08-2004 10:51 AM

ok, hrm. I'm going to give those links a look. All you got to do to get the SDK is to download STEAM from Valve's steampowered website. Just make an account and you'll see the Source SDK to do the stuff, everything is free, unless you want to pay for the games. Also those links are I'm pretty sure what I needed. I'm going to give it a try. Thank you again so much!

All times are GMT -5. The time now is 05:39 AM.