Jump to content
The Dark Mod Forums

Official mirror links updated all missions


Bikerdude

Recommended Posts

When I downloaded the pk4 manually, it installs under the following folder:

 

darkmod/fms/penny/penny.pk4

 

When I download the pk4 through the mission downloader, it installs in:

 

darkmod/fms/penny__9_/penny__9_.pk4

 

I assume the underscores are the problem, but I have no idea where they're coming from. Neither of the links on the webpage have underscores.

Link to comment
Share on other sites

The underscores themselves are probably not the problem, but rather the result of TDM trying to correct the original bad characters.

Right after downloading you see this in mission.tdminfo.

The first entry is probably the original one, but I have no idea what might refer to.

The second entry is the attempt of TDM trying to fix these bad characters.

 

tdm_missioninfo penny

{

"downloaded_version" "1"

}

 

tdm_missioninfo penny__9_

{

}

 

Not sure how much of that problem might have been fixed with http://bugs.thedarkmod.com/view.php?id=3294 in 2.0 already,

but I am pretty sure that the source for the problem must be the mission-entry in the 'database' that holds the mission-entries for the internal downloader,

since this is not the first bad mission that showed that effect when using the internal downloader, but not when manually downloading them from the website.

Link to comment
Share on other sites

I don't think there is a database; doesn't the mission downloader just use the website?

Link to comment
Share on other sites

I did some sniffing and intercepted the XML received from the server:

 

<?xml version="1.0"?><tdm><availableMissions>

...

<mission id="71" title="Penny Dreadful: The grail of regrets" releaseDate="2013-07-28" size="74" version="1" internalName="penny&#9;" type="single" author="Melan"><downloadLocation language="English" url="http://www.southquarter.com/tdm/fms/penny.pk4" /></mission>

...

</availableMissions></tdm>

 

So, it's the 'internalName' that needs to be corrected.

Whereever that is stored.... in a database, produced by some script or directly in that hardcoded XML. I don't know.

 

For comparison, here is the full xml as received from the server.

Edited by gnartsch
Link to comment
Share on other sites

The string

 

&#9;

 

represents this string

 

 

which is the XML entity representing the TAB character

 

So, for some reason, the character string

 

pennyTAB

 

where TAB is not the letters T, A, B, but is the TAB character (9), is the root cause of the problem.

 

I suspect that when the mission was posted, whatever form was filled in mistakenly received a TAB key at the end of the name 'penny'.

 

Perhaps using the TAB key to tab through the form fields somehow added the TAB character in internalName.

Link to comment
Share on other sites

@gman, I uploaded "penny.pk4" to the official mirrors and the updated the entry on the website, so where exactly did I enter a tab entry or hit the tab key when creating the mission entry..?

 

I've gone through the the FM page and the only entry I can see that I think would cause this is the FM file name, so I deleted that and retyped it.

Link to comment
Share on other sites

@gman, I uploaded "penny.pk4" to the official mirrors and the updated the entry on the website, so where exactly did I enter a tab entry or hit the tab key when creating the mission entry..?

 

I've gone through the the FM page and the only entry I can see that I think would cause this is the FM file name, so I deleted that and retyped it.

 

I don't know the process, so I was guessing at how a TAB char might have slipped into the field.

 

What is the process? How is this done? Does anyone have access to the server code that accepts the upload and creates the FM entry?

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

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • 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
       
      · 7 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
×
×
  • Create New...