Game Development Community

dev|Pro Game Development Curriculum

Simple file to delete DSO files..

by Geoff · 08/11/2003 (10:50 am) · 12 comments

1. Just open up notepad and enter the following:
del /s *.dso

2. After that, save the file as deldso.bat

3. Put the file in the same directory as your example folder. Just run the program when you want your *.dso files deleted :)

About the author

Recent Blogs


#1
08/11/2003 (2:20 pm)
This could be more useful (at least for me) to delete the lightmap files instead.
When you a making mission files these lightmap are quickly adding up.

Karsten "Clocks" Viese
#2
08/11/2003 (7:57 pm)
@Karsten: I believe Torque should delete those files once the mission or game has ended. That would make sense. Maybe I'll look into doing that. :P
#3
08/12/2003 (1:49 am)
That would be nice, although it wont be a problem in any final game.
Since a mission will use the last generated lightmap.
If not changes are made to the mission file then it will not generate a new lightmap file.
Hence no need to delete them as there will only ever be 1.

But for dev. thats a where the problem is :)

Karsten "Clocks" Viese
#4
08/12/2003 (5:58 am)
hmmm, why would you want to delete the *.dso files? if you delete them, the *.cs files have to be recompiled when you start the game, which takes some time (not that much)...

and what if i use linux? :P

[edit]
sorry, just saw the Windows keyword up there, so forget the question about linux ! ;)
[/edit]
#6
08/13/2003 (7:10 am)
hey, thanx Dean! But I must admit, that I'm not using Linux ! ;) But good to know! Thx again.
#7
08/22/2003 (5:42 pm)
You might also want to take a look at this resource.
#8
08/23/2003 (12:24 pm)
Windows 9x and Windows Me doesn't support del /s. Only the NT variety (NT, 2000, XP) support this command. If you need to do this on Windows 9x/Me, get a copy of cygwin, then follow the unix example.

There is (somewhere) a cs file to do this in Tribes 2. If you have the resource I posted to do wildcard loads from folders of cs files, you could pop that file in your init.d folder and you'd then have all your dso's cleared out on each run. You could modify that resource to obtain one thta wiped the dso files as well (that simply wasn't my goal).
#9
08/23/2003 (12:25 pm)
Oh, the other alternative is:
for %a in (*.dso) do del %a

That works on all flavors of Windows, but only gets one folder/directry.
#10
08/29/2004 (1:41 pm)
I have a other one




rem delete all the cr*p I forgot
del /F /S *.dso

rem del /F /S *_DEBUG*.*

del /F /S *.rec
del /F /S *.ml
del /F /S *.max
del /F /S *.db

rem delete the logs
del /F /S *.log

rem Deleting old screenshots
del *.png
del *.jpg


I would save it and call it makeClean.bat

It is not pretty but it works -
#11
12/08/2006 (1:36 pm)
Deleting DSO files:
- It is important to delete old files in the Developer Environment because of conflicts that can be created
- This is also true in the Modding environment
If you are creating a Torque system that increases developers productivity and encourages your gaming community to create mods for loyalty reasons and possibly become contractors or employees, I think you should definitely clean up the environment on game shut down as a GUI set option! That would be a very nice script feature to see (you can see I agree with Nathan Martin , but it has been years since his post, has that script been created?)!
#12
04/07/2009 (3:25 am)
hey! how to delete the dso files after the finishing of the games. I would like to call that bat file in my codings. I am using TGB1.7.4...
can anybody help