| Разработка и ромхакинг > Ромхакинг и программирование |
| Editors for 8bpp and 15bpp Images |
| (1/1) |
| eskayelle:
Is there an image editing tool folks here use when editing images that are 8bpp linear or 15bpp BGR, both being mode 2 / 2-dimensional? I'm using TileMolester, but in 2-dimension mode it has a bug where the last row(s) of the image can't be seen or edited. |
| lupus:
--- Цитата: eskayelle от 22 Апрель 2021, 01:56:36 ---Is there an image editing tool folks here use when editing images that are 8bpp linear or 15bpp BGR, both being mode 2 / 2-dimensional? I'm using TileMolester, but in 2-dimension mode it has a bug where the last row(s) of the image can't be seen or edited. --- Конец цитаты --- Try to add some bytes with hex editor to the end of file. Also try to find TileMolester mod with fixed bug. Maybe this: https://www.smwcentral.net/?p=viewthread&t=102363 |
| eskayelle:
Thanks! The bug is still in that version of the software, but padding the file worked. |
| lupus:
Try to ask DrMefistO to fix the bug: http://www.emu-land.net/forum/index.php?action=profile;u=46087 |
| Sharpnull:
Попробуйте моё исправление. В файле \src\tm\canvases\TMEditorCanvas.java исправил: --- Код: ---limit = bits.length - getRowIncrement(); --- Конец кода --- на это: --- Код: ---limit = bits.length - codec.getBytesPerRow() * cols; --- Конец кода --- Вроде бы работало и limit = bits.length - 1;. Не уверен в точности исправления, но для 8bpp linear + Mode 2D работает. TileMolester 0.19 fix_last_row - версия https://www.romhacking.net/utilities/991/. TileMolester 0.20 fix_last_row - версия https://github.com/toruzz/TileMolester. Компилировал с помощью JDK 8u231 по аналогии с https://github.com/toruzz/TileMolester/blob/master/compile.sh. -------- UPD: Как мне указали, всё ещё плохо работает в режиме 2D, даже может вылететь при открытии. |
| lupus:
Супер! |
| Навигация |
| Главная страница сообщений |