maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   GemRb Development Thread (https://talk.maemo.org/showthread.php?t=16947)

Joorin 2010-07-08 14:17

Re: GemRb Development Thread
 
Quote:

Originally Posted by Trisk3lion (Post 744876)
If I connect with a usb cable and enter mass storage mode i can't access the right folders or is there an other usb mode i dont know about?

Then you do it in, you know, two steps.

First you copy the files to MyDocs and then you move them to wherever you want them.

Nathraiben 2010-07-08 14:28

Re: GemRb Development Thread
 
Thanks for the instructions, WhiteIce!

Two quick questions, though:
  • From the post prior to the instructions, I take it that both them and the config file will work on the N900?
  • Will simply changing the bg2 to bg1 in the config file make it work with BG1, or will I have to tinker with the rest of the settings for that?
    (Couldn't find my BG2 box, so I thought let's do it the right way and just start replaying from the beginning... :D)

I'm really looking forward to giving this a try this weekend! :)

Trisk3lion 2010-07-08 18:42

Re: GemRb Development Thread
 
Quote:

Originally Posted by Joorin (Post 744954)
Then you do it in, you know, two steps.

First you copy the files to MyDocs and then you move them to wherever you want them.

I solved it at last, the porblem was that i was always connected to OpenSSH and usb mass storage at the same time so i couldn't see the directory where i copied the bg2 files over usb in my ftp client.
So i justed plugged the usb out and it showed up, then i could move the files to their correct location.

Magik 2010-07-08 19:51

Re: GemRb Development Thread
 
Quote:

I take it that both them and the config file will work on the N900?
If I understood what you mean: yes.

Quote:

Will simply changing the bg2 to bg1 in the config file make it work with BG1, or will I have to tinker with the rest of the settings for that?
Yes. Put the bg1 files into bg2 folder(if you don't do it you will have change more in config files), change the "GameType" in config file to bg1 and you can play :)

Cobra 2010-07-08 20:23

Re: GemRb Development Thread
 
Im trying to get BG1 working wich files do i need from the cd's? Should I install it then use those files or do i only need the cd1(cd2, cd3 etc.) dir?

Magik 2010-07-08 20:31

Re: GemRb Development Thread
 
Cobra install bg1 on PC and just copy ALL game files to bg2 folder on your n900.

Trisk3lion 2010-07-08 21:17

Re: GemRb Development Thread
 
I just got it working at last, so damn nice! This has been like a little dream to me to get to play my favorite game on the run!

Baldur's Gate 2 runs pretty fine at 850mhz but the sound is still hacking abit and because i have a swedish N900 i can't use up and down arrows as those don't have their own keys like the us/uk verisions do.
I'm maybe gonna do some promoting on the gemrb forums to have them program the ability to right click using ctrl+left click, would probably work pretty good for us.

Have anyone compared the speed of BG2 to BG1 and Icewind Dale? Is it faster or the same?

Magik 2010-07-08 21:23

Re: GemRb Development Thread
 
Quote:

but the sound is still hacking
You used my configs? For me it work nearly perfect on 900mhz :) (yea it was buggy at many times, but come on... be happy that it is at all :D )

Quote:

Is it faster or the same?
It's nearly the same. Maybe Icewind Dale slightly faster(and more bugged :rolleyes: ).
Didn't play on n900 for too long BG1 to compare it to the sequel.

Cobra 2010-07-08 22:08

Re: GemRb Development Thread
 
Quote:

Originally Posted by Magik (Post 745314)
Cobra install bg1 on PC and just copy ALL game files to bg2 folder on your n900.

thanks for your help but I cant get it to work. Is there a specific version that works?


edit:

usr/bin $ gemrb
GemRB Core Version v0.6.0 Loading...
[Core]: Initializing the Event Manager...[Core]: Initializing Variables Dictionary...[OK]
[Config]: Trying to open GemRB.cfg [NOT FOUND]
[Config]: Trying to open /home/user/.gemrb/gemrb.cfg [OK]

**cannot open**
[Core]: Cache path ./Cache doesn't exist, not a folder or contains alien files!
[Config]: Trying to open /usr/etc/gemrb.cfg [NOT FOUND]
Press enter to continue...
/usr/bin $

Magik 2010-07-08 23:16

Re: GemRb Development Thread
 
Quote:

thanks for your help but I cant get it to work. Is there a specific version that works?
Did you put config file in the right place?


Quote:

7. Create folder for gemrb.cfg to reside in by using command ->
mkdir /home/user/.gemrb/
8.Download gemrb.cfg from
http://www.4shared.com/file/ZD6jG2_J/configi.html

9. Move gemrb.cfg to /home/user/.gemrb/gemrb.cfg by using command -> mv gemrb.cfg /home/user/.gemrb/
*Take note, you must be at the directory where you first placed gemrb.cfg like e.g. /home/user/MyDocs/Downloads

andyph666 2010-07-08 23:34

Re: GemRb Development Thread
 
can you right click in this game? I'm asking cause I want to see the info for the items etc and I can't right click.

Magik 2010-07-08 23:44

Re: GemRb Development Thread
 
Quote:

can you right click in this game?
On PC version Gemrb? Yes :D On n900 - nope (if u read this thread or used search button you would know ^^ )
I know all items so it's not the problem :P If you don't like unidentified items in your bagpack use bg2tweak mod to indentify them :) ( http://www.gibberlings3.net/bg2tweaks/ ).

Cobra 2010-07-09 11:59

Re: GemRb Development Thread
 
Magik yes I put it in the right place. there was also a alsoft.confin the download for gemrb.cfg I didnt know what to do with it so I put it in /home/user/.gemrb with gemrb.cfg.

Cobra 2010-07-09 12:27

Re: GemRb Development Thread
 
finally I got it working :). I ran it from /home/user again. I tryed that first but it errored out then I ran it from /usr/bin like the tutorial read and got the error above. Then today I tried it from /home/user and IT WORKED! I dont know what changed but this is awsome. thanks guys.

