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

    • 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
    • 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!
      · 2 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
×
×
  • Create New...