ascottk on 27/7/2009 at 02:25
TESTERS! Here are the files:
New thread over here:
(
http://www.ttlg.com/forums/showthread.php?p=1894981)
_______________________________________________________
I decided to take a stab at programming/coding (visual basic 2008 express). I started designing it with wxDevC++ (wxWidgets & C++) but found the documentation to be confusing. So I tried it with vb express which is more familiar to me.
Some classes I took in college include c++, java, html, and visual basic 6 which I currently own (but not using . . .). The teachers sucked! They just projected a project on the overhead and played around with code and never explained it!
This program in development is inspired by T:DS Tweaker by "GazChap" who says on his site:
Quote:
I am no longer the active developer of the T:DS Tweaker, as I just couldn't find the time to put in all of the tweaks that the fantastic community found! I have passed development over to an individual calling himself Keeper Sol, who has promised to do his best to keep it up to date. I will update this page with any new versions as and when they are completed.
This program is still technically in BETA stage, and may cause damage to your Thief: Deadly Shadows installation
& nothing's been heard of Keeper Sol . . .
So I'm trying to make a new tweaker:
(
http://img338.imageshack.us/i/t3gtweakmain.jpg/)
Inline Image:
http://img338.imageshack.us/img338/883/t3gtweakmain.th.jpg(
http://img20.imageshack.us/i/t3gtweakmain2.jpg/)
Inline Image:
http://img20.imageshack.us/img20/5470/t3gtweakmain2.th.jpg(
http://img189.imageshack.us/i/t3gtweakmain3.jpg/)
Inline Image:
http://img189.imageshack.us/img189/2300/t3gtweakmain3.th.jpg(
http://img268.imageshack.us/i/t3gtweakmain4.jpg/)
Inline Image:
http://img268.imageshack.us/img268/5333/t3gtweakmain4.th.jpg(
http://img31.imageshack.us/i/t3gtweakiniedit.jpg/)
Inline Image:
http://img31.imageshack.us/img31/1396/t3gtweakiniedit.th.jpgHere are the planned features:
* More tweaks
* A simple tweaker config file so the community can share their tweaks. If JoeBob FuzzyShorts had a great TDS tweak, wouldn't you want it too?
* Built in TDS ini editor
* Plug-ins (if I can figure it out) to expand on binary patching.
* Command line arguments to activate T3Ed tweaking (user.ini, user_patch.ini for Garrett Loader, WYSIWYG schema editor, etc.)
[INDENT]For example renaming Textures to PCTextures in DEFAULT.INI because WE ONLY NEED ONE TEXTURE DIRECTORY!!![/INDENT]
* I'm stretching this too far but . . . maybe WYSIWYG UI designer . . . that'd be cool . . .
* I'll probably open source it so the code doesn't get lost
Working:
* If no user name is given, t3g tweak will ask for one on startup.
* If a TDS install is found in the registry then t3g tweak will use that. If not, t3g tweak will ask for an install directory.
* The tweaks I enabled mostly work. Some may not work.
* t3g tweak can load & save configuration files (*.t3c)
I'm posting this:
* to get feed back for ideas/brainstorming
* to get help (anyone with experience with VB? potterr?)
* get more useful links: vb express related, source code, etc.
* whatever else comes up . . .
Beleg Cúthalion on 27/7/2009 at 06:45
Not bad, I'd vote for showing the standard and maybe "official Thief III Gold" settings for e.g. the difficulty stats so after changing them they're not completely in the blue. I always wondered how the highlight color interfered with the texture tweak JohnP used. We should offer only one possibility to alter it unless there is a texture-based difference in color and an ini-based difference in brightness etc..
ascottk on 28/7/2009 at 21:06
T3G Tweaker can now save the T3 config files with changes in the .ini edit view:
Code:
Private Sub tsbtnEditSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tsbtnEditSave.Click
Dim SysDir As String = T3GTweak.statlblTDSInstall.Text() & "\System\" 'goto TDS System Directory
'DEFAULT.INI save
If rtxtbxDefaultIni.Modified Then
Try
rtxtbxDefaultIni.SaveFile(SysDir & "DEFAULT.INI", RichTextBoxStreamType.PlainText)
Catch ex As Exception
MsgBox("Argh! Sneaksie thief stole my save!")
End Try
End If
etc.
& now you can view your current settings as a preview for your .t3c (T3G Config Profile):
(
http://img262.imageshack.us/i/t3gtweakconfigviewer.jpg/)
Inline Image:
http://img262.imageshack.us/img262/7748/t3gtweakconfigviewer.th.jpg& it creates a directory in your Documents folder called "T3GTweakConfig" if it doesn't exists so you can store your config profiles.
I'm actually learning stuff. Go figure :D
ascottk on 5/8/2009 at 23:03
**Removed older version - download links at start of thread**No installer, just unzip somewhere. You will need MS .net framework 3.5 runtime:
(
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en)
Keep in mind this is alpha quality software so backup your TDS .ini files before using!
I disabled a few settings since I haven't figured out how the character encodings are handled in vb2008 express (needed for altering the .sch files & T3Camera.ini). If I applied anything to T3Camera.ini the Inn would crash as soon as I stepped inside.
Things that work on my end (after hitting the "Apply Changes" button):
* If no user name is given, t3g tweak will ask for one on startup.
* If a TDS install is found in the registry then t3g tweak will use that. If not, t3g tweak will ask for an install directory.
* The tweaks I enabled mostly work. Some may not work.
* t3g tweak can load & save configuration files (*.t3c) so here's my testing config (copy & paste to new file with a .t3c extension then load it up from the file menu):
Code:
[T3GoldConfig]
UserName=ascottk
[Menu tweaks]
NoOpeningMov=False
IntroMovOnStart=True
No3DLogo=True
NoVersionNumber=True
LoadTipFontSize=0.57
SubTitleFontSize=0.51
NoLoadTips=True
NoFlavorText=False
NoPopupLighting=True
NoBlueBGFog=True
HUDColorRed=89
HUDColorGreen=77
HUDColorBlue=38
GameScreenThroughPause=True
NoBouncingArrow=True
[GUI Tweaks]
MouseLagValue=26
MouseSensitivityValue=75
LeaningSpeed=1.24
NoHeadBob=False
NoZoomOverlay=True
NoHealthBar=False
NoClampsOnSelectionGears=True
NoItemHUDGlow=True
NoNothingText=True
NoItemNamesInHud=True
No3rdPersonDeathCamera=False
NoLootPickupMessage=True
NoBackButtonInBooks=True
[GUI Adjustments]
LightGemScale=0.5
CompassScale=0.5
HealthMeterScale=0.5
AlwaysShowHealthbar=True
NoGamePauseWhileReading=True
NoLockPickWindow=False
ItemDisplayScale=0.63
BJAnimSpeed=1.27
[Difficulty Adjustments]
VisAcuValueEasy=0.96
VisAcuValueNormal=1.1
VisAcuValueHard=1.21
VisAcuHardExpert=1.25
AudAcuValueEasy=0.86
AudAcuValueNormal=1.07
AudAcuValueHard=1.09
AudAcuValueExpert=1.21
TactAcuValueEasy=1.07
TactAcuValueNormal=1.08
TactAcuValueHard=1.08
TactAcuValueExpert=1.09
HitpointsMultValueEasy=0.79
HitpointsMultValueNormal=1.07
HitpointsMultValueHard=1.25
HitpointsMultValueExpert=1.33
CombatSpeedMultValueEasy=1.1
CombatSpeedMultValueNormal=1.07
CombatSpeedMultValueHard=1.18
CombatSpeedMultValueExpert=1.26
AIPlayerDamageMultEasy=0.66
AIPlayerDamageMultNormal=1.08
AIPlayerDamageMultHard=1.28
AIPlayerDamageMultExpert=1.55
I'm not sure which files are needed to I included everything in the vb published application files. So try & run the app without the other crap (.application etc.)
EDIT: Found a bug, the lockpicking windows don't go back to their normal values. Is fixed on my end so it'll be there on the next update.
ascottk on 7/8/2009 at 01:39
Get it here:
(
http://www.sendspace.com/file/cafxks)
* fixed character encodings
* re-enabled tweaks because of the above so most tweaks should work now
* fixed defaults for lockpicking window so it's restored properly
* added a preferences menu to disable the fading in/out of windows
* since the HUD color tweak encompasses all colors, I gave a better default to fall back on
So PLEASE (over 218 views & no comments?), give some feedback!
Beleg Cúthalion on 7/8/2009 at 08:14
I'll see if I find time over the weekend but I'm a little burried with translations for Cracked Gear (although app. 75% complete), some testing for Rantako and last but not least my own mission. Oh, and I have a life occasionally. :p
ShadowSneaker on 7/8/2009 at 10:47
I'll have a look at it tonight.
ascottk on 7/8/2009 at 18:26
I found a bug, it's semi-fixed on my end:
When you open a config file then hit "Cancel" then the program will crash. It's semi-fixed because you have to hit "OK" with the open file dialog twice. The same behavior exists with the user name dialog. I'll look into that.
Beleg Cúthalion on 9/8/2009 at 10:16
If I'm not mistaken the changes for HUD didn't do anything. But there might be an issue with the registry settings; I changed back to T3 after starting the program. I'll have to see if it affected the T3Ed setup.
ascottk on 11/8/2009 at 01:31
Quote Posted by Beleg Cúthalion
If I'm not mistaken the changes for HUD didn't do anything. But there might be an issue with the registry settings; I changed back to T3
after starting the program. I'll have to see if it affected the T3Ed setup.
Sorry I took so long replying . . .
Your current install (registry-wise if your using dracflamloc's Thief 3 Launcher) is shown in the status bar at the bottom of the main form (
http://img26.imageshack.us/i/t3gtweakmain1.jpg/)
Inline Image:
http://img26.imageshack.us/img26/5660/t3gtweakmain1.jpg & T3GTweak doesn't write to the registry at all, it only reads it. Also it doesn't check if the registry changed after it starts up. I don't know how to do that unless it checks the registry every 5 minutes and that'd be a waste of resources. Another way is if the Thief 3 Launcher sends a signal to T3GTweak but I doubt drac had that in mind when he wrote that program.
I just had a thought . . . Maybe I can check the registry before applying T3GT's config to the game? That way if someone changes their install directory with the launcher after T3GT's been running it'll ask & then apply changes with the current install.
___________________________
Another thing . . . I ended up rewriting the way T3GT's config is opened/written. Before I used a list box to fill the information & I had to be specific on which index to write each string. If I kept with that method & added more tweaks then I would have to reorder the index (i.e. if I had a new tweak under the [GUI Adjustments] heading then I would add 1 to every index after that tweak which is a PITA)! Now it's not necessary so if someone decided to reorder the T3GT config file then their order would be preserved and it makes it easier on me if I added more tweaks.
EDIT: Asking for current install before applying (if applying) is the best solution. Before I just had this line:
Code:
clsApplyConfig.ApplyConfig()
Which is only going through a class file that updates TDS' ini files.
Now it's:
Code:
Dim TDSRegInstall As String = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Ion Storm\Thief - Deadly Shadows", "ION_ROOT", Nothing)
If MessageBox.Show("Your current install is " & TDSRegInstall & ". Is This correct?", "Current TDS Install", MessageBoxButtons.OKCancel, _
Nothing, MessageBoxDefaultButton.Button1) = DialogResult.OK Then
clsApplyConfig.ApplyConfig()
Else
'do nothing
End If
Not too bad a deal & it was easy.