Jump to content
Official BF Editor Forums

Advanced Lightmapping Tutorial (using 3dsmax)


Recommended Posts

OK, I've run it (with the pause command in) and I always get this:

problem with output directory [location of directory with \ instead of /]

I've tried making an output folder in the C:/ drive (to simplify things, so that it's C:/Output instead of the long desktop address) and having the output folder in the temp folder (I thought it would help, as the program has no problems creating stuff in the merged folder in the temp folder), but neither thing works!

Link to comment
Share on other sites

  • Replies 181
  • Created
  • Last Reply

Top Posters In This Topic

Done, and now I don't get the error message anymore.


still no DDS files.

here's my code:

@echo off
"C:/Program Files/Autodesk/3ds Max 9/scripts/bf2/bin/release/mergeTgaColors.exe" "C:/Users/[me]/Desktop/Temp/" "C:/Users/[me]/Desktop/Temp/merged/"
echo .
echo .
"C:\Program Files\Autodesk\3ds Max 9\scripts\bf2\bin\extern\nvdxt.exe" -file "C:\Users\[me]\Temp\merged\*.tga" -dxt1a -outdir "C:\Users\[me]\Desktop\Output"

Link to comment
Share on other sites

What version of windows you useing? might be an admin rights thing.(check properties on the .bat and nvdxt.exe files to run as admin) Also check that that nvdxt.exe and and .dll's are inplace. Failing that, its been awhile but could test out your batch and a LM file, that you could upload if stuck, i've no doubt had this problem, but been too long to remember the fixes.

Edited by Bensta
Link to comment
Share on other sites

  • 4 weeks later...

Well, my demo expired, but the final problem I had was converting the merged TGA files into DDS files which the editor (and game) can read. My copy of Paint.NET can do that easily - the only problem was there were so many files. I ended up using the Paint.NET Bulk Imaging Processor and the last part turned out smoothly.

Now all I have to do is make the atlas lightmap files, put them into the game, and...

Link to comment
Share on other sites

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



  • Create New...