Page 11 of 12

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Mon Sep 12, 2016 2:15 am
by keyboardhack
Running out of textures to improve. I think the only texture WaiTex is missing right now is the boiler which is missing because i can't not make it look like shit.

Factorio version 0.14
Version 1.2.0
  • Added circuit connector thingie
  • Added transport belt circuit connector
Full version: https://github.com/TheAIBot/WaiTex/rele ... _1.2.0.zip

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Tue Sep 13, 2016 3:46 am
by michael-68438
@keyboardhack

Thanks, deleting and redownloading the mod fixed it. Factorio must've broken it sometime before 0.13.20.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Wed Sep 14, 2016 8:30 am
by ytsejam
Hi, I'm playing with the unofficial Dytech update. I'm getting this error when i try to use Waitex with DyTech-Power:
waitex-dytech error

Code: Select all

Error Util.cpp:57: Failed to load mod "WaiTex_Full 1.2.0"
__WaiTex_Full__/data-final-fixes.lua:1: __WaiTex_Full__/prototypes/Override-Functions.lua:43: attempt to perform arithmetic on a table value
I understand it's an issue with Dytech-Power, but the person that made the unofficial Dytech update says he doesn't know what's going on. Any help? It only happens with Dytech-Power. Waitex is not conflicting with any other Dytech module or any other mods I use.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Wed Sep 14, 2016 11:21 am
by Nexela

Code: Select all

--[[table: 000000000F98C6D0]]
 171.906 Script Override-Functions.lua:36: {
  filename = "__base__/graphics/entity/steam-engine/steam-engine-horizontal.png",
  frame_count = 32,
  height = 137,
  line_length = 8,
  scale = {  ---------------------------------------------<<------
    a = 1,
    b = 0.074999999999999997,
    g = 0.27100000000000002,
    r = 0.54500000000000004
  } --[[table: 000000000F48ACD0]],
  shift = {
    1.3400000000000001,
    -0.059999999999999998
  } --[[table: 000000000F98C9D0]],
  width = 246
} --[[table: 000000000F98C970]]
Well there is the offending table scale :)

tracing it back

dytech-high-entity.lua line 42

horizontal_animation = SteamHorizontalPictures(1, SteamEngineTint.mk1),
vertical_animation = SteamVerticalPictures(1, SteamEngineTint.mk1),

dytech:functions lua line 180 (and vertical on line 194) same issue
function SteamHorizontalPictures(Type, Scale, Tint)


Conclusion Dytech bug: SteamHorizontalPictures wants Type, Scale, Tint .... high-entity is only sending scale and tint not type. so type is being set as 1, and scale is being set as the tint table

Since the function isn't using the type change both of the functions in functions.lua by removing Type
function SteamHorizontalPictures(Scale, Tint)
function SteamVerticalPictures(Scale, Tint)

In tracking this down I did manage to create a 1 gigabyte log file..........

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Wed Sep 14, 2016 4:00 pm
by keyboardhack
ytsejam wrote:Hi, I'm playing with the unofficial Dytech update. I'm getting this error when i try to use Waitex with DyTech-Power:
waitex-dytech error

Code: Select all

Error Util.cpp:57: Failed to load mod "WaiTex_Full 1.2.0"
__WaiTex_Full__/data-final-fixes.lua:1: __WaiTex_Full__/prototypes/Override-Functions.lua:43: attempt to perform arithmetic on a table value
I understand it's an issue with Dytech-Power, but the person that made the unofficial Dytech update says he doesn't know what's going on. Any help? It only happens with Dytech-Power. Waitex is not conflicting with any other Dytech module or any other mods I use.
As Nexela already said it's a problem with DyTech that i solved a long time ago). I have already talked with kasandraen and it should be solved soon.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Fri Sep 16, 2016 3:04 am
by ytsejam
Nexela wrote:

Code: Select all

--[[table: 000000000F98C6D0]]
 171.906 Script Override-Functions.lua:36: {
  filename = "__base__/graphics/entity/steam-engine/steam-engine-horizontal.png",
  frame_count = 32,
  height = 137,
  line_length = 8,
  scale = {  ---------------------------------------------<<------
    a = 1,
    b = 0.074999999999999997,
    g = 0.27100000000000002,
    r = 0.54500000000000004
  } --[[table: 000000000F48ACD0]],
  shift = {
    1.3400000000000001,
    -0.059999999999999998
  } --[[table: 000000000F98C9D0]],
  width = 246
} --[[table: 000000000F98C970]]
Well there is the offending table scale :)

tracing it back

dytech-high-entity.lua line 42

horizontal_animation = SteamHorizontalPictures(1, SteamEngineTint.mk1),
vertical_animation = SteamVerticalPictures(1, SteamEngineTint.mk1),

dytech:functions lua line 180 (and vertical on line 194) same issue
function SteamHorizontalPictures(Type, Scale, Tint)


