Jump to content


Photo

Baldurs Gate?


  • Please log in to reply
11 replies to this topic

#1 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 09:44 AM

I´ve got a tips from Jarno Mikkola to use this console:

Activating the Console (BG2 / BG2:ToB)
Enable
Open the Baldur.ini file (located in the BG2 installaion directory).
Find the line [Program Options] and add the text Debug Mode=1 underneath.
Access
Create a new game / load a save game.
Press ctrl and space together.
CLUA commands can be entered in the editing area that appears at the bottom of the screen.
Commands must be prefixed with CLUAConsole:

What does a ini file look like?

/Ztartrax

#2 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 07 February 2010 - 10:01 AM

Do you see a file named Baldur.ini in the folder where bgmain.exe is located? Open that file with notepad.

I Ride for the King!


a.k.a. Chev


#3 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 10:12 AM

Do you see a file named Baldur.ini in the folder where bgmain.exe is located? Open that file with notepad.



No thats the problem, I can find bgmain.exe and more but no file named ini.

I can find: baldur (config), baldur (textdocument), Baldur.err, Baldurs Gate 2 manual, bgate2.mpi, and some BG2 patchfiles but none ini file...:/

/Z

#4 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 10:38 AM

Do you see a file named Baldur.ini in the folder where bgmain.exe is located? Open that file with notepad.


Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

#5 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 February 2010 - 10:52 AM

Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):
Posted Image

Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.

Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.

Edited by Jarno Mikkola, 07 February 2010 - 10:56 AM.

Deactivated account. The user today is known as The Imp.


#6 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 11:03 AM

Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):
Posted Image

Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.

Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.


Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?

Hoppefully this is my last question if I get this right after this..:D

/Ztartrax

#7 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 February 2010 - 11:12 AM

...

Just like I PM'ed you, it's the spaces that you have to get rid off and put -LUA-, not -lua- ...

Deactivated account. The user today is known as The Imp.


#8 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 11:12 AM


Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):
Posted Image

Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.

Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.


Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("ar0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?

Hoppefully this is my last question if I get this right after this..:D

/Ztartrax



I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...:(

#9 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 11:23 AM



Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):
Posted Image

Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.

Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.


Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("ar0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?

Hoppefully this is my last question if I get this right after this..:D

/Ztartrax



I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...:(



So now I have written: CluaConsole: MoveToArea ("ar0020") and Enter and then it comes up: Active Stack:

What does active stack means?

#10 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 February 2010 - 11:25 AM

I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...:(

For me it's behind the Shift + Ä buttons. The Scandinavian keyboard.
And you need to change the lua to LUA and delete the spaces... So the end result is:
CLUAConsole:MoveToArea("ar0020")

What does active stack means?

The command is not valid.

Edited by Jarno Mikkola, 07 February 2010 - 11:29 AM.

Deactivated account. The user today is known as The Imp.


#11 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 07 February 2010 - 11:29 AM

Mate, type exactly like this ;)
CLUAConsole: MoveToArea ("ar0020")
see?? CLUAConsole, not CluaConsole :P

Oooooh, lightning fast imp-ninja!!! :devil:

Edited by Lollorian, 07 February 2010 - 11:30 AM.

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#12 Ztartrax

Ztartrax
  • Member
  • 667 posts

Posted 07 February 2010 - 11:38 AM

I will thank you all for the help but a special thanx to Jarno Mikkola...now I can visit the other areas to..:D

THANX!

/Z