• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Need help [installing BAT for 3DsMax]

Started by FromTheAshes, June 28, 2007, 02:40:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

FromTheAshes

Hi there!
I got 3DsMax 9. Now I want to install BATforMax [v.2]. Following the introductions I had some problems.
1) Theres no 3dsmax.ini in my 3DsMax root direction.
2) Opening the Max I get an error message:
-- Runtime error: fileIn: can't open file - "C:\Programme\Autodesk\3ds Max 9\"
Of course it can not open C:\Programme\Autodesk\3ds Max 9\ because thats not a file but a direction. But I guess I gotta change these settings in my not-existing 3dsmax.ini, right?
Well these are the problems I got so far. I believe there will be many more later  :D Would be great If somebode could try to help me in that case.
Cheers
FTA
Visit Vorsfelde.

callagrafx

 The 3dsmax.ini file is located in the following folder:
C:\Documents and Settings\<localuser>\Local Settings\Application Data\Autodesk\3dsmax\9 - 32bit\enu (or similar).  Substitute your user account for <localuser>

You will need to change your view preferences to show all hidden files and folders for it to be seen.

If after changing this the second problem still occurs, post back
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it

FromTheAshes

Works very fine now, thank you!  :thumbsup:
Btw, where do you get your knowledge from? $%Grinno$%
Visit Vorsfelde.

callagrafx

thousands of years of walking this planet among you humans  :D :D :D :D
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it

FromTheAshes

Ohhh my god thats it, you're from mars  :D That declares alot...
Well, ok, I'll stop spamming right now. Thread can be closed if mods like to.
Visit Vorsfelde.

cameron1991

Hi, can you please tell me where I can download BAT for max? I just downloaded a trial version of 3ds max 9 and I want to try BATing with it

FromTheAshes

Here.
Have fun with it. But be warned: It's not that easy to install and use.
Visit Vorsfelde.

cameron1991

#7
Thankyou very much! Im going to try and install it tomorrow morning
_________________________________________________________________________________________________________________________
Edit.

I just tried installing bat for max and when I run 3ds max it says "Runtime error: fileIn: can't open file - "C:\Programme\Autodesk\3ds Max 9\""
Im pretty sure I followed the installation instructions to the the letter, but I had to use the "Deltree.exe" file supplied with the file, which can apparently cause problems.
Any ideas as to what the problem may be?

Rayden

If anyone is using Vista, finding the 3dmax.ini file is not that straight forward as in XP. First you have to set on your folder options, to show hidden files.

Then look for something like this - C:\Users\Silvio\AppData\Local\Autodesk\3dsmax\9 - 32bit\enu

Of course you won't find Silvio on the path unless you have my name as well ;)

FromTheAshes

Hi cameron1991. The problem you are talking about is the same one which I opened this thread for  :D
Look. The introductions says:
In the 3dsmax root directory, find the 3dsmax.ini file again and open in notepad.  In the Directories section, edit the PlugCFG line to point to the location of the \gamepacks\BAT directory on your computer.  For example, PlugCFG=C:\Program Files\3dsmax42\gamepacks\BAT
And this is exactly what you have to do. Find the file in
C:\Documents and Settings\<localuser>\Local Settings\Application Data\Autodesk\3dsmax\9 - 32bit\enu, open it with notepad and change the PlugCFG so that it's pointing to the BAT-direction. For example: C:\Programs\Autodesk\3Ds Max 9\gamepacks\BAT
It's that easy ;)
Visit Vorsfelde.

callagrafx

I don't think it's the same error...Check that the paths you have edited have trailing backslashes ( \ ).  One big problem you are going to have is the space in the folder name "3DS Max 9"...FSHTool will not run with spaces in file or path names.

Also, avoid Deltree if at all possible...the dangers outweigh the benefits.
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it

cameron1991

My problem is this

I have that file in the correct directory, but when I start up 3dsmax it says there is an exception

Rayden

One more thing I found that I'm not sure if it's a general thing or just particular to Vista OS, the "SC4PluginPath" in the BATFORMAX.ini must have the left slash "\" at the end to function properly. This is the path I had SC4PluginPath=C:\Users\Silvio\Documents\SimCity 4\Plugins and 3DMax couldn't see the SC4Model file in the plugins folder, and as soon as I add that slash, it functioned.

This is the path now SC4PluginPath=C:\Users\Silvio\Documents\SimCity 4\Plugins\

I also added that slash to the end of the path lines "TempPath" and "DestPath" just in case.

One more thing to enrich this thread, that would be nice if someone could add in here the basic settings for 3D Max like the Snap to Grid and other preferences/options that must be applied for this program to be fully compatible with the BAT.

callagrafx

I recommend you uninstall 3DSMax and re-install to c:\3dsmax9 (you need to change the path manually in the install window when it asks what you would like to install) otherwise you will not be able to apply the renders to the model file.

As for the startup error, a clean re-install may solve this problem. Make sure the paths all have \ at the end when you edit the 3dsmax.ini and bat4max.ini files.
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it

cameron1991

I reinstalled 3ds max to c:\3dsmax9 and tried to install bat for max but it still says there is a script error. I think im just going to have to give up on trying to install it  :'(

FromTheAshes

Did you really try to do what I said? I think this should work, because before doing this step I had EXACTLY the same error message.
Visit Vorsfelde.

cameron1991

I did what you said FromTheAshes but it didnt make a difference, I also tried moving CPTB2Startup.ms and I no-longer get that message, but I still only get these menus

Are these all the menus I should see?

Rayden

You're mising all the BAT buttons, just above "Randomize Night Windows"

FromTheAshes

I've got another problem now: I did everything as the introductions says. Unfortunatly my model (a prop) is not shown in LE. It's in the list, but when I place it on a LOT, it's just blank. Any ideas what I could do?
Visit Vorsfelde.

Rayden

I'm not really sure if that is the reason, but it worked with yesterday. I also had an empty model exported and after a couple of tries, I tried before hitting the export, to select the complete model (h key), select all... after the first export, I've run the FSH build and then the DAT FSH insert, and then again the export button. It did render well like that.