Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Well, you could try using mingw (Windows gcc port), but it may or may not work. You'd need to set it all up yourself as well.

 

I don't recommend it. VC++ really isn't that bad. :)

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

Posted
If it were my choice, I'd be working on Doom 3 and TDM in Linux, using GCC rather than Visual Studio. If anyone knows a way to compile for Winblows with GCC, I'd be forever grateful. :wub:

 

For DarkRadiant we use MinGW on Windows and GCC on Linux, both using the same set of Scons files. This means that there is no need to maintain two separate sets of make files when code is added, and it also means there is no dependency on closed-source for what is supposed to be an open-source project.

 

It was, however, a considerable amount of work to get the Scons build working on Windows with MinGW, and I suspect a similar amount of work would be required to get the main mod working in the same way. For a start, none of the Scons files for the mod have been updated because they are only used on Linux, so you would have to identify all of the new files and add them in.

Posted
If it were my choice, I'd be working on Doom 3 and TDM in Linux, using GCC rather than Visual Studio. If anyone knows a way to compile for Winblows with GCC, I'd be forever grateful. :wub:

 

Oh! I must have missed that somehow. :)

 

In fact, if you would build and develop on Linux this would be great! We want to port it to Linux anyway, and if you would rather work on the Linux build, then we would maintain it at the same time. I guess it would take some time until it starts to even build on Linux, but once that is done, it would definitely be an advantage.

Gerhard

Posted

Sounds like a great idea to me, if you're willing to take it on. :)

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Posted

Thanks to that Vista crap, I'm much more interrested into switching to Linux now.

 

Anyway there's the games matter & when I see how marketing rules the stuff, stating things like "only DirectX10" will do the job whereas Open GL can do it do, I'm a bit disgusted.

 

I'm not especially against some API like DirectX or whatever, it's just that I find it unacceptable to force people buying new operating systems / new hardware for it.

Posted

I already posted a reply about compiling on linux in this thread http://forums.thedarkmod.com/index.php?showtopic=5574&hl=

 