Conclusion Dytech bug: SteamHorizontalPictures wants Type, Scale, Tint .... high-entity is only sending scale and tint not type. so type is being set as 1, and scale is being set as the tint table

Since the function isn't using the type change both of the functions in functions.lua by removing Type
function SteamHorizontalPictures(Scale, Tint)
function SteamVerticalPictures(Scale, Tint)

In tracking this down I did manage to create a 1 gigabyte log file..........
keyboardhack wrote:
ytsejam wrote:Hi, I'm playing with the unofficial Dytech update. I'm getting this error when i try to use Waitex with DyTech-Power:
waitex-dytech error

Code: Select all

Error Util.cpp:57: Failed to load mod "WaiTex_Full 1.2.0"
__WaiTex_Full__/data-final-fixes.lua:1: __WaiTex_Full__/prototypes/Override-Functions.lua:43: attempt to perform arithmetic on a table value
I understand it's an issue with Dytech-Power, but the person that made the unofficial Dytech update says he doesn't know what's going on. Any help? It only happens with Dytech-Power. Waitex is not conflicting with any other Dytech module or any other mods I use.
As Nexela already said it's a problem with DyTech that i solved a long time ago). I have already talked with kasandraen and it should be solved soon.
Hey, thanks. I tried to look at Dytech-Power code, but it's greek to me :) hope it can be sorted out soon, Waitex is in my "essential" mods list.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Fri Sep 16, 2016 3:33 am
by keyboardhack
ytsejam wrote:
keyboardhack wrote:
ytsejam wrote:Hi, I'm playing with the unofficial Dytech update. I'm getting this error when i try to use Waitex with DyTech-Power:
waitex-dytech error

Code: Select all

Error Util.cpp:57: Failed to load mod "WaiTex_Full 1.2.0"
__WaiTex_Full__/data-final-fixes.lua:1: __WaiTex_Full__/prototypes/Override-Functions.lua:43: attempt to perform arithmetic on a table value
I understand it's an issue with Dytech-Power, but the person that made the unofficial Dytech update says he doesn't know what's going on. Any help? It only happens with Dytech-Power. Waitex is not conflicting with any other Dytech module or any other mods I use.
As Nexela already said it's a problem with DyTech that i solved a long time ago). I have already talked with kasandraen and it should be solved soon.
Hey, thanks. I tried to look at Dytech-Power code, but it's greek to me :) hope it can be sorted out soon, Waitex is in my "essential" mods list.
It's great to hear that my mod is being used :)
I uploaded a fixed version of Dytech power for everyone who has the problem here.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Thu Oct 13, 2016 9:30 am
by max.power
To be understood with all respect and appreciation for your great work.

Or maybe sb can tell me how to get it work with the 0.15 steam version. :-)

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Thu Oct 13, 2016 9:35 pm
by Marc90
max.power wrote:To be understood with all respect and appreciation for your great work.

Or maybe sb can tell me how to get it work with the 0.15 steam version. :-)
Where did you get the 0.15 version? That version isn't even out yet.
Besides that, 0.15 factorio is supposed to have high res textures (not all parts of the game but at least some) in the base game.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Fri Oct 14, 2016 6:31 am
by max.power
Marc90 wrote:Where did you get the 0.15 version? That version isn't even out yet.
Besides that, 0.15 factorio is supposed to have high res textures (not all parts of the game but at least some) in the base game.
You are right. It's not 0.15 - sorry. But in the mods-section of my factorio-menu it says, that the mod is not compatible with the factorio version. The versions btw. differ between the "about" page and in the mod page. I don't understand...
Edit: Sorry - got it working. Please ignore my postes and i will die in shame.
And since this is my first game with waitex: wow - that's really great work!

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Wed Nov 02, 2016 1:46 pm
by Dev-iL
Just thought I'd mention another super-resolution tool that's been discussed lately in some parts of the interweb: Neural Enhance.
Here's an example of what this tool is able to do:

Image

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Tue Nov 15, 2016 8:57 am
by Axios
Hi,

first of all thanks for this awesome mod!

ETA for 1 Gb vram version of the 1.2.0 release?

Thanks.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Sun Jan 29, 2017 5:01 am
by Targa
Can anyone tell me why this causes a bug when trying to start the game?

Code: Select all

data.raw["beacon"].radius_visualisation_picture = { filename = "__base__/graphics/entity/beacon/beacon-radius-visualization.png",
      width = 24,
      height = 24 }
data.raw["beacon"].supply_area_distance = 6
I'm trying to use the latest Waitex with an updated version of my Better Beacons mod found here: viewtopic.php?f=91&t=23094
I get an error like /prototypes/Base-override.lua:1396: attempt to index local 'v1' (a number value)

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Sun Jan 29, 2017 1:55 pm
by keyboardhack
Axios wrote:Hi,

first of all thanks for this awesome mod!

ETA for 1 Gb vram version of the 1.2.0 release?

