00bfaf6360e236b2b6d98d965ded5935d0761f29
Cutscene loader: a MODAL item's optionCount byte was read directly inside an assertTrue() condition. On the PSP release build (DUSK_ASSERTIONS_FAKED), assertTrue expands to a no-op and never evaluates its argument, so that read - and the offset advance it was responsible for - silently never happened, desyncing every item after it in the stream. Moved the read out to its own statement and replaced the assert with a real error throw, since this is untrusted file content. uifocus: fixed a wraparound bug in uiFocusMoveDirection - moving left/up from position 0 truncated to uint8_t before the modulo wrap (0-1 => 255, then 255 % cols), landing on the wrong column instead of the row's last one. Only ever visible on a grid wider than a handful of columns, which nothing but the new keyboard has. Keyboard: merged uikeyboardqwerty into uikeyboard (only one layout exists, so the split no longer earned its keep) and deleted the unused numbers/symbols placeholder files. Reshaped the grid to a tighter 11x5 layout with per-mode key tables (unshifted/caps/shift) instead of computing case transforms, and fixed the reserved NEWLINE/CONFIRM/CANCEL slot indices to match. Added shift-symbols for digits and -/=, and uimenu's directional navigation now skips blank filler cells (wrapping around a row/column as if they weren't there) instead of landing on them - a generic fix in uimenu.c, not keyboard-specific, since nothing else uses blank cells. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Dusk
RPG Game Project, small and able to run on a PSP.
Building
Each build target has different requirements. You can take a look at the git workflow to see how the builds are done for each target. In addition, for accessing the editor and building the game on your host system, install the following packages, depending on your system;
Fedora;
sudo dnf install git make gcc cmake python python-polib python3-pillow python3-dotenv python3-numpy python-qt5 python3-pyopengl SDL2-devel zlib-devel libzip-devel bzip2-devel openssl-devel lzma-sdk-devel xz xz-devel lua-devel
Ubuntu;
sudo apt-get install git build-essential gcc python python-polib python3-pillow python3-dotenv python3-numpy python3-pyqt5 python3-opengl
Arch Linux;
sudo pacman -S git base-devel gcc python python-polib python-pillow python-dotenv python-numpy python-pyqt5 python-opengl
Description
Languages
C
86.1%
JavaScript
4.6%
CMake
3.6%
Python
3.6%
HTML
1%
Other
1%