maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Palm Pre gets SDL! native gaming (https://talk.maemo.org/showthread.php?t=39809)

Ikari 2010-11-18 15:32

Re: Palm Pre gets SDL! native gaming
 
The only thing I know about linux is that it has an adorable penguin mascot, everything else I learned after coming here. I'm still very much a noob and I admit that I still don't understand a lot of the things I'm putting in the command lines, but if you put it in correctly then everything will work. If you have any questions just make sure and ask, that's why this is here. Typing everything in the X-term seems like a daunting task at first, but after a while you will get use to it and it's not so scary (learn to use the Tab button asap, makes life a lot easier), take the initiative and try to learn something new.

Titan has even made script that will take care of everything once you manage to get the .ipk onto your device. Once again, if you wanna learn there are always people here willing to help you out, but if you wanna sit back and wait for someone to make you some sort of installer, that's fine with me.

RenaldoTT 2010-11-18 17:17

Re: Palm Pre gets SDL! native gaming
 
If you don't understand what the 4 first commands do just ask. But basically what you're doing to install anygame is to move the game folder which you got from your palm pre or .ipk file to the /home/user area in a folder preferably called WebOS then making the executionable file in that folder executable by your N900 which is what chmod a+x does then you just run the game with preenv with the ./ command. That's just a general idea of what's being done. What is it exactly that you don't understand, let me a Noob help you understand. Feel free to PM you as making an installer for each game takes time so getting comfortable with X Terminal is your best option. The more you learn the better. It isn't hard just be patient and don't be afraid to ask.

zehjotkah 2010-11-18 22:06

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Ali (Post 877136)
i can not type all the codes and understand what i just did and to type everything with just the N900 keyboardis just too much!!!

I think it's really difficult to type everything on the small N900 keyboard.
It's far more better to type on the PC.
Therefore I've just made a tutorial how to "connect" your PC with your N900 via SSH to type everything on your PC and even transfer the files via WIFI.

Here is the video, it's in German, but you will understand everything, it's so easy!

http://www.youtube.com/watch?v=9gVamVvEK0o

Have fun!

jflatt 2010-11-22 19:01

Re: Palm Pre gets SDL! native gaming
 
I'm trying to compile from the git repo, where does SDLGL.h come from? I'm guessing it's some special OpenGL ES project?

Bundyo 2010-11-22 20:13

Re: Palm Pre gets SDL! native gaming
 
Well, its actually missing :) I guess Javispedro forgot to add it. It should be only several rows, check what's missing in sdlgl.c when the header was added:

http://gitorious.org/preenv/preenv/c...cd78d3913f4d74

Cobra 2010-11-23 04:09

Re: Palm Pre gets SDL! native gaming
 
Ive been testing some games out and was wondering how can i uninstall these.

Ikari 2010-11-23 05:29

Re: Palm Pre gets SDL! native gaming
 
Read this from the wiki regarding deleting games.

http://wiki.maemo.org/Preenv/FAQ#How_to_delete_a_game

Basically you just need to remove the icon and you can then remove the game folder.

RenaldoTT 2010-11-23 06:18

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Bundyo (Post 880568)
Well, its actually missing :) I guess Javispedro forgot to add it. It should be only several rows, check what's missing in sdlgl.c when the header was added:

http://gitorious.org/preenv/preenv/c...cd78d3913f4d74

what will this do ?

jstokes 2010-11-26 10:57

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by jflatt (Post 880493)
I'm trying to compile from the git repo, where does SDLGL.h come from? I'm guessing it's some special OpenGL ES project?

No, as Bundyo said, it's just a file containing the function prototypes of the non-static functions found in sdlgl.c

If you do build it, note:
  • it needs the enum found in the repository versions of preenv declaring SDL_GL_CONTEXT_MAJOR_VERSION and SDL_GL_CONTEXT_MINOR_VERSION
  • its libplayback integration is broken. Running The SIMS 3 will cause sound to break. You will want to remove the relevant parts from the preenv sourcecode
  • Driver crashes during its initial loading screen. I solved this by moving the thread initialisation functions into a function utilizing a GOnce, but simple "if (!g_thread_supported ())" statements before g_thread_init() and dbus_g_thread_init() also work

ivgalvez 2010-11-26 11:24

Re: Palm Pre gets SDL! native gaming
 
So, actually it's impossible to build the project from the Git repo, but what about the sources in the repositories?


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

vBulletin® Version 3.8.8