Thanks.
Sorry for the late response.
I don't think i will make one this time around. Atleast not before 0.15 is out. If HD in 0.15 doesn't cover enough entities then i will update WaiTex to 0.15 and release a 1gb version. If you still want to use WaiTex then you can make a 1gb version youself by disabling textures in the file AllowedTextureChanges.lua by changing AvailableGB to 1 instead of 3 and maybe setting enabled to false for a few entitites in that same file.
Targa wrote:Can anyone tell me why this causes a bug when trying to start the game?

Code: Select all

data.raw["beacon"].radius_visualisation_picture = { filename = "__base__/graphics/entity/beacon/beacon-radius-visualization.png",
      width = 24,
      height = 24 }
data.raw["beacon"].supply_area_distance = 6
I'm trying to use the latest Waitex with an updated version of my Better Beacons mod found here: viewtopic.php?f=91&t=23094
I get an error like /prototypes/Base-override.lua:1396: attempt to index local 'v1' (a number value)
Are you sure your link leads to the newest version of the mod? Seems like the link leads to a version that's only compatible with factorio 0.12 and not 0.14 that WaiTex expects.
EDIT: A week without a response, i will assume it's not an issue with WaiTex.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Fri Apr 21, 2017 10:59 pm
by Axios
keyboardhack wrote:
Axios wrote:Hi,

first of all thanks for this awesome mod!

ETA for 1 Gb vram version of the 1.2.0 release?

Thanks.
Sorry for the late response.
I don't think i will make one this time around. Atleast not before 0.15 is out. If HD in 0.15 doesn't cover enough entities then i will update WaiTex to 0.15 and release a 1gb version. If you still want to use WaiTex then you can make a 1gb version youself by disabling textures in the file AllowedTextureChanges.lua by changing AvailableGB to 1 instead of 3 and maybe setting enabled to false for a few entitites in that same file.
Thanks for the reply and sorry for the even more late reply to your reply.

I skipped all mods because I'm tryingobtain all achievements. However I started a second game with several mods waiting 0.15, so I just downloaded WaiTex.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Sat Apr 22, 2017 1:50 am
by folk
I realise that 0.15 is right around the corner, but my base is getting bigger every day and every detail counts, so I extracted waitex, deleted the zip, went into the folder and ran this command:

Code: Select all

find . -type f -iname '*.png' -exec pngquant --skip-if-larger --strip --ext .png --force {} \;
Which reduced the size of all the PNG files from 540+ Mb (if I remember correctly, but you can check that yourself from the mod download) to 136,4 Mb.
Visually, in game, it looks the same.

Whether or not it will have any impact on performance or load times, I don't know.
But it's interesting.

EDIT: I ran it on factorio/data/base/graphics, reducing its size from 125mb to 53mb. Zero adverse affects on gameplay that I can see.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Sat Apr 22, 2017 5:51 pm
by keyboardhack
folk wrote:I realise that 0.15 is right around the corner, but my base is getting bigger every day and every detail counts, so I extracted waitex, deleted the zip, went into the folder and ran this command:

Code: Select all

find . -type f -iname '*.png' -exec pngquant --skip-if-larger --strip --ext .png --force {} \;
Which reduced the size of all the PNG files from 540+ Mb (if I remember correctly, but you can check that yourself from the mod download) to 136,4 Mb.
Visually, in game, it looks the same.

Whether or not it will have any impact on performance or load times, I don't know.
But it's interesting.

EDIT: I ran it on factorio/data/base/graphics, reducing its size from 125mb to 53mb. Zero adverse affects on gameplay that I can see.
pngquant is a very good lossy image compressor. WaiTex uses the following pngquant command to compress all the images:

Code: Select all

"pngquant --quality=70-80 --speed 1 " + "\"" + Filepath + "\"" + " --ext .png --force"
The compression reduces the size of the images from 749mb to 148mb. Current mod size limit is 150mb. Compression is certainly nessesary so if you have any good compression ideas then please share them. A previous discussion about mod compressino can be found here.

The size of texture images does have an impact on load times so reducing it's usually a good thing to do.
Reducing the size of the games textures by 75mb is quite considerable and something the devs should think about doing.

Re: [MOD 0.14.x] WaiTex 1.2.0: A HD Texture Pack

Posted: Tue Apr 25, 2017 1:25 pm
by folk
I distinctly remember the folder being 540mb, but now I realise I misread it - and it was probably 154. My apologies.

Re: [MOD 0.15.x] WaiTex 1.2.1: A HD Texture Pack

Posted: Wed Apr 26, 2017 5:24 am
by keyboardhack
Version 1.2.1
  • Added support for built in high res textures. Waitex textures will not be used if there is a high res texture instead.
Full version: https://github.com/TheAIBot/WaiTex/rele ... _1.2.1.zip

There won't be a version with less vram usage as that's already tweakable in factorios settings.

Re: [MOD 0.15.x] WaiTex 1.2.1: A HD Texture Pack

Posted: Wed Apr 26, 2017 6:23 am
by Adventurer
Throws an error on startup about coal.