Windows 10: Tropico 5 crashed in Win10 1903

Discus and support Tropico 5 crashed in Win10 1903 in Windows 10 Installation and Upgrade to solve the problem; I've reached out to the developers and they seem to think it is a Windows problem, and not a problem with their games. Kalypso has known about it for... Discussion in 'Windows 10 Installation and Upgrade' started by rocketeer05, Oct 20, 2019.

  1. Tropico 5 crashed in Win10 1903


    I've reached out to the developers and they seem to think it is a Windows problem, and not a problem with their games. Kalypso has known about it for months. Is there any resolution on this yet?

    :)
     
    rocketeer05, Oct 20, 2019
    #1
  2. Zur13 Win User

    Tropico 5 Small modding tutorial

    El Presidente our scientists discovered a new tech! Now those pesky oponents of El Presidente will not have any chances to win an elections.

    Requirements:
    HPK Archiver http://www.techpowerup.com/forums/threads/tropico-3-4-hpk-archiver.113705/ (Don't forget to thanks to the author)
    iGO LUA (203.150.228.132/basic/navthai/Primo/tool/iGOLua.rar)
    Lua 5.1 decompiller (unluac)
    Installed Java (latest JRE could be found there http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=otnjp).
    Basic programming skills.

    Disclaimer
    The author reserves the right not to be responsible for the topicality, correctness, completeness, quality of the information provided or any damage done to your programs, reputation, hardware, brains, mind etc.

    Don't play modded game online! Only singleplayer! Or you may get banned or cursed!

    El Presidente our glorious plan is to uberpower election cheat option.

    Stage 0. Backup
    If something going wrong backups are our oportunities to fix the game. In the Tropico 5 install folder you can find subfolder named Packs. There are a lot of .hpk files.
    • Make copy of all .hpk files from Packs folder before you'll made any changes. Or you can make copy of entire Packs folder.
    Stage 1. Unpack
    • Launch HPK Archiver
    • In Game section chose Tropico 4 / Tropico 5
    • In the Extract section choose to open Lua.hpk file which can be find in Packs subfolder of Tropico 5 install folder
    • Create your working folder ( My working folder is G:\Tropico 5\Packs\Unpacked\) and subloders for unpacked files ( for this tutorial I will use G:\Tropico 5\Packs\Unpacked\Lua.hpk\ folder)
    • In the Extract section choose folder to unpack the files (I will use G:\Tropico 5\Packs\Unpacked\Lua.hpk\). Use different folders for different .hpk files.
    • Hit Extract button.
    Stage 2. Decompile
    In the folder where you unpacked the Lua.hpk you can find a lot of .lua files. We are interested in Tropico 5\Packs\Unpacked\Lua.hpk\Lua\Game\CityElections.lua. Some files could be decompilled with iGO decompiller but if you see the error log with decompilled files this is not the option. So we will use unluac.
    • Extract unluacv1.2.2.zip to your working subfolder
    • Using windows Explorer navigate to folder where you created the working subfolder shift right click on the working subfolder and choose the Open Command Window Here option from context menu
    • In the console window type this command Code: java -jar unluac.jar Lua.hpk\Lua\Game\CityElections.lua > Lua.hpk\Lua\Game\CityElections.luad[/quote]
    • The file Lua.hpk\Lua\Game\CityElections.luad is the source code. You can use any text editor to modify it.
    • Don't close the console window you'll need it on Stage 4
    Stage 3. Make election fraud uber
    • Open CityElections.luad with any text editor.
    • We are interested in function City:GetElectionSupport(cheat). Find that line
    • Few lines under you can see interesting line Code: local converted = Min(against, Random(3 * self.VoteFraud, 7 * self.VoteFraud, "election_support"))[/quote]
    • Change it so we have more percents Code: local converted = Min(against, Random(53 * self.VoteFraud, 57 * self.VoteFraud, "election_support"))[/quote]
    • Save changes
    Stage 4. Compile
    • Lauch iGO tool
    • Hit compile button and choose Lua.hpk\Lua\Game\CityElections.luad
    • If there is appeared 2_CityElections.lua then delete the original CityElections.lua
    • Rename 2_CityElections.lua into CityElections.lua
    *If 2_CityElections.lua not appeared then there is some compilation errors

    Stage 5. Pack
    • In the HPK Archiver in Acrchive section in the firt field choose the directory where you have unpacked the files (im my case is G:\Tropico 5\Packs\Unpacked\Lua.hpk\)
    • In save file field coose file to pack (in my case is G:\Tropico 5\Packs\Lua.hpk)
    • Don't forget to make backup before overwrite the original file
    • Untick Compress It checkbox
    • Hit Archive button
    BTW it seems it is possible to mod the game without repack http://forum.kalypsomedia.com/showthread.php?tid=22981
     
    Zur13, Oct 20, 2019
    #2
  3. Zur13 Win User
    Tropico 3/4/5 HPK Archiver

    I've tried to unpack the Lua.hpk and repack it with v.1.0.8. Tropico 5 not starting with repacked Lua.hpk (repacked size 3 667 848 bytes, original Lua.hpk size 3 726 025 bytes).
     
    Zur13, Oct 20, 2019
    #3
  4. Tropico 5 crashed in Win10 1903

    Tropico 3/4/5 HPK Archiver

    Uploaded 1.0.8. It started out as trying to find out if Tropico 5 added anything new to the header (doesn't appear so) but I ended up cleaning a lot of older code so that it is much easier to follow and/or more appropriate.

    In addition to the above, I updated my internal "ReadHeaders" program. Could someone that has Tropico 5 run it? The first argument in the commandline needs to be the path to the Tropico 5 folder. The second argument needs to be where to save the results (e.g. a text file on the desktop). If someone could attach the output file to a reply, that would be awesome. I'm thinking about putting the list in the original post for Tropico 3, 4, and 5. Mostly, I want to just take a look at it to make sure there are no surprises. Make sure ReadHeaders and HPK Archiver are in the same directory when you run it. ReadHeaders pulls a lot of stuff from HPK Archiver.

    [removed attachment]
     
    FordGT90Concept, Oct 20, 2019
    #4
Thema:

Tropico 5 crashed in Win10 1903

Loading...
  1. Tropico 5 crashed in Win10 1903 - Similar Threads - Tropico crashed Win10

  2. Photoshop 5 on Win10?

    in Windows 10 Ask Insider
    Photoshop 5 on Win10?: I have an old PS5 copy lying around. Would that work fine on Win10? submitted by /u/RockyCasino [link] [comments] https://www.reddit.com/r/Windows10/comments/ep1oo2/photoshop_5_on_win10/
  3. Win10 1903 update failure

    in Windows 10 Installation and Upgrade
    Win10 1903 update failure: Hi, Yesterday my work PC updated to 1903 and messed up my user account. I spent the day recovering my hard drive from an old image so I could do some work. Overnight Win10 has attempted 1903 again and destroyed my home account again. Looking at c:/Users I can see my...
  4. Win10 1903 Desktop Background

    in Windows 10 Customization
    Win10 1903 Desktop Background: Am I the only one who thinks the new background is ugly? Changed mine to to old background 138076
  5. Win10 v.1903

    in Windows 10 Installation and Upgrade
    Win10 v.1903: I tried to update from v.1809 to v.1903. The installation would get to about 50% and the computer would shut down. When I started it manually after several minutes, I got the message, "Undoing changes made to your computer." I made an effort to start the computer with all...
  6. win10 update 1903

    in Windows 10 Installation and Upgrade
    win10 update 1903: will this update fix missing files and corrupt files https://answers.microsoft.com/en-us/windows/forum/all/win10-update-1903/0a4f50d1-5286-47f3-92a7-6ea6c54f3080
  7. Win10 update v 1903

    in Windows 10 Installation and Upgrade
    Win10 update v 1903: Just received the Win10 update v 1903. Already has issues (not surprised). This is the error I now get: "There was a problem starting C:\windows\system32\LogiLDA.dII The specified module could not be found" Any ideas what this means or how to fix it? Thank you....
  8. Nvidia Control Panel Crash Fix Win10 1903

    in Windows 10 Installation and Upgrade
    Nvidia Control Panel Crash Fix Win10 1903: Hey Not sure if this is the right place to post this but i thought i would share this temporary fix for Nvidia Control crashing upon changing brightness , Contrast and Gamma Issue: after the update if you try to change these custom settings your Nvidia control panel will...
  9. Movie Maker in Win10-1903

    in Windows 10 BSOD Crashes and Debugging
    Movie Maker in Win10-1903: Hi there, after the latest update to built 1903 Movie maker wlmp files/projects created previously are not opening properly anymore! Some, but not all, movie clips in the project are corrupt / not showing, even though nothing has been moved or renamed. Under "Fix It" only...
  10. Win10 v 1903 - icons

    in Windows 10 Installation and Upgrade
    Win10 v 1903 - icons: Hello I have read numerous articles and seen lots of YouTube stuff about the new version and I expected this latest version to have new icons for internet connected, file explorer and how items are listed in File explorer (showing ie accessed in the last few minutes etc...

Users found this page by searching for:

  1. tropico 5 crashing

    ,
  2. tropico 5 crashes

    ,
  3. tropico 5 shutting down

    ,
  4. tropico 5 keeps crashing origin,
  5. tropico 5 crashing with windoes 10 updates,
  6. tropico 5 win10 1903,
  7. CRASH tropico 5 to deskop,
  8. why tropico 5 keeps crashing,
  9. tropico 5 downlad keeps crashing ,
  10. tropico crash windows 10,
  11. tropico 5 for windows 10,
  12. tropico 5 shuts down unexpectedly on origins,
  13. tropico 5 crashes pc,
  14. windows 10 fix for tropico 5,
  15. tropico 5 crashes after start