Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > Compiling XWE's source code
 
Author
All times are GMT. The time now is 17:03. Post New Thread    Post A Reply
Maes
I like big butts!


Posts: 12666
Registered: 07-06


Has anyone ever got XWE's source code to actually compile?

What about all those missing dependencies? Has anyone tracked down what is required to piece it back together? Could anyone provide an additional dependecies package and release a corrected, ready-to-compile version? Because as it is now, it's practically useless, unless Csabo releases the rest of the dependencies or at least documents them all.

Old Post 08-30-11 12:15 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Sigvatr
Banned


Posts: 848
Registered: 08-07


I looked at the source code a while ago and decided I didn't even want to begin trying to compile it. It's the ugliest looking piece of code I have ever looked at. No wonder it wasn't released for a long time; it was embarrassing.

I think you will to post on a Delphi specific forum/community to be able to figure out how to make it work.

Extensive my ass.

Old Post 09-28-11 18:57 #
Sigvatr is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 544
Registered: 06-01


I got it to compile with lazarus and FPC around a year ago though I had to disable some parts of it just so it would

The source itself is a mess and I lost interest trying to work on it

Old Post 09-30-11 07:07 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Sigvatr
Banned


Posts: 848
Registered: 08-07


If there was better documentation for Slade's source code, then I think we could branch it off to make an XWE 2. I'm interested in that.

Old Post 10-01-11 16:36 #
Sigvatr is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


Why do we need ANOTHER lump editor?

Old Post 10-01-11 20:19 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11229
Registered: 07-07


Call me biased if you want, but I don't see the point of forking SLADE 3 while it's still actively developed.

Old Post 10-01-11 21:36 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
tempun
Member


Posts: 597
Registered: 08-09



Sigvatr said:
If there was better documentation for Slade's source code, then I think we could branch it off to make an XWE 2. I'm interested in that.
What is your problem with SLADE 3? Just curious.

Old Post 10-02-11 07:30 #
tempun is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12666
Registered: 07-06


Oh, some activity here after nearly a month of silence? I'm impressed...

OK, back to business: I am more than able to get it to compile myself -eventually-, and I'm used to seeing fugly Delphi code (it IS hard to keep that shit clean, I admit it, as much as I like the language). I just want to avoid unnecessary work by rewriting stuff like the custom string manipulation (!) and even number parsing (wtf?!) routines that Csabo seemed to have used.

Yeah, I know that he also used some components like a rich text editor (which is near impossible to find in the form of a free Delphi library), but I wonder how none mentioned these much more basic missing string and number manipulation routines. They are all over the code, and commenting ALL of them out would be a greater pain than rewriting them.

If someone knows what well known (?) library they belong to or has access to Csabo's custom stuff, it'd be appreciated.

In any case, here's my estimate of the situation in an older thread. My greatest gripe are those missing string/parsing routines, all the rest can be worked out/commented out.

@RTC_Marine: how did you deal with that particular aspect? Do you have a recreation of those routines?

Old Post 10-03-11 02:14 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


Oh god, DELPHI? Please tell me the UI is not in VCL >_>

Old Post 10-03-11 06:26 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12666
Registered: 07-06



Quasar said:
Oh god, DELPHI? Please tell me the UI is not in VCL >_>


Well duh, ofc it is :-p Like some over-enthusiastic code monkey from Hong Kong once said "It's just like drawing"!

The alternative is to use raw Win32 calls and develop with all the "fun" that a Windows developer would have in 1990, which is not pretty.

Last edited by Maes on 10-03-11 at 09:06

Old Post 10-03-11 09:00 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00


VCL is murder x_x

I maintain a millions-of-lines program that uses it. Anything of that scale really brings the shit to the surface fast.

Old Post 10-04-11 05:41 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
RTC_Marine
Junior Member


Posts: 544
Registered: 06-01


Sadly no, the initial idea was to comment code portions out until I got it to compile in lazarus, then slowly work on getting those parts going again.

It appears I don't have the code around anymore, but I remember it only took a couple of hours to achieve the first part

Old Post 10-04-11 23:54 #
RTC_Marine is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 12666
Registered: 07-06



RTC_Marine said:
Sadly no, the initial idea was to comment code portions out until I got it to compile in lazarus, then slowly work on getting those parts going again.


Well...yeah, that would "work" in the sense that eventually you'll get it to compile into something that executes, but it will be missing so much essential functionality (like trunkating strings, parsing numbers, even) that it would be nowhere near usable.

The only hint as to what those missing functions do are in their names (e.g. TrimFromLeft etc.). I have implemented a couple of them in an extra unit, but there are just too fucking many of them and my string-fu in Delphi is a bit rusty.

Old Post 10-07-11 09:51 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:03. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > XWE > Compiling XWE's source code

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.