Gemrb - BG / Planescape / Icewind dale on our Droid 3's. Install instructions! - Motorola Droid 3

Hello all! I wanted to share this because when I discovered it, I went nuts! Really? Some of the most amazing games of all time on our phones? (And my Transformer Tab).
One of the primary reasons I wanted to post this here is because with the fact that our Droids have a hardware keyboard, these games play exceptionally well compared to me playing them on my tablet, where the all touchscreen controls are a bit difficult to use.
So here's what you do:
1. Install gemRB from the android market. gemRB is an open source version of the infinity engine, the engine that baldurs gate \ planescape \ icewind dale uses.
2. Install one of the infinity engine games on your PC. For instance.. Baldurs gate 2 (which is the only game I have tried thus far).
3. Download the widescreen patch from http://www.gibberlings3.net/widescreen/ . Place the EXE in your Baldurs Gate 2 folder (or whatever infinity engine game), and run it. It now asks you if you want to patch for normal installation, or if you want to patch for a gemrb installation. Obviously we would choose gemrb.
4. Follow the screen prompts, and when it asks x resolution and y resolution, you have to make a decision. The phone's screen is 960x540... but if you compile the widescreen at this resolution, in my opinion, it makes things WAY too small to read. So I decided to use 800x480, which is also the same ratio as 960x540. This makes things a little bit bigger while still looking quite nice. (Note, if you are going to change resolution, you have to run the exe on your computer again, and recopy the ENTIRE BG2 directory onto your phone. So it's kind of a pain in the ass to change rez).
5. gemrb creates a folder /sdcard/app-data/net.sourceforge.gemrb/ . This is where you're going to copy and paste the innards of your BG2 directory folder. don't post just the folder, it has to be the files INSIDE the directory. So for instance, in my net.sourceforge.gemrb folder, I have a cache folder, cd2-5, characters data, etc. Not just a "BG2 - SOA" folder.
6. A file in the net.sourceforge.gemrb folder is called GemRB.cfg.sample. Open this up with a text editor and make sure everything looks good. Change the resolution in the text file to 800x480 or whatever you choose to run it at. afterwards, you MUST rename the file to just GemRB.cfg ... delete the "sample" part in the name.
7. Run that **** and configure! Mine worked perfectly. The best part about our droids is that we can map all buttons to our physical keyboard. So I really only use the touchscreen to move the cursor around... my left click is LALT, right click is the OK button, pause is spacebar, etc. This makes the game just a DELIGHT to play on our phones.
It really runs and works remarkably well. I highly suggest trying this out if you're a fan of these amazing games!

Nice post!! I have something similar to this for Warcraft II, and the addon, Tides of Darkness.

Have an idea of what sort of framerate your getting? Finally have some free time and I'll try it out. Thanks for the heads up

Game runs flawlessly on my d3. Zero frame issues, so probably 30fps

Baconstrip said:
Game runs flawlessly on my d3. Zero frame issues, so probably 30fps
Click to expand...
Click to collapse
Just swapped the files over. looking forward too it. Good find.

Thanks for this. I played Baldurs Gate 2 on my Motorola Milestone 2. Does anyone know if Icewind Dale 2(!) works too?

Rotkaeqpchen said:
Thanks for this. I played Baldurs Gate 2 on my Motorola Milestone 2. Does anyone know if Icewind Dale 2(!) works too?
Click to expand...
Click to collapse
I can't say for sure, but I'd imagine BG, BG2, Planescape Torment, IWD, IWD2 all work

Nice, Baldurs Gate is a little too hard for me. But Icewind Dale should be easier I hope.

I've tried planescape, i get a blue screen when i start a new game or from my old save, not a blue screen of death mind you, just blue.
The bottom bar appears ok once in and the main menu, but then get into the game and it's all blue.
-smc

somemadcaaant said:
I've tried planescape, i get a blue screen when i start a new game or from my old save, not a blue screen of death mind you, just blue.
The bottom bar appears ok once in and the main menu, but then get into the game and it's all blue.
-smc
Click to expand...
Click to collapse
I'll have to check out planescape sometime soon and let you know if it works or not. Like I said, I've only done baldurs gate. I wonder if you're missing a setting somewhere..... did you try the widescreen patch?

