raylibtech / rtools

rtools feedback and issues
17 stars 1 forks source link

[`rTexPacker`] CLI: Use of directory as input source not working on Linux #38

Closed scoobery closed 1 month ago

scoobery commented 2 months ago

Here's some example output from what I'm seeing on my Linux machine when trying to run rTexPacker on a directory with a couple of PNGs in it. Command:

./rtexpacker -i ./model_sprites/dcss -o ./atlas.rtpa

Output:

Input sprite: ./model_sprites/dcss/./model_sprites/dcss/ElfBaseM.png
Input sprite: ./model_sprites/dcss/./model_sprites/dcss/ElfBaseF.png

This doesn't produce either an RTPA or PNG file as expected. But when I specify each individual PNG I want to pack (for example, ./rtexpacker -i ./model_sprites/dcss/ElfBaseF.png,./model_sprites/dcss/ElfBaseM.png -o ./atlas.rtpa, that does end up creating an RTPA and PNG.

Let me know if you need any further details.

scoobery commented 2 months ago

Update on this issue; I've tested the Windows build of rtexpacker v3.0 via Wine on Linux, and I'm seeing the exact same output when using the same arguments as above to reproduce it. This has me convinced that it might not be exclusive to Linux itself.

raysan5 commented 1 month ago

@scoobery thanks for reporting, I will review it.

raysan5 commented 1 month ago

Issue reviewed on latest rTexPacker 4.0 release: https://raylibtech.itch.io/rtexpacker

scoobery commented 1 month ago

Looks to be working! Thank you so much!