Author Topic: HELP! Run Bootloader > Start or Configure > InvalidArgument=Value of '2'  (Read 10548 times)

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Hey guys, when I run my bootloader.exe and try to config or run the game i get:

Please help me if you can. Thanks!

Quote

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid for 'index'.
Parameter name: index
   at System.Windows.Forms.ComboBox.ObjectCollection.get_Item(Int32 index)
   at BootLoader.OpenGLCFG.ReadOpenGLCFG()
   at BootLoader.OpenGLCFG.OpenGLCFG_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BootLoader
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///O:/Installed%20Games/Final%20Fantasy%20VII/BootLoader.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Have you modified the game in any way after installing Bootleg?
Did you manually change FF7_OpenGL.cfg?

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Nah,

I backed up my FF7 install folder, formatted, and now it doesnt work :(

I installed ff7 again, then copied my backup folder overtop, still nothing. :(

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Do a fresh, maximum install of FF7.
Then run Bootleg again.
If you alter the paths or any of the files, the game will fail to load.

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Paths are the same :( I'll try it from scratch again- maybe I missed something.

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
I had it working fine b4 i formatted, now i uno wtf :(

Clean install, set bootleg to admin, set BFE to admin, run BFE, run bootleg, get error msg:

"run bootleg.exe as admin
for help use the command line switch-- bootleg /?
press any key to continue"

and it exists me.

i am so lost now :(

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Install FF7 to a non system folder such as C:\Games\Final Fantasy VII\
Don't use a system folder like Program Files or Desktop.

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Hmm ic, the install directory that BFE sees didn't change to my new install dir automatically like i thought it would. I changed it and am patching now.

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Dammit!!!!!!!!!

So I did a full clean install, successfully patched with BFE. When I open bootloader I get this when I try to do anything:



My settings don't save and I can't launch the game.

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Hey guys, hoping to get some help with this, sorry. :)

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
This one still stumps me.
I'm continuing my investigation.

Did you install the game for a optical drive: cd-rom, dvd-rom or blu ray?

Have you installed the Microsoft .NET Framework 2.0?

Did you install to a non system folder like C:\Games\Final Fantasy VII\?

alllallla

  • *
  • Posts: 4
    • View Profile
hey there!

Same thing happening to me!

And yes, installed in a non-system folder
Installed through an image
did not alter any bootleg files post-install.

Problem is, Bootloader opens, but when i go into config and try to save, (asks me yes when you close the config), it never does.
It stays on the config page forever.

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
You must use a legitimate 3 CD-Rom version of the game: physical disks or images.
Any other versions of FF7-- Ultima Edition-- are not supported.

I'm unable to recreate this problem.
Post a copy or your ff7_opengl.cfg file.

« Last Edit: 2012-07-11 21:28:33 by PitBrat »

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Worked with other version before but let me try 2.2gb version.

alllallla

  • *
  • Posts: 4
    • View Profile
hey there!

thanks for the quick reply PitBrat!

I do am using real images i made from  buddy's CDs who told me you could play it modded with hardcore mod :)

Anyways, here's the cfg:

Code: [Select]
# ff7_opengl-0.7.11b config file - modified by Bootleg



## USER OPTIONS ##
## If you just want to play the game, these are the only options you'll want to change.

# set the window size (or fullscreen resolution) of FF7
# 0 means use original resolution (whatever ff7.exe provides)
# preserve_aspect adds black borders as needed to preserve a 4:3 aspect ratio
window_size_x = 1600
window_size_y = 900
#internal_size_x = 3840
#internal_size_y = 2160
preserve_aspect = yes
fullscreen = no

#window_pos_x = -1
#window_pos_y = -1
#widescreen_hack = yes

# mod directory
# subdirectroy of mods/ where textures will be loaded from
# does not affect the old external textures feature, those should still go in textures/
mod_path = bootleg

# check your driver settings if this option doesn't seem to work
enable_vsync = yes
refresh_rate = 60

# limit snowboard, coaster and highway minigames to refresh rate / 2, i.e. 30fps for a 60hz display mode
# vsync must be enabled and working for this to have any effect
minigame_framelimiter = on

# same thing, but for the battle swirl
battleswirl_framelimiter = off

# allow FF7 to use linear filtering for its textures
# some things look slightly better with this option on, but alot of textures just lose their detail
linear_filter = off

# plugin used to play music, the FF7Music plugin MUST be enabled for FF7Music to work.
# If no music plugin is loaded the game will play MIDI as usual but FF7Music will NOT work.
music_plugin = plugins/ff7music.fgp



## ENHANCEMENTS ##
## All the little extras that weren't part of the original game, default options include only trivial bug fixes.

# make all dialog boxes transparent, same effect as the transparent dialog boxes YAMP patch
transparent_dialogs = on

# allow max hp/mp to go over 9999, same effect as the YAMP patch by dziugo
break_9999limit = no
#new_hp_limit = yes
#new_mp_limit = yes

# include armor in magic defense calculation
mdef_fix = yes

# expand battle viewport to cover entire screen and make the battle menu transparent
new_battle_interface = on

# post-processing shader, used to apply fullscreen effects
enable_postprocessing = yes
post_source = shaders/SmartBloom.post
yuv_source = shaders/yuv.frag
frag_source = shaders/main.frag
vert_source = shaders/main.vert



## ADVANCED OPTIONS ##
## Don't fiddle with these unless you know what you're doing.

# use shaders, if available and supported
# turn shaders off to use the OpenGL 1.1 backend
use_shaders = yes
#enable_lighting = yes
#show_light_rays = yes
#show_normals = yes
#show_tbn_space = yes
#max_lights = 12

#Variable Functions#
#specular_fog = yes
#texture_scale_bias = 1
#texture_coordinate_clamp = yes
#pixel_texture_bits = 32
#generate_mipmap = yes
#detail_texture = yes
#shader_precision = yes
#tessellation_program5 = yes
#multisample_coverage = yes
#multisample_filter_hint = yes
#texture_filter_anisotropic = yes
#texture_edge_clamp = yes

# prevent glitches due to rounding errors by rendering in the nearest (larger, if supported)
# multiple of the original resolution and up/down-scaling
prevent_rounding_errors = yes

# enable alpha blending for textures without an existing blending effect
fancy_transparency = on

# display frames per second counter in upper right corner
show_fps = no
skip_frames = no

# display some real-time debug information
show_stats = no

# store external textures in a compressed cache for increased performance
# compression is not lossless, some artifacts may appear when this option is in use
# texture cache does NOT update automatically if the source image changes, however, deleting anything from the cache
# will cause that file to be recreated from the source
compress_textures = no

# use pixel buffer objects to speed up texture loading
# will probably crash horribly on ATI cards but should work for NVIDIA users
use_pbo = yes
use_vbo = no

# replace FF7's default framelimiter timer source
use_new_timer = yes

# use a more stable (but less accurate) timer to control FF7's framelimiter
# this option has no effect unless the use_new_timer option is on
use_stable_timer = yes

# plugin used to play movies, FFMpeg is the only choice for now
movie_plugin = plugins/ffmpeg_movies.fgp



## MODDER OPTIONS ##
## These options are mostly useful to modders and should not be enabled during normal play.

# read files directly instead of using LGP archives
# for example; if FF7 is looking for aaab.rsd in char.lgp, this option will make it open direct/char/aaab.rsd first,
# if this file doesn't exist it will look for the original in the LGP archive
direct_mode = off

# show every failed attempt at loading a .png texture
show_missing_textures = no

# Disable Error Notifications
disable_popup = on

# Load Multiple DLLs
load_library = Multi.dll

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Are you running any virus scanning software?
Close all programs before running Bootloader.

alllallla

  • *
  • Posts: 4
    • View Profile
Turned off Avast and closed everything I could (some process unknown to me are still on).

Same thing.

But it isnt that big of a deal since I can just edit it via the config file and launch the game via bootloader.
It's just the config part of the GUI that is messed up.

JobeStroud

  • *
  • Posts: 29
    • View Profile
I get that error everytime myself after a fresh install of bootleg . All you need to do is hit continue and hit the prefab setting on the right side of the menu. I think it does it cause there is a blank movie field that it is looking up. Or that it is because it is the blank spot for the cd rom look up. once I pick the movie path and cd rom to use it works fine. No more error. So I believe the problem lies in there.
« Last Edit: 2012-07-13 02:19:12 by JobeStroud »

Adoray

  • Pirate
  • *
  • Posts: 12
    • View Profile
Odd, the first time I got this working it was with the ULTIMA edition. I had it working for a while until I formatted. Since then I have not been able to use the ULTIMA edition but the 2.2gb version worked like a charm. NO MORE ERRORS! ONLY GOODNESS!!!! :)

alllallla

  • *
  • Posts: 4
    • View Profile
Hey there!

Found the problem.

Had to click ''write cfg'' after i changed the game and movie path :)   instead of just leave and savin