Skip to content

Instantly share code, notes, and snippets.

<NAME>Manny's got company</NAME>
<DATE>September 2nd, 2014</DATE>
<AUTHOR>bgk</AUTHOR>
<BODY>
<p>
Adding support for Myst III: Exile to ResidualVM is nearly done.
Now, we only need your help to find the last rough edges by playing the game thoroughly and reporting any issues you encounter.
</p>
<p>
If you are interested, locate your copy of the game, and <a href="http://www.residualvm.org/downloads/">download</a> a daily build (not the 0.1.1 release build).
graphics/libgraphics.a(framebuffer.o): In function `Graphics::FrameBuffer::~FrameBuffer()':
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:109: undefined reference to `glDeleteRenderbuffersEXT'
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:110: undefined reference to `glDeleteFramebuffersEXT'
graphics/libgraphics.a(framebuffer.o): In function `Graphics::FrameBuffer::init()':
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:116: undefined reference to `glGenFramebuffersEXT'
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:117: undefined reference to `glGenRenderbuffersEXT'
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:119: undefined reference to `glBindFramebufferEXT'
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:120: undefined reference to `glFramebufferTexture2DEXT'
C:\msys64\home\boucletb\residualvm/graphics/opengles2/framebuffer.cpp:123: undefined reference to `glBindRend
diff --git a/engines/myst3/gfx_opengl_texture.cpp b/engines/myst3/gfx_opengl_texture.cpp
index 6f855ca..558ebd7 100644
--- a/engines/myst3/gfx_opengl_texture.cpp
+++ b/engines/myst3/gfx_opengl_texture.cpp
@@ -56,7 +56,7 @@ OpenGLTexture::OpenGLTexture(const Graphics::Surface *surface, bool nonPoTSuppor
if (format.bytesPerPixel == 4) {
internalFormat = GL_RGBA;
- sourceFormat = GL_UNSIGNED_BYTE;
+ sourceFormat = GL_UNSIGNED_INT_8_8_8_8_REV;
diff --git a/engines/myst3/subtitles.cpp b/engines/myst3/subtitles.cpp
index 818b243..255faf0 100644
--- a/engines/myst3/subtitles.cpp
+++ b/engines/myst3/subtitles.cpp
@@ -55,7 +55,8 @@ Subtitles::Subtitles(Myst3Engine *vm) :
_surface(0),
_texture(0),
_frame(-1),
- _font(0) {
+ _font(0),
diff --git a/engines/grim/gfx_opengl_shaders.cpp b/engines/grim/gfx_opengl_shaders.cpp
index 728c9e3..f9feaef 100644
--- a/engines/grim/gfx_opengl_shaders.cpp
+++ b/engines/grim/gfx_opengl_shaders.cpp
@@ -727,6 +727,7 @@ void GfxOpenGLS::startActorDraw(const Actor *actor) {
_actorProgram->setUniform("hasZBuffer", hasZBuffer);
_actorProgram->setUniform("texcropZBuf", _zBufTexCrop);
_actorProgram->setUniform("screenSize", Math::Vector2d(_screenWidth, _screenHeight));
+ _actorProgram->setUniform1f("alphaRef", 0.5f);
}
**** Build of configuration Debug for project scummvm ****
make -j all
error: unknown option `dirty'
usage: git describe [options] <committish>*
--contains find the tag that comes after the commit
--debug debug search strategy on stderr
--all use any ref in .git/refs
--tags use any tag in .git/refs/tags

Prerequisites

Installing

From a computer, download the installable package of the PS3 port from ScummVM's main site. It should be a .pkg file. Copy it to an USB drive.

diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp
index 79de033..ec1fc4c 100644
--- a/engines/mohawk/myst_stacks/mechanical.cpp
+++ b/engines/mohawk/myst_stacks/mechanical.cpp
@@ -41,6 +41,7 @@
_mystStaircaseState = false;
_fortressPosition = 0;
+ _gearsWereRunning = false;
}
void LinkServer::OnServerStart()
{
UpdateData(TRUE);
lanlink.numslaves = m_numplayers+1;
lanlink.type = m_prottype;
lanlink.server = true;
lanlink.speed = m_speed==1 ? true : false;
sf::IPAddress addr;
const Graphics::Surface *VideoDecoder::decodeNextFrame() {
_needsUpdate = false;
readNextPacket();
VideoTrack *track = findNextVideoTrack();
if (!track)
return 0;
const Graphics::Surface *frame = track->decodeNextFrame();