Jedibeeftrix 2010-07-09 12:52

Re: GemRb Development Thread
 
is it not really playable at the default speed of 650MHz?

Magik 2010-07-09 13:22

Re: GemRb Development Thread
 
Quote:

is it not really playable at the default speed
Not really. I think 800-900MHz will be good.

ps
Stock speed is 600MHz not 650 ;)

Trisk3lion 2010-07-23 20:44

Re: GemRb Development Thread
 
I have tried Icewind Dale but it runs even worse then BG2, maybve gonna try BG1 later and see how it goes.

@Magik I'm using you config file but even at 1ghz overclock the sound is still slow on BG2, are you saying it runs perfect for you?

Bundyo 2010-07-24 03:18

Re: GemRb Development Thread
 
Guys, I'll be moving this soon to extras-devel plus a little config tool. Will keep in touch.

Trisk3lion 2010-07-24 11:48

Re: GemRb Development Thread
 
Wonderful, great work Bundyo!

Bundyo 2010-07-24 12:43

Re: GemRb Development Thread
 
Not much work, just real life.

Magik 2010-07-25 09:52

Re: GemRb Development Thread
 
Quote:

are you saying it runs perfect for you?
Yes. It worked very well. It was choppy(and buggy) sometimes, but when you compared to the "stock" config it works "perfectly" :D

Magik 2010-08-06 14:41

Re: GemRb Development Thread
 
Video of Pandora running newest version of gemrb:
http://www.youtube.com/watch?v=EnQe5KlqGPg

It seems that newer version works better or it is just pandora build(it's surprisely fast)?

Bundyo 2010-08-07 07:03

Re: GemRb Development Thread
 
Its almost the same with what I'm running from what I saw, though its not much faster than 0.6.0 (mainly depends on the audio config and running in 16bit color mode)

ArnimS 2010-08-09 15:41

Re: GemRb Development Thread
 
New build please - i want to complain about current problems.

fuzzie 2010-08-15 13:07

Re: GemRb Development Thread
 
FYI: Our latest code should use considerably less RAM (don't know how relevant this is for maemo devices) and be faster. We (GemRB dev team) are planning a new release (0.6.2) a week or so from now.

If you're using OpenAL Soft like the other handheld ports then it seems to be slow and FP-intensive - not something we can do an awful lot about - so if these devices lack an FPU I'd suggest someone tries our SDLAudio plugin once we release (the version in git right now is still buggy).

Bundyo 2010-08-15 18:19

Re: GemRb Development Thread
 
I'll check it out when you release it. Though 0.6.1 works kinda good in 16bpp even now.

leviathan0297 2010-08-20 21:37

Re: GemRb Development Thread
 
Quote:

Originally Posted by Bundyo (Post 787173)
I'll check it out when you release it. Though 0.6.1 works kinda good in 16bpp even now.

During character creation the game crashes. I have applied the openal and gemrb config files but I am running at stock speed? Are you running overclocked?

Magik 2010-08-22 14:29

Re: GemRb Development Thread
 
leviathan0297 create your character on pc and copy the save file to n900.

Quote:

kinda good in 16bpp even now.
How to turn on this 16bpp mode? :>
EDIT: ok I have found it in cfg file.

leviathan0297 2010-08-23 03:48

Re: GemRb Development Thread
 
hi thanks would some one be able to post gemrb 0.61 or 0.62, thanks in advance again

Bundyo 2010-08-23 05:31

Re: GemRb Development Thread
 
When I get home, I will post 0.6.1 since I'm not ready with the GUI yet.

Magik 2010-08-23 09:16

Re: GemRb Development Thread
 
Bundyo cool!
To install updated gemrb we will have to remove previous version?
I will make a video when you will release the new version ;)

Quote:

I'm not ready with the GUI yet.
Imo the GUI isn't that necessary, but choosing a game without messing with the gemrb config would be cool.

leviathan0297 2010-08-26 08:07

Re: GemRb Development Thread
 
good day! any update on posting the 0.61 or 0.62 version thanks

Bundyo 2010-08-26 09:58

Re: GemRb Development Thread
 
0.6.1 probably tonight.

leviathan0297 2010-08-26 14:12

Re: GemRb Development Thread
 
Quote:

Originally Posted by Bundyo (Post 798872)
0.6.1 probably tonight.

will check tonight then :)

