yashsingh1/xdaforums huggingface dataset:
[Android Software Development] LyInIa:
"ChainfireXDA: CF3D to the rescue. Upcoming version supports dumping and replacing shaders. Riptide GP running fine on my SGS2 now."

Sounds good ;-)
[Android Software Development] Chainfire:
Incoming update v1.9

Changelist from Market:

- Modified framebuffer handling

- Automatically detects faulty shaders and dumps them

- Added capability to replace shaders in apps

- Added capability to dump all shaders from an app

- Added shader-related debug messages in logcat

- Added installation capability for shader replacement packages

- CF3D driver updated to version 2.40

Be sure to check the XDA thread for shader packages

----

Will be updating the thread for a bit, will post when done.
[Android Software Development] shaolin95:
Nice.

Any idea if Vendetta online will work with that one and also there is no chance for games using Physx to work right?

Thanks mate!
[Android Software Development] Chainfire:
Riptide GP and Backbreaker THD shader replacements

Riptide GP

Slightly adjusted three shaders to work with the SGS2 shader compiler. I think Cube Mapping has been disabled by this change. But hey, it works (for me).

Backbreaker THD

Slightly adjusted two shaders to work with the SGS2 shader compiler. The original shaders are a real mess! These shader replacements do NOT fix the texture issues on the in-game guys, but they do get rid of those error messages. Somebody smarter than me will need to have a real good look at these shaders to fix them properly.
[Android Software Development] Chainfire:
Done with the editing. Enjoy! (And notice the new posts at the start of the thread!)
[Android Software Development] armanisafarai:
TANK YOU so much bud!! I'm deffinetly going to buy the full version right after this! I hope that we can have other games like bang bang racing for sgs2 too, but i guess that wont take too long thanks to you! :D
[Android Software Development] gn00my:
wow !! riptide gp runs great !!! awesome graphics !! using it with my SGS2

thanks for all your work with this , you are the man !
[Android Software Development] dickie2007:
awesome work man, you're taking the S2 (and many others) to the next level!!

slightly off-topic, any chance of some calibrated/accurate colour enhancements for our S2's?? I'm sure i saw a tweet of yours some weeks back about it...

Many thanks!!

Dickie
[Android Software Development] hshah:
I got the demo of Riptide on my SGS2 and that opens a black screen and just closes. Everything is unticked and Tegra selected.

Sent from Samsung Galaxy S II
[Android Software Development] armanisafarai:
Did you install chainfires shader for riptide?
[Android Software Development] englefield:
ripride working... omg CF you clever son of a gun...pro version purchased.
[Android Software Development] young0ne:
I have a htc T-bolt and bang bang didnt work will try other games
[Android Software Development] cokeman2:
how do you install them ?, do you have to install/place them into special place ? or threw chainfire ?
[Android Software Development] karapoutsoglou:
I love you man!

ps

buy the app!!!

