Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Bad Threads => Topic started by: Gantrex1 on July 13, 2012, 08:42:34 pm

Title: Noggit help
Post by: Gantrex1 on July 13, 2012, 08:42:34 pm
I've asked before but i wasn't helped. I'm getting instant crashes from noggit, I know it's frustrating but I need some help. I've read the manual multiple times and I can't get the reason on why it won't work.
My conf:
Quote
#This is a config file template. To use it rename into noggit.conf and set your options
#Edit this to your WoWFile!!!
Path = C:UsersDanielDesktopWow 3.3.5a Backup

#Edit this to your Project-Directory and uncomment if you want to use it!
ProjectPath =

#Set this to the file where you will import models from (the model viewer log for example :) )
ImportFile  = C:UsersDanielDesktopProject1

#The far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standard value and will be taken if you do not set this value.
FarZ=2048

I renamed my config file to noggit.conf still nothing. Another problem is when i downloaded it the actual noggt application doesn't show the icon (I don't know if this is a  problem, but i thought I would include it).
My log:
Quote
0 - (Noggit.cpp:130): Noggit Studio - 3.0
890 - (Video.cpp:204): [Debug] GL: Version: 4.1.10834 Compatibility Profile Context
891 - (Video.cpp:205): [Debug] GL: Vendor: ATI Technologies Inc.
891 - (Video.cpp:206): [Debug] GL: Renderer: AMD Radeon HD 6320 Graphics    
Please someone help me. /Beg :(
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 08:46:59 pm
Quote
#This is a config file template. To use it rename into noggit.conf and set your options
#Edit this to your WoWFile!!!
#(<- Remove it)Path = [...]World of Warcraft(<- Add it)

#Edit this to your Project-Directory and uncomment if you want to use it!
#(<- Remove it)ProjectPath = [...]World of Warcraft(<- Add it, place is optional)
[...]

Find the mistake.
Refer to this thread if unsure:
viewtopic.php?f=48&t=491 (http://modcraft.io/viewtopic.php?f=48&t=491" onclick="window.open(this.href);return false;)


Let me give you a fitting quote at that same moment:
Quote from: "Charles de Montesquieu"
I have never known any distress that an hour's reading did not relieve.
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 08:53:10 pm
I still can't find the problem.  :?
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 08:54:38 pm
Quote from: "Gantrex1"
I still can't find the problem.  :?
wiki/index.php5?title=Noggit_user_manual#The_config_file (http://modcraft.io/wiki/index.php5?title=Noggit_user_manual#The_config_file" onclick="window.open(this.href);return false;)
maybe this makes it clearer.
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 08:56:28 pm
Quote
I've read the manual multiple times
I've read it already.
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 08:57:45 pm
Quote from: "Gantrex1"
Quote
I've read the manual multiple times
I've read it already.
I want a facepalm smiley.  :roll:

Quote
#Edit this to your Project-Directory and uncomment if you want to use it!
ProjectPath =

How should the game create your ADTs if there is no Project folder to refer to ?

Quote
#Set this to the file where you will import models from (the model viewer log for example  )
ImportFile = C:UsersDanielDesktopProject1
Your Noggit refers it's model viewer from a seemingly "project" folder - not even it's log.txt, as it should be.

Clearly you've been reading the manual several times.
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 08:59:48 pm
I edited that already
Quote
ProjectPath = C:UsersDanielDesktopProject2
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 09:00:46 pm
Quote from: "Gantrex1"
I edited that already
Quote
ProjectPath = C:UsersDanielDesktopProject2

Quote
#This is a config file template. To use it rename into noggit.conf and set your options
#Edit this to your WoWFile!!!
Path = C:UsersDanielDesktopWow 3.3.5a Backup

||
||
v
#Edit this to your Project-Directory and uncomment if you want to use it!
ProjectPath =
???
^
||
||

#Set this to the file where you will import models from (the model viewer log for example :) )
ImportFile  = C:UsersDanielDesktopProject1

#The far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standard value and will be taken if you do not set this value.
FarZ=2048

Clearly, considering that I just quoted this from your own post.


Oh, and by the way:
Your Noggit is too old/outdated. Use the SDL 1.1 (sticky).
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 09:04:16 pm
All i'm asking for is a little help. Can you please help me?


I've downloaded the latest version and extracted it. The config file now looks like the other one.
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 09:06:54 pm
Quote from: "Gantrex1"
All i'm asking for is a little help. Can you please help me?
... Everything you gave us indicates the usual syntomes of most Noggit "users" - they edit their config wrong. Something that is stickied and could be handled if you bothered to check properly. The config you copy pasted has no project path, so it has no where to save the adts at -> Noggit cancels out. if you renamed it properly, everything is fine. Your Model viewer is falsely set -> might also cause issues.

Also, you use an old noggit version. The newest one is SDL 1.1, but your log refers to a 3.0.
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 09:18:05 pm
Could you give me an example of the Model Viewer path?
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 09:20:30 pm
D:GamesWorldofWarcraftRandomWMV_Binary_v0701_r252_Win32_DevWorkuserSettingslog.txt
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 09:24:14 pm
Here is my new Conf:
Quote
#This is a config file template. To use it rename into noggit.conf and set your options
#Edit this to your WoWFile!!!
Path = C:WoW 3.3.5

#Edit this to your Project-Directory and uncomment if you want to use it!
ProjectPath = C:WoWModdingMy Project

#Set this to the file where you will import models from (the model viewer log for example :) )
ImportFile  = C:UsersDanielDesktopProject1log.txt

#The far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standard value and will be taken if you do not set this value.
FarZ=2048
Title: Re: Noggit help
Post by: Ascathos on July 13, 2012, 09:27:42 pm
For some reason, I think it should be "userSettingslog.txt", not just "log.txt" (in the folder itself.)


Anyway, try this Noggit version:
viewtopic.php?f=48&t=1738 (http://modcraft.io/viewtopic.php?f=48&t=1738" onclick="window.open(this.href);return false;)

It's the newest and you can just take the same config.
Title: Re: Noggit help
Post by: Gantrex1 on July 13, 2012, 09:32:56 pm
The log.txt is inside the folder. I downloaded that version extracted it, but still norhing. :(
Title: Re: Noggit help
Post by: Steff on July 14, 2012, 06:53:13 am
Please repost your LAST config file and logfile.
Title: Re: Noggit help
Post by: Gantrex1 on July 14, 2012, 09:58:10 am
My Config:
Quote
# This is a config file tamplate. To use it rename into noggit.conf and set your optiones

#Edit this to your WoWFile!!!
Path = C:WoW 3.3.5

#Edit this to your Project-Directory and uncomment if you want to use it!
ProjectPath = C:WoWModdingMyProject

#Set this to the file where you will impor models from (the modelviewer log for example :) )
ImportFile  = C:UsersDanielDesktopProject1

#The Far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standart value and will be taken if you do not set this value.
FarZ=1024

My Log:
Quote
4 - (Noggit.cpp:130): Noggit Studio - SDL 1.1
1727 - (Video.cpp:204): [Debug] GL: Version: 4.1.10834 Compatibility Profile Context
1727 - (Video.cpp:205): [Debug] GL: Vendor: ATI Technologies Inc.
1728 - (Video.cpp:206): [Debug] GL: Renderer: AMD Radeon HD 6320 Graphics    

 :?:
Title: Re: Noggit help
Post by: Steff on July 14, 2012, 08:33:14 pm
Is this the full log?
Whats the name of your config file?
Title: Re: Noggit help
Post by: Gantrex1 on July 15, 2012, 12:07:54 am
Yeah, that's it.
noggit.conf
Title: Re: Noggit help
Post by: Steff on July 15, 2012, 11:15:18 am
Try this config for testing


Quote
# This is a config file tamplate. To use it rename into noggit.conf and set your optiones

#Edit this to your WoWFile!!!
Path = C:WoW 3.3.5

#Edit this to your Project-Directory and uncomment if you want to use it!
#ProjectPath = C:WoWModdingMyProject

#Set this to the file where you will impor models from (the modelviewer log for example :) )
#ImportFile = C:UsersDanielDesktopProject1

#The Far clipping value. Set to 2048, 3072, 4096 etc. for a further look. Higher values need more 3d power.
#1024 is the standart value and will be taken if you do not set this value.
FarZ=1024
Title: Re: Noggit help
Post by: Gantrex1 on July 15, 2012, 12:03:48 pm
Still nothing. :(
Title: Re: Noggit help
Post by: Steff on July 15, 2012, 12:06:07 pm
Did the logfile change?
Try to update your Grafic Card Driver. If logfile stop there it cant init the video system.
Title: Re: Noggit help
Post by: schlumpf on July 15, 2012, 01:17:52 pm
The application is crashing during
Code: [Select]
 if( !video.init( xres, yres, fullscreen, doAntiAliasing ) )
  {
    LogError << "Initializing video failed." << std::endl;
    return -1;
  }

  SDL_WM_SetCaption( "Noggit Studio - " STRPRODUCTVER, "" );

  std::string wowpath( getGamePath() );
  if( wowpath == "" )
  {
    return -1;
  }

  Log << "Game path: " << wowpath << std::endl;
Where video.init() is the last to be called and contains
Code: [Select]
bool Video::init( int xres_, int yres_, bool fullscreen_, bool doAntiAliasing_ )
{
[...]

  LogDebug << "GL: Version: " << glGetString( GL_VERSION ) << std::endl;
  LogDebug << "GL: Vendor: " << glGetString( GL_VENDOR ) << std::endl;
  LogDebug << "GL: Renderer: " << glGetString( GL_RENDERER ) << std::endl;

  return mSupportCompression;
}
therefore has finished as it is printing everything. This means it is crashing in
Code: [Select]
 SDL_WM_SetCaption( "Noggit Studio - " STRPRODUCTVER, "" );

  std::string wowpath( getGamePath() );
  if( wowpath == "" )
  {
    return -1;
  }
So either SDL_WM_SetCaption or getGamePath. As I trust Sam
(https://twimg0-a.akamaihd.net/profile_images/397621084/n1124952298_108533_8103.jpg)
it will most likely not crash in SDL_WM_SetCaption. It therefore crashes in
Code: [Select]
std::string getGamePath()
{
  if( !boost::filesystem::exists( "NoggIt.conf" ) )
  {
  #ifdef _WIN32
    HKEY key;
    DWORD t;
    const DWORD s( 1024 );
    char temp[s];
    memset(temp,0,s);
    LONG l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Wow6432Node\Blizzard Entertainment\World of Warcraft",0,KEY_QUERY_VALUE,&key);
    if (l != ERROR_SUCCESS)
      l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Blizzard Entertainment\World of Warcraft\PTR",0,KEY_QUERY_VALUE,&key);
    if (l != ERROR_SUCCESS)
      l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Blizzard Entertainment\World of Warcraft",0,KEY_QUERY_VALUE,&key);
    if (l == ERROR_SUCCESS && RegQueryValueEx(key,"InstallPath",0,&t,(LPBYTE)temp,(LPDWORD)&s) == ERROR_SUCCESS)
      return temp;
    else
      return "";
    RegCloseKey(key);
  #else
    return "/Applications/World of Warcraft/";
  #endif
  }
  else
  {
    Log << "Using config file." << std::endl;
    return ConfigFile( "NoggIt.conf" ).read<std::string>( "Path" );
  }
}
I don't think boost::filesystem::exists can crash. It therefore can either be true or false. As you are on windows, it either is
Code: [Select]
Log << "Using config file." << std::endl;
or some winapi calls.

Your log is not printing "Using config file.". Therefore, you do not have a properly named file.

It therefore seems like YOU ARE NOT HAVING A PROPER CONFIG FILE.

AND: That winapi stuff crashes on some configuration. I don't know why, but it might be protection with non-admin privileges — while I have no idea why you would need those. BUT I DON'T CARE.

You do NOT have a proper config file and noggit is crashing for some weird reason in windows specific code.

This is the last time I even remotely answer such a thread. This will be closed and moved to the bad topics as we had this problem often enough and the thread's title is just stupid and saying nothing.