Jump to content
The Dark Mod Forums

Using an IDE that is not VS?


bedhead

Recommended Posts

I want to tinker around with TDM to learn more about programming in the process.

However, I'm using linux and don't have windows.

I'm currently trying to use CodeBlocks to edit the source code and to compile things.

However, I'm not sure how to open sln project file since I think these are VS files.

Can anyone help me get started in TDM modding using linux?

 

Any guidance or literature is appreciated ^_^

Link to comment
Share on other sites

Under linux sconce is used for compiling. There is a wiki entry that describe how to do this exactly here. In addition, a couple of our members are using linux. Tels is one iirc. I used it myself but it's been quite a while, so I can't recall a lot of details.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Yea I read the wiki on how to compile. But using a text editor and compiling with scons is such a pain for a project the size of TDM. I want to see where the variables are defined, where functions are located, and how each module connect to one another. To do that I need to use an IDE.

 

It sucks that Visual Studios 2013 is used for TDM development rather than a crossplatform IDE. Especially since I don't have windows :(

Link to comment
Share on other sites

The features you are looking for will depend on the IDE you choose. The choice of VS for TDM on Windows shouldn't influence your choice of IDE for Linux (as mentioned above, the build system for Linux is different, namely Scons). However, you will need to configure the build process in whichever IDE you choose so that it uses Scons to make your life a bit easier - I was lazy and just ran the scons build script in a separate terminal. Also, the build system hasn't really got much to do with the features you listed above (function locations, etc.). I was using QtCreator when I was making changes to the Linux side of TDM and that seemed to work quite well (I can't recall if it had the function/variable referencing though). You might just need to have a look through the options in CodeBlocks to enable such features or see if there are plugins that can do it for you.

I am the bat. The night is mine.

Link to comment
Share on other sites

I want to see where the variables are defined, where functions are located, and how each module connect to one another. To do that I need to use an IDE.

You don't need an IDE to find where functions are located and variables defined. You can do this with a combination of a powerful programming text editor such as Vim or Emacs, and a source code indexing tool like Ctags (a decent search tool like Ack is also useful). I have been developing C++ in this way for years and never felt that I needed to switch to a full blown IDE.

 

But if you do choose to use an IDE like Code::Blocks, I don't see why compiling with Scons is going to be a problem. A Linux IDE is not going to do its own compiling but will invoke a regular Make or other build process in a shell, hopefully parsing the output to locate errors in the source code. You will just need to configure Code::Blocks to invoke "scons" instead of "make" to build the project.

Link to comment
Share on other sites

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

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 2 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
×
×
  • Create New...