tolsen64 on 9/6/2011 at 04:57
Quote Posted by fxdwg
After Thief closed, a msgbox popped up to tell me "user.bnd" has been modified. I clicked OK and the mission manager did not throw an exception. So I was wondering what some of the things your code might be doing after Thief exits. What types of "canned" messages are displayed after Thief exits, and are they necessary?
There were problems using other loaders as well as TFMM that a mission would change a file in the original thief directory that would cause things to go wrong (wrong sound on the main menu, sword swinging the wrong way, etc). So TFMM takes a "snapshot" of the original thief folder and then when you exit playing a game, it compares that snapshot to the original thief directory to see if any files were changed while playing the mission. If so, it tells you which file(s) have changed in the original thief directory so if something is wierd, you'll know which file it is.
Quote:
Which reminds me, in your program setup, I didn't see where it was possible to edit or remove an existing entry for Thief executables without clearing all setup information. I could only add another location (I copied it to a differently named folder). I had to edit the entry in the DB table instead.
Yes, you're correct. I neglected to put a "delete" button there to remove an executable. I wanted it to "change" an entry if you chose a thief executable in another location. I thought that was working. I'll go back and look at that again, and add a delete button.
I found a DLL that decodes MP3's into WAV's, so I can get rid of the executable that ML uses. I also am working on implementing the T3 patch and am nearing completion on that. Hopefully I'll have something new to post this weekend. Gotta look at all the bugs you've been finding also...
fxdwg on 9/6/2011 at 12:31
I'm wondering if there is something about this comparison to a snapshot after Thief closes that might be involved?
I don't know if it makes a difference or not, but my PC is running Windows 7 Pro 64-bit with an Intel i7 processor.
tolsen64 on 9/6/2011 at 12:40
Quote Posted by fxdwg
I'm wondering if there is something about this comparison to a snapshot after Thief closes that might be involved?
I don't know if it makes a difference or not, but my PC is running Windows 7 Pro 64-bit with an Intel i7 processor.
When it generates the snapshot, it creates an in-memory list of filenames and their filesize, createdate, and modifieddate. After the game is exited, it compares the directory again with the in-memory list to see if anything changed. Which in the case of your modifying the mouse sensitivity, the file that got modified, because it was hard-linked and not copied to the fan mission folder, was expected.
tolsen64 on 10/6/2011 at 05:10
That is VERY COOL! I downloaded it to play with. I think I will eventually use it instead of the DataGridView that i'm using now. However, I want to get all the fixes made and a stable release going first. The patch is fully implemented and it's sweet. No registry entries to muck with and no worries about the dot bug. The MP3 decoder dll is working also. I have the bug fixed with the setup screen and selecting game executables. It doesn't allow 2 of the same executable. There's also a "remove game executable" button also. I looked into processor affinity and it's very easy to do so that'll be in the next version as well. I haven't forgotten about the download list compare with what's already downloaded but that's a lower priority right now. Other things I see doing is putting the explanations of the play patches in the help menu instead of a popup when you select one. Also, maybe an option to turn logging on or off. It might be nice to see a log file of everything the program is doing while loading a mission. That's about all for now. time for shower & bed.
fxdwg on 10/6/2011 at 06:58
The OLV takes a bit to get use to, but it can do some amazing things.
I think that the logging idea is excellent. It could also be just the thing to get some information on unique, hard to reproduce, setup issues like I've got on 1 PC.
PsymH on 10/6/2011 at 07:54
If you still have problems with the OGG decoding, you should try the BASS .NET library. You can also use this to replace the MP3 decoding ;)
(
http://www.un4seen.com/bass.html)
tolsen64 on 12/6/2011 at 04:14
A lot of changes. Some removals, some additions. A lot of code changed over the last week, so this is not so much of a "bug fix" but "hope I didn't introuduce a lot more bugs".
One thing you will need to do if you have an older version that has the "Zip File Okay" in the Status column is to reset your database and start over. This affects whether or not the "install mission" button is visible or not.
Another thing is you may want to delete all the installed T3 fan missions and re-install them using this new version. Otherwise the patches described below will not propogate from the original game to the installed missions.
See the bottom of the download page for a list of the changes. One of the highlights is a T3 resolution screen where you can edit the 5 resolution settings that appear in the T3 options menu. I recommend choosing a "safe" resolution from the drop-down list instead of entering your own. If the resolution you enter does not have an aspect ratio of either 1.6:1 or 1.33:1 then it causes T3 to freeze whenever it asks you an "are you sure" question such as exiting the game, loading a saved game, or going through a zone portal. I think it has something to do with the Yes/No buttons at the bottom might be painted out-of-bounds. Anyhow, the drop-down list contains only resolutions that are supported by your video card and are either of the two safe aspect ratios.
The other big change is that loading T3 missions no longer requires patching the T3Main.exe file for each mission and no creating registry entries for each mission. SNOBEL gave me permission to use his patch which eliminates the above two formerly necessary items when loading T3 missions. SNOBEL's patch also removes the "dot" bug in T3 which caused problems playing fan missions that had a period in the file path.
T1, T2, & SS2 now have ProcessorAffinity set to a single processor (cpu0). If the executable is pre-patched, this should not affect it. T3's ProcessorAffinity can be turned on or off in the setup screen. If the checkbox is checked, T3 will be limited to cpu0.
That's about it. be kind when reporting bugs and patient while I attempt to find them. If you run into issues, send me an email or post it here. My email is in the about screen.
Download it here: (
https://github.com/tolsen64/TFMM-fmsel/blob/master/Release.7z)
Thanks and have fun!
fxdwg on 12/6/2011 at 21:46
Hey Terry, congrats on the new release, it is working well for my T1\TG\T2 missions (except my PC still gets that "Can't convert string to Double" error after exiting Thief).
I never tried a T3 FM in your earlier versions, but I am having an issue. I've tried "Two Steps" and "Oldstone Castle". I get to the screen for New or Load. I select New. The objectives screen comes up, and in both cases, there are no objectives listed. So I click on Start anyway, then my desktop comes back, although it looks like T3 is still running. I Alt-Tab back to T3. It comes up briefly, then crashes. Running T3 original from TFMML seems to work OK.
Another unhandled exception comes when uninstalling an FM. I get "The process cannot access the file 'xxx' because it is being used by another process. Its never usually the same file twice.
I've got to ask about having two editable columns (mission name and thief version) in your datagrid, when Synchro File List and replacing the mdb in a version update will both remove any changes that were made in those two columns?
tolsen64 on 13/6/2011 at 03:27
Quote Posted by fxdwg
I am having an issue. I've tried "Two Steps" and "Oldstone Castle". I get to the screen for New or Load. I select New. The objectives screen comes up, and in both cases, there are no objectives listed. So I click on Start anyway, then my desktop comes back, although it looks like T3 is still running. I Alt-Tab back to T3. It comes up briefly, then crashes. Running T3 original from TFMML seems to work OK.
Have you patched your T3? Use the Tools Menu, go into Thief 3 and click on the "Apply NoReg Patch". And then try it again. I don't seem to have "Two Steps" but I just loaded and played "Oldstone Castle" without problems.
Quote:
Another unhandled exception comes when uninstalling an FM. I get "The process cannot access the file 'xxx' because it is being used by another process. Its never usually the same file twice.
I never experienced that issue until today. I fixed it and was going to just wait until my next release, but I put it up just now for download. So go download the new version and try that. The new version also retains and/or archives the Saves folders when uninstalling/re-installing missions.
Quote:
I've got to ask about having two editable columns (mission name and thief version) in your datagrid, when Synchro File List and replacing the mdb in a version update will both remove any changes that were made in those two columns?
You don't need to replace the MDB in a version update. When you download this new version, the only thing you need to replace is the "Thief Fan Mission Manager.exe" file.
When you synchronize the db, it should not replace any changes you've made. However, when you "get mission info", it will replace the info in any rows that you seleced to get mission info for. So don't select those rows when you are getting mission info. You can sort by "Mission Name" or "Thief Version" columns to put all the blank one's at the top and select only those rows to get mission info.