Author Topic: AHX player  (Read 50475 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: AHX player
« Reply #60 on: April 16, 2007 »
Nice little demo...thanks for the name drop :)

I'm not sure about old 3dfx cards - they used to have a special OpenGL driver (as opengl32.dll) which didn't really support everything - so if you're using glPoint or something like that it might be really slow.  It's quite possible that both are rendering in software...

How are you syncing to 60Hz?  Using wglSwapIntervalEXT() is a good way to sync to the vblank, but if you run at < 60fps everything will look slow and/or jerky.  Either that or you can use the timer (Sleep, timeGetTime, QueryPerformanceCounter) but you have to be careful then about precision.

Jim
Challenge Trophies Won:

Offline bbear

  • C= 64
  • **
  • Posts: 87
  • Karma: 4
    • View Profile
    • Legacy
Re: AHX player
« Reply #61 on: April 17, 2007 »
for opengl intro, I used SetTimer(hwnd,1,1000/60,null), case wm_timer:...
for tinyptc intro, it's in the main loop with timeGetTime

but for my friend, he have a S3Trio graphic card, so...

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: AHX player
« Reply #62 on: April 17, 2007 »
Try adding
Code: [Select]
timeBeginPeriod(1)right at the start, and
Code: [Select]
timeEndPeriod(1)right at the end of your program.
That should give the timers a bit more accuracy.  Right now they'll be all over the place.

I don't think that will fix the S3Trio problem though - old card that...

Jim
Challenge Trophies Won:

Offline ufo

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: AHX player
« Reply #63 on: July 19, 2012 »
Hi,
does somebody have working links for the player (AYS-AHX-Sources.zip)?
I'm currently looking for the smartest static library to play ahx stuff.
I saw this one, too: http://www.dbfinteractive.com/forum/index.php/topic,3876.0.html
But it starts up after a huuuge delay of time only (several secs).
cheers

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: AHX player
« Reply #64 on: July 19, 2012 »
Hi,
does somebody have working links for the player (AYS-AHX-Sources.zip)?
I'm currently looking for the smartest static library to play ahx stuff.
I saw this one, too: http://www.dbfinteractive.com/forum/index.php/topic,3876.0.html
But it starts up after a huuuge delay of time only (several secs).
cheers

Here you go ufo. Welcome to DBF too btw :)
raizor

Challenge Trophies Won:

Offline ufo

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: AHX player
« Reply #65 on: July 19, 2012 »
Whoop.. big thx for the prompt reply!!
But aww.. no compiled ready to use static lib in there :|
Let's see if I can build something usable for the folks with it.
Will report back..

Offline ufo

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: AHX player
« Reply #66 on: July 20, 2012 »
OK, if anybody ever needs to play AHX in C or ASM via a static
lib (~10kb when packed), then check out the attachment.

cheers

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: AHX player
« Reply #67 on: July 20, 2012 »
Nice one ufo, K++ :)
raizor

Challenge Trophies Won:

Offline CaptainHug

  • ZX 81
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: AHX player
« Reply #68 on: September 05, 2012 »
just out of interest, does anyone still have a copy of va!ns AHX collection that he posted a lot earlier in this thread? the original URL was http://www.secretly.de/public/va!ns_AHX_Collection.zip but it seems to be no longer alive :(

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: AHX player
« Reply #69 on: September 05, 2012 »
just out of interest, does anyone still have a copy of va!ns AHX collection that he posted a lot earlier in this thread? the original URL was http://www.secretly.de/public/va!ns_AHX_Collection.zip but it seems to be no longer alive :(

Afraid I don't have a copy. I've attached a bunch of AHX tunes to this post though, that I had hanging around from an old AHX player I wrote for the PS2 about 10 years ago.
raizor

Challenge Trophies Won:

Offline CaptainHug

  • ZX 81
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: AHX player
« Reply #70 on: September 05, 2012 »
Thanks very much Raizor - this is lovely stuff, and very kind of you to share :-)

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: AHX player
« Reply #71 on: September 05, 2012 »
You're most welcome :)

There are some more here too http://www.mmnt.net/db/0/0/ftp.rave.ca/pub/favourites/AHX/.

And a ton on this FTP.
raizor

Challenge Trophies Won: