Lyhyestä virsi kaunis:
Markus Mertama on koostanut uuden version SDL:stä. Version päivämäärä on 26.11.2007 ja sen saa ladattua Markuksen SDL-sivulta.
The shortest hymns are the best:
Markus Mertama has compiled a new version of SDL. The version's date is 26.11.2007 and it's availlable for download at Markus' SDL page.
Näytetään tekstit, joissa on tunniste Markus Mertama. Näytä kaikki tekstit
Näytetään tekstit, joissa on tunniste Markus Mertama. Näytä kaikki tekstit
perjantai 14. joulukuuta 2007
keskiviikko 5. syyskuuta 2007
Quake 1 portattu S60 v3.1:lle/ Quake 1 ported onto S60 v3.1
Suomalainen hinkka-nimimerkillä (myös ohinkka) Internetissä tavattava ohjelmoija on portannut Quake 1:n Symbian S60 3rd FP 1:lle. Ainoa, mikä ei toimi, on verkkopelaaminen. Peli toimii täydellisesti Nokia N95:llä.
Hinkan kotisivut:
http://koti.mbnet.fi/hinkka/
Tulee ylpeä olo kun ajattelee, että suomalaiset ovat tuoneet Symbian-alustalle CDoomin (Hannu Viitala) ja C2Doomin(Markus Mertama) ja nyt vielä Quakenkin.
A Finnish programmer named hinkka, who can be met on the Internet, has ported Quake 1 onto Symbian S60 3rd FP1. The only thing, that doesn't work, is the netplay. The game works perfectly on Nokia N95.
Hinkka's home page:
http://koti.mbnet.fi/hinkka/
I feel proud, when I think that Finnish people have brought CDoom (Hannu Viitala) and C2Doom (Markus Mertama) and now also Quake onto the Symbian operating system.
Hinkan kotisivut:
http://koti.mbnet.fi/hinkka/
Tulee ylpeä olo kun ajattelee, että suomalaiset ovat tuoneet Symbian-alustalle CDoomin (Hannu Viitala) ja C2Doomin(Markus Mertama) ja nyt vielä Quakenkin.
A Finnish programmer named hinkka, who can be met on the Internet, has ported Quake 1 onto Symbian S60 3rd FP1. The only thing, that doesn't work, is the netplay. The game works perfectly on Nokia N95.
Hinkka's home page:
http://koti.mbnet.fi/hinkka/
I feel proud, when I think that Finnish people have brought CDoom (Hannu Viitala) and C2Doom (Markus Mertama) and now also Quake onto the Symbian operating system.
maanantai 3. syyskuuta 2007
S60 SDL toiminnassa!/ S60 SDL working!
On kyllä syytä juhlia nyt, kun viimeinkin sain SDL:stä kaiken haluamani toimimaan S60-ympäristössä emulaattorille. Viimeinen ongelmani oli kuvan lataus, joka ei millään onnistunut. Yritin ladata sitä ohjelmassani komennolla:
Tällöin kuva olisi ladattu oletushakemistosta eli SDK:n \epoc32\release\winscw\udeb\z\private\[UID] -kansion sisältä. Täältä se ei siis millään ilveellä latautunut, mutta kun muutin hieman polkua koodissa ja kopioin kuvan ko. kansioon:
...niin johan alkoi tapahtua! Kuva näkyi hienosti näytöllä, eikä mitään virheellistä ollut havaittavissa. Kansio on tuossa tapauksessa \epoc32\winscw\c\.
Jotain ongelmaa sen kanssa tosiaan on silloin, kun tuolta UID-hakemistosta yritetään kuvaa ladata. Tulokseksi tulee siis tuolloin pelkkä musta ruutu. Nyt on kuitenkin kaikki hyvin ja voisi jotain peliä alkaa väsäämään SDL:llä.
Symbian-guru Markus Mertamalle vielä julkinen kiitos siitä hyvästä, että hän on auttanut minua paljon saadakseni tämän SDL:n toimimaan S60 3rd Edition -ympäristössä. Ja suuri kiitos siitä, että hän on portannut SDL:n Symbianille!
It's time to celebrate now when I finally got everything in SDL working on the S60 environment for the emulator. The last problem was loading the image, which didn't work at all. I tried to load it with the command:
This way the image file would be loaded from the default directory, that is inside the SDK's \epoc32\release\winscw\udeb\z\private\[UID] folder. From there it didn't get loaded in any way, but when I changed the code a little bit and copied the image file into the folder:
...something really started happening! The image showed up brilliantly on the screen, and nothing erroneus was in sight. The folder in that case is \epoc32\winscw\c\.
Some problems I had with it, when the image is tried to be loaded from the UID folder. The result will then be just a black screen. But, now it's all right and I could start to make some kind of game with SDL.
For the Symbian guru Markus Mertama I'd like to give a public acknowledgement for the good he has given to me by helping to get this SDL working on S60 3rd Edition environment. And a huge thank you for porting SDL onto Symbian!
kuva = SDL_LoadBMP("kuva.bmp");
Tällöin kuva olisi ladattu oletushakemistosta eli SDK:n \epoc32\release\winscw\udeb\z\private\[UID] -kansion sisältä. Täältä se ei siis millään ilveellä latautunut, mutta kun muutin hieman polkua koodissa ja kopioin kuvan ko. kansioon:
kuva = SDL_LoadBMP("C:\\kuva.bmp");
...niin johan alkoi tapahtua! Kuva näkyi hienosti näytöllä, eikä mitään virheellistä ollut havaittavissa. Kansio on tuossa tapauksessa \epoc32\winscw\c\.
Jotain ongelmaa sen kanssa tosiaan on silloin, kun tuolta UID-hakemistosta yritetään kuvaa ladata. Tulokseksi tulee siis tuolloin pelkkä musta ruutu. Nyt on kuitenkin kaikki hyvin ja voisi jotain peliä alkaa väsäämään SDL:llä.
Symbian-guru Markus Mertamalle vielä julkinen kiitos siitä hyvästä, että hän on auttanut minua paljon saadakseni tämän SDL:n toimimaan S60 3rd Edition -ympäristössä. Ja suuri kiitos siitä, että hän on portannut SDL:n Symbianille!
It's time to celebrate now when I finally got everything in SDL working on the S60 environment for the emulator. The last problem was loading the image, which didn't work at all. I tried to load it with the command:
kuva = SDL_LoadBMP("kuva.bmp");
This way the image file would be loaded from the default directory, that is inside the SDK's \epoc32\release\winscw\udeb\z\private\[UID] folder. From there it didn't get loaded in any way, but when I changed the code a little bit and copied the image file into the folder:
kuva = SDL_LoadBMP("C:\\kuva.bmp");
...something really started happening! The image showed up brilliantly on the screen, and nothing erroneus was in sight. The folder in that case is \epoc32\winscw\c\.
Some problems I had with it, when the image is tried to be loaded from the UID folder. The result will then be just a black screen. But, now it's all right and I could start to make some kind of game with SDL.
For the Symbian guru Markus Mertama I'd like to give a public acknowledgement for the good he has given to me by helping to get this SDL working on S60 3rd Edition environment. And a huge thank you for porting SDL onto Symbian!
Tunnisteet:
3rd,
edition,
guru,
Markus Mertama,
S60,
SDK,
SDL,
Series 60,
Simple DirectMedia Layer,
symbian
torstai 30. elokuuta 2007
Simple DirectMedia Layer (SDL)
Kyllä täytyy nostaa oikein kunnolla hattua eräälle peliohjelmoijalle - nimittäin Sam Lantingalle. Hän on helpottanut peliohjelmointia huomattavasti tuomalla vuonna 1998 SDL-nimisen ohjelmointirajapinnan julki, jossa esimerkiksi kuvan lataus on erittäin nopeaa ja helppoa, mutta silti hyvin nopeaa, kun kielenä käytetään C:tä. Itse opettelen tällä hetkellä kuumeisesti ohjelmointia SDL:llä, sillä SDL:n funktioita käytettäessä koodia voi ajaa niissä laiteissa, joille SDL on julkaistu (eli Windows, Linux, Windows CE, Mac OS, Symbian OS + monia muita).
Käytän Markus Mertaman porttaamaa SDL-versiota Symbianille (käytän S60 3rd Edition Maintenance Release -softakehityspakkausta (SDK)), ja alkukankeuksien jälkeen olen saanut ajettua mm. XFlame-, Newvox-projektit emulaattorilla. Kyllä se on mahtava tunne kun saa jotain tuloksia Symbianille. Työn hedelmiä jaksaa katsella pidemmän aikaa, kun on yrittänyt ja yrittänyt ja lopulta onnistunut. Markus on paljon auttanut minua näissä jutuissa ja jaksanut uhrata aikaansa melko paljon viime aikoina kysymyksilleni. Olen hänelle todella, todella kiitollinen. Hän on kyllä Symbian-ihmemies.
Yritin taannoin S80-ympäristössä (v2 eli Nokia 9500, 9300 ja 9300i) saada SDL:ää toimimaan. Kokeilin peräti neljää SDL:n versiota, jotka ovat portattu Symbianille mutta eipä syntynyt tuloksia. Tai no, tuloksina olivat musta ruutu kännykässä tai koko projektia ei pystynyt kokoamaan Series 80-alustalle virheiden vuoksi (joita minä en ymmärtänyt ainakaan). Päätin luopua yrittämisestä ja myin Nokia 9500:ni pois, koska en enää yritä tehdä sille ohjelmia. S80 on niin epätuettu käyttöliittymä verattuna S60 v3:een. Jälkimmäinen on tulevaisuus. All roads lead to S60 3rd edition. Antaa S80:n kuolla rauhassa. Itse ajattelin, että olisin vielä aktiivinen S80-koodaaja vuosienkin päästä (ja loistokkaasti nimeni näkyisi my-symbian.comin S80-osaston uutissivulla monen monta kertaa, heh), mutta tähän on nyt tultu. S60 vei minut mennessään.
I must give some big credits for one particular game programmer - Sam Lantinga that is. He has made game programming way easier by bringing in the year 1998 to publicity an application programming interface named SDL, where, for example loading an image is very fast and easy, but still very efficient when the used language is C. I'm currently learning hectically programming with SDL, because when its functions are used, the code can be driven in all the devices that SDL has been published (Windows, Linux, Windows CE, Mac OS, Symbian OS + many others).
I'm using the SDL version that Markus Mertama has ported onto Symbian (I use S60 3rd Edition Maintenance Release software development kit (SDK)), and after some troubles at the beginning I have successfully driven XFlame and Newvox projects on the emulator. It sure is a wonderful feeling when one gets working results onto the Symbian. The work's products can be preferably viewed for a long time, when you have tried and tried and at last succeeded. Markus has helped me a lot in these things and managed to sacrifice quite much time for my questions lately. I'm very, very grateful for him. He sure is a Symbian MacGyver.
Not long ago I tried to get SDL working on the S80 environment (v2 (Nokia 9500, 9300 and 9300i)). I tried altogether four SDL versions that had been ported onto Symbian but results weren't born. Or better, the results were yet black screen on the phone or the whole project couldn't be compiled onto the Series 80 UI because of the errors (that I didn't understand at all). I decided to give up trying and sold my Nokia 9500 away, because I'm no longer going to try making applications onto it. S80 is so unsupported platform compared to S60 v3. The latter is the future. All roads lead to S60 3rd edition. Let S80 die in peace. I thought I'd be an active S80 coder for years after (and gloriously my name would show up on my-symbian.com's S80 section news page for many, many times, heh), but here I have come. S60 took me with it.
Käytän Markus Mertaman porttaamaa SDL-versiota Symbianille (käytän S60 3rd Edition Maintenance Release -softakehityspakkausta (SDK)), ja alkukankeuksien jälkeen olen saanut ajettua mm. XFlame-, Newvox-projektit emulaattorilla. Kyllä se on mahtava tunne kun saa jotain tuloksia Symbianille. Työn hedelmiä jaksaa katsella pidemmän aikaa, kun on yrittänyt ja yrittänyt ja lopulta onnistunut. Markus on paljon auttanut minua näissä jutuissa ja jaksanut uhrata aikaansa melko paljon viime aikoina kysymyksilleni. Olen hänelle todella, todella kiitollinen. Hän on kyllä Symbian-ihmemies.
Yritin taannoin S80-ympäristössä (v2 eli Nokia 9500, 9300 ja 9300i) saada SDL:ää toimimaan. Kokeilin peräti neljää SDL:n versiota, jotka ovat portattu Symbianille mutta eipä syntynyt tuloksia. Tai no, tuloksina olivat musta ruutu kännykässä tai koko projektia ei pystynyt kokoamaan Series 80-alustalle virheiden vuoksi (joita minä en ymmärtänyt ainakaan). Päätin luopua yrittämisestä ja myin Nokia 9500:ni pois, koska en enää yritä tehdä sille ohjelmia. S80 on niin epätuettu käyttöliittymä verattuna S60 v3:een. Jälkimmäinen on tulevaisuus. All roads lead to S60 3rd edition. Antaa S80:n kuolla rauhassa. Itse ajattelin, että olisin vielä aktiivinen S80-koodaaja vuosienkin päästä (ja loistokkaasti nimeni näkyisi my-symbian.comin S80-osaston uutissivulla monen monta kertaa, heh), mutta tähän on nyt tultu. S60 vei minut mennessään.
I must give some big credits for one particular game programmer - Sam Lantinga that is. He has made game programming way easier by bringing in the year 1998 to publicity an application programming interface named SDL, where, for example loading an image is very fast and easy, but still very efficient when the used language is C. I'm currently learning hectically programming with SDL, because when its functions are used, the code can be driven in all the devices that SDL has been published (Windows, Linux, Windows CE, Mac OS, Symbian OS + many others).
I'm using the SDL version that Markus Mertama has ported onto Symbian (I use S60 3rd Edition Maintenance Release software development kit (SDK)), and after some troubles at the beginning I have successfully driven XFlame and Newvox projects on the emulator. It sure is a wonderful feeling when one gets working results onto the Symbian. The work's products can be preferably viewed for a long time, when you have tried and tried and at last succeeded. Markus has helped me a lot in these things and managed to sacrifice quite much time for my questions lately. I'm very, very grateful for him. He sure is a Symbian MacGyver.
Not long ago I tried to get SDL working on the S80 environment (v2 (Nokia 9500, 9300 and 9300i)). I tried altogether four SDL versions that had been ported onto Symbian but results weren't born. Or better, the results were yet black screen on the phone or the whole project couldn't be compiled onto the Series 80 UI because of the errors (that I didn't understand at all). I decided to give up trying and sold my Nokia 9500 away, because I'm no longer going to try making applications onto it. S80 is so unsupported platform compared to S60 v3. The latter is the future. All roads lead to S60 3rd edition. Let S80 die in peace. I thought I'd be an active S80 coder for years after (and gloriously my name would show up on my-symbian.com's S80 section news page for many, many times, heh), but here I have come. S60 took me with it.
Tilaa:
Blogitekstit (Atom)