Hey Mate yeah did the widescreen patch, fits screen nicely, does crash every now and again when loading the game up with gemrb but once in the menu works and the game looks fullscreen.
I only had one stab at it tho it's pretty easy to setup, i might have a corrupt file or something, the cd's are pretty old.
-smc
Edit:
looks like it's simply not too compatible yet with PST:
http://www.gog.com/en/forum/planescape_torment/gemrb_and_planescape

Anyone else run this with games from GOG.com? I followed instructions multiple times, PST and BG2, it always showed me a blue screen then crahsed after the game started.
EDIT:
Got it! For games from gog you have to point all cd's to ./data
Sent from my DROID3 using Tapatalk

get maplestory to work
and i will pay u in money! XD

So I have an issue that I haven't seen covered yet. I am tring to play Throne of Bhaal. My game will start fine until I get past the intro videos. After that I just get my finger control and a black screen.
Sent from my DROID3 using XDA App

Thanx Camspanners that worked for me also, i'm guessing every game will need the cd folders changed like this to work.
Not sure what resolution to play the game in yet, i think the original 640x480 would better suit.
-smc

Diggy1584 said:
So I have an issue that I haven't seen covered yet. I am tring to play Throne of Bhaal. My game will start fine until I get past the intro videos. After that I just get my finger control and a black screen.
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
I'm pretty sure if you look on their website, Throne of Bhaal uses a slightly different engine, so you need to use different files to replace the stock windows ones. I know they have them on the Gemrb site, but I don't think it's a finished product and there are still some bugs left in TOB.

lordgodgeneral said:
I'm pretty sure if you look on their website, Throne of Bhaal uses a slightly different engine, so you need to use different files to replace the stock windows ones. I know they have them on the Gemrb site, but I don't think it's a finished product and there are still some bugs left in TOB.
Click to expand...
Click to collapse
Fixed the issue just deleted everything and reinstalled on computer and phone and it worked.
Sent from my DROID3 using XDA App

Bumping because a friend is doing this again and it should be seen some more

Thank you for the good instructions but what does a "good" GemRB.cfg file look like?
I have some confusion at this point (not my gemrb.cfg file, but a sample taken from another website)
#####################################################
# Paths #
#####################################################
#####################################################
# Game Paths [String] #
# #
# These are the paths where the Game you want to #
# play is installed. #
# Enter the full path to the directory. #
#####################################################
GamePath=/media/mmc1/games/BGII - SoA/
CD1=/media/mmc1/games/BGII - SoA/
CD2=/media/mmc1/games/BGII - SoA/CD2/
CD3=/media/mmc1/games/BGII - SoA/CD3/
CD4=/media/mmc1/games/BGII - SoA/CD4/
CD5=/media/mmc1/games/BGII - SoA/CD5/
The default gemrb.cfg file seems to want you to include the CD information, so does this mean, as according to the instructions for the app you copy ALL the files in the BG install folder, and ALSO the contents of each CD into its own folder within the droid file system? Which is fine, but I'm unclear if that is the steps I need to take. Thanks!

I have Baldurs Gate 2 GOG version ( 1 install exe, 2 Bin file).
Installed to pc,followed install note but not workin on my phone.
Create character,start and i got blue scrren and crash....
Any solution?
BG1 works fine.....

Related

Call of Duty 2 PPC Working

