[Civ2] Civilization II MGE User Interface Additions (CIV2UIA)

Is it possible to have an option to swap the graphics in throne room? It bothers me that I "upgrade" smooth walls to cave-like. I guess it may be outside of this project's scope but seeing the insane amount of quality of life additions / bugfixes I want to check first here before trying to learn how to modify pv.dll in Civ2 :)
Do you mean just reordering the progression? I could whip something up. Now that you mention it, it would make more sense to chisel out from a rough cave.
 
And done! I had to edit the layers a bit as the original Level 0 borders were showing through when used as upgrade layers, but otherwise it was a simple swap. Unfortunately this is not compatible with UIA, as the launcher appears to apply the vanilla fix overtop pv.dll, thus superseding the edit. UPDATE: Fixed!

You may be onto something that the original is backwards: note the fur bunting between this and the original:

Spoiler :


 
Last edited:
Unfortunately this is not compatible with UIA, as the launcher appears to apply the vanilla fix overtop pv.dll, thus superseding the edit.
Civ2UIA replaces resource #105 only if it has size of 74478 bytes.
https://github.com/FoxAhead/Civ2-UI...3b2504aeac2d55005d/src/Civ2UIA_Ex.pas#L87-L91
C-like:
  DllGifsToBeFixed: array[1..3] of TDllGifsToBeFixed = (
    (ResNum: 105; WrongSize: 74478),
    (ResNum: 229; WrongSize: 29923),
    (ResNum: 250; WrongSize: 27741)
    );
So, to prevent the intervention of Civ2UIA just make 105.gif of the size other than 74478.
 
As luck would have it, just re-saving the GIF shrunk it by ~5KB. Now works. :D

Civ2 isn't exactly a big programme these days, but now I'm wondering if it's worth optimizing all the .dlls...
 
As luck would have it, just re-saving the GIF shrunk it by ~5KB. Now works. :D

Civ2 isn't exactly a big programme these days, but now I'm wondering if it's worth optimizing all the .dlls...
I would double check why the size has decreased. Has there been any loss of quality?
 
Visually identical as far as I can see. Palette hasn't changed, same dimensions, but it's been almost thirty years so GIF encoding may have improved since they were originally created.
 
Checking visually a bunch of ways these images look identical / perfect to me also.
Added to both TOT and MGE for next time I play either.
 
Visually identical as far as I can see. Palette hasn't changed, same dimensions, but it's been almost thirty years so GIF encoding may have improved since they were originally created.
where can I download this gif image or the modified library file?
under spoilers png picture
 
Is there an option to use move command similar to the one issued while holding shift but with one important difference, that once the unit attacked it stops and asks for further instructions? I hate it when I siege a city on diagonal and the move to command causes my unit to conquer the city which I wanted to use to heal my other unit.
 
Can't get the Council/movies to work with UIA. They only work if I use compabibility (e.g. with Windows XP) but then I can't use UIA, because it gives me Error: ReadProcessMemory: 5.

Details: Windows 10, I have a CiV2.nrg I got Caesar knows where from and how old ago that says Gold Edition Multiplayer, so it should be the right one. I installed it through Daemon Tools Lite, and successfully applied the 1.3 patch 5.4.0f. UIA works, but only if there's no compabibility mode, and then I don't get movies/Council. Do I have a wrong version of the game or is there anything else I should do?
 
Last edited:
Can't get the Council/movies to work with UIA. They only work if I use compabibility (e.g. with Windows XP) but then I can't use UIA, because it gives me Error: ReadProcessMemory: 5.

Details: Windows 10, I have a CiV2.nrg I got Caesar knows where from and how old ago that says Gold Edition Multiplayer, so it should be the right one. I installed it through Daemon Tools Lite, and successfully applied the 1.3 patch 5.4.0f. UIA works, but only if there's no compabibility mode, and then I don't get movies/Council. Do I have a wrong version of the game or is there anything else I should do?
you need to use the program CodecTweakTool without compatibility or to avoid freezing leave compatibility with Windows 7
in the program, click on the ACM/VMW 86 button and select the Indeo 4/5 codec, click Apply
 
Can't get the Council/movies to work with UIA. They only work if I use compabibility (e.g. with Windows XP) but then I can't use UIA, because it gives me Error: ReadProcessMemory: 5.

Details: Windows 10, I have a CiV2.nrg I got Caesar knows where from and how old ago that says Gold Edition Multiplayer, so it should be the right one. I installed it through Daemon Tools Lite, and successfully applied the 1.3 patch 5.4.0f. UIA works, but only if there's no compabibility mode, and then I don't get movies/Council. Do I have a wrong version of the game or is there anything else I should do?
Try turning off No-CD patch in the Options of Civ2UIA Launcher
 
Try turning off No-CD patch in the Options of Civ2UIA Launcher
If you mean the Disable CD Check option, yeah, I had already unticked it. The problem isn't the usual "Council doesn't even show up", it's that the screen shows up and I get black spaces instead of council movies.
 
Last edited:
If you mean the Disable CD Check option, yeah, I had already unticked it. The problem isn't the usual "Council doesn't even show up", it's that the screen shows up and I get black spaces instead of council movies.
Then it looks like the codec problem. Try enabling Indeo codec as @duplj said.
 
Top Bottom