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

    • 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.
      · 6 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
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...