Author Topic: Led Blur  (Read 1595 times)

Offline zeitpunk

  • *
  • Posts: 32
Led Blur
« on: July 22, 2010, 09:43:22 PM »
Another day, another demo, this time it's Led Blur by Optimus/Mindlapse:

http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,38,378

Enjoy,
 Zeitpunk

Offline eule

  • **
  • Posts: 889
Re: Led Blur
« Reply #1 on: July 22, 2010, 09:56:23 PM »
Oh wow, another quality release, youīre fast! Some stunning stuff inside, i love the plasmacube!  :o
Thanks for all the demoglory, canīt express how much i appreciate it.

Now all spam pouet to give us the category already...  ;D

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #2 on: July 26, 2010, 12:23:42 PM »
Hello there!

One question. I can't run this or Creep Tea on my Dingoo and I have tried upgraded the firmware or doing other things to no avail.
What configuration do you have in your Dingoo?
What version of firmware?
Is Dingux installed in the internal storage (Local Space) or the additional (MiniSD card)?
I don't know why many demos doesn't run here (Hello Dingoonity doesn't run too, all of them return back to the dingux menu)

Something else. Judging by the screenshots, pixels are shifted wrongly in the 2d effects. That is an endianess issue. I had fixed this in an SGI-Irix port of Led Blur which code I can't find right now because it's uploaded in a web account that has serious problems right now. This would be the right source code to use for Dingoo. I might try to correct these problems in the dingoo source again and upload a final version. Creep Tea has the same problem too but we didn't make an SGI-Irix port in the past to even be aware of the endianess issues.

Ok, if I manage first to run Led Blur and Creep Tea in my Dingoo, then compile your dingoo source port correctly, then I will try to fix these issues and upload a final in gp32x archive.

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #3 on: July 26, 2010, 02:36:25 PM »
Ok, I think I found the error.
It says "couldn't load libmikmod.so.2" in the terminal screen.
It's not there in the lib folder where there is SDL and others.
I can only browse this folder, can't copy something to it at the moment.
But why isn't it there? Maybe I just have to install a new Dingux version? Ahhh..

Offline eule

  • **
  • Posts: 889
Re: Led Blur
« Reply #4 on: July 26, 2010, 11:08:37 PM »
My recommendation would be downloading a recent kernel: http://boards.dingoonity.org/dingux-releases/kernel-by-sience-(updated-boukichi%27s-kernel)-tvout-rtc-swap-poweroff/
and gmenu2x: http://boards.dingoonity.org/dingux-releases/gmenu2x-for-dingux-!/
I guess your kernel and rootfs are quite old and maybe havenīt got that modlib in them?

Offline zeitpunk

  • *
  • Posts: 32
Re: Led Blur
« Reply #5 on: July 27, 2010, 09:47:13 PM »
Hi Optimus, great to see you here (btw. thanks for releasing the source code of your demos)!
I think your problem with libmikmod is due to an old rootfs, please try the rootfs from Elta, that's the one I am using, so libmikmod should be working there:

http://boards.dingoonity.org/dingux-development/a-couple-of-rootfs-upgrades/

Offline zeitpunk

  • *
  • Posts: 32
Re: Led Blur
« Reply #6 on: July 27, 2010, 09:49:15 PM »
... and concerning the shifted pixels in the screenshots at openhandhelds.org, that's most likely because I've taken the screenshots on my PowerPC computer 8-) ... it should be fine in the demo on the Dingoo, because its processor is a little endian MIPS CPU.

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #7 on: July 30, 2010, 01:20:53 PM »
Great to hear that it's all fine with the pixels. I didn't know MIPS could be both little and big endian.
I will try the solution with the rootfs when I go back home. Hope it works this time.

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #8 on: July 30, 2010, 06:36:14 PM »
Finally, the new rootfs made them work.

One thing is a bit strange with the speed of Led Blur, it's as slow as it was in GP32 or even slower.
While Creep Tea seems quite faster than the GP2X version to me which is good and logical.

I might try to see if there is something wrong with the compilation but both are set to -O3.
Or it could be that Led Blur was a port from GP32, with my code that write from GP32 videoram (which was rotated vertically) to the normal videoram and maybe that code is too slow on MIPS for some reasons.
I might enable the frame rate counter (it should come with a key) and check this out.

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #9 on: July 30, 2010, 07:57:34 PM »
I changed the GP32toPC function on Led Blur.

This was a slow version which worked fine on PC but I remember it was too slow on GP2X at the time and so I had written a different code for the GP2X port. I tried this code in Dingoo too and it works fine. For example I got 16fps in the starfield, now I get 25-30, it's finally smooth. I might update the source code and binary for Dingoo a bit later and post it somewhere and also try to upload on gp32x.

Creep Tea also, the sky texture is wrong. Somewhere in the code there is a line #def sky2 sky1
and also extern sky2[] put in comments. I don't know why I have done this and I can't find the original source. But I removed it and unremmed and it's as it should be now. I will also post new source code and binary of Creeptea soon.

Offline Optimus

  • *
  • Posts: 7
Re: Led Blur
« Reply #10 on: July 31, 2010, 02:48:47 AM »
Ok, I uploaded the updated versions. Also in GP32x.com archive but they will update later there.
Faster speed and B button for FPS in Led Blur.
Correct sky texture in first part in Creep Tea.

http://www.codeverse.gr/optimus/mystuff/demos/gp32x/ledblur-dingux.tar.gz
http://www.codeverse.gr/optimus/mystuff/demos/gp32x/creeptea-dingux.tar.gz

Offline eule

  • **
  • Posts: 889
Re: Led Blur
« Reply #11 on: July 31, 2010, 01:37:36 PM »
Awesome, thanks for that!  ;D
I really like both demos, cool stuff in them.

Offline zeitpunk

  • *
  • Posts: 32
Re: Led Blur
« Reply #12 on: August 19, 2010, 08:41:53 PM »
Thanks for the update, Optimus, that's very appreciated!

Offline xdpirate

  • Pwner of Noobs
  • *
  • Posts: 377
    • brutal and illegal zebra rape vids
Re: Led Blur
« Reply #13 on: August 22, 2010, 12:35:12 AM »
Posted a review of this here. Please note that I didn't see Optimus' updated version until after the review was posted, so the review is based on zeitpunk's version.
:>