yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] maniac-za:
Need More Beer

Hi all,

I've updated my .Net for 3.5 loaded the libgles_cm.dll to my windows directory and installed DiamondBeer V2 but still get the following error:

DiamondBeer.exe

MissingMethodException

Can't find PInvoke DL 'libgles_cm.dll'.

at

OpenGLES.egl.GetDisplay(EGLNativeDisplayType display_id)

at DiamondBeer.BeerForm.InitGL()

at DiamondBeer.BeerForm..ctor()

at DiamondBeer.Program.Main()

Has anyone managed to get this app to work and if they have could they post a step by step guide pleeeeeez.

nearly forgot this is on a Samsung Omnia i900.

cheers:p
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
i get :

(after putting dll in windows dir);

unable to choose config. @:

.beerform.initgl()

.beerform..ctor()

.program.main()

any ideas=
[Touch Diamond, MDA Compact IV Themes and Apps] stirkac:
yessssssssss made it work on my omnia!!!!!!!!!!!

copyed like 5 different libgles_cm.dll's and then i found some htc and omnia drivers combined somewhere on this forum. installed, soft reset and it works! works faster and looks nicer than previous version :D

...just had to write it down :D
[Touch Diamond, MDA Compact IV Themes and Apps] D8LOM:
This looks great, can't wait to try this app.
[Touch Diamond, MDA Compact IV Themes and Apps] falzon03:
now if we could only get it so that the beer actually flows instead of staying in a straight line.....kind of like has waves in it...then this app would be complete!
[Touch Diamond, MDA Compact IV Themes and Apps] stirkac:
yes the only thing is that foam loooks kinda solid (it should be more "airy" and when you move phone left/right beer line should bend up at the edge od glass (difficoult to explain). but i really like it. i'll drink in creator's name xD
[Touch Diamond, MDA Compact IV Themes and Apps] Roflnova:
Don't expect an update; the OP hasn't logged in for months.
[Touch Diamond, MDA Compact IV Themes and Apps] episodev:
Here's your cab.

I kept accidentally exiting so I added a confirmation dialog to the exit button also.
[Touch Diamond, MDA Compact IV Themes and Apps] xdatrion:
:(

it says:

MissingMethodException

Assemblyname 'OpenGLES Version=1.0.3366.20517, Culture = neutral PublikKeyToken=null' not found...

what shall I do?
[Touch Diamond, MDA Compact IV Themes and Apps] episodev:
Sry about that, try this one.
[Touch Diamond, MDA Compact IV Themes and Apps] xdatrion:
Omg!! Thank you! works great now :D
[Touch Diamond, MDA Compact IV Themes and Apps] episodev:
np, glad I could help ;)
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
can anyone upload the right libgles_cm.dll file?
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
i now installed some libgles dll file to windows dir on my omnia from here :

http://xdaflameusers.com/viewtopic.php?id=918&p=1

now when i start the diamondbeer program it just starts loading and nothing happens.

but the program is still running because i see it on the currently running programs list

:(
[Touch Diamond, MDA Compact IV Themes and Apps] fubaruk:
sorry to bother u

ok , im sorry complete noob , love my omnia but dont have a clue how to get this to work , where / how do i copy the libgles_cm.dll file ? where can i get it and where do i put it ? sorry , is there and idiots guide to omnia mods somewere ? lol , i need it , cheers
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
which exactly "libgles_cm.dll" you use?

i try few version but no luck (get error or device freeze)
[Touch Diamond, MDA Compact IV Themes and Apps] tom_zak:
How to work DB v3 ?? I copied files to folder with installed DB v2, but it doesn't work. Can you help me ?? Sorry for bad english, because I'm from poland, and I'm 12 years old =) Probably youngest on this forum..

TZ
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
i finally manage to work Diamond Beer v2 on my Omnia.... but cant access to options

here is all working files

tested OK with Samsung Omnia

- install CAB first

- copy libgles_cm.dll to \Windows\ directory on Omnia

- if necessary install Microsoft .NET Compact Framework 3.5

- disable automatic screen rotation, select Manual (Start - Settings - System - Motion Sensor)

rapidshare download link + Microsoft .NET Compact Framework 3.5 - 35 mb

http://rapidshare.com/files/220223298/DiamondBeer_v2.zip
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
it's possible to change options... not easy but possible...

first click on blue cup in bottom left.... (see picture, is actual screen on my Omnia)

options shows very short period of time around logo of beer

tap with stylus in this area and you found where is options for different settings located....

after you choose your settings, try find with same procedure OK button
[Touch Diamond, MDA Compact IV Themes and Apps] tom_zak:
Yeah.. Good work. It works good. But there are not enough bubbles, colour of beer must be darker for realier effects.
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
i'm using tarils rom 18.3 date i think

i have net3.5 and libgles and so on...

but when i start the game it just loads and it doesnt open :(
[Touch Diamond, MDA Compact IV Themes and Apps] tom_zak:
Where do you pasted libgles ??
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
windows folder
[Touch Diamond, MDA Compact IV Themes and Apps] lantony:
would u like to share with us the best libgles to use with omnia? thank you :D
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
you read my posts? i posted all files what work on omnia
[Touch Diamond, MDA Compact IV Themes and Apps] lantony:
sure but the one u posted is a bit slow, that guy said to have found a version much faster. Anyway your file is dated 2005 i suggest you to update it ;) at least with this one or newer http://sourceforge.net/projects/ogl-es

;)
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
i tryed many files and only worked with file what iposted...
[Touch Diamond, MDA Compact IV Themes and Apps] GreenOmnia:
It doesn't work on my Omnia .. it obviously isn't satisfied with the senzor x)