Just downloaded Call of Duty 2 PPC, installed it to the memory card and can confirm it runs close to perfect.
You will need to start the game with the keyboard open and once started enter into the configuration and flip the screen so you play with keyboard.
You need to remap the keyboard direction key and I found increasing the screen sensitivity a little helps too.
There are a few minor issues though:
1. Sound is a touch wavy
2. Now and again you get the picture taking a 1 second pause in but not that annoying.
I should think disabling TouchFLO would stop these happening.
3. Some of the other keys don't map correctly, but I think this can be corrected if we play around with the config files
You can get Call of Duty 2 PPC from here.
Enjoy
Does it run in hardware accelerated mode with the Diamond hack?
http://forum.xda-developers.com/showthread.php?t=428703
All I've done is download the COD2Setup.exe installed to the memory card and ran it.
Just uploading a video to youtube now
Not sure how to confirm if its running from the hardware drivers.
The next thing I was going to do was load GLBenchmark, but again never used it before.
Once the video is uploaded play it and you'll see a reddish header above the "Mission 1" description just after the screen where I select the game level "Easy"
Now looking at the quality of it and comparing it with Duke Nukem and Quake 2 on my old Kaiser I would be sure it is using the hardware drivers.
If you've got any tips on how I can check let me know
mike freegan said:
Does it run in hardware accelerated mode with the Diamond hack?
http://forum.xda-developers.com/showthread.php?t=428703
Click to expand...
Click to collapse
it has to run.. i posted the quake 3 accelerated version for the diamond also in this forum to see if you guys can get it to run on the raphael, most probably yes, it will work much the same as the diamond.
so you just have to follow the original cod2 thread in the diamond forums to get cod2 fully accelerated on the raphael hehe
Video uploaded
Call of Duty 2 PPC on HTC Touch Pro ( Raphael )
GLBenchmark to follow
The games should run smoother on the Raphael because it has about 100 extras megabytes of ram Btw, I´m a happy owner of the Raphael.
OP-> Did you just install it and then it worked? No tweaking with deleting dll files and so on like the diamond users?
Mr.Sir said:
The games should run smoother on the Raphael because it has about 100 extras megabytes of ram Btw, I´m a happy owner of the Raphael.
OP-> Did you just install it and then it worked? No tweaking with deleting dll files and so on like the diamond users?
Click to expand...
Click to collapse
Yes - Bought - Downloaded COD2Setup.exe - Installed the COD2Setup.exe via WM Device Centre to my memory card - ran the program - changed the configs per post#1
No changes - No deleting - No additional files
I do need to confirm 100% that its using the hardware drivers though.
I ran GLBenchmark but it just ran the test program but not with COD2 running I'm not sure how to get a reading of the COD2 performace/FPS
yeah, it runs. mine still looks as dodgy as on my atom exec. doesnt seem to be any visual improvements :s
HArdware accelerated runs pretty well
http://forum.xda-developers.com/showthread.php?t=428703
I think it uses software acceleration in the video because it is really laggy compared to the video of the diamond from the original thread...
I am having trouble correctly remapping the keys, can someone help.
I want to use the W S A D keys instead of the arrows. btw I have AEB plus installed
Brendo said:
yeah, it runs. mine still looks as dodgy as on my atom exec. doesnt seem to be any visual improvements :s
Click to expand...
Click to collapse
[rant]
maybe you need glasses.
[/rant]
seriously, most probably you're running the software version. it's pretty much noticeable, even by a total n00b
Brendo said:
http://forum.xda-developers.com/showthread.php?t=428703
Click to expand...
Click to collapse
Had a snoop around
cod2_goforce.exe - is present in the COD2 game directory
libGLES_CM.dll - is present in the Windows directory
cod2_gles - not present
lebgles_cm.dll - not present
Found this on another site trying to install COD2 to a Diamond
For Hardware 3D render:
For Intel rename COD2_G~1.001 to cod2_gles.exe
For Geforce rename COD2_G~1.003 cod2_goforce.exe
rename LIBGLE~1.004 libGLES_CM.dll
I'm sure lebgles_cm.dll was present before, as I looked for it when I was reading hamdir Diamond thread.
1. Does anyone else still have lebgles_cm.dll after installing COD2 but not applying the Diamond hack?
2. Does anyone know how to confirm 100% it is running in hardware mode?
3. Any programs out there that show the FPS COD2 is running at?
iRiKi said:
[rant]
maybe you need glasses.
[/rant]
seriously, most probably you're running the software version. it's pretty much noticeable, even by a total n00b
Click to expand...
Click to collapse
hehe, yeah. i had the software version, but once updating to hardware version, i see massive improvement
and all i had to do was copy the cod2_goforce.exe file over
jasthom69 said:
Yes - Bought - Downloaded COD2Setup.exe - Installed the COD2Setup.exe via WM Device Centre to my memory card - ran the program - changed the configs per post#1
No changes - No deleting - No additional files
I do need to confirm 100% that its using the hardware drivers though.
I ran GLBenchmark but it just ran the test program but not with COD2 running I'm not sure how to get a reading of the COD2 performace/FPS
Click to expand...
Click to collapse
I think yours is running software mode because it laggs really much compared to the official diamond cod 2 thread.
Mr.Sir said:
I think yours is running software mode because it laggs really much compared to the official diamond cod 2 thread.
Click to expand...
Click to collapse
Yeah your all right the first post/video was using software rendering.
cod2_goforce.exe was present on the TP internal memory:- root/Program Files/COD2
Because I had installed the COD2 to my storage card the cod2_goforce.exe needed to be copied over to:- Storage Card/Program Files/COD2
Watch both in high quality on you tube and compare Call of Duty 2 PPC on HTC Touch Pro ( Raphael ) using hardware drivers with Call of Duty 2 PPC on HTC Touch Pro ( Raphael ) using software drivers
Although the new video doesn't really do it justice as it looks a bit grainy you can see the differance clearest on his arm and gun. It looks great on the TP though.
Since the video I have also pointed the COD2.Ink shortcut to cod2_goforce.exe.
Thanks everyone for the tips
buttons
I'm having trouble mapping buttons, I can only map the directional buttons on the keyboard and the back h/w button, nothing else.
[email protected] said:
I'm having trouble mapping buttons, I can only map the directional buttons on the keyboard and the back h/w button, nothing else.
Click to expand...
Click to collapse
What I did found is that you can only re-map the keys to certain combinations otherwise selecting 1 key changes all the others.
First ensure you start the game with the keyboard open
I have set them to the following on under "configuration":
Settings1
Look up: I
Look down: K
Turn right: J
Turn left: L
Low detail mode: not highlighted
Flip screen: click once to turn the page to match the keyboard direction
Blood: your own choice
Sensitivity: middle of the slider bar
Volume: own choice
Settings2
Forward: ^ up arrow on keyboard - shows as <-- arrow on the display
Back: v down arrow on keyboard - shows as --> arrow on the display
Left: < left arrow on keyboard - shows as down arrow on the display
Right: > right arrow on keyboard - shows as up arrow on the display
Aim sight: space
Grenade: no change
Swap weapon: shift
Reload: no change
Toggle pose: CTRL
Action: no change
Pause: no change
Fire: enter
Found this was about the best compromise
I've bought this game and everything for my compact iv, but i cant get the game working, the demo works and everything. When i try and run the game it says "Error: No Owner Information". How can i get into the settings to input my information ? If anyone knows...

