PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Broken Sword 2 reports

Anyone completed Broken Sword 2 (using the latest unstable build) ? Or how far did you go ?
Geared2003 · 26 Apr 2004, 17:17 UTC — BS 2
I completed the game (100 %) with your latest build (PPC ARM). Basically no major problems but crashes occured often before video cutscenes: generally, restarting the game with the latest savegame (before the crash) solved my problems. The re-encoded cutscenes from scummvm may be too "heavy" for our PDAs. Do you intend to post "lighter videos" optimized for PDAs ?

Just one remark though: my device has a very nice 800x 480 screen (Sigmarion 3): playing a game like this one on a regular PPC ( 240x320 screen) is probably very difficult...

Again, thanks a lot for your efforts ARISME !
OK, great :D I noticed the memory management changed on the tree, we'll see if this patch is still necessary.

I wanted to post reduced videos, but as my provider changed their policy regarding web pages storage, I'll probably just post a howto on re-encoding the videos for PDAs or a torrent link. No time to do this before next week though.
Guest · 06 May 2004, 14:10 UTC — BS2 memory manager
Since I'm responsible for it, I too would be interested to know if the revamped memory management is any more Pocket PC-friendly than the old one. :)

If it still consumes too much memory, you could try lowering the MAX_CACHE_AGE setting in resman.cpp. If that's still not enough... well, that's where things get tricky. I changed the cache expiration logic so that resources are now expired when you change rooms, rather than when the memory manager's memory pool is so exhausted that even defragmenting won't help. This seemed like much more predictable behaviour, and besides there no longer is any memory pool to exhaust or defrag. None that ScummVM has any influence over, at least. However, if a single room causes a lot of resources to be cached, there may be trouble...

My long-term goal is to make it possible to disable resource caching completely, but apparently there are some parts of the engine that rely on caching, not just to reduce disk access but to work correctly at all. I'm not quite sure which, though. Possibly the script handling.
Thanks, I'll make a new build on the branch this week-end (I think it was reported on the branch, right ?) and remove this dirty hack :wink:
I've performed a few tests and it seems to run fine so far ...
On the branch? You mean the one that'll become 0.6.1? No, I haven't made any changes to Broken Sword 2 there. All of the changes so far have been for the next major release, whenever that happens.

Good thing, too, because I noticed earlier today that I had completely broken the "restart" button. Oops. :)
nope, I performed the tests on the head, after I noticed it wasn't in the branch yet :wink:

Well, BS2 seems to be fine, but Digital Imuse is even more broken on PocketPCs now, but this is not your fault I guess :D