support the devs!!!
[Android Software Development] Chainfire:
First page, fourth post ...
[Android Software Development] cokeman2:
i got it going i was still on 1.4 chainfire upgraded to 1.9 , .....games working except my left, right motions not working right just only goes left ? :(
[Android Software Development] hshah:
Lol! That would be the smart thing to so... unfortunately I hadn't done that. The good news is that it all works now :D
[Android Software Development] TheMathMan:
Can anyone confirm if Hardware Solitaire works with the new driver?
[Android Software Development] TheMathMan:
Riptide demo doesn't work for me either. Shaders installed.

Tried with dump shaders on and off.
[Android Software Development] manusfreedom:
Hi ChainFire,

Do you have plan to get a solution for Bang Bang Racing from Tegra Zone (on S2).

Because whatever the option I choose it said that I don't have the hardware for it.

Do you know if this game use a new type of sensor or it always linked to CPU/GPU model?
[Android Software Development] djsolidsnake86:
no way for hd2 and ripitidegp?
[Android Software Development] lolobabes:
Darn it! It works now I can play samurai vengeance 2 on my N1! ahihihihi
[Android Software Development] argeoff:
Anyone get this working with plants vs zombie ?

Damm i wanna play plants vs zombie =.=...
[Android Software Development] lolobabes:
you dont need this to play pvsz i was already playing it before i even installed chainfire3d
[Android Software Development] :
Chainfire could you please improve the search function???

its really annoying to wait. got too much folders and takes 5 min.

sometimes i open wrongly this function and must also wait.

no cancel option etc.

my idea:

users should create Chainfire3D folder in their SD-card and should put their plugins/shaders there.

the application should only search in this folder.
[Android Software Development] a user:
pvsz makes trouble for most people. on the net you find more dozens of reports of not working pvsz (both the tegra hd version and the normal one).

all report more or less the same thing, black screen and then seeing their homescreen reloading, or black screen + sandwatch or popcap logo.

pvsz is currently everything but stable.
[Android Software Development] BoneMo:
What Happened

Cannot find Chainfire3D on Market ??? does anyone know what has happened...also tegrak overclock and google maps has same problems

when i click on them in My apps..market tells ... item was not found

PS: my fault...bad Market settings...
[Android Software Development] argeoff:
Tried the normal version, works now. :cool:

How about the HD version ? Does it need tegra 2 ?

I have a desire, no tegra 2 haha..
[Android Software Development] TheMathMan:
Where do you get the Tegra version from? Can only see the Amazon App Store normal one. Nothing in Market.
[Android Software Development] argeoff:
You know here and there :o

The HD ones i assume is a old version, as they are only 40+mb and the post also says it needs tegra 2 to work.

and i am not from US so no Amazon for me. haha
[Android Software Development] Pfeffernuss:
Riptide Demo doesn't work here as well (on an S2). Black screen, few seconds, back to the desktop :mad:
[Android Software Development] Shocky2:
Many thanks Chainfire, Riptide working great on my S2. :D
[Android Software Development] Pfeffernuss:
The demo also works? If so, with which settings?

[Edit] Demo doesn't work, the full version however does, and beautifully at that.
[Android Software Development] Jwtiyar:
my phone rooted i installed recovery and i have cyanogenmod ROM,

but when i try to open the app it say (could not acquire SuperUser access ! is your device rooted?

Nexus S.

thanks.
[Android Software Development] lolobabes:
got samurai vengeance 2 and riptide to work, can i just confirm that the right plugin for bang bang thd is nvidia right? hangs on N1 :(:(:(:(
[Android Software Development] de Wolfe:
Works perfectly with my Desire Z - it doesn't have native 1GHz - but it works awesome.
[Android Software Development] clouds5:
Since yesterday i can't start games anymore, it says it needs nvidia gpu. It was working perfectly until yesterday though!

I have reinstalled drivers. Could it be because of ext4? I have a desire HD with android revolution HD ext4.
[Android Software Development] oleost:
Great to see this application gets new features, Already bought the Pro version. But today I also donated a beer to you, as thanks for the update with the shaders and all the other stuff you do for this phone(Samsung Galaxy s2) :)

#56T43455GM141263F
[Android Software Development] lolobabes:
by the way what is "shaders"? ty
[Android Software Development] aurelm:
A set of mathematical functions that define the aspect of something, the visual behaviour of a surface, etc.

http://en.wikipedia.org/wiki/Shader

GG chainfire. Do you have any idea why cube maps do not work on sgs2 ? Is it because the lack a proper encapsulator format like dds ?
[Android Software Development] BoneMo:
T-racer HD not working

T-Racer HD detects on Samsung galaxy s II with Chainfire3D and used nvidia plugin that is not running on tegra device...any help ??
[Android Software Development] shaolin95:
Try the Disable Chainfire3D detection option maybe?
[Android Software Development] clouds5:
I reinstalled the app, redownloaded the plugins. Solved my problems :-)
[Android Software Development] BoneMo:
i have it...but still detecting i dont have tegra
[Android Software Development] raymond4:
I am also having that exact same problem right now
[Android Software Development] Shocky2:
T-Racer HD is working on my Galaxy S II, I downloaded the cracked version which is ment to work without Chainfire, well I still needed chainfire and it works but is unstable, forces close quite allot

It's a bit crap though.
[Android Software Development] BoneMo:
looks like a game to omit
[Android Software Development] shaolin95:
I have it working but like the above poster said...is not really good..
[Android Software Development] DanteEx:
I tried it on a Galaxy S II also using a No-tegra version and it worked perfectly (because the paid version wouldn't run).

I'm not sure if some of the hud is missing from the menus though... There are no stats for the vehicles or times on the tracks.

The game has some pretty bloom effects but other than that it isn't that great a game.
[Android Software Development] mista1982:
Whats about with Big Bang Racing, Galaxy On fire on SGSII???
[Android Software Development] Arielo1:
Does factory reset / data cache and all possible wipes remove the driver ?
[Android Software Development] jody2k:
Has someone got Dungeon Defenders to work? It seems to crash all the time when I arrive in level 1

Edit: i'm on a samsung SG2 and i have installed the nvidia plugin through chainfire 1.9
[Android Software Development] mattiadj:
Any way to have gp riptide work perfect without miss of driver texture on desire hd??

Sent from future
[Android Software Development] armanisafarai:
Paid for pro verion earlier today and i love it! Next thing we need on galaxy s 2 is bang bang racing, t-racer hd, better shader for backbreaker and finally dungeon defenders. btw does dungeoen defenders work for anyone with sgs2? Mine is missing like 99,9% of screen after downloading the sd data.
[Android Software Development] shaolin95:
bang bang doubt it can be done because of Nvidia Physx. T-racer works for me but really it is not a good game.

Last time I tried Dungeon it was not moving past the intro.
[Android Software Development] jody2k:
Maybe in future with new nvidia plugin? too bad because I liked to see the unreal engine on my phone ^^ trying monster madness right now, it also runs with that engine I hope this work :p
[Android Software Development] jody2k:
Well i managed to run it on my SG2, but it shuts itself after a 20seconds back to the desktop... strange :)

Edit: and monster madness crashes immediatly, so this game doesn"t work either :(
[Android Software Development] dickie2007:
yeah i played through the first 2 or 3 waves on SGS2... can't remember if it was the Xperia version or the Tegra version...

havent played it since as i didnt really get the hang of it and had other games to try, but i'm just trying it again now (Tegra version) but seems i deleted the SD files so i'm just waiting for them to re-download... will update in a bit..

which brings me to another point, does anyone know how to get all these extra SD card files to actually go to the SD card instead of raping my internal memory?? symlinks maybe?

why Samsung called the internal memory 'sdcard' is beyond me, gotta be a better work around surely...

Dickie
[Android Software Development] petopp:
GAlaxy On fire anyone try? Is there any chance that they sometimes to emulate this game for Samsung Galaxy S ?
[Android Software Development] jody2k:
Aaight ;) looking forward to that, makes me curious how you managed it to work
[Android Software Development] dickie2007:
defeated second wave then crashed... :(

whatever was going on tho, it was getting pretty hot from the CPU, so i clocked it in at 800mhz and game loaded fine (first level/tavern) but was laggy till the video stalled but audio continued (male vocal intro)

will have a play, or if i get bored in a bit i might reinstall the Xperia Play version if i staill have the APK, maybe it was that that ran...? i dunno... lol :rolleyes:

not really my sorta game, especially with some of the cool racers and space shooters! (No Gravity is awesome in Ultra mode, if u like that sorta thing)...

Dickie
[Android Software Development] maneken25:
Having issue while installing chainfire3d drivers: not enough space, while its fresh installed android AmericanAndroid CM 7.1 any solution for this?
[Android Software Development] jody2k:
so the game closes duo a overheatet cpu? hmm thats the price we might pay for having dual core cpu's ^^ actually I like sorts of games, if they have nice gfx, i'm a little gfx whore ,p
[Android Software Development] dickie2007:
obv wasn't xperia version, it doesnt even launch, perhaps i just got a good run into the 3rd wave before, as my attempts are varying from the begining of the actual game to a few mins into second wave...

then try No Gravity, its nice!

Dickie
[Android Software Development] jody2k:
Aaight, ill try it

I have noticed that the xperia version has downgraded gfx ;s the version for tegra 2 is far more better
[Android Software Development] Chainfire:
Good news and bad news!

First, I know I'm not too active in responding, but to many questions I do not have the answer, to other questions other users know the answers, and yet others have been asked many times before or are even answered on the first page. And yeah, I'm busy hacking!

Anyways, I finally got the EGL interceptor ( == important part of the display driver that in the current public Chainfire3D version is not modified ) running on my SGS2, which lets me do some additional tricks, like for example running Riptide GP @ 16x MSAA ( == lines and such are smooth, not jagged ). And yes, that does look awesome, and no, the framerate does not drop to unplayable levels (on the SGS2).

Using the EGL interceptor, I've also been able to force surfaceflinger ( == the code that puts normal program UIs on your screen ) into 32-bit mode, but haven't seen much difference either quality or speed-wise. It really depends on the app, and I don't have any "really pretty looking" apps that don't use OpenGL internally. Suggestions welcome ! (So I can better see what the effect is - anything that looks pretty with images, gradients, etc)

I've tried forcing the SGS2 browser from 16-bit to 32-bit mode, and while that works, it doesn't help, because the browser internally uses 16-bit rendering, so there is no visible difference. Too bad, 'cause it could have made a nice difference in image display on webpages, and possibly render performance (could go both ways, really).

There has also been some progress with various apps/games you all keep asking for, due to this EGL driver fix. I have some more things running, but unfortunately not (yet?) without still having random crashes. But at least there is progress, thanks to a great many hours of trying and trying :)

I'm also making some progress with disabling the vsync on the SGS2, so maybe soon we may actually be able to benchmark the full raw power of the SGS2, which no doubt is something a number of you want :)

Unrelated to EGL, I've also fixed a number of compatibility issues in my development build (Tap Tap Revenge for example works again with my development version).

Aside from that, I've also created a very basic "automatic shader fixer" inside the driver that attempts to fix non-compiling shaders on-the-fly. It supports a number of basic problems I see in various app shaders. This is quite complicated stuff, and though it looks pretty good so far (especially in combo with Unreal Engine games - which have really awkward auto-generated shaders), I'm not sure where that's going.

Just to let you guys know that I am working on stuff behind the scenes ;) Not sure when anything new will be released,though! It could well be one or two weeks from now. Purchasing the Pro version always helps to get me to work harder, though ;) Note that it is likely that some of these features will see an SGS2-only release, at least at the start, because other phones simply don't have the power and/or I have not been able to test with them.
[Android Software Development] aussiebum:
Nice! Eagerly awaiting your next release :D

If there's any (non-bricking) testing needed let me know :p
[Android Software Development] bronx:
hi.

tested on hd2 - stock desire rom froyo by bauner, have frozen during instalation. removed battery after about 5 mins of being hung and seems to be working ok after restart.

now, performance wise it is hard to say if there's any real gain. tried all the options, but I need to get a game which performs rather bad on hd2 as I couldn't see much difference in dungeon hunter 2 nor shadow guardian. (both are quite smooth)

anyway, thanks for Your work Chainfire. got paid version, even if it's not a life changer, as I feel that we all owe You few beers for what You do for community.

regards

bro
[Android Software Development] Rural:
Oh, I'm so sorry mister.

But by stating what I already stated about my self just to make me look dumb, makes you look like some nerd / elitist which is probably the worst combination of personality categories ever.

I understand now that XDA is no place to come ask for help, no place to have questions.

Just answers.

I have, anyway, installed Chainfire3D and purchased the PRO version with hopes to make great use of it in the future. From here, I weave goodby, say my thanks to the developer/s and keep watching the future development of this app from a distance as I don't feel like I can take part in the discussions going on here anyway. Thanks and cheers from Sweden.
[Android Software Development] brokali:
I must be really stupid cuz debugging is on and it still won't download driver
[Android Software Development] AlaneCzeQ:
working on HTC HD2 with stock desire rom :)
[Android Software Development] chris10230:
Yeh should say that this is working on unofficial CM7 builds by charan and co :) Cheers Chainfire!
[Android Software Development] dyallo:
Hey CF and thanks for the reply.

