Skip to content

I Broke My Game

Hi, I edited my baldur.ini file in order to add CLUAConsole to my game, and forgot to back up the original file. For some reason my editing corrupted it, and nomatter what I do (uninstall, delete the file and select repair from the menu) the game is still corrupted. The program won't go into full screen, buttons in menus are only clickable sometimes, text is garbled and the game crashes when I load or start a new game. What can I do?

Comments

  • moopymoopy Member Posts: 938
    edited December 2012
    Try replacing your entire baldurs.ini with this, it is what is in mine:

    Edit: Also the CLUA is unlocked in this ini

    The one at Documents\Baldur's Gate - Enhanced Edition:

    CREATE TABLE options (
    section string,
    name string,
    value string
    );
    INSERT INTO options ROWS (
    'Window', 'Full Screen', '0',
    'MOVIES', 'INTRO', '1',
    'Window', 'Maximized', '0',
    'Game Options', 'Cheats', '1',
    'Game Options', 'Footsteps', '1',
    'Game Options', 'Memory Level', '1',
    'Game Options', 'Mouse Scroll Speed', '41',
    'Game Options', 'GUI Feedback Level', '5',
    'Game Options', 'Locator Feedback Level', '3',
    'Game Options', 'Bored Timeout', '3000',
    'Game Options', 'Always Dither', '1',
    'Game Options', 'Subtitles', '1',
    'Game Options', 'Keyboard Scroll Speed', '36',
    'Game Options', '=', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ',', ',',
    ',', ')', '',
    'Game Options', 'Footsteps', '1',
    'Game Options', 'Command Sounds Frequency', '2',
    'Game Options', 'Selection Sounds Frequency', '3',
    'Game Options', 'Effect Text Level', '63',
    'Game Options', 'Infravision', '1',
    'Game Options', 'Weather', '1',
    'Game Options', 'Tutorial State', '1',
    'Game Options', 'Attack Sounds', '1',
    'Game Options', 'Auto Pause State', '1152',
    'Game Options', 'Auto Pause Center', '1',
    'Game Options', 'Difficulty Level', '3',
    'Game Options', 'Quick Item Mapping', '1',
    'Game Options', 'Environmental Audio', '1',
    'Game Options', 'Heal Party on Rest', '1',
    'Game Options', 'Terrain Hugging', '0',
    'Game Options', 'HP Over Head', '0',
    'Game Options', 'Critical Hit Screen Shake', '1',
    'Game Options', 'Hotkeys On Tooltips', '1',
    'Game Options', 'Area Effects Density', '100',
    'Game Options', 'Duplicate Floating Text', '1',
    'Game Options', 'Tiles Precache Percent', '100',
    'Game Options', 'Pausing Map', '0',
    'Game Options', 'Extra Feedback', '0',
    'Game Options', 'Filter Games', '1',
    'Game Options', 'All Learn Spell Info', '1',
    'Graphics', 'Hardware Mouse Cursor', '1',
    'Program Options', 'Debug', '1',
    'Program Options', 'Font Name', '',
    'Program Options', 'Double Byte Character Support', '0',
    'Program Options', 'Drop Capitals', '1',
    'Program Options', '3D Acceleration', '1',
    'Program Options', 'Maximum Frame Rate', '30',
    'Program Options', 'Path Search Nodes', '32000',
    'Program Options', 'Tooltips', '60',
    'Program Options', 'Translucent Shadows', '1',
    'Program Options', 'Sprite Mirror', '0',
    'Program Options', 'Gamma Correction', '0',
    'Program Options', 'Brightness Correction', '0',
    'Program Options', 'Backwards Compatible 3d', '0',
    'Program Options', 'Volume Movie', '90',
    'Program Options', 'Volume Music', '40',
    'Program Options', 'Volume Voices', '100',
    'Program Options', 'Volume Ambients', '40',
    'Program Options', 'Volume SFX', '80',
    '', '', '',
    'MOVIES', 'DEATHAND', '1',
    'Window', 'x', '444',
    'Window', 'y', '77',
    'Window', 'w', '1024',
    'Window', 'h', '768',
    'MOVIES', 'REST', '1',
    'MOVIES', 'FRARMINN', '1',
    'MOVIES', 'NASHKELL', '1',
    'MOVIES', 'RESTDUNG', '1',
    'MOVIES', 'RESTINN', '1',
    'MOVIES', 'ELDRCITY', '1',
    'MOVIES', 'WRECK', '1',
    'MOVIES', 'BLACKPIT', '1'
    );

    The one at C:\Program Files (x86)\Baldur's Gate Enhanced Edition\Data\00766:

    CREATE TABLE options (
    section string,
    name string,
    value string
    );
    INSERT INTO options ROWS (
    'Window', 'Full Screen', '1',
    'MOVIES', 'INTRO', '1',
    'Window', 'Maximized', '0',
    'Game Options', 'Footsteps', '1',
    'Game Options', 'Memory Level', '1',
    'Game Options', 'Mouse Scroll Speed', '41',
    'Game Options', 'GUI Feedback Level', '5',
    'Game Options', 'Locator Feedback Level', '3',
    'Game Options', 'Bored Timeout', '3000',
    'Game Options', 'Always Dither', '1',
    'Game Options', 'Subtitles', '1',
    'Game Options', 'Keyboard Scroll Speed', '36',
    'Game Options', 'Command Sounds Frequency', '2',
    'Game Options', 'Selection Sounds Frequency', '3',
    'Game Options', 'Effect Text Level', '63',
    'Game Options', 'Infravision', '1',
    'Game Options', 'Weather', '1',
    'Game Options', 'Tutorial State', '1',
    'Game Options', 'Attack Sounds', '1',
    'Game Options', 'Auto Pause State', '0',
    'Game Options', 'Auto Pause Center', '1',
    'Game Options', 'Difficulty Level', '2',
    'Game Options', 'Quick Item Mapping', '1',
    'Game Options', 'Environmental Audio', '1',
    'Game Options', 'Heal Party on Rest', '1',
    'Game Options', 'Terrain Hugging', '0',
    'Game Options', 'HP Over Head', '0',
    'Game Options', 'Critical Hit Screen Shake', '1',
    'Game Options', 'Hotkeys On Tooltips', '1',
    'Game Options', 'Area Effects Density', '100',
    'Game Options', 'Duplicate Floating Text', '1',
    'Game Options', 'Tiles Precache Percent', '100',
    'Game Options', 'Pausing Map', '0',
    'Game Options', 'Extra Feedback', '0',
    'Game Options', 'Filter Games', '1',
    'Game Options', 'All Learn Spell Info', '1',
    'Program Options', 'Font Name', '',
    'Program Options', 'Double Byte Character Support', '0',
    'Program Options', 'Drop Capitals', '1',
    'Program Options', '3D Acceleration', '1',
    'Program Options', 'Maximum Frame Rate', '30',
    'Program Options', 'Path Search Nodes', '32000',
    'Program Options', 'Tooltips', '60',
    'Program Options', 'Translucent Shadows', '1',
    'Program Options', 'Sprite Mirror', '0',
    'Program Options', 'Gamma Correction', '0',
    'Program Options', 'Brightness Correction', '0',
    'Program Options', 'Backwards Compatible 3d', '0',
    'Program Options', 'Volume Movie', '90',
    'Program Options', 'Volume Music', '40',
    'Program Options', 'Volume Voices', '100',
    'Program Options', 'Volume Ambients', '40',
    'Program Options', 'Volume SFX', '80',
    'MOVIES', 'DEATHAND', '1',
    'MOVIES', 'REST', '1',
    'MOVIES', 'FRARMINN', '1',
    'MOVIES', 'NASHKELL', '1',
    'Graphics', 'Hardware Mouse Cursor', '1',
    'MOVIES', 'CAMP', '1',
    'MOVIES', 'MINEFLOD', '1',
    'MOVIES', 'BGENTER', '1',
    'MOVIES', 'RESTINN', '1'
    );
  • WholesaleWNGWholesaleWNG Member Posts: 7
    Thanks, but I tried replacing the code with the code you gave me and nothing changed. I've attached a screenshot showing some of the garbled letters that pop up everywhere before the game crashes.
  • WholesaleWNGWholesaleWNG Member Posts: 7
    I am also confused as to why uninstalling/reinstalling doesn't work. Is something permanently messed up?
  • TJ_HookerTJ_Hooker Member Posts: 2,438
    Have you tried running the launcher and clicking the repair install button? It's a little icon in the bottom right corner of the launcher window.
  • mlnevesemlnevese Member, Moderator Posts: 10,214
    edited December 2012
    @WholesaleWNG Delete your baldur.ini file, the game will just create a new default one next time you run it. Unistalling didn't work because it does not delete the baldur.ini in your Documents folder and when the game found an existing file, it tried to read it.

    Also when editing an ini file use a good text editor. Whatever you used is probably responsible for the file corruption. I'd recommend Editpad Lite as it's free for personal use.
  • CantabCantab Member Posts: 56
    Ha...I know this is an old forum and you will probably never read it...but major thanks Moopy!!!!!! you saved my game :>, after I had the same problem as wholesale!! (via copy and pasting your code)
Sign In or Register to comment.