Geomod4.exe

Discussion in 'General Discussion' started by 749006, Jun 18, 2023.

  1. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,072
    Likes Received:
    3,142
  2. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    Geomod is basically an installer, the .bat triggers the installer to copy and move the files, the Geomod injects parameters or additional lines of text into existing scripts (something .bat cannot do by itself as far as I'm aware)

    You can delete it once the installation is complete, it's a shame they don't make it self delete at the end of the process especially as there's a few versions (with different version names) still in use so you can end up with 3 or 4 of them in your RailWorks folder, but as I said they are safe to delete once finished with.
     
    • Like Like x 1
  3. Doomotron

    Doomotron Well-Known Member

    Joined:
    Oct 24, 2018
    Messages:
    3,861
    Likes Received:
    4,431
    It is also quite an annoying programme as you will likely get constant UAC warnings when using it. I haven't experimented but perhaps opening that BAT as an administrator would prevent it from doing this?
     
    • Like Like x 1
  4. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,072
    Likes Received:
    3,142
    I downloaded two reskins for the AP 321/322 one of them just has a bat file to do the copying of the files.
    The other one used this installer.
    It ask for permission and if you say No it pops up again a second later and asks again and there is no way to stop asking.
    Seems a bit strange if one reskin can use just the bat file that works ok.

    Peter
     
  5. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    Nothing strange at all, like I said a .bat can copy, move, delete files but cannot inject additional text into files, the ones that "work ok" with just the .bat file obviously don't inject anything into the scripting (.lua .xml .GeoPcDx whatever) that's why the one's that do require additional script will utilize the GeoMod.
     
  6. Pookeyhead

    Pookeyhead Well-Known Member

    Joined:
    Dec 7, 2018
    Messages:
    4,296
    Likes Received:
    2,699
    It's completely harmless if that's what you are worried about. As others have said, it's just there so when the batch calls for file copying, it uses this program to do it.
     
  7. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    No it doesn't, read my post.
     
  8. Matthew Wilson

    Matthew Wilson Well-Known Member

    Joined:
    Sep 20, 2017
    Messages:
    276
    Likes Received:
    482
    As the name suggests it MODifies the GEOpcdx shape files that come with various DLCs.

    Why might people want to do this? Sometimes an item cannot be hidden via a specific node with a ripting, but if it has a unique material, then it can be made invisible by editing the Geo - obviously the people making the skin cannot distribute a modified shape file, so GeoMod is a way for them to distribute their work and then get the same modified shape file on to the end users installation of train simulator.

    Hope this helps.
     
    Last edited: Jun 22, 2023
    • Like Like x 2
  9. Volvo B10M

    Volvo B10M Active Member

    Joined:
    Apr 21, 2022
    Messages:
    316
    Likes Received:
    45
    I have tried installing something and got this "geomod4.exe" constantly opening Windows prompts over and over again, the only way to stop it is to logout or restart, I suspected it was a virus at first as I couldn't stop it.
     
  10. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    That was GeoMod doing its job... Modifying "Geo's" (GeoPcDx files) some mods have multiple GeoPcDx files to modify and this is done through command prompts which GeoMod automates to allow the reskin to work on all intended variants. You basically aborted mid install.
     
    • Like Like x 1
  11. Doomotron

    Doomotron Well-Known Member

    Joined:
    Oct 24, 2018
    Messages:
    3,861
    Likes Received:
    4,431
    It is a hassle having to constantly press Alt+Y to get through them, but it does its job when you put up with it.
     
  12. Volvo B10M

    Volvo B10M Active Member

    Joined:
    Apr 21, 2022
    Messages:
    316
    Likes Received:
    45
    I don't mean the CMD box, it constantly opens the warning box, pressing yes does nothing but open another.
     
  13. Spikee1975

    Spikee1975 Guest

    I haven't used that but the warnings are likely due to the fact that many have Steam (and thus RailWorks) installed to "C:\Program Files (x86)" which is an UAC protected path, and Windows' job is to make sure all changes to files in that path are authorised by the user because damage can be done.

    I've installed Steam directly to C:\Steam and that can avoid a lot of hassle.
     
    Last edited by a moderator: Jan 10, 2024
  14. Doomotron

    Doomotron Well-Known Member

    Joined:
    Oct 24, 2018
    Messages:
    3,861
    Likes Received:
    4,431
    That's normal. It will display multiple user account control dialogue boxes while it goes through its processes.
    Interestingly it does the same thing for me when TS is installed on a separate drive entirely. I'm not sure why though.
     
  15. Spikee1975

    Spikee1975 Guest

    In that case, it's Windows Defender jumping in because binary manipulation of files by external programs is a high security risk.
     
  16. 21c164fightercommand

    21c164fightercommand Well-Known Member

    Joined:
    Nov 6, 2021
    Messages:
    915
    Likes Received:
    901
    If you look carefully at the scripted actions to be performed by Geomod.exe, you can do the same by dropping the file on Serz.exe and edit the .xml to change this texture path or that, remove this node and whatever.

    For me, running the automated Geomod or PowerShell editing of .bin files always ends in broken DLC
     
  17. Volvo B10M

    Volvo B10M Active Member

    Joined:
    Apr 21, 2022
    Messages:
    316
    Likes Received:
    45
    I can't code so I don't know how to do that.
     

Share This Page