Please help.
[Touch Diamond, MDA Compact IV Themes and Apps] NikD1:
are we not able to get a cab for V3? :(
[Touch Diamond, MDA Compact IV Themes and Apps] Klemenn:
is there any new application version maybe?
[Touch Diamond, MDA Compact IV Themes and Apps] GrooV:
Really nice :) Maybe add some sounds aswel? :D
[Touch Diamond, MDA Compact IV Themes and Apps] :
More Beer Needed

It could be nice if the next version had Gulden Draak (the best belgian beer) on it. A very good dark, sweet and strong beer.
[Touch Diamond, MDA Compact IV Themes and Apps] ruyramonn:
no sound for bear?

i am using version for omnia
[Touch Diamond, MDA Compact IV Themes and Apps] superman80:
any chance of getting this app to work in Omnia 2? i tried install it but got error. thanks.
[Touch Diamond, MDA Compact IV Themes and Apps] justasweetestthing:
Could I ask for some help? Thanks in advance!

I would really like to try this app on my phone (HTC Touch Diamond), but I do not know how to get it on there. Is anyone interested in telling me how to do it please? Thanks in advance! :)
[Touch Diamond, MDA Compact IV Themes and Apps] poruimartins:
I just got my Diamond 2, but I don't know what do do in order to install this app. Is there anybody helpful to tell me what to do, to get started.

Thanks in advance.
[Touch Diamond, MDA Compact IV Themes and Apps] Tojja95:
i have some problems installing this, it pop ups a message that says something about signed digital cert
[Touch Diamond, MDA Compact IV Themes and Apps] danchio:
V2 is fine, do we have V3.cab??
[Touch Diamond, MDA Compact IV Themes and Apps] orb3000:
Great one:D

