ilmari21 Posted June 15, 2018 Posted June 15, 2018 I'm making a mod and I need to replace some images in the game. No problem with the .dds files, but none of my .png files work ingame. I think the problem might be with the PPI of the .png files, since I can't get the PPI to an even number like 72.000 or 96.000, it always adds some decimals. Currently using GIMP, any suggestions on which program could be better?
ilmari21 Posted June 15, 2018 Author Posted June 15, 2018 Heres an example of image which needs to be changed, and you can also see some changes I've already been able to make
ilmari21 Posted June 15, 2018 Author Posted June 15, 2018 Well the ppi didn't fix the problem, if anyone knows how to get .png files into the game I could really use some help.. ?
Bilou Posted June 16, 2018 Posted June 16, 2018 The game uses atlases for some images. They are located in data/swf/cache/il2/ after extracting the relevant .gtp. To override it, you need to edit data/swf/game/versionaccess.txt, and set &useBitmapAtlases to 0. That way the game will uses the images located in the directories instead of the ones stored in atlases. 2 1
ilmari21 Posted June 16, 2018 Author Posted June 16, 2018 1 hour ago, Bilou said: The game uses atlases for some images. They are located in data/swf/cache/il2/ after extracting the relevant .gtp. To override it, you need to edit data/swf/game/versionaccess.txt, and set &useBitmapAtlases to 0. That way the game will uses the images located in the directories instead of the ones stored in atlases. So the problem wasn't with the .png's after all, thank you very much !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now