You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great job in recreating the original engine - I appreciate technologies used, namely CMake and SDL. This is why I could easily cross compile your engine to PSP using psptoolchain.
Problem is, PSP has 32, and in later models, 64 MB of RAM, thus causing throwing bad alloc when loading the AGG file which is around 40 MB (loading program into memory already takes 19 MB).
Do you plan creating a buffered file reader, so to not load whole AGG file into memory, but rather chunk-by-chunk? It would make this memory spike when loading assets much smaller, thus actually allowing to play on memory constrained platforms.
The text was updated successfully, but these errors were encountered:
After removing LOTS of assets from the AGG file (to reclaim RAM) and some editing of your sources, I was actually able to run fheroes2enh on PSP emulator:
Though, there are some problems when running on a real device.
First of all, great job in recreating the original engine - I appreciate technologies used, namely CMake and SDL. This is why I could easily cross compile your engine to PSP using psptoolchain.
Problem is, PSP has 32, and in later models, 64 MB of RAM, thus causing throwing
bad alloc
when loading the AGG file which is around 40 MB (loading program into memory already takes 19 MB).Do you plan creating a buffered file reader, so to not load whole AGG file into memory, but rather chunk-by-chunk? It would make this memory spike when loading assets much smaller, thus actually allowing to play on memory constrained platforms.
The text was updated successfully, but these errors were encountered: