Jump to content
The Dark Mod Forums

Potentially painful error?


ithel

Recommended Posts

This is more a TDM problem than a DarkRadiant problem, but it pertains strictly to mappers. It might also have to do with 1.08, I'm not sure.

 

Anyway, on TDM a few minutes ago, I decided to load up the mission I've been building (haven't done this since updating to 1.08. I noticed it was 101mb...and I clicked that "clean" button on the loader page after reading that it only deletes saved games, etc... This reduced the reported size to 256k. Hmm.... So now it doesn't load and dmap returns an error of file not found. I've hunted through the folders and the mission no longer seems to exist.

 

(Naturally I have a backup copy on my laptop at home, so there is no crisis here, just a headsup.) What is that button supposed to do, and is what I described it?

Link to comment
Share on other sites

The clean button only deletes the savegames as far as I remember. Nothing important should be deleted. Where did you save your mission at? Normally it should be darkmod/maps and therefore not be affected by the clean operations, as the fms and the savegames are in darkmod/fms.

 

EDIT: Actually in 1.07 the missions where copied in the doom3 folder upon installment and clean deleted these copies. But since 1.08 this does not happen anymore. The only thing I can think of is that you accidently saved your map in an fm folder and clean somehow deleted those.

 

So in the sum I guess it deletes everything in the specific FM folder except the pk4 and the darkmod.txt

Edited by Obsttorte

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Whooops! That really IS a rather serious TDM problem.

 

If you click "Clean", it will delete ALL files in the darkmod/fms/mymission folder, except the .PK4 and the darkmod.txt file. This means all scripts you wrote, all map files etc, everything is gone. (I just tried it with a testmission I worked on, made a backup before).

 

It doesn't really help that the text explaining what it does also talks about "doom3/yourfm.pk4 etc but this isn't how it works now.

 

The only way to avoid is:

 

* make regular backups

* create a second FM entry and work in this one

* never click "Cleanup"

 

I'm not sure what we can do about this, I guess it should at least ask again if you really want to delete .map, .script etc files that are usually only outside the PK4 if you are developing an FM.

 

Edit: There is also the problem that if you make a copy of "fms/myfm" to "fms/myfm2", you end up with two entries that are both named "My FanMission" in the menu, and you have not much chance to differentiate between these two.

"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

The clean button only deletes the savegames as far as I remember. Nothing important should be deleted.

 

This button deletes everything in the darkmod/fms/mission folder except for pk4s, and the small number of files TDM extracts at installation (darkmod.txt, etc.)

 

If you're keeping all your WIP folders in there (dds, maps, textures, sounds, materials, xdata, etc.), you should never hit this button. Else they'll be goners.

Link to comment
Share on other sites

So in the sum I guess it deletes everything in the specific FM folder except the pk4 and the darkmod.txt

At least it has been verified :smile:

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Yes, except there is no pk4 left in my folder either. Anyway, like I said, the backup is at home, when I get there. :)

 

This might be because sometimes the code got confused what the name of the FM is (called "modName" in our code) and what the actual PK4 file is. The bug I fixed today might have caused too look into "fms/my_fm/" as "MyFM" and then delete "myfm.pk4" because it does not match "MyFm.pk4".

 

Anyway, pressung "Clear" is rather dangerous, and I guess that mappers should never used it, but instead delete files with their prefered file manager. That way you can be sure it deletes what you want.

"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

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