Crusader Kings II

Crusader Kings II

scale_ui
goondo  [developer] Aug 2, 2017 @ 2:26am
rescale_gfx.bat issues
Looks like rescale_gfx.bat had an issue. Please provide more info?

1) What os?
2) What amount of space on disk does the scale_ui directory take up?
3) Where is gimp 2 installed on your system?
4) Where is steam located on your system?
5) In mod directory structure is there a debug.log. Could you upload that file?
6) Instead of double-clicking on rescale_gfx.bat could you run in a command prompt window. Please change to the directory rescale_gfx.bat resides in before running. Please provide screenshots of the command prompt window, and the gimp output window.
Last edited by goondo; Aug 2, 2017 @ 2:47am
< >
Showing 1-15 of 126 comments
Col. Lockjaw Aug 2, 2017 @ 6:09am 
I extracted the mod then went into the scale_ui folder and started the bat file. It said everything you said it would say. Then I enabled the mod in the launcher, and everyhting was broken when the game started.

Windows 10
2.3 GB
Program Files
Program Files (x86)
Log is empty
http://i.imgur.com/MCjBgbi.jpg
goondo  [developer] Aug 2, 2017 @ 6:17am 
Looks like rescale_gfx.bat is not the problem based on directory size. I am a curious as to why the debug log is empty, but lets ignore that for now. If you bring up the ck2 launcher and then click on the mod tab. Are there 2 scale_ui options. If so could you select the other scale_ui option, and uncheck the currently selected scale_ui.
Last edited by goondo; Aug 2, 2017 @ 6:21am
Col. Lockjaw Aug 2, 2017 @ 6:23am 
I went ahead and made a .mod file for the scale_ui folder. When I enabled the mod it worked. You may want to include that file in the .zip. and name it something obvious like "Scale UI REAL".
Last edited by Col. Lockjaw; Aug 2, 2017 @ 6:23am
goondo  [developer] Aug 2, 2017 @ 7:08am 
Glad its working for you. I believe the zip has "descriptor.mod" already in the zip file. Maybe that file needs to be moved out of scale_ui. I will update the instructions tonight.
goondo  [developer] Aug 2, 2017 @ 7:41pm 
I included scale_ui.mod in the zip, and I have rescale_gfx.bat now installing the file into the mod directory.
slugg Aug 4, 2017 @ 4:13am 
win 10. ‏‏‎
C:\Program Files\GIMP 2
E:\Program Files (x86)\Steam
that what is inside the debug file USER_HOME = C:\Users\ron\Documents\Paradox Interactive\Crusader Kings II\mod\scale_ui
PROGRAM_BASE = ['E:/Program Files (x86)/']
https://ibb.co/c1p9Kv

26.3 MB
goondo  [developer] Aug 4, 2017 @ 5:13am 
Originally posted by cropro:
win 10. ‏‏‎
C:\Program Files\GIMP 2
E:\Program Files (x86)\Steam
that what is inside the debug file USER_HOME = C:\Users\ron\Documents\Paradox Interactive\Crusader Kings II\mod\scale_ui
PROGRAM_BASE = ['E:/Program Files (x86)/']
https://ibb.co/c1p9Kv

26.3 MB

I could not read the images. If its not too much to type could you type in what was in each window. Also, does your CK2 install reside in "E:\Program Files (x86)\Steam\steamapps\common\Crusader Kings II"?
slugg Aug 4, 2017 @ 5:17am 
Originally posted by goondo:
Originally posted by cropro:
win 10. ‏‏‎
C:\Program Files\GIMP 2
E:\Program Files (x86)\Steam
that what is inside the debug file USER_HOME = C:\Users\ron\Documents\Paradox Interactive\Crusader Kings II\mod\scale_ui
PROGRAM_BASE = ['E:/Program Files (x86)/']
https://ibb.co/c1p9Kv

26.3 MB

I could not read the images. If its not too much to type could you type in what was in each window. Also, does your CK2 install reside in "E:\Program Files (x86)\Steam\steamapps\common\Crusader Kings II"?

in the gimp outpot
(gimp-2.8.exe:10136): LibGimpBase-WARNING **: gimp-2.8.exe: gimp_wire_read(): error
batch command experienced an execution error

and the othere window
C:\Users\ron\Documents\Paradox Interactive\Crusader Kings II\mod\scale_ui>"C:\Program Files\GIMP 2\bin\gimp-2.8.exe" -i --batch-interpreter=python-fu-eval -b "execfile('rescale_gfx.py'); pdb.gimp_quit(1)"
slugg Aug 4, 2017 @ 5:18am 
and the game files reside in E:\Program Files (x86)\Steam\steamapps\common\Crusader Kings II
goondo  [developer] Aug 4, 2017 @ 5:44am 
Do you have the gimp-dds-plugin installed as well? If this isn't it then I will have to try to replicate your issue, but I won't have time to do that till late next week.
slugg Aug 4, 2017 @ 6:00am 
yes youre link did not work so i got it from here https://code.google.com/archive/p/gimp-dds/downloads
goondo  [developer] Aug 9, 2017 @ 5:13pm 
@cropro, I have time to help now. I need you to modifiy rescale_gfx.py. I need you to change line 9 from "from gimpfu import *" to "#from gimpfu import *".

Now instead of double-clicking on rescale_gfx.bat could you run in a command prompt window. Please change to the directory rescale_gfx.py resides in before running. Now run the following command.

"C:\Program Files\GIMP 2\Python\python" rescale_gfx.py

Please provide screenshots of the command prompt window, or hand type the output.
slugg Aug 10, 2017 @ 6:26am 
"Error processing line 3 of C:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:

Traceback (most recent call last):
File "C:\Program Files\GIMP 2\Python\lib\site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
ImportError: No module named runtime

Remainder of file ignored
Traceback (most recent call last):
File "rescale_gfx.py", line 20, in <module>
INPUT_GFX_HOME = PROGRAM_BASE + "/Steam/steamapps/common/Crusader Kings II/gfx/"
TypeError: can only concatenate list (not "str") to list"

that whast i get when i run the command
goondo  [developer] Aug 10, 2017 @ 2:43pm 
@cropro, interesting - for some reason PROGRAM_BASE is a list. For me it is a string. Anyway undo the previous change to rescale_gfx.py and add the line below. Hopefully, it should work for you now.

PROGRAM_BASE = os.environ["ProgramFiles(x86)"]
PROGRAM_BASE = PROGRAM_BASE[0]
Last edited by goondo; Aug 10, 2017 @ 3:24pm
slugg Aug 11, 2017 @ 1:12am 
still dont work for me
Error processing line 3 of C:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:

Traceback (most recent call last):
File "C:\Program Files\GIMP 2\Python\lib\site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
ImportError: No module named runtime

Remainder of file ignored
Traceback (most recent call last):
File "rescale_gfx.py", line 9, in <module>
from gimpfu import *
ImportError: No module named gimpfu

this is the mesg i get now after i add the line
< >
Showing 1-15 of 126 comments
Per page: 1530 50