Bundyo 2010-08-30 21:23

Re: GemRb Development Thread
 
GemRB is now in Extras-devel. It shouldn't change your current config. If you're installing anew, the game is BG2 TOB and the folder is configured to point at /media/mmc1/Games/GemRB/bg2/ and CD2-6 subfolders.

You can change the defaults in /home/user/.gemrb/gemrb.cfg.

That's for now, moving to 0.6.2 and then the configurator, Pentagram, Exult, Diablo (not the game:)) in this order.

2disbetter 2010-09-01 10:20

Re: GemRb Development Thread
 
Bundyo,

I'm getting the following error after upgrading to the new GUI wrapper for gemrb:

[ResourceManager]: Searching for MPAL256... Tried MPAL256.png MPAL256.mps MPAL256.bmp [ERROR]
[ERROR]

I have my game files resting in
/media/mmc1/bg2

and have updated gemrb.conf to reflect that, to include the save file location as well.

Any ideas?

Edit: This has been fixed. I am trying to run BG1 not BG2. Thanks!

2d

Magik 2010-09-01 11:03

Re: GemRb Development Thread
 
Bundyo what's the name of the package? I can't fin it in app manager.

Bundyo 2010-09-01 17:06

Re: GemRb Development Thread
 
http://repository.maemo.org/extras-d.../free/g/gemrb/

colla84 2010-09-10 16:51

Re: GemRb Development Thread
 
Quote:

Originally Posted by WhiteIce (Post 723540)
Steps for getting gemrb to work with Baldur's Gate 2

1. Download these depencies

http://bundyo.com/things/libopenal1_...22-1_armel.deb

You could probably copy over to /home/user/MyDocs/Downloads
*Note case sensitive (you guys should know by now)

2. Download gemrb from here
http://bundyo.com/things/gemrb-0.6.0-maemo0.deb
*You may place it at /home/user/MyDocs/Downloads too

3. Grant yourself root access using xterminal using command -> sudo gainroot

4. Install each and every libopenal .deb files by using this command -> dpkg -i libopenal1-dbg_1.10.622-1_armel.deb

5. Install gemrb using the above same command -> dpkg -i gemrb-0.6.0-maemo0.deb

6. Create a bg2 folder/directory by using command -> mkdir /home/user/MyDocs/bg2
*This directory should contain all bg2 source files and folders.

7. Create folder for gemrb.cfg to reside in by using command ->
mkdir /home/user/.gemrb/

8.Download gemrb.cfg from
http://www.4shared.com/file/ZD6jG2_J/configi.html

9. Move gemrb.cfg to /home/user/.gemrb/gemrb.cfg by using command -> mv gemrb.cfg /home/user/.gemrb/
*Take note, you must be at the directory where you first placed gemrb.cfg like e.g. /home/user/MyDocs/Downloads

10. Run gemrb by using two command -> cd /usr/bin
-> gemrb

Just hope I did not make this up too complicated, this should make everything work but I'm sure I did miss out something

I'll continue to keep the post updated should I find out what I missed.

Hope you guys have some fun even though it might not be perfect enough.


this is a guide for play BG2 with gemRb on N900? And sound fixed?

Bundyo 2010-09-10 22:48

Re: GemRb Development Thread
 
Both config files are inside the debs which are in Extras-devel. The sound config is fixed there too.


All times are GMT. The time now is 05:00.

vBulletin® Version 3.8.8