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
> Huntsvegas Svn Repos, SDLx, guichanX, etc.
Hyper_Eye
post Apr 8 2010, 10:21 AM
Post #1


X-S Expert
***

Group: Members
Posts: 592
Joined: 26-December 03
From: Huntsvegas, AL.
Member No.: 85607
Xbox Version: v1.0
360 version: v1 (xenon)



I am now hosting subversion repositories for libraries I am working on. Currently I have repos for SDLx and guichanX.

The state of the SDLx repo is exactly as can be obtained in the 0.11_beta source package that is widely available.

Plans I have for SDLx:

- Add Widescreen and HDTV resolution support.
- Produce branch derived from the current stable libsdl 1.2 (1.2.14)
- Produce branch derived from development libsdl 1.3
- In libsdl 1.3 branch add Xbox support for the newly introduced forced feedback support (so that multi-platform rumble code will work with the Xbox controller.)

GuichanX is the source release of guichan 0.8.2 with Xbox project files. It works very well as is and the only thing I need to add to make it fully functional is xbox controller support.

I installed the very nice websvn repo browser which has too much functionality to completely get into here but you can monitor all changes with it, look at logs, revisions, diffs, view source, etc. You can also subscribe to the repos RSS feeds to stay aware of all commits. You can see it here: http://svn.huntsvegas.org

You can checkout a repo as described in the welcome message on the websvn welcome message using an svn interface of your choice (like tortouiseSVN) or with the command-line:

CODE
svn co http://www.huntsvegas.org/svn/SDLx SDLx

CODE
svn co http://www.huntsvegas.org/svn/guichanX guichanX
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Hyper_Eye
post Apr 12 2010, 01:17 AM
Post #2


X-S Expert
***

Group: Members
Posts: 592
Joined: 26-December 03
From: Huntsvegas, AL.
Member No.: 85607
Xbox Version: v1.0
360 version: v1 (xenon)



HDTV is now implemented into trunk in the SDLx repo.

It returns a resolution list based on the system settings. It supports 1080i, 720p, 720x480 (480i and 480p), and 640x480 (480i and 480p).

All the resolutions that were already provided by SDLx (320x200 - 800x600) are still supported but as before they are all scaled to 640x480 and SDLx will automatically set the television to 640x480.

Here is a basic rundown of what you get:

- Enabling 480p will cause SDLx to use progressive scan for both 480p resolutions as well as all scaled resolutions.
- Enabling 720p will cause SDLx to add 1280x720 to the modes list. This mode will set the widescreen flag no matter what your systems widescreen settings are and it will, of course, be in progressive scan.
- Enabling 1080i will cause SDLx to add 1920x1080 to the modes list. This mode will set the wisescreen flag no matter what your systems widescreen settings are and it will be interlaced.
- Enabling widescreen on the system will cause SDLx to add the 720x480 resolution to the modes list. It will be interlaced if 480p is disabled and it will be progressive if 480p is enabled.

No code change is required to get these new modes into an application. For Odamex all I had to do was compile against this new library and since it provides all the returned modes to the user as options the modes automatically appeared in the resolution selector. Then all I had to do was work on optimization to make them smooth. Of course for games that have the resolution hard coded there may be more work but if the game supports variable resolutions you should be able to simply set your sdl vid mode to one of the new resolutions. Really though, you should be checking the modes returned from SDL to make sure the resolution you want to try is returned so you will know it is enabled on the system.

This should completely eliminate the need to release packages with multiple xbe's in them to support HDTV modes. You can either make the resolution selectable or read it from a config file so that the end-user can set it as they wish.

Any feedback is welcome.
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: 24th May 2013 - 07:01 PM