But I meant, that when I'm in Recovery (Vol Up + Home + Power), ADB won't recognize the device, it says "error: device not found"

I do believe I have all drivers.. it connects to KIES, Odin. ADB won't recognize the device if I'm in Recovery (Odin does though?!) ADB only works when my phone is booted and running.

Why?
[Android Software Development] Haplodroid:
Trying it on the Infuse right now since nobody else has, will update with results...:p

It works! I'm not doing any benchmarks though sorry.
[Android Software Development] oldjackbob:
Downloaded the Market version just fine on my ancient Sprint CDMA Hero running aospCMod 2.3.4...very smooth install process, thank you very much Chainfire!

Didn't see any performance improvement, but I'm only running 576mhz, and Chainfire clearly states that the app is ONLY for cpu's running 1ghz or higher. Also, my Hero doesn't have a dedicated gpu.

Very nice night screen options, too! ;)
[Android Software Development] Blu3D:
Installs fine on my Nexus S with cm7 nightlies.

Haven't testad for any increased performance or so yet, only nightmode.
[Android Software Development] GanJiMan:
I might be stupid but...

I installed it, but it didn't cause any of the non-working games to start to work (asphalt 6, NFS shift).

Maybe we need plugins?

I'm on Samsung Galaxy 2 stock(rooted).

