Jump to content
The Dark Mod Forums

DefTokeniser: no more tokens


Dragofer

Recommended Posts

In DarkRadiant I recently split up my map's progress into several smaller .map files, each containing a seperate area.

 

After cleaning up some brushes in one area, I went to work on a second area for a few days. When I went back to load the first area again, I got an error message saying "Failed at entity 0. DefTokeniser: no more tokens" while loading the 47th primitive. My first entity I put in was probably the ambient_world light. I think there were only 800 entities in that area, and this message doesn't seem to talk about the 4096/8192 entityevent thing that Nielsen had to deal with a while ago.

 

When I try to dmap it, it says in the console "ERROR: C:/map/file/location. Line 613: New line inside string" and nothing happens.

 

When I try to load the map in the game, it says there was an error loading it.

 

Now, I do have an autosave and various backups but they are all a few days behind that broken save (I quicksave far too often sad.gif ). I was wondering if anyone could help spare me having to do the less than enjoyable work I did in those days again.

Link to comment
Share on other sites

I think the map file itself is corrupt. Is your harddisk full? Maybe you got an write error? Have you tried loading your map in a texteditor and looking at the offending line?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Have you tried loading your map in a texteditor and looking at the offending line?

 

Thanks, that directly solved the problem.

 

The problem was that primitive 49 (on line 613) had 4 lines full of ÿ's. So I just took out the whole primitive.

 

Which then led me to another problem: the map file I just claimed was identical to the autosaved file.

 

That problem I was able to solve by remembering that I have an almost up-to-date backup on my old laptop smile.gif

Link to comment
Share on other sites

Thanks, that directly solved the problem.

 

The problem was that primitive 49 (on line 613) had 4 lines full of ÿ's. So I just took out the whole primitive.

 

Which then led me to another problem: the map file I just claimed was identical to the autosaved file.

 

That problem I was able to solve by remembering that I have an almost up-to-date backup on my old laptop smile.gif

 

I'd check that your harddisk is still ok and that your memory (well, the one from your computer) is ok, either you got spontanous write errors on the disk (which is bad), or you got a faulty memory chip (which is also bad, but more easily replaced).

 

In both cases, your data is at risk!

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

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

      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
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...