How to display Java Games in Full Screen ?

Hi,
I tried a few java games today from gameloft, and they eventually showed up 320x240 (which is very small) on my diamond.
Anyone knows a way to make the game to show full screen ?
Any help would be appreciated.. thanks
(I've tried the 'search' button)
denis_sianto said:
Hi,
I tried a few java games today from gameloft, and they eventually showed up 320x240 (which is very small) on my diamond.
Anyone knows a way to make the game to show full screen ?
Any help would be appreciated.. thanks
(I've tried the 'search' button)
Click to expand...
Click to collapse
AFAIK there is no way of scaling up games. you need to install 640x480 games to get full screen (as that is the screen res).
Any links ?
of course not, we don't condone warez
to be honest, i havent found any worth playing!
Addicteddddd said:
of course not, we don't condone warez
Click to expand...
Click to collapse
Links to online shops?
Mr.Sir said:
Links to online shops?
Click to expand...
Click to collapse
Google?
Many games are "clever" to detect the screen resolution, not because the VGA as we have in diamond , because of
many kinds of mobiles with many resolutions, i have some java games working fine with the vga resolution (beside the
fonts are too small)
java
there is a small app to change resolution, You have to open *.jar file and edit something, google it cause i do not remember all
If you are going to buy a game, bejeweled 2 is great!
mugglesquop said:
Google?
Click to expand...
Click to collapse
I don´t want that, I just wanted to point that links to shop is not warez, or is it? What is warez? I thought it was pirated stuff.
mugglesquop said:
to be honest, i havent found any worth playing!
Click to expand...
Click to collapse
I had Puzzle Quest Warlords on my Instinct. I would like to be able to play that one on my Diamond.
It's basically Bejeweled with kind of an rpg storyline twist. Fun and addictive.
Can't seem to get it to run with Esmertec tho.
denis_sianto said:
Hi,
I tried a few java games today from gameloft, and they eventually showed up 320x240 (which is very small) on my diamond.
Anyone knows a way to make the game to show full screen ?
Any help would be appreciated.. thanks
(I've tried the 'search' button)
Click to expand...
Click to collapse
Some games can be changed by modifying the MANIFEST.MF file.
Here is an example (using the excellent 7Zip Program)...
Open 7Zip
Browse to your Java Game & open it
Open the folder "META-INF"
in the "META-INF" folder should be a file called "MANIFEST.MF" - right click it & choose Edit [F4] - the file should open in a text editor (i.e. Notepad).
Perform edits...
If the file contains the lines (or something similar)
Code:
Nokia-MIDlet-Original-Display-Size: 176,208
Nokia-MIDlet-Target-Display-Size: 240,320
change them to
Code:
Nokia-MIDlet-Original-Display-Size: 176,208
Nokia-MIDlet-Target-Display-Size: 480,640
Otherwise, just add them.
Mostly, you need to get the Original-Display-Size correct and even then, this doesnt work for all games.
If that doesnt work, then I have found some games contain the lines
Code:
LGE-MIDlet-TargetLCD-Width: 240
LGE-MIDlet-TargetLCD-Height: 320
Obviously these can be changed to
Code:
LGE-MIDlet-TargetLCD-Width: 480
LGE-MIDlet-TargetLCD-Height: 640
Close the text editor & save your edits
Click yes on the 7Zip message box to update the original archive
Transer the modified JAR to your device, install it & cross your fingers.
NOTE: I am by no means an expert in this arena - this info comes from searching the net, opening many JARs & trial and error (i.e. your questions will likely go unanswered).
Give it a shot - might work - I've had about 40% success.
Regards, Steve.

Anyone have a simple calculator to replace my broken one?

I tried putting a new skin on mine and now it won't work. and after uninstall, i'm completely screwed. help please.
RPN option
I don't think this is what you're looking for . . . BUT for us old engineering type geezers, there is a great calculator option available.
If any of you are familiar with the HP41 series of calculators (HP41CV, HP41CX), made in the early/mid 80's, you'll know they are considered classics. I still have mine from 1982 (as my sole calculator). So does my brother.
ANYWAY . . . there is a website, www.HP41.org, that is a "museum" to these calculators. It also includes EMULATORS of these scientific calculators.
The PC version of the HP41 is truly amazing. Whoever did the graphic interface is a genius. It looks and moves (clicks) just like a video of the real thing, using your mouse, or your keyboard's numerical keypad for simple arithmetic.
There is also a version for PocketPCs. Graphically, it is not as sophisticated as the Windows PC version, but it is still quite good.
WARNING: This calculator uses RPN (Reverse Polish Notation) input. So it has a learning curve involved. However, if you are addicted to RPN notation, and can't go back to using nested parentheses for even the most basic of computations, here it is, free.
Go to http://www.hp41.org
Click on "Emulation" in the left hand column.
Under the section, PocketPC, click on the link, "eV41."
Download the zip file to your PC.
Unzip.
Activesync your TP.
It will load a copy both on your PC and your TP.
Enjoy.
However, you don't really want the eV41 on your PC. Uninstall it, and go back to Emulation page, and download the link, V41, for your Windows PC. You will be impressed.

Windows Phone 8 hacks

Yes, I have searched quite a different number of ways and have yet to find another thread, on not only this site but others as well, that comes close to answering my question or asking the same one. I assume this means the answer is no, but I thought I'd ask anyway.
Is it possible to hack games on my Windows 8 Phone? I have a Nokia Lumia 520. The particular game in question is Throne Wars. I'd like to get into the game and change the amount of in-game currency I have.
All help is appreciated.
niicholai said:
Yes, I have searched quite a different number of ways and have yet to find another thread, on not only this site but others as well, that comes close to answering my question or asking the same one. I assume this means the answer is no, but I thought I'd ask anyway.
Is it possible to hack games on my Windows 8 Phone? I have a Nokia Lumia 520. The particular game in question is Throne Wars. I'd like to get into the game and change the amount of in-game currency I have.
All help is appreciated.
Click to expand...
Click to collapse
Assuming in-game data is stored in the AppData folder, you could (theoretically) modify some files and results should appear.
Problems you are facing:
-you have a Lumia (so you can't really modify any files because no proper unlock is available)
-we don't know how the game stores it's data (weird file format, etc.)
DaviUnic said:
Assuming in-game data is stored in the AppData folder, you could (theoretically) modify some files and results should appear.
Problems you are facing:
-you have a Lumia (so you can't really modify any files because no proper unlock is available)
-we don't know how the game stores it's data (weird file format, etc.)
Click to expand...
Click to collapse
the file Name :
__ApplicationSettings
and ist just some Kind of XML , I modded a few games like Cookie clicker
works good )
Thank you good sir. How do I find the games though? I've tried turning on hidden items view, but I only see my basic folders when I go into my phone.
ceesheim said:
the file Name :
__ApplicationSettings
and ist just some Kind of XML , I modded a few games like Cookie clicker
works good )
Click to expand...
Click to collapse
ceesheim said:
the file Name :
__ApplicationSettings
Click to expand...
Click to collapse
If the game programmers are followed by the standard scheme only The apps can save data in any format...
Yeah, there's no guarantee that they used the IsolatedStorageSettings feature to store that data. Might have, might not have.
There's also no guarantee that it's unencrypted. Encrypting the data using DPAPI is easy, but makes editing it much harder.
You also could easily get your game account banned. Xbox Live games are known to have anti-cheating mechanisms; Throne Wars may not but then, they might.
But yeah, the key problem for you right now, aside from moderately questionable ethics (let me guess: this is one of those games where if you need more money you're expected to pay a few dollars for it?) is that your phone has no "interop-unlock" or similar "jailbreak" available right now, so you don't have any way to access the app's isolated storage at all. Thus, you can't change it.
niicholai said:
Thank you good sir. How do I find the games though? I've tried turning on hidden items view, but I only see my basic folders when I go into my phone.
Click to expand...
Click to collapse
you would need a developer unlock for that (search development & hacking section to get that on your lumia). Next grab Windows phone power tools from here: http://wptools.codeplex.com/ . Install a XAP of the game (you need to find one yourself) usinf power tools. Next you run the game, after that you can copy its data to a pc using Isolated Storage feature in power tools. enjoy.

Create, Edit & Install A Custom Watch Face for the Gear 2 Neo

This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"
First, you will need to Download and Install the Tizen SDK for Wearables.
Once installed, Start the Tizen IDE.
We need to make a quick emulator to emulate our Gear 2 Neo.
On the lower left panel, the Connection Explorer, click on the first icon to start the Emulator Manager.
Click "Add New".
Choose a Name in the Detail panel, ie 'Gear2Neo'
Change the 'Density' to 278. Leave the rest of the settings default.
Click [Confirm]
Give it a moment to create your emulator.
Now your Gear 2 Neo emulator has been created.
Start your emulator by clicking the blue 'Play/Run' button at the bottom of your newly created emulator.
You can minimize the Connection Explorer now.
Once the emulator starts, you can choose to right click on it, and click "Always on top"
Next, Maximize the Tizen IDE.
Let's start playing with a sample project.
Click File > New > Tizen Wearable Web Project.
In the new window, click Sample > Web App > ClockWidget > and choose a Project name (ie. MyWatchFace)
You will now be back to the Tizen IDE and you will have a project (MyWatchFace?) in the Project Explorer.
Double click on the name of the project and you will see the project files.
You can edit these with custom images and code or you can just test the stock project.
At the top of the Tizen IDE, click on the green Play/Run button. This will install and start the project on the emulator. It will also build a file in your Project Explorer named the same as your project, but ending with a .wgt extention. In this case, MyWatchFace.wgt. This file can be pushed directly to your Gear 2 via USB using SDB.
At this point you should have a pretty plain and simple black watchface on your emulator thanks to the sample we just built, but let's add a custom background.
Make a custom 320x320 pixel image to use as a background with photoshop, gimp, etc. I'll name mine 'mywatchface.jpg'. Now paste it into your Project Explorer.
While you are in the Project Explorer, double click on the css folder.
Next, double click on the style.css to open that style file.
Locate the background: #000 line and replace it with this line.. background: url(../mywatchface.jpg);
Click the Save icon to save the style.css.
Click the green Play/Run button to install and build the new version.
If you don't see the new watch face load immediately on the emulator, you may need to go into settings on the emulator and select the new watch face.
Now that we have played with the ClockWidget sample and edited the css to add a custom background, we can play around with java coding and more down the road, but let's put this watch face onto our Gear 2 Neo.
You will need to copy the MyWatchFace.wgt file that was built in the Project Explorer into the same directory that your SDB.exe is located... (ie. C:\Tizen\tizen-wearable-sdk\tools)
It's easier if you make sure that the emulator is no longer running.
Turn on USB Debugging (Settings/Gear Info) and then plug your watch into your PC/Laptop via USB.
If you have issues with your computer detecting your watch, you may need to install the Samsung USB drivers for your watch.
Start a CMD Prompt
Switch to the directory with the SDB.exe and MyWatchFace.wgt
Run a simple test to see if the watch is being seen..
Type: sdb devices
If you get an error, something is wrong. You should see "List of devices attached" and one should be a series of numbers and letters and display as "SM-R381"
Now that you know the device can be seen, you can push your watch face to the Gear 2 Neo.
Type: sdb install MyWatchFace.wgt
You will see text scroll by and then it will indicate that it is done. You should now have a new watch face on your watch!!
To manually uninstall the watch face, you will need to look at in your Project Explorer, Open the config.xml and click the Source tab at the bottom to locate the package id for this app.. In my case, it's package="rlfNgozRkA"
Type: sdb uninstall rlfNgozRkA
Now have fun. Share your experiences, ask questions.. and most of all.. Share your custom watch faces here for everyone. As a community we can all help each other learn how to program for our Tizen wearables.
<- Please click Thank You!
Breach said:
This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"//cut//Thank You!
Click to expand...
Click to collapse
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Awesome, Thanks for taking the time to make this :victory:
markbc01 said:
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Click to expand...
Click to collapse
I already had Java JDK installed, but you can grab it here if you need it...
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html
Once installed, you will probably want to put it into your Environmental Variables.. Just right click on the "This PC" icon on your desktop. Then click 'Properties' and then 'Advanced System Settings', then click the [Enviromental Variables] button. Scroll down until you find PATH. It should have a several paths, add the following to the beginning... C:\Program Files\Java\jdk1.7.0_51\bin; (Note that this path will depend on where you installed the Java JDK and the version)
You can save it. To test it.. Open a CMD Prompt and type javac and if you get an error, something didn't work.
neonfreak20 said:
Awesome, Thanks for taking the time to make this :victory:
Click to expand...
Click to collapse
It was my pleasure. I am learning too.. but I figured I would share what I learn so that we can all learn together..
.
.
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
I was having this issue also, and it may not be the answer to your issue but to the right of the play button (to run it on the emulator), there is a dropdown. Make sure you select the one you want to run. By default, mine kept running the same one.
thanks for the reply but I wonder if this has something to do with it .
when the emulator opends , I get an error see screen shot.
compositor warning your screen does not support OpenGL.
Falling back to software engine.
when I click ok I get the watch face but still no background under the play button menue its set to mywatchface
im running windows 7 Enterprise 32 bit.
trying to good it but all I can come up with is for Linux users.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Breach said:
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Click to expand...
Click to collapse
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
ex-28 said:
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
Click to expand...
Click to collapse
What are the settings in your emulator?
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
Click to expand...
Click to collapse
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Breach said:
What are the settings in your emulator?
Click to expand...
Click to collapse
just clock and display
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Breach said:
What are the settings in your emulator?
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Click to expand...
Click to collapse
running
Version : 1.0.0b2
Build id : 20140411-1449
ex-28 said:
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Click to expand...
Click to collapse
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Breach said:
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Click to expand...
Click to collapse
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
ex-28 said:
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
Click to expand...
Click to collapse
Done.
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Here are a couple very basic animated analog watch faces as samples..
.
them are nice ! iris pulse looks good
Q is there anyway to have shortcuts at the bottom on an analog clock ? just wondering if possible.
and when we pop a .wgt into the tools folder and install it via cmd , how do you uninstall it ? as theres no package id in the sdk anymore
ex-28 said:
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Click to expand...
Click to collapse
That makes no sense, first because there was no change made to the main.js, and secondly because that is the eventListener and it should be '==' and not '==='

Categories

Resources