Edit: Angry Birds (all 3 versions) are no-go - either won't run or there are missing textures. I tried with all settings of the driver, no luck.
[Android Software Development] EleCtrOx666:
Chainfire, I don't understand. How can you be sure that plugins will work if you haven't done any ?
[Android Software Development] Staxxthedan:
Sorry Man, must have been really stupid to comment like that, It was just a humor:D Never mean't to hurt your feelings. Please do participate, we are all friendly here. I trully seek your forgiveness. Please do forgive me. Thanks for your forgiveness in advance....:)
[Android Software Development] kohiiou:
PLEASE READ: I do not have plugins; The below is for how to compile the plugins once you have gathered the required missing source code yourself. I myself have been unsuccessful in finding the necessary codes and don't have time to write any. Please do not ask me for "plugins". :)

To everyone wondering where the "plugins" are, the reason why it's not available here pre-compiled is because it's copyright.

Developers can get in trouble if they borrow code to compile the "plugins" without permission.

The attached API includes all of the source code required to compile the "plugins" except for the aforementioned proprietary code.

For example, the code for the Tegra plugin requires the S3TC/DXT1 decompression algorithms. However, because the code to decompress is copyright, it has been left out. Read the Readme.txt for the information on where to find the algorithm, OR find a suitable source code online.

