TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Page 3 of 4 FirstFirst 1234 LastLast
Results 51 to 75 of 93

Thread: Built-in FM loader in Thief version 1.19 and beyond

  1. #51
    Member
    Registered: Apr 2001
    Location: Lost in the BSP...

    I've not been able to get this to work either. Followed all the instructions, and no matter what I pick (Skip.. or Load..), Dromed always starts up in vanilla mode. No fm loaded, just the starting 16x16x16 cube with nothing loaded. Must've missed something simple..

    I'm tired of fooling with it though after an hour or so. Going back to Dromeding. If it's still behaving, that is.

  2. #52
    Member
    Registered: Nov 2002
    Location: Central Texas

    FMSel.dll Replacement

    Ok, I've made several changes based on messages of what people want. I used the source from snobel's sneaky upgrade version of FMSel (and a lot of help from him on simplifying my code - not really that good a programmer.) What the new version does:

    1 - Snobel added in changes so that it would work with Deadly Shadows, once his new Sneaky Upgrade becomes available. As of Sneaky Upgrade 1.1.2, the FMSel included is exactly the same as below.
    2 - Added in an option (advanced) to clean out all database entries that are no longer available (hold down CTRL while clicking on the gear/options icon to see it.) So if a FM no longer has a zip file and is not installed it gets removed.
    3 - Added in a Name Format menu that defaults to normal (or Keep Leading Article.) The other 2 options Ignore & Move will either ignore the leading articles when sorting by name, or actually move the leading articles to the end of the name (ala GarrettLoader - "A Weakend Getaway" becoming "Weakend Getaway, A".) These options do not actually change the name of the FM (so "A Weakend Getaway" is still "A Weakend Getaway" in the database,) it just changes how they are displayed in the list. Note: in case you don't know, leading articles are the words "The", "An", and "A" which are generally not used when sorting titles.

    I had considered adding in options to change the leading articles that are searched for, but I only know the english ones. If someone wants to send me lists of the leading articles in other languages, I will try to find a way to allow people to either select language or select which articles are & are not used.

    Also, I am considering adding in a FM specific setting that will allow a single specific mission to be exempt from the leading article setting, but I'm unsure about how to actually go about that. Thoughts on this would be appreciated.

    I've been giving thoughts to actually adding in a "sub mission" names for FM's. As it stands, a series such as "The Trickster's Gem Mine" would have an individual mission listed (with Move,) as "Trickster's Gem Mine 4 - Making Tracks, The". That is one that I "personally" would prefer appear as "Trickster's Gem Mine, The 4 - Making Tracks". What this would be is the FM would be "The Trickster's Gem Mine" with a sub-mission name of "4 - Making Tracks." Maybe have 2 values "Sub Mission number" and "Sub Mission Name". Thoughts on this would be appreciated as well.

    FMSel 1.21 Updated.zip is the file ready for download, but again it will need to be mirrored as that site has a limited availability window **Availability issue fixed**
    Last edited by Pheonix; 11th Jul 2013 at 04:00. Reason: File server change and updated files.

  3. #53
    Member
    Registered: Mar 2009
    Location: Damp cavern
    Well it's been a little bit since I last checked in on this. FMSel still is lacking in at least two things, and that's the ability to display readme files, and the freaking FM Titles being updated for the loaded FMs like in DarkLoader...

    It's not a major problem, but it does get annoying when I want to play an FM and need to remember the title of the zip file. The ONLY FM that seems to have a title for it is Sensut's Cryptic Realms for 1.19. But that's because he figured something out for FMSel, that nobody else seems to have figured out yet.

  4. #54
    Member
    Registered: Nov 2002
    Location: Central Texas
    Quote Originally Posted by Albert View Post
    Well it's been a little bit since I last checked in on this. FMSel still is lacking in at least two things, and that's the ability to display readme files, and the freaking FM Titles being updated for the loaded FMs like in DarkLoader...

    It's not a major problem, but it does get annoying when I want to play an FM and need to remember the title of the zip file. The ONLY FM that seems to have a title for it is Sensut's Cryptic Realms for 1.19. But that's because he figured something out for FMSel, that nobody else seems to have figured out yet.
    Never really worked with DarkLoader, I always used GarrettLoader because it worked with T3 as well (for the most part.) There are 2 things that FMSel does for you here. If you right click on the mission you can select "View Info File". It isn't very smart and sometimes displays the wrong file. But you can select "Edit" and it will bring up a box that will let you chose which text file to set as the "info file." It will also let you specify the release date (it defaults to the latest date stamp on the files in the zip I believe,) and allows you to type in a Nice Name (it defaults to the name of the zip file.)

    Once you've done this, with the mission you just edited selected, you can click on the gear icon and select "Tasks" and "Export FM.INI from FM". That will create the fm.ini in the install directory (if the fan mission is installed,) or in a directory of your choice if it hasn't been installed. That FM.INI file can be placed in the zip file and in the future FMSel will read that FM.INI file to get the "Nice Name", "Release Date", and the name of the "Info File" to use as the readme. I'm assuming that "Sensut's Cryptic Realms" probably has that FM.INI file included. Snobel's alteration also has code to convert .glml (GarrettLoader's special info file,) into HTML format to be displayed as the info file, but I'm not sure if it works in T1, T1G, or T2, it may only do that if you are loading with T3.

    If you edit the FM entry in the database, it will keep the information on its own unless you delete the entry (an advanced option,) or delete the fmsel.ini file in the FMs directory. If you haven't exported it to an FM.INI file and packed it in the zip file, you will have to re-enter all that information again in that case.

  5. #55
    Member
    Registered: May 2005
    Yep. The instruction from "modders_notes" :

    Code:
    FM Author Notes
    ---------------
    
    Even if you, as an FM author, don't use the FM Selector (fmsel.dll) yourself, it's strongly suggested that you
    include an "fm.ini" when creating FMs from now on, and a "fmthumb.jpg" would also be preferable. These are
    standardized files with information about the FM, such as release date, author(s) or description. Currently only
    the FM Selector uses them, but standardized conventions will aid other potential future uses. Such as making the
    job easier for web based FM databases, other potential FM selector implementations or loader/mod manager updates.
    
    Although an "fm.ini" could be created manually in a text editor, the preferable method is to create/export it from
    the FM Selector. That ensures that formatting and content is correct.
    
    The "fmthumb.jpg" file is an (optional) image that's used to make the FM information presentation look more
    appealing. It can be a JPG version of the main/logo image in Thief's main menu, or it can be something fancier.
    In the FM Selector it's displayed at the top of the "View Summary" window. Potential future web based FM databases
    may do something similar. The width of the image should be at most 500 pixels, and the height should be kept under
    200 pixels. The logo image on Thief's main menu is 300 x 168, which is a good guideline to go by.
    
    The "fm.ini" and "fmthumb.jpg" files have to be located in the root directory of the FM.

  6. #56
    Member
    Registered: Mar 2009
    Location: Damp cavern
    Well from now on, that sounds like a golden rule for every FM maker. But for the many FMs already out there that don't have this, it's gonna be a bit of work... So I still think the autoname option would be best.

  7. #57
    Member
    Registered: Nov 2002
    Location: Central Texas
    There is really only 2 ways I can think of to get the Nice name automatically, and I'm not really up to programing either one. One would be to use the long (or short) mission name from the Titles.str file and the other would be to find it in the info file. To use the second method would require improving the way FMSel finds the info file (as it misses, and assigns the wrong file half the time with the missions I have at least.) The problem with the first method would be with multi-mission FM's. Sure, it could examine the zip file and find miss20.mis and know to look for "title_20: " in the titles.str file, but that would only assigne the name from the first mission (or miss??.mis) file it finds. Someone else would have to program that though I don't think I'm up to it, I used the in-place routines for most of my changes.

  8. #58
    Member
    Registered: May 2009
    Location: Germany
    Hmmm.... with Snobel and Phoenix working on a branch for TDS, I might imagine there have been a few bug-fixes made as well?
    Question: Any chance to get them reported back to Le Corbeau ?
    Since new updates are coming along more or less regularly from our stealthy friend I wonder if there are other bug-fixes around already which have been made by the community that would be worth integrating into the original code.

    Some things that showed up during the FMSel localization project:
    (really more or less nits, but if they would be fixed in the original code it would be even better)


    Simple fixes:
    Move the release-date a bit in fl_taged.cpp.h, line 92:
    Code:
              { Fl_Box* o = new Fl_Box(300, 76, 70, 16, $("Release Date"));
    Make 'files' localizable in fmsel.cpp, line 5855:
    Code:
    		_snprintf_s(buf, sizeof(buf), _TRUNCATE, "%s: %s (%d %s)", $("Estimated install size"), s, filecount, $("files"));
    Oh, and a rather nasty bug:
    FMSel can not handle pathes that contains any accents.
    For example I keep all missions in a sub-folder specific to each author.

    Quote Originally Posted by fmsel.ini
    [FM=darkness]
    Archive=Tomi Visnen\darkness.zip
    Flags=2
    FMSel can not tell you anything about that mission because of the '' in the directory name, although the FM gets at least listed.
    And you can not install it either.
    Last edited by gnartsch; 27th Mar 2013 at 10:36.

  9. #59
    Sneaky Upgrader
    Registered: May 2007
    Quote Originally Posted by gnartsch View Post
    Make 'files' localizable in fmsel.cpp, line 5855:
    Code:
    		_snprintf_s(buf, sizeof(buf), _TRUNCATE, "%s: %s (%d %s)", $("Estimated install size"), s, filecount, $("files"));
    Strings wrapped in $(...) should be translatable, but "files" is not in the .po file. I've added it to the template linked to in the translation thread.
    Widescreen and tweaks patches: The Sneaky Upgrade for Thief 3, the Visible Upgrade for Deus Ex 2

  10. #60
    Member
    Registered: Mar 2009
    Location: Damp cavern
    I still dunno why no one has attempted to implement a autoname feature yet. Surely it can't be hard to do? And on the readme aspect, I guess it would be better if FMSel could autolink to the readmes. I notice each time I try, it can't find the readme using FMSel.

  11. #61
    Sneaky Upgrader
    Registered: May 2007
    FMSel will find all the readme files in the archive root and assign a score to them according to the file format and the name. The one with the highest score is the one you get when you select View Info File from the context menu. If it gets it wrong you can select View Summary instead and select the correct file from the list in that dialog.

    If you know of missions which have an info file that FMSel misses then report their names here.

    Also, if you want the auto-name feature you can help by examining a bunch of FMs, looking for patterns that can be used to identify the titles. Auto-naming is already implemented for most T3 FMs (easy to do because they have readme files in a special GarrettLoader format), which means that improving this is not high on my to-do list. But if someone can figure out how to approach it for T1-2 then I might have a try.
    Widescreen and tweaks patches: The Sneaky Upgrade for Thief 3, the Visible Upgrade for Deus Ex 2

  12. #62
    Member
    Registered: Mar 2009
    Location: Damp cavern
    Well fair enough. It's about time I got off my rear end and did some more training for Dromed, and reading the FM .zips is a perfect way to do that.

  13. #63
    Member
    Registered: Nov 2005
    Location: Billings, MT

    FMSEL and "Dromed Only" missions

    The Thief 1/G mission "Dark Lord" doesn't work with FMSel. I believe it worked with DarkLoader and I know it works with TFFM. Will FMSel be modified to make these kinds of missions work?

  14. #64
    Member
    Registered: May 2009
    Location: Germany
    "Dark Lord" was just a demo - and did not have any objectives or even an intrface folder.
    And it did not work with DarkLoader either. Well, you could install it via DL, but you could play it only via DromED.
    I don't think anyone is actively working on FMSel.

    Did you try the combo TFMM + NewDark?
    I might expect that such old 'DromED only' mission have significant issues.
    And as a matter of fact NewDark behaves a bit different and sometimes even more unforgiving.
    (check the latest post on 'The SkyGem Connection' FM.
    Trouble starts here
    Details and Resolution are stated here)
    Last edited by gnartsch; 30th Jun 2013 at 15:46.

  15. #65
    Member
    Registered: May 2009
    Location: Germany
    There seems to be an issue with respect to probably quite a few of the older missions.
    In case the author forgot to add a Strings\missflag.str, then you will end up playing the OM instead of the FM.
    (e.g. Christines 'Bloody Ruins')
    DarkLoader used to gracefully create that file in such a case, but FMSel doesn't.

  16. #66
    Summer Vacation Contest Winner 2010
    Registered: Sep 2003
    Location: PacificNorthWest...Near Forks
    What I like about Fm-Selector is that it creates the directory from which the fm zip functions, and will not leave a big mess in the Game Directory like Darkloader does when it crashes. No more cleaning a dirty directory!

    Using the Sneaky Upgrade, fm-selector will play T3 fms as well. Just install fm-selector in each game directory:
    Thief Gold, Thief 2, Thief 3 Using fm folders separate for the three games. I use an fm folder inside the game directorys, this way, you never have to hunt down the fm folder, it is always there to add more fms to it.
    Last edited by darthsLair; 4th Jan 2014 at 11:35.

  17. #67
    Member
    Registered: Jan 2003
    Location: US
    I have a question about the FM Selector. I used Darkloader for years but I am fed up with all the loading errors so I switched now to FM Selector. I really like it so far but is there any way to play the original Thief 2 game again without having to add the ; back into the cam_mod.ini file?

  18. #68
    Member
    Registered: Jan 2001
    Location: Formby, NW England
    You can bring up FMSel and then go to Skip FM.

    Or you can put ; back in cam_mod and use two T2 shortcuts. For one of them, add -fm to the target. E.g. C:\Games\Thief2\Thief2.exe -fm

  19. #69
    Member
    Registered: Jan 2003
    Location: US
    Well, I just tried the skip fm and it didn't go to the original Thief 2 game. It just skipped to another one of my FMs. Looks like the shortcuts are the only way to still play the Thief 2 original game.
    Last edited by cavador_8; 20th Feb 2016 at 17:47.

  20. #70
    Zombified
    Registered: Sep 2004
    that would suggest a broken install (most likely Darkloader not cleaning up after itself). clean reinstall would be recommended.

  21. #71
    Member
    Registered: Jan 2003
    Location: US
    Thanks voodoo47, you were exactly right. My install was messed up, possibly from trying Garrett Loader and Darkloader before I tried the FM Selector. I did a clean install and found that Tafferpatcher has an option to create two shortcuts, one for the original Thief 2 game and another one for the built in FM Selector. So all is good. Thanks for your help!

  22. #72
    I've installed FM Sel, but run into a bizarre problem: The last FM I played on DarkLoader was Seven Shades of Mercury, which I then deleted from my FM folder. Now, when I start a FM using FM Sel no matter which FM it is, it pops up with the 7SoM menu screen and music. The FM itself plays normally, except there are still 7SoM music and images popping up (when clicking on readables, for instance) in the game. I suspect I need to do a file cleanup, but the instructions on how to do this on the FM FAQ page are a little unclear. Can anyone help?

  23. #73
    Moderator
    Registered: Jul 2008
    If you still have Darkloader, the first thing to do is open Darkloader and install the original missions. That should clean out your Thief folder. But just to be sure, once you've done that check your Thief folder and delete any copies of the following subfolders:

    Pal
    Bitmap
    Books
    Fam
    Intrface
    Obj
    Mesh
    Strings
    Motions


    but don't delete the movies, crfs or the res folders.

  24. #74
    Member
    Registered: Jan 2001
    Location: Formby, NW England
    And these two folders:
    snd
    song

    (song probably won't exist)

  25. #75
    Which folder, Thief 1 or Thief 2? . . Or both?

    EDIT: Nevermind, I was only able to install the Thief 2 folder, but that worked. Hurrah! But now there's a new problem: I'm trying to play a FM with mp3s and it's telling me converting them to wav files is impossible. BUT, I've already downloaded the libmp3lame-3.99.5x86 file into my Thief2 folder. What's going on? Should I have unzipped it? Is it in the wrong folder?
    Last edited by Lady Taffer; 14th Oct 2016 at 20:29.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •