xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
> Framerate With Sdl
hcf
post May 6 2011, 12:08 PM
Post #1


X-S Senior Member
**

Group: Members
Posts: 194
Joined: 29-October 08
Member No.: 393866



I am planning to port a Windows game made with SDL, to the Xbox. So, I have made a first attempt using libSDLx with OpenXDK, but the framerate is horrible (around 7 FPS). I use 640x480 resolution and I must refresh the full screen in every frame (think that it's a SuperMarioBros-like game with scrolling background). Of course if I only refresh a little section of the screen, the FPS boosts up, but it is not possible to do this in this kind of game. And I think that 7 FPS is too much slow...

Do anyone has worked with libSDLx and knows what framerate could be expected? For example, if I use libSDLx with XDK (and not OpenXDK), would I get a better performance? Also, I saw a post of the year 2006 where friedgold said that he made a patch to correct this issue:

http://forums.xbox-scene.com/index.php?sho...amp;mode=linear

But that patch is not online anymore. In any case, I guess that this patch was added to the libSDLx distribution lately, correct?

So, I would need some help from someone who has worked with SDL on the Xbox. What is the way to get a best framerate? XDK is better than OpenXDK? Any option of the Video Mode? (I think that I have tried with all the options...) Any patch for libSDLx to upgrade the framerate?
Thank you very much!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
hcf
post May 20 2011, 10:36 AM
Post #2


X-S Senior Member
**

Group: Members
Posts: 194
Joined: 29-October 08
Member No.: 393866



Thanks to everybody for your kind responses. It seems that Hyper_Eye is right, and XDK builts more optimized code than OpenXDK, although OpenXDK works well and it can be valid if you want to build games that don't require a high performance.

@weinerschnitzel: I don't have a HD TV, and my friend neither. But if you send me a code prepared to be compiled with Visual Studio .NET 2003 and XDK, I can send the code to my friend and I guess that he can compile it for you. After that, we can send you the XBE resulting file and you can test it in your HD TV. Sorry that I cannot offer you any more sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post







Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 21st May 2013 - 08:11 PM