Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
74 user(s) are online (70 user(s) are browsing Forums)

Members: 0
Guests: 74

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 7 8 9 (10) 11 12 13 ... 35 »
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

I see, thanks for the insight.
I remember following some discussion about the slow video stuff, so i guess there will be someone writing this into ScummVM sooner or later.

Hmm, maybe something for a Summer of Code task...

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e (maybe @capehill, but i guess it's more of a GLES2 problem?)

I found a glitch with cursors on using OpenGL with shaders.

With the latest release (ScummVM) and the current gles2.library (non-beta-testers) i get a glitch in in-game cursors (right now i only have Nippon Safes Inc. to test - Amiga version...i'm sure you can get a copy).

Using "Software" as renderer, all is fine, using "OpenGL with shaders" the cursor is broken (switching to window will make it vanish completely and not come back) see screenshot

Could you test with your beta gles2.library, please?

The blob on the left should be the cursor...
Resized Image

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel
You better wait for official ogles2 release (very soon), so you can test it yourself. There was gazilion of changes in new ogles2, so it not worth to even try to test things on the public one anymore.

But i can say that i didn't have such issue in any games i have with opengl with shaders with latest beta of ogles2.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

OK, do you know when this release will happen?
Because i'd like to start doing some in-depth tests soon(-ish) on certain games.

My time frames to do these are pretty limited, so if the release would be before the 15th of May i'd be really in for some testing...

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

Tested the latest build and set the graphics mode but got an error when try to set OpenGL (should automatically use MiniGL on my Sam440 right?)

WARNING: OpenGLGraphicsManager::endGFXTransaction: Could not load any graphics mode!!

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel
Were you able to commit Capehill's code about makedir to scummvm ? Why i ask, because if you don't i can ask lephilousophe to do so

@Samo79

What you mean by "set the graphics mode" ? Imho you should just run it as it, it show interface, in which minigl automatically used. If not, then maybe too old config or something, try then manually set in global prefs "opengl" in 2 places, exit and start again, and then try.

Also be sure your minigl install is fine enough all ok , and so on, so no one will loose time on broken setup, etc.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

I'm on it.

Just got home.

Sorry, i can't act as lightning fast as you

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

bool AmigaOSFilesystemNode::createDirectory() 
    BPTR lock = IDOS->Lock(_sPath.c_str(), SHARED_LOCK); 
    if (lock) 
        IDOS->UnLock(lock); 
        debug("AmigaOSFilesystemNode::createDirectory() -> Directory '%s' exists already", _sPath.c_str()); 
        return _bIsValid && _bIsDirectory; // TODO: should we examine is it really a dir? 
    

    lock = IDOS->CreateDir(_sPath.c_str()); 
    if (lock) 
        IDOS->UnLock(lock); 
        debug("AmigaOSFilesystemNode::createDirectory() -> Directory '%s' created", _sPath.c_str()); 
        _bIsValid = true
        _bIsDirectory = true
    } else 
        warning("AmigaOSFilesystemNode::createDirectory() -> Failed to create '%s'", _sPath.c_str()); 
    }     
     
    return _bIsValid 
&& _bIsDirectory
}

Regarding the comment on line 6:
Is there a possibility that a node with
_bIsDirectory true
is not a directory?

Thanksa gain for the piece of code


Edited by Raziel on 2022/5/3 7:42:11
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@kas1e

Solved, by mistake i had an old ogles2.library installed on my system.. apparently it still there since i was fully reinstalled the Enhancer pack months ago...
Perhaps next time we could have more precise error notifications for end users instead of these obscure error messages?

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel

Found a reproducible issue, if you have an AHI output busy with another application opened (lets say for example MPlayer) and you launch ScummVM --> we got this message error:

Could not initialize SDL: Failed to load AHI device!

Then ScummVM crash badly with ISI

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@samo79

Yes, that's not ScummVM specific, though.
SDL doesn't like another program hogging AHI resources...i got that with other SDL apps too.

It doesn't happen with AmigaAmp f.e., because AmigaAmp doesn't lock it's AHI Unit (see Prefs/Audio/AHI/Keep AHI Unit Open)

Maybe talk to the MPlayer maintainer to not hog AHI completely as well?

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Raziel

Yes, probably code should examine node type to work properly. I think backend code already had some example how to do that? I can maybe take a look on weekend.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

OK, feel free to tinker with the Pull Request and change whatever needs to be done.

Thank you very much and take your time

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

If needed i could open a ticket on SDL repo as a reminder..

@Raziel

Sure I will.. if only kas1e found the desire to pick it again :)

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@samo79

If only kas1e could multiply...

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Raziel

Yo waiting for clone tech

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@samo79

Ticket about which issue? Directory creation by ScummVM is not related to SDL.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Raziel

Ok it took a while to get my ScummVM repo updated. Do you know how to test directory creation?

I left a comment to PR, too.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

Yes, see post #190 and #191 on this thread.
The AHI issue seems related SDL so i opened a new ticket on your SDL repo

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@samo79

Try using device.audio to work around issue where some application (supposedly MPlayer) uses the low-level API for exclusive audio access.

Or change MPlayer to use the device API.

Go to top

  Register To Post
« 1 ... 7 8 9 (10) 11 12 13 ... 35 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project