1
SCI Community How To's & Tutorials / Re: Translating Views (The Dagger of Amon Ra)
« on: June 17, 2022, 03:14:36 AM »Wow, didnt know that.
I just tried the game in Virtualbox (Win98) without ScummVM and there is no "both" button.
So I cant change it, without changing the SummVM'S code..
Thank you for your info and help.
- Next time you want to check something in the original game interpreter, it might be easier to use https://www.dosbox.com/.
- Changing ScummVM's code for translations isn't too hard. I have done it a few times when translating Sierra games to Hebrew.
- I found the 'both' view in ScummVM's code: https://github.com/scummvm/scummvm/blob/60fdff423165994094ac1133798f97a52f1ceaaa/engines/sci/graphics/view.cpp#L51
- If you want, I can try to help you with adding your translated 'both' view to ScummVM.
EDIT
====
The solution seems simple.
I have read ScummVM's code (same file, line 354) that injects their 'both' view - it depends (among other things) on the fact that 'View 995, Loop 13' has only 2 cells.
So, you just have to add your translated view as 'View 995, Loop 13, Cel 2' - and then it will (supposedly) be used to show that button, and will not be overridden by ScummVM.