Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
132 user(s) are online (119 user(s) are browsing Forums)

Members: 0
Guests: 132

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Battle For Wesnoth OS4 and resolution
Not too shy to talk
Not too shy to talk


See User information
Hi all! I'm going to have a lan between my MacPro and my AmigaOne at Battle For Wesnoth.... i can't change resolution under OS4 version... why? I want to use 1280x1024 but it loads automatically 1024x768. Under preferences i see no video moses available.

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
It seems the SDL_ListModes() function doesn't return any screenmodes. I'll see if I can replace it with a hardcoded list of the most common ones (800x600, 1024x768, 1280x960, 1280x1024).

[edit]
Works very nicely indeed. I think I'll upload an updated exe to OS4Depot...

Go to top
Re: Battle For Wesnoth OS4 and resolution
Home away from home
Home away from home


See User information
@salass00

Before you do a rebuild, check Wesnoth main site, there's
a new version up

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
@Raziel

Too late. I'll see about building the new version tomorrow.

The other wesnoth changes I did have been integrated to the CVS so hopefully I won't have to apply them to this new version.

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
Hi Ikir !

There is a new exe file on OS4Depot.. try that new version

Go to top
Re: Battle For Wesnoth OS4 and resolution
Not too shy to talk
Not too shy to talk


See User information
Thanks so much!!

EDIT: it works very well

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
@ikir

You're welcome.

@Raziel

Have uploaded a v1.1.14 build to OS4Depot and Aminet. Played through the tutorial campaign without any problems so it seems OK.

Have also submitted a diff patch for the screenmodes selection fix to patches.wesnoth.org.

Go to top
Re: Battle For Wesnoth OS4 and resolution
Home away from home
Home away from home


See User information
@salass00

Guuureat...thanks a lot, Fredrik

Go to top
Re: Battle For Wesnoth OS4 and resolution
Amigans Defender
Amigans Defender


See User information
Quote:

It seems the SDL_ListModes() function doesn't return any screenmodes. I'll see if I can replace it with a hardcoded list of the most common ones (800x600, 1024x768, 1280x960, 1280x1024).


the SDL_ListModes() under amigaos returns -1 that means that all video modes are correct. Under other OS not all video modes are available and so it returns a pointer of video modes.
so the only solution i've found into the SDL games ported on the amiga is to hardcode the video modes. (Like Wormux)
as i seaid in the past, if you hav made some changes, please send the patches to the developers so we can compile Wesnoth without difficulty

Go to top
Re: Battle For Wesnoth OS4 and resolution
Home away from home
Home away from home


See User information
@afxgroup

Quote:
if you hav made some changes, please send the patches to the developers so we can compile Wesnoth without difficulty


He did

salass00 post
Quote:
Have also submitted a diff patch for the screenmodes selection fix to patches.wesnoth.org.


and

Patch tracker item


Go to top
Re: Battle For Wesnoth OS4 and resolution
Amigans Defender
Amigans Defender


See User information
ops.. sorry..

/me slaps afxgroup..

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
/me slaps afxgroup too

@salass00

How can I get wesnoth to use a specific card on a dual graphics card system?

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Battle For Wesnoth OS4 and resolution
Just popping in
Just popping in


See User information
@salass00 & afxgroup,

don't you think it would be a much better idea to implement SDL_ListModes() properly (i.e returning an array of available screenmodes) instead of hacking every single application/game using this function? Besides, your patches won't probably be welcome, as it means you want to submit some very particular cases to a "clean" and supposedly portable game .

What's the point of having SDL on OS4 if it's not compatible with the SDL specifications?

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
Quote:

What's the point of having SDL on OS4 if it's not compatible with the SDL specifications?


You clearly haven't read them then. -1 is a possible and correct return code for SDL_ListModes(), and it means that any size is possible. So, no it isn't incompatible with SDL specs. It is Wesnoth behaves wrong in this case.

Quote:
Besides, your patches won't probably be welcome, as it means you want to submit some very particular cases to a "clean" and supposedly portable game .


It is still portable.

You obviously haven't looked at the sources. There are a lot more #ifdefs and #ifndefs for particular OSes than these two I proposed.

Go to top
Re: Battle For Wesnoth OS4 and resolution
Amigans Defender
Amigans Defender


See User information
Quote:

don't you think it would be a much better idea to implement SDL_ListModes() properly (i.e returning an array of available screenmodes) instead of hacking every single application/game using this function? Besides, your patches won't probably be welcome, as it means you want to submit some very particular cases to a "clean" and supposedly portable game .

What's the point of having SDL on OS4 if it's not compatible with the SDL specifications?

...well.. also in the 2007 the AmigaOS is the only OS that follow the rules.. and not the countrary..


@Severin..
i'm coming back... wait.. >:-/

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just can't stay away
Just can't stay away


See User information
@Severin

Quote:

How can I get wesnoth to use a specific card on a dual graphics card system?


AFAIK, you can't. SDL, as far as I understand, picks the first screenmode that it finds that best suits the requirements given by the application. It is not possible to control this from the program.

Theoretically I guess you could delete f.e. the 1024x768 screenmode (if that is the one you use in Wesnoth) from one of the gfxcards and SDL would have to use the other gfxcard. It's not a very nice solution though.

Go to top
Re: Battle For Wesnoth OS4 and resolution
Not too shy to talk
Not too shy to talk


See User information
Quote:

What's the point of having SDL on OS4 if it's not compatible with the SDL specifications?


I agree

Go to top
Re: Battle For Wesnoth OS4 and resolution
Amigans Defender
Amigans Defender


See User information
Quote:

ikir wrote:
Quote:

What's the point of having SDL on OS4 if it's not compatible with the SDL specifications?


I agree


SDL IS compatible at 100% with specifications

Go to top
Re: Battle For Wesnoth OS4 and resolution
Just popping in
Just popping in


See User information
Is this just someone wanting to create a problem where there isn't one again?

Pretty ignorant niggling.

The court case is like a thunderstorm after a long humid summer.
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project