Thanks,
[Touch Diamond, MDA Compact IV Themes and Apps] dxdy:
After testing many different versions i finally start Diamond Ber on Omnia 2 but no beer in glass :(

here if any want try... just install cab and copy dll files to windows directory
[Touch Diamond, MDA Compact IV Themes and Apps] focuswrc2006:
can you make it for the hd2? tnx in advance
[Touch Diamond, MDA Compact IV Themes and Apps] schmeichler:
have you at least tried it?

just got an thread notification on your reply... I have also moved on to a hd2 - DiamondBeer V2 is runs just fine on it!

(running Artemis Rom here)
[Touch Diamond, MDA Compact IV Themes and Apps] focuswrc2006:
yes, it runs but I get e warning that the htc api isn't found and it doesn't fit the screen completely
[Touch Diamond, MDA Compact IV Themes and Apps] jithusree90:
Diamond beer for xperia x2 ?????

This app is not working on my xperia x2

Im having NETCF

can u make it compatible with my xperia x2

It is WVGA

it got accelerometer too
[Touch Diamond, MDA Compact IV Themes and Apps] mokos:
Diamond beer for Omnia i900...

Ι tried this app on Omnia i900 but it is not working... :(

Im having also NETCF3.5. What changes should i do to run this app on my Omnia?

Any help please?? :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Diamond Beer 2

Is this what you had in mind for the beer ? :)

A first rough application that simulates drinking. Again not yet as complete as I wanted it to be.

Usage:

Start the program and keep close to your mouth, you don't want to spill the beer ! Next "drink" from your PDA.

Menu -> New Drink refills your glass/PDA.

Any feedback about problems is appreciated !

BTW: usefulness: keeps stress levels down. (Studies show that even the anticipation of a joke can reduce your stress-level by 70 % !)

New version:

DiamondBeer2, which is developed with C++ and does not rely on the .NET CF framework.

Enhancements:

- Beer "label" on your glass.

- multiple types of drinks: "Duvel" is the default, and a root beer (non-alcoholic) for kids :p (shows how "skins" would work).

- Bubbles in the glass ( go always up)

- If you tilt your "glass" to far, the beer empties immediately. (careful, you might get wet)

- Icon in "programs" group is again not visible now

Done:

- added "foam" (not for all drinks). I could use some artistic help here, because I need a texture which allows me to draw foam without "lines" in it. This is the first rough graphic, I am working on improving the algorithm.

- added "glass" again. Still not optimal, maybe better when I convert the application to OpenGL ES

- uses full-screen mode. Tap on the screen to get the menu back

- better algorithms for flow of beer and foam. I got the rough ideas now, just need to work them out. I think I have a better version already, but I am still not satisfied.

- Foam gets smaller the longer the beer is standing still

<b>Still todo:</b>

- Use a better particle engine for the bubbles.

- Get better colors, especially the B-C does look terrible. (checkout what B-C stands for)

- Add sound (any pointers to examples are appreciated).

- better artistic images.

- User managed drinks.

- Implement "shaking" so foam gets increased.

- Save settings

- User setting for "drink-rate" (saved for next start)

Help needed:

- Pointer to "blending" code examples for drawing the glass

- Texture for foam and/or beer (maybe even brown or red ales ?)

- Other help needed: how can I detect that the PDA is shaken ?

Future enhancements I am thinking about:

- Adding ice-cubes for some drinks (and no ... never for beer :D)

Important:

If you like my applications, consider a donation to Koushik.

After all it is thanks to his (and the many other developers) work and readiness to share it that I can write these programs. I (currently) still get enough satisfaction in writing these programs.
[Touch Diamond, MDA Compact IV Themes and Apps] NisseDILLIGAF:
Wow .. I was expecting the lame IPhone video just made over like a cab install .. but this it Fu*!ing cool .. hehehe

I can see where this could go, have some more bubbles and maybe ( ok now i mybe thinking to much ) but have the camera in the background, so its like transparent??

Cool app, kicks 'IPhone video' Ass!!
[Touch Diamond, MDA Compact IV Themes and Apps] LeeFusZ:
Works great!:D

But its not so detailed, like the Iphone. :p
[Touch Diamond, MDA Compact IV Themes and Apps] nubbin:
I rather like this one - http://ca.youtube.com/watch?v=hmK-MOdLonc&feature=related
[Touch Diamond, MDA Compact IV Themes and Apps] teddyen66:
Yeah funny one :-)
[Touch Diamond, MDA Compact IV Themes and Apps] fredisco:
Here are some Icon's

http://ikony.deviantart.com/art/Beer-3956897

http://gosco.deviantart.com/art/Beverage-cans-87466559

http://www.guimods.com/windows-beer-icon-pack/
[Touch Diamond, MDA Compact IV Themes and Apps] JanDaMan:
Hey not bad man good work, just need to get the graphics up to the standard of the ibeer app now - also i noticed that when the phone is tilted too much (like upside down) the beer goes back to thinking is flat on a table lol, it should just flow out faster tho.
[Touch Diamond, MDA Compact IV Themes and Apps] jsmith_00:
help cannot run

help i have downloaded this program and want to use it but it says my "mirosoft .net version is out of date"

please help
[Touch Diamond, MDA Compact IV Themes and Apps] teddyen66:
I would love to try your apps :-)

And who knows, I might donate ;-)
[Touch Diamond, MDA Compact IV Themes and Apps] horstborsch:
Some screens would be nice!
[Touch Diamond, MDA Compact IV Themes and Apps] lordcoffee:
Hi! Nice but a bit slow. Beer is a bit more liquid. If you like (I'm good in graphic stuff) I can create some images for the beer. What filetype do you need? I think .png for the foam and ma ybe an animated .gif for the beer itself with bubbles raising? What also would be nice if you shake the phone the foam could grow, possible?

Greetings, lordcoffee

(by the way... "hooray, my first post in this forum")
[Touch Diamond, MDA Compact IV Themes and Apps] Sergio PC:
Trying right now!:)

UPDATE:

Kick ASS!!!!! Thanks.

Friday im researching how beer works!!

Im drinking in the name of research for the Jewel FRIDAY!:D

Cheers bradas!
[Touch Diamond, MDA Compact IV Themes and Apps] Caradhras:
Excellent !!! Good work !

It lacks just a bit graphics and it'll be perfect!
[Touch Diamond, MDA Compact IV Themes and Apps] tomchap:
Yeah thats spot on. Nicer graphics and itll be 100% :)

