Jump to content


argent77

Member Since 24 May 2010
Offline Last Active Today, 09:15 AM

Posts I've Made

In Topic: Black Pits implementation

Today, 09:14 AM

 

IIRC the tool itself has also some issues on macOS (unless they have fixed it by now).

I'd like to report this issue on their forum -----> What do you think I should include in the bug report (Will your WeiDU wrapper be enough)?

 


I wouldn't include the WeiDU wrapper at all. It is just a convenience option to save you from running the tool at the command line directly. It's more likely they reject your bug report outright because it involves a second layer of execution.

You should prepare a simple repro case which involves a direct call of the tool. The general syntax as used by the WeiDU wrapper is this:

/path/to/PVRTexToolCLI -i "input_file.PVR" -o "output_file.PVR" -f PVRTC1_4,UBN,lRGB -potcanvas + -squarecanvas +

Replace "input_file.PVR" by the PVR file you have prepared to be converted. "output_file.PVR" is produced by the conversion process. The -f parameter defines the output format. The remaining parameters ensure that the resulting texture is always squared and a power of 2.

You can export PVRZ to a PVR file with NI (Export -> as PVR (uncompressed). You can also convert a PVR back into PVRZ with NI: Tools -> Convert -> Image to PVRZ. These steps are not needed for the repro case though.


In Topic: Black Pits implementation

16 August 2018 - 01:35 AM

I'd like to try it on a Linux VM. Could you provide me with instructions on how to install WeiDU mods on that system? If I am not mistaken, it's a real PITA  :( ......

It's even more than that.

My experience with WeiDU on Linux is limited though. Afaik, you need to lowercase the whole game installation to make WeiDU usable. But that may cause trouble with EE games. To work around this limitation you can install the game on a case-insensitive filesystem. Many Linux users seem to use ciopfs for that. I have only tested it with games installed on a partition formatted by JFS with OS/2 compatibility mode (which disables case-sensitivity). Both options should work as long as the mod doesn't use paths that point to files in your case-sensitive filesystem.


In Topic: [solved] IWD2 Object Types [edit: NearLocation]

10 August 2018 - 07:10 AM

 

'Radius' most likely scales to search units, which roughly translates to 16 pixels horizontally and 12 pixels vertically per unit.

 

just to be sure that I understand this correctly - the range in the example I've shown would be 8 (8.333 rounded down), is that right? (radius calculated like in the above mentioned formula but using rectangle length divided by 16 and rectangle height divided by 12)

 

Radius would be 4.1666 (rounded down to 4). You forgot to divide by 2.


In Topic: [solved] IWD2 Object Types [edit: NearLocation]

10 August 2018 - 06:33 AM

'Radius' most likely scales to search units, which roughly translates to 16 pixels horizontally and 12 pixels vertically per unit.
 

I don't know how reliably NearLocation() works outside of visual range though. You might want to test it first.


In Topic: EET 1.0 Release Candidate 11 up on GitHub

10 August 2018 - 05:23 AM

After some more tests I'm pretty certain it's a WeiDU issue. I've only noticed it on Linux. Windows and macOS don't appear to be affected.