Jump to content
The Dark Mod Forums

Mission versions


Recommended Posts

Is it possible to populate the version numbers of missions into missions.tdminfo somehow?

Let me explain. Frequently, when downloading fms through the menu, the download fails midway and the whole program shuts down. When this happens, I'm left with missionname.pk4 in my fm directory. When I restart the program, it does unpack the pk4s and put them in folders, and it does populate the entry in missions.tdminfo but it does not populate the version number of the downloaded mission, so those missions show up starred as though there is an update available forever.

Is there any way I can fix this?

Link to comment
Share on other sites

The game application change the fm-version automatically. 

How about complete removing the folder of the mission in the fms folder. And download the mission again.

Does this happen with other missions too? If so, please give everyone write permissions to the darkmod folder.

How to do this, see the notes of the instructions for windows in your wiki: https://wiki.thedarkmod.com/index.php?title=Installer_and_Manual_Installation#Windows

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Maybe I need to explain better. First, I'm using the linux version 2.10. Here's what actually happens: First, there is a high chance that any given mission will fail to download midway, crashing the executable and leaving a _missionname.pk4 in the fm folder. This has always been the case for years. Maybe this is what happens when the server is too busy or something. That's no problem. I can just delete the pk4 and try again.

The problem comes into play when you download more than one mission at a time, or presumably also if you manually download missions from the website. Let's say you download 2 missions. The first mission downloads correctly. Then let's say the second one fails. When it fails, the dark mod executable crashes. Now you have mission1.pk4 and _mission2.pk4 in your fm directory. You can just delete _mission2.pk4 and restart the dark mod, and it will create a folder for mission1 with manifest, but in missions.tdminfo it will just have an entry:

tdm_missioninfo mission1
{
}

It does not populate the version number automatically. Presumably this would also happen for people that manually downloaded the missions too. The only way to successfully get darkmod to automatically populate the version is if both mission 1 and 2 had successfully downloaded through the menu the first time without crashing. If you download a few missions at a time this is pretty much impossible, so you would have no recourse but to keep redownloading the same missions over and over that really had already downloaded correctly.

In other words the dark mod executable is only triggered to populate that version number under very specific circumstances. Maybe there is another way to do it that I don't know. Or if I could manually edit missions.tdminfo I would, but I don't know what it wants there, becuase often the mission readme will say "version 1.1" when really the file expects to see "downloaded_version" "2" or something.

Is that clear as mud? It's difficult to explain. ;)
Link to comment
Share on other sites

You might want to report that crashing as a problem all on it's own. If there's some sort of problem during the download, it should present some sort of message rather than just crashing. (so something funky is going on there, it seems?)

Edited by draeath
clarification
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...