Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > Dungeon Craft - RPG Game Maker
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 01-06-2009, 10:56 AM   #41
Uatu
Horus - Egyptian Sky God
 

Join Date: June 7, 2007
Location: Japan
Age: 47
Posts: 2,614
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

But what about compiling while including special additional libraries? (Like the gnulib you mentioned above...)
__________________
Original Dungeon Craft art at my home page:
http://dhost.info/uatu/

My Blog:
http://advanceddantiansanddragons.blogspot.com
Uatu is offline   Reply With Quote
Old 01-06-2009, 11:05 AM   #42
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

It's all about how the code is written. If one wanted to include gnulib without taking out MFCs, it would be twice the code. Hmm, and I hadn't thought of this until right now, but MFCs only work on Windows and in fact it's illegal to use them on other systems (per MS license) not to mention that they won't work.

As I think about it a little more carefully, I have no idea how a program reacts when you have two calls for the same thing (one for each library). I imagine you would need to put in code at the beginning saying something like "if gnulib present, ignore MFC" and vice versa I think it will be easier to replace MFCs in chunks - but I don't know how big of chunks - to check it out and see if it's working.

This is really stretching my programming knowledge.
__________________
manikus is offline   Reply With Quote
Old 01-06-2009, 08:07 PM   #43
Uatu
Horus - Egyptian Sky God
 

Join Date: June 7, 2007
Location: Japan
Age: 47
Posts: 2,614
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Well, definitely, I think ultimately removing MFC would be the way to go.

I'm just not sure how to compile anything with added libraries (just leave a copy of the libraries in a folder nearby or something like that?).

It does seem a good idea to replace MFC in chunks, so that we can actually see what is going wrong as we find it... That would probably require working on Windows with MFC, though, until it is eradicated...
__________________
Original Dungeon Craft art at my home page:
http://dhost.info/uatu/

My Blog:
http://advanceddantiansanddragons.blogspot.com
Uatu is offline   Reply With Quote
Old 01-06-2009, 08:14 PM   #44
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Finding libraries when compiling is easy. Either the library is compiled right along with everything else for use, or it is in a location that is known to the code (the code actually contains the path info).

The problem with doing it in chuncks is that for a while (until it's done) the source code will be a lot bigger and more resources will be needed for running the compiled programs.
__________________
manikus is offline   Reply With Quote
Old 01-06-2009, 08:19 PM   #45
Uatu
Horus - Egyptian Sky God
 

Join Date: June 7, 2007
Location: Japan
Age: 47
Posts: 2,614
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Hmm - good point!

If DC is done in objects (or some other neat way of division), might be doable, 1 object at a time...

But anyway, I wouldn't be able to try to do the MFC thing myself, I guess, since I can't compile on Windows - unless, of course, I wanted to try doing the WHOLE THING before compiling it... (a definitely recipe for failure!)
__________________
Original Dungeon Craft art at my home page:
http://dhost.info/uatu/

My Blog:
http://advanceddantiansanddragons.blogspot.com
Uatu is offline   Reply With Quote
Old 01-06-2009, 09:59 PM   #46
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

I wrote a reply, hit send and my browser crashed. I forgot what I said in it, but let's just pretend that is was very witty (not like I normally write at all).

If you were to contact someone who knew about this - LurchBrick, Tarlanon, Paul, CocoaSpud - maybe it's the case that each object can be checked independent of the whole project. I do know (what follows is obvious) that the editor, engine, gpdl and cdx parts can be compiled separately...it may be that subsections can as well.
__________________
manikus is offline   Reply With Quote
Old 01-06-2009, 11:37 PM   #47
Uatu
Horus - Egyptian Sky God
 

Join Date: June 7, 2007
Location: Japan
Age: 47
Posts: 2,614
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Hmm - that wasn't obvious to me! (Will have to try this one of these days... but I may lose it and lapse into drawing pictures again instead)
__________________
Original Dungeon Craft art at my home page:
http://dhost.info/uatu/

My Blog:
http://advanceddantiansanddragons.blogspot.com
Uatu is offline   Reply With Quote
Old 01-06-2009, 11:58 PM   #48
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

You should take a look at the code SourceForge. It'll give you a good idea of what lays ahead of the linux conversion team.

In the source, you'll see that it breaks down into four separate areas (the ones I outlined in the earlier post).
__________________
manikus is offline   Reply With Quote
Old 01-07-2009, 07:04 AM   #49
LurchBrick
Dungeon Master
 

Join Date: October 1, 2003
Location: NSW Australia
Age: 49
Posts: 68
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Unfortunately this can't be done separately. Everything, objects, drawing code, etc uses MFC and CDX as a base so you can't just update one part of the code to run on some other library as it has to interact with MFC.

Hence why I still believe that starting over from scratch is the simplest way to go forward.
LurchBrick is offline   Reply With Quote
Old 01-07-2009, 06:54 PM   #50
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: "Easy" way to remove MFC-dependence AND port to Linux?!

Yay! Finally someone who is a coder. I knew if I started using names, someone had to answer.

I had suspected this. Oh well, it doesn't it can't be done, just like you say LB, it will probably just be easier to to start anew, except for maybe CocoaSpud b/c of his great familiarity with the code (he had said that it was something he wanted to do, but the task seemed too big).

As I've said before LurchBrick, anything I can do to help...
__________________
manikus is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please recommend a "lite" browser for an elderly Linux computer seclists General Discussion 4 02-14-2005 09:01 AM
Searching for "Star Blazers" aka "Uchuu Senchen Yamato," or "Space Battleship Yamato" Skydracgrrl Entertainment (Movies, TV Shows and Books/Comics) 3 12-17-2004 01:38 PM
Searching for "Star Blazers" aka "Uchuu Senchen Yamato," or "Space Battleship Yamato" Skydracgrrl General Conversation Archives (11/2000 - 01/2005) 0 12-02-2004 09:27 PM
"It's Not Easy Being A Hussein" Lil Lil General Discussion 1 04-14-2003 08:14 PM
Easy "trick" to win battles n00body Baldurs Gate & Tales of the Sword Coast 18 10-17-2002 06:27 AM


All times are GMT -4. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved