02.05.2008, 15:28
RAF_Magpie Wrote:Amazing work Maze Nice and simple. Is it possible to encorporate a Modded 4.08 & Modded 4.09 as options?
Thanks!
I'm only running the config above myself, that's why they are the only alternatives
I've already added the Xfire button (which was naturally only 5mins of work). Regarding modded 4.08 and 4.09 I need something to identify the configurations with (as I want some sanity checks etc and not keeping track of which configuration is currently used by saving "state"). For the current program I use the exact file size of the "files.SFS" to ID the two original configurations - and for the "Mod" alternative I check if there is a directory called "IL2 dir" + " ORIGINAL" present (then the user has switched so that the "IL2 Mod dir" is now the "IL2 base dir" etc). I then check the exact filesize of the il2fb.exe to be sure it's the modded exe before allowing a "switch"(and knowing which button to disable and add the text "current configuration"... The method "IdentifyCurrentConfig" is called in many places - before and after switching, after the TextChanged event on the config boxes etc...
I don't know what to check for to ID "mod 4.09" or "mod 4.08" - are the files.SFS different and constant (if you understand what I mean?). Posting a beta screenshot below of how I thought the GUI (ignore the buttons for switching IL2 configurations for now - my thought is that two "mod buttons" will be added dynamically (and the single mod button will be removed) if you check the "Use alternative mod configurations" checkbox etc...
Beta screenshot:
What do you think? Another question - what has to be copied to the base dir to switch between modded 4.08 and 4.09 - files.SFS + il2fb.exe?
/Mazex