The Readme.txt will provide you with information on the details of how to use the "plugin" source code templates, but gathering the missing source code and compiling it yourself is required due to the legal reasons.

To compile the source code, you will need the Android NDK.

READ: NO POINT IN CONTINUING IF YOU AREN'T FAMILIAR WITH LINUX OR PROGRAMMING~ :P This is quite difficult if you are not familiar with either.

FOR WINDOWS USERS

If you would like some examples on how to install the Android NDK, please follow this link:

http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/

You do NOT need to install Eclipse, as this is only for developers/programmers who are using the NDK in conjunction with the SDK to build an APK package.

You will need to follow the instructions for the following:

1. Install CYGWIN using the Developer Tree

2. Install NDK according to the website instruction

3. After, using CYGWIN (a linux-like environment), compile the code

You will need to make sure it's in a directory as so:

<PATH><PROJECT NAME>/jni/Android.mk

<PATH><PROJECT NAME>/jni/<project>.cpp

4. Set the environment with: export SET NDK_PROJECT_PATH="<PATH>/<PROJECT NAME>"

5. Then run "ndk-build" in your NDK tool folder.

6. Follow the instructions based on Chainfire's "Readme" in the API zip on what to do with the compiled file after.
[Android Software Development] bcam117:
Pity for n00bs?

Is anyone going to release these so called plugins? Must I find someone random at uni to make these?

Great work btw chainfire. Getting my s2 on the first, will defiantly be buying the app.
[Android Software Development] no1male:
awesome work as always!

shame i havent got a clue how to make a plugin.

Hoping the only game i am having issues with will be sorted when an update comes out for the game to make the galaxy s 2 compatible
[Android Software Development] voncrane:
No i won't freaking pass u d apk...Download "Market Enabler" from the android market, select and fake Tmobile's network USA...Re-launch d android market, search for d app...it should appear now...
[Android Software Development] patalo:
i would love black and white night mode color, that would be awesome
[Android Software Development] dirtsky:
Amazing. Simply amazing. I would almost say this is like jesus, but thats what crown and ginger is :-)
[Android Software Development] EleCtrOx666:
White mode lol... That's what you are probably currently using.
[Android Software Development] bronx:
He more likely meant monochromatic black & white mr. genious...