Beholder Posted January 8, 2011 Share Posted January 8, 2011 - Can't use right click. This feature set up in SDL startup menu. Try it. Right click may be emulated by menu key, touch with force, touch by second finger. - Can't type the name of my character: at the character creation, when I get to type the name, I click at the upper left of the screen to get the virtual keyboard, I type the name, then "enter", then I go back to the game screen but nothing. The name I typed doesn't show. I can get this bug **many** times in a row. Character name actually saved. But screen not refreshed. In game you will see proper character name. - No matter how many new games I create, I get the loading bug I explained. I added hack to disappear this bug for BG1. I can to try add same hack for BG2. But it's a temporary solution. Link to comment
Beholder Posted January 8, 2011 Share Posted January 8, 2011 I installed android sdk v8 and enabled market in emulator (2.2), but i don't see gemrb there. Why? Sorry, I don't know GemRB runs on emulator with 2-4 fps. And.. You have time to drink a cup of tea waiting until savegame loaded ))) Link to comment
Guest Guest Posted January 8, 2011 Share Posted January 8, 2011 - Can't use right click. This feature set up in SDL startup menu. Try it. Right click may be emulated by menu key, touch with force, touch by second finger. - Can't type the name of my character: at the character creation, when I get to type the name, I click at the upper left of the screen to get the virtual keyboard, I type the name, then "enter", then I go back to the game screen but nothing. The name I typed doesn't show. I can get this bug **many** times in a row. Character name actually saved. But screen not refreshed. In game you will see proper character name. - No matter how many new games I create, I get the loading bug I explained. I added hack to disappear this bug for BG1. I can to try add same hack for BG2. But it's a temporary solution. Thanks Beholder. Gonna retry again. Btw, any information as to when you gonna release the new version? Link to comment
Beholder Posted January 8, 2011 Share Posted January 8, 2011 I think, at the end of month. New version will include latest engine changes, some bugfixes for BG1, another keyboard theme, latest version of the SDL port with some new configuration options (joystick function, physical keys redefinition, multi touch etc.). Also, I'll try to do better adaptation for touch screens. Link to comment
Guest Nuru Posted January 9, 2011 Share Posted January 9, 2011 The new version sounds great, thanks! As for the loading bug, I got it on every single install I made. Here is how I install the game: - From the smartphone, I launch ASTRO to find and launch the "gemrb-0.6.3-signed.apk" file. - Once the install is done, I configure GemRB (Keyboard, right click button, etc..) and let it finish the installation completely. - Then from my PC, I copy the full install of [baldur's Gate 2 + Throne of Bhaal + patch], exept for all the ".exe" files, to the "net.sourceforge.gemrb" folder on my smartphone. - Then I launch the game, create a character and start playing. Am I doing anything wrong? Link to comment
lynx Posted January 9, 2011 Share Posted January 9, 2011 No, the loadscreen leftovers are a problem on all platforms. Link to comment
Nuru Posted January 9, 2011 Share Posted January 9, 2011 Ok Lynx, thanks. Any chance it's gonna be fixed in a future GemRB release? I just tried Planescape Torment, and installed it the same way I installed BG2+ToB, however, just after the character creation screen, when I try to start the game, I get a bluescreen with only the GUI. Do you know how to fix that? Link to comment
Beholder Posted January 9, 2011 Share Posted January 9, 2011 Blue screen appears if you not properly configured GemRB, or not all resources copied on the phone. Link to comment
Nuru Posted January 9, 2011 Share Posted January 9, 2011 I see, thanks Beholder. Is there a tutorial about how to set up everything for Planescape Torment to make it work flawlessly? Link to comment
lynx Posted January 9, 2011 Share Posted January 9, 2011 PST is not playable very far, so I'm not sure if it is worth to bother with it. Link to comment
Beholder Posted January 9, 2011 Share Posted January 9, 2011 Yes, PST is not playable. Some important features does not implemented. Link to comment
Beholder Posted January 9, 2011 Share Posted January 9, 2011 I see OpenAlAudio.cpp and OpenAlAudio.h in current git is not merged with my latest changes (posted here http://forums.gibberlings3.net/index.php?s...t&p=179472). Please add changes to OpenAlAudio plugin. This code is very important for Android version. Currently pastebin.ca is not work, diff size is small, I post text were. diff --git a/gemrb/plugins/OpenALAudio/OpenALAudio.cpp b/gemrb/plugins/OpenALAudio/OpenALAudio.cpp index f3c0338..c58699a 100644 --- a/gemrb/plugins/OpenALAudio/OpenALAudio.cpp +++ b/gemrb/plugins/OpenALAudio/OpenALAudio.cpp @@ -517,11 +517,18 @@ bool OpenALAudioDriver::Pause() checkALError("Unable to pause music source", "WARNING"); MusicPlaying = false; SDL_mutexV( musicMutex ); + ((AmbientMgrAL*) ambim)->deactivate(); +#ifdef ANDROID + al_android_pause_playback(); //call AudioTrack.pause() from JNI +#endif return true; } bool OpenALAudioDriver::Resume() { +#ifdef ANDROID + al_android_resume_playback(); //call AudioTrack.play() from JNI +#endif SDL_mutexP( musicMutex ); if (!alIsSource( MusicSource )) { SDL_mutexV( musicMutex ); @@ -531,6 +538,7 @@ bool OpenALAudioDriver::Resume() checkALError("Unable to resume music source", "WARNING"); MusicPlaying = true; SDL_mutexV( musicMutex ); + ((AmbientMgrAL*) ambim)->activate(); return true; } diff --git a/gemrb/plugins/OpenALAudio/OpenALAudio.h b/gemrb/plugins/OpenALAudio/OpenALAudio.h index 2e3329f..a942216 100644 --- a/gemrb/plugins/OpenALAudio/OpenALAudio.h +++ b/gemrb/plugins/OpenALAudio/OpenALAudio.h @@ -49,6 +49,10 @@ #include <alc.h> #endif +#ifdef ANDROID +#include <AL/android.h> +#endif + #define RETRY 5 #define BUFFER_CACHE_SIZE 100 #define MAX_STREAMS 30 Link to comment
Guest Guest Posted January 10, 2011 Share Posted January 10, 2011 hi all, to me about what Planescape blue screen too, but this man will work well. Link to comment
Beholder Posted January 10, 2011 Share Posted January 10, 2011 This is my video. I have a Four-CD Planescape version. A part of my GemRB.cfg for run Planescape: GameType=pst GamePath=./ CD1=./ CD2=./CD2/ CD3=./CD3/ CD4=./CD4/ But unfortunately, PS:T is not fully playable Link to comment
Beholder Posted January 10, 2011 Share Posted January 10, 2011 lynx, I tried "always center on actor feature", it works good on PC. I added folowing lines to implement "always centering" in ChangeMap func: if(ScreenFlags&SF_ALWAYSCENTER) { core->timer->SetMoveViewPort( pc->Pos.x, pc->Pos.y, 0, true ); } Center variable is previously set to 1 (set ups SF_ALWAYSCENTER). Is this correct? And is this feature needed for PC, or implement it for Android only? I'll plan to map changing SF_ALWAYSCENTER flag to hotkey. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.