Great first attempt by the way!
[Touch Diamond, MDA Compact IV Themes and Apps] SOLSchweiz:
would be cool to see a glas and that you can choose which beer, Guiness, Heineken, Grolsch, Bud, Eichhof etc...
[Touch Diamond, MDA Compact IV Themes and Apps] teddyen66:
Yeah or Coca-Cola ;-)
[Touch Diamond, MDA Compact IV Themes and Apps] Nuri58:
I think you can download it and put it on the iPhone or iPod Touch - it's available from hottricks.
[Touch Diamond, MDA Compact IV Themes and Apps] Nuri58:
Download v 3.5 from MicroSoft's site
[Touch Diamond, MDA Compact IV Themes and Apps] JanDaMan:
this is incorrect btw, there is an ibeer app (and an iMilk) for the iphone that DOES use the G-sensor (its pretty cool). there are also video type versions of this app.
[Touch Diamond, MDA Compact IV Themes and Apps] diamondino:
and what about making a video and posting it on youtube? :D
[Touch Diamond, MDA Compact IV Themes and Apps] Sergio PC:
Im working on video not only on this app but a bunch of videos showing how much the Jewel can Shine:D
[Touch Diamond, MDA Compact IV Themes and Apps] Riel:
Yeah, when cameraimage is used it's a transperant beerglass :p

Lol.

Cool app :)
[Touch Diamond, MDA Compact IV Themes and Apps] Rik_X:
Very Nice! Not as slick as the Iphone one...but definitely much of potential! I watch for updates!
[Touch Diamond, MDA Compact IV Themes and Apps] misterfabs:
I like it... i hope you develop a new version of DiamondBeer, like on the iPhone... :)
[Touch Diamond, MDA Compact IV Themes and Apps] castor.troy:
"mirosoft .net version is out of date"

I have the same problem wilth my HTC Diamond.

Castor
[Touch Diamond, MDA Compact IV Themes and Apps] Pharaohnough:
Is there a way to make the beer program actually pour real beer out of the light sensor or the front camera so we can have a more lifelike experience and actually get a drink at the same time? bad joke :D

There seems to be good progress happening here- I think all it needs is for a clever graphic designer to join in and give it some lifelike beerness and we'll be there!
[Touch Diamond, MDA Compact IV Themes and Apps] Calimero68:
Download this prog: http://www.microsoft.com/downloads/...FamilyID=e3821449-3c6b-42f1-9fd9-0041345b3385
[Touch Diamond, MDA Compact IV Themes and Apps] lordcoffee:
Graphics for the Beer

Hi there!

I think my post was gettin lost ;-) I'm good in graphic stuff and like to create the needed graphics for the Beer-App. What informations I need is what kind of mimetypes do we need? jpg, png, gif? I think png would be the best for transparency so maybe the thing with the back-camera could work. Also for the foam. How can we support bubbles raising inside the beer? animated gif? or just one transparent bubble image wich is used some kind of particles so they can raise always up using the sensor?

Greetings, Lordcoffee
[Touch Diamond, MDA Compact IV Themes and Apps] Pharaohnough:
I really like where this is going :)

BEER BEER BEER BEER :D:cool:
[Touch Diamond, MDA Compact IV Themes and Apps] lordcoffee:
@mkhattab: Me too :D

The photoshooting is done. Now a bit of photoshop and I think tomorrow evening the images are ready.

Lordcoffee
[Touch Diamond, MDA Compact IV Themes and Apps] Riel:
Think about it that the bubbles need to keep going UPWARDS no matter how you keep the phone :p

And there must be some depth in bubbles :p
[Touch Diamond, MDA Compact IV Themes and Apps] ind0mi:
Kool! cant wait to have a beer! :D:p
[Touch Diamond, MDA Compact IV Themes and Apps] fpcheng:
Beer not working on my diamond

Hi

My diamond doesn't launch, it says the .Net framework is too old on my device. Where can I get a copy of latest .Net compact framework?
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Unable to start

Hi,

Be sure to install the .NET CF 3.5 as was mentioned earlier.
[Touch Diamond, MDA Compact IV Themes and Apps] blacksad:
Can you give the source code of your program in order to try to improve it too !
[Touch Diamond, MDA Compact IV Themes and Apps] Araldwenn:
Practically, if you want to have your program's icon in "program" group, you need to have your shortcut in \Windows\Start menu\Programs.

Hope it will help !
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Diamond Beer Sources

Hi,

Here are the sources for the Diamond Beer application. I would appreciate it if any changes in the sources are reported back, so that I can learn also a bit more.