In short I recommended a unified build system based on bjam ( see http://www.boost.org/tools/build/v1/build_system.htm for more info )

I haven't lost my mind. It's backed up on disk!

Oops bad sectors damn floppy's!

Posted

I find it hard to believe that there aren't already several viable alternatives to Windows.

The PC OS market is so big and so lucrative, it's incredibly strange that there aren't other companies busting their balls trying to get a piece of that multi-billion dollar pie.

I mean, 6 years after XP, and all MS can come up with is the same old shit with a new skin.

Civillisation will not attain perfection until the last stone, from the last church, falls on the last priest.

- Emil Zola

 

character models site

Posted

The major problem for an OS is software. Users usually don't buy hardware, they buy software, and the appropriate hardware for this software.

 

I bet there is only a very small number who buys a gfx card on it's own. Users buy a gfx card because it offers something that makes their apps better. As such it is no surprise that there are not more OS'es around, as it takes a LOT of time to write decent apps. And you need to convince companies why they would invest effort into writing for that OS. Linux is quite successfull already, but gamecompanies still don't really adopt it. And Linux has a much bigger head start now than other OS'es. Just as an example...

Gerhard

Posted

Not necessarily Linux has come a long way and is still evolving all the time. Great strides have been made and the more user friendly it gets the more users it gets. The more users the more likely vendors will target it of course.

 

It is a slow painful progress since windows is so entrenched but eventually we can only hope that Linux will be a viable alternative to windows. And the chicken and the egg syndrome is exactly the problem.

I haven't lost my mind. It's backed up on disk!

Oops bad sectors damn floppy's!

Posted
So we're stuck with Windows forever then?

 

It's not as bad as that -- working against the "chicken-and-egg" effect is the "snowball" effect. Gradually Linux is increasing in market share, and some commercial vendors (such as Id Software) are beginning to target it for their software and game releases. Eventually, the growth might be enough that major software manufacturers start releasing Linux versions of their software, and PC suppliers sell Linux PCs alongside their Windows offerings.

 

However this is a slow process, and requires a lot of energy and investment from its supporters in order to overcome the natural advantage that Windows has through its desktop monopoly.

Posted

No, the software has to be compatible with the OS, not the other way round. Windows has a massive market share in consumer-level pcs (Linux and other Unix variants are beginning to dominate in server-land), and that means that consumer software has to be compatible with it to achieve any kind of significant penetration in the market. Since Windows provides only very minimal, and generally very superficial, support for any industry standards for OSes (instead preferring to release its own, incompatible, closed-source "standard"), it's made much harder for software vendors to provide any sort of reliable platform-independence--unless they built for platform-independence at the start. That's how Windows keeps its stranglehold on the masses, albeit with variations on the technique.

 

As for a Windows replacement, it is almost invariably going to be a(n open-source) Unix variant, such as Linux. That said, I would keep an eye on the progress of Coyotos. The advantages of having an inherently secure, stable, formally-verified kernel cannot be sufficiently stressed. I believe it literally has the potential (if it winds up being comparable in performance to standard monolithic kernels) to revolutionize the way we think about stability, security, and compatibility in OSes.

 

As Coyotos is a microkernel design, it is capable of dynamically swapping servers (in this usage, components normally a part of the kernel, such as the filesystem and device drivers), each of which is completely separate from each other (if one server cannot recover from a failure, it doesn't affect the stability of the rest of the OS). This means that users could swap every interface that an application sees dynamically; your Linux Coyotos kernel could instantly become a Windows-clone! Furthermore, microkernel designs in general provide much better thread support than most monolithic kernels (operating at a more fundamental level), literally to the point that the same kernel that runs efficiently on a single processor can scale up to a massively parallel system effortlessly.

 

Coyotos' first application in a consumer-level OS is undoubtedly going to be GNU Hurd, designed to be a more secure extension to Unix. However, the Coyotos team is still toying with the idea of creating its own OS to take full advantage of its uniquely secure basis.

 

I already posted a reply about compiling on linux in this thread http://forums.thedarkmod.com/index.php?showtopic=5574&hl=

 

In short I recommended a unified build system based on bjam ( see http://www.boost.org/tools/build/v1/build_system.htm for more info )

Your link is apparently broken (not permission errors, as I would have expected), but I do recall reading a thread of yours (possibly your application thread?) where you mentioned Boost. Personally, I'm fine with building in some dependencies on GCC, given that it's portable to any OS. (Although, yes, I wasn't aware that it actually HAD been ported to Winblows, I still have to deal with those damn vcproj files--at least for now.) I've never used Boost, but from what I've read of it, and more in particular, its rigorous qualification standards, I would probably vouch for its utility. However, I think it might be a little more productive consider using SDL to increase portability. SDL is designed to provide a roughly equivalent level of abstraction to DirectX in various multimedia APIs (including DirectX itself). More importantly, id itself ported Doom 3 to Linux using SDL, giving us plenty of sample code to aid us in converting over to an SDL format.

 

In fact, if you would build and develop on Linux this would be great! We want to port it to Linux anyway, and if you would rather work on the Linux build, then we would maintain it at the same time. I guess it would take some time until it starts to even build on Linux, but once that is done, it would definitely be an advantage.

I'm definitely willing to give it my best, but as I've mentioned before, my lack of experience with C++ (and therefore my experience developing on Linux) may limit my ability to succeed. Note: my lack of C++ experience isn't what is keeping me from submitting my project to you; the school project I have due in two days is. Fortunately, my spring break is next week, and I don't have any plans to be going out of town...

 

Sounds like a great idea to me, if you're willing to take it on. :)

Not by my lonesome, I should hope! Given that Thelyn has expressed interest in creating a Linux build for TDM, and given that he has (at least some) experience developing for the platform, I'd much prefer to work with him on making the port, even if he chooses to only take an advisory role.

 

Anyways, if I plan on trying to port TDM, I'll need try installing Gentoo again (thank FSM for the GUI beta!) or seeing if I can actually force the NVidia drivers to work on Ubuntu. Ubuntu is consistently rejecting the driver on startup, requiring me to reinstall the damn thing every fucking time, after which it will work perfectly until I have to reboot. I've never been able to get around to installing my sound card drivers!

Posted
As for a Windows replacement, it is almost invariably going to be a(n open-source) Unix variant, such as Linux. That said, I would keep an eye on the progress of Coyotos. The advantages of having an inherently secure, stable, formally-verified kernel cannot be sufficiently stressed. I believe it literally has the potential (if it winds up being comparable in performance to standard monolithic kernels) to revolutionize the way we think about stability, security, and compatibility in OSes.

 

I severly doubt that. The success of an mass market OS is not because of it's inherent stabillity or other virtues. The only thing that counts is accessabillity. If you write the "best" OS in the world, being rockstable and totally secure, it will not gain any significant market share unless it is user friendly enough that Joe average doesn't have any problems with. That's why Windows was a success. It made computers accessible without requiring to know intimidate details about computer science. Nowadays everbody whins about Windows being not stable enough and having many exploits. But people don't mind if it touches their comfort. Do you regularly change your passwords? I guess not, because it becomes inconvenient. Do you think up a new strong password for every site that you register? I doubt it. Security is disregarded when it comes down to inconvenience.

Gerhard

Posted

More obvious security does, yes, but what about more transparent security features? Implemented correctly, users never need know what is being done to protect them, only that something is being done at all, for example, anti-viruses. Coyotos is being designed from the ground up to be a fully-Unix compatible kernel. The only people that ever need to worry about the implementation details of the kernel are the people who write the servers. To everyone else, including software developers, the system appears to be controlled by a monolithic kernel that happens to be unusually fault-tolerant and secure. For the ordinary user, Coyotos would just be a safer variant of GNU. Ease of use is largely irrelevant at the kernel level.

 

Furthermore, a large part of the motivation behind making Coyotos a full OS is that security can be implemented at all levels in a very transparent way--one that is actually even more secure than older methods. Anyone can break into any computer if they can log in on-site, but the most common (and most dangerous) is the sort that occurs over the internet: security exploits. The beauty of the Coyotos kernel is that they intend to formally prove that it cannot be exploited. An OS running it would be impervious to viruses, worms and trojans, and denial-of-service attacks would have a severely-restricted impact (unable to destabilize a web-server in any meaningful way, it might still prevent a server from performing its role). Individual servers or programs might still have vulnerabilities, but they cannot leak into other programs or raise privileges.

 

One interesting possibility of a ground up Coyotos OS could be an entirely persistent operating system, much like Unununium. If the power goes out while you were working on your document, no worries! It's still there, just as it was moments before power failure. Nothing is volatile; everything is persistent. Of course, not everything should be persistent, nor should persistence be strict, i.e., nothing is ever erased. Persistence would likely be limited to a subset of the OS, but the idea of being able to shutdown and restore your system in the time it takes to swap a page file, with only the need for a few cursory checks to ensure integrity is tantalizing, to say the least.

 

Any new OS would have to support all the existing software if it wants to have the slightest chance at gaining some consumer support.

That assumes that the old OS isn't depreciated, or that existing software will not be ported in sufficient numbers to mandate a changeover. While yes, either directly supporting legacy programs or easing their porting is in the OS's best interest, it's hardly necessary.

Posted
The beauty of the Coyotos kernel is that they intend to formally prove that it cannot be exploited.

Sounds a bit hand-wavy to me. How do you define "exploit" in a comprehensive and formally-specified manner?

 

That assumes that the old OS isn't depreciated

Which is very likely.

 

or that existing software will not be ported in sufficient numbers to mandate a changeover.

It won't. Chicken and egg problem.

 

While yes, either directly supporting legacy programs or easing their porting is in the OS's best interest, it's hardly necessary.

IMO in the modern OS climate, supporting legacy programs at least to some degree is definitely necessary, unless you have the resources to develop every single utility application from scratch for your OS (hint: you don't).

 

However you do it, you need to make sure that there are viable alternatives to every single useful piece of software that competing OSes have. Otherwise the switching cost is too high. Linux has only really started to gain consumer acceptance recently, after projects like OpenOffice and Wine have become usable. (There's still a long way to go, but it's getting there!)

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Posted
Not by my lonesome, I should hope! Given that Thelyn has expressed interest in creating a Linux build for TDM, and given that he has (at least some) experience developing for the platform, I'd much prefer to work with him on making the port, even if he chooses to only take an advisory role.

 

I'm interesting in a Linux build as well, given that it is my primary work and development platform. I started a thread about this very topic a couple of days ago.

Posted

Not anywhere I can read yet, I presume. I would have noticed it if I could read it.

 

Sounds a bit hand-wavy to me. How do you define "exploit" in a comprehensive and formally-specified manner?

"Exploit" as in there are no security holes. You state exactly what you want the kernel to do (mostly already defined from the EROS project on which it is based), then you prove that it does exactly that--no bugs, no errors. A pure capability-based system is already proven to be inherently secure, so long as the code protecting capabilities presents no holes that may be exploited. This isn't in the least "hand-wavey." It's exactly the same principle AMD and Intel use to test their floating-point units.

 

IMO in the modern OS climate, supporting legacy programs at least to some degree is definitely necessary, unless you have the resources to develop every single utility application from scratch for your OS (hint: you don't).

I was simply pointing out his assumptions. To replace Windows (without it first becoming obsolete), you obviously must ease the process of port as much as possible. Tackling Windows is an entirely different problem from replacing another OS.

 

However you do it, you need to make sure that there are viable alternatives to every single useful piece of software that competing OSes have. Otherwise the switching cost is too high. Linux has only really started to gain consumer acceptance recently, after projects like OpenOffice and Wine have become usable. (There's still a long way to go, but it's getting there!)

WinE is only really just starting to become a viable alternative for me. DirectX support is a recent addition, and it's still very, very buggy.

Posted
I was simply pointing out his assumptions. To replace Windows (without it first becoming obsolete), you obviously must ease the process of port as much as possible. Tackling Windows is an entirely different problem from replacing another OS.

:P My "assumptions" are based on the fact that there is only one OS to replace - Windows. What else could I be talking about?

Posted
Not anywhere I can read yet, I presume.

Yeah, it's in a private forum.

"Exploit" as in there are no security holes. You state exactly what you want the kernel to do (mostly already defined from the EROS project on which it is based), then you prove that it does exactly that--no bugs, no errors. A pure capability-based system is already proven to be inherently secure, so long as the code protecting capabilities presents no holes that may be exploited. This isn't in the least "hand-wavey." It's exactly the same principle AMD and Intel use to test their floating-point units.

Now that you've elaborated, I see your point. Good. Still, you do need to think carefully about what constitutes an exploit (Windows' hook functionality, for example, is rife with "features" that are, in a very real sense, exploits - but you can also use them for good purposes as well).

 

WinE is only really just starting to become a viable alternative for me. DirectX support is a recent addition, and it's still very, very buggy.

For sure, there's still work for them to do. Non-gaming applications tend to work pretty well though, or so I've heard.

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Posted

I heard that vista didn't bother supporting any wireless network protocols prior to G. Another case of laziness, demanding people buy new hardware rather than actually supporting things people still use.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 5 replies
×
×
  • Create New...