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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...