My background is more Java and (mainframe) servers, so C# and WM is a bit new. The algorithm I use to calculate everything might also not be optimal. I use not a lot of trigonometry but rather simple area calculations.

As some have noticed, I need to put a fix in it when the tilting angle is too high. The "tan()" becomes too big.

Things I currently am looking at (and maybe some of you can help here):

- Use OpenNet.GDIplusCK so I can use the "...Blt" functions and transparency to superimpose the glass on it. I only discovered this recently, but I have used these functions in my "SensorMaze" game (see other post), which is written with C++.

- I have included some artwork for different beers. Even the root beer variant :)

- I am working on a "BubbleEngine", which would take care of adding the bubbles and guide them according to the tilting angle and would react to "shaking" the glass by adding more bubbles. Again, I will need some TransparentBlt here to draw the bubbles.

- I was thinking of adding selectable skins, so that you can make your choice out of the bar. This would people allow to add their own artwork and labels on the glasses.

- I have a rough idea about the foam, but requires some extra thinking. A "FoamEngine" would also need to react to the number of bubbles and increase the foam as soon as the majority of the bubbles reaches the surface. But for now I will probably just add a little wait time after the shaking.

- "drinking" rate should be angle-sensitive. The more the difference between the angle measured, the faster the beer should flow. Again, probably something simple like a factor * cos(x), so that it would vary depending on the angle.

I am open to other suggestions, I guess we can make a good application when different people are combining work.

I also would like to keep this a free, open source application, not sure yet which license to use, but something like the FSF license would apply I guess.

Anyway have fun in developing this.

My idea for the icon is attached in the png file.
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Well, that is not the problem. I have created an icon (not in the sources), and set it as default for my form, but the Programs group, just shows an empty default icon as you will notice when you install it.
[Touch Diamond, MDA Compact IV Themes and Apps] puntje:
Nice little program you wrote.

I'm looking forward to the next version, some little tip: if i hold my TD upside down the beer will stop where it has to fall down.
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Some fixes done

I posted a new release (called BeerDiamond2) in my original post to this thread. Should fix the problem in holding it upside down.

I still have some questions about the artwork display, but I am not sure if this is the right thread to ask them. Anybody has some good pointers to where I could ask my questions ?
[Touch Diamond, MDA Compact IV Themes and Apps] d@vid49:
very good job :)
[Touch Diamond, MDA Compact IV Themes and Apps] dzign-it:
New version is cool mate. The "glass" empties abit too slowly, other than that, add sounds and tidy it up. perfect, version 3 is the finish :-)
[Touch Diamond, MDA Compact IV Themes and Apps] htckaiseruser:
Awesome job, but it would be nicer if the user could choose between more brands of beer, like HEINEKEN and CORONA!!! also i miss the empty glass picture from your first edition, and when the phone tilts to much that your glass is completly empty but when you tilt it keep a bit its at the level just before it went totally empty. But youre getting there m8!! keep up the good works and i might donate you a real beer:D

P.S. could you make a BACARDI COLA?? instead (or also!) of the rootbeer?! it almost looks the same, with bacardi logo on the glass would be great!!
[Touch Diamond, MDA Compact IV Themes and Apps] Shroff:
I think someone posted this earlier, but there definitely is an accelerometer-based beer iphone app. My friend had one today by..carlsberg? You have to play a silly game where you move a pint across a bar, then you get to have the beer. It works very well. The main thing is that the beer flows very quickly, much like a real drink.

We have to, have to put those Iphone mainstream fanboys in their place. I'm so glad you're making a version of this app, and it's coming along really well. If we can just get the beer flowing nicely, any secondary additions like transparency w/ camera or different drinks would just be brilliant insult to injury :D.

Thanks so much!
[Touch Diamond, MDA Compact IV Themes and Apps] markoswahid:
help :(

i want to start this app, but i cant :(

i have net frame work 3.5, and java.

But i cant get it up, when i go to explorer and go to the map where it is located i see an opera icon and 2 not recognised files, i can only press the opera icon and then it start opera and opens a blank webpage.

please help

EDIT: stupid stupid stupid of me, I downloaded the cab from xda, and because it had the icon of a rar file i unrard it, and i put the unrared file in to my phone :P
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
No Java needed. New version available

Hi,

I created a new version (see my original post for the new version) that needs NO .NET CFG at all. Copy the .cab file to your PDA and "double click" on it to install the program. After this you see an entry called "Diamond Beer" in your programs group.
[Touch Diamond, MDA Compact IV Themes and Apps] htcfanboi:
i dont see the cab file???? there is no cab on your first post?
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
You're fast

Hi,

Check again, I did download it just a few minutes ago. I made the error to announce it first :o