Oh, i'm all ear to hear more about that problem and it's probable solution...i get the same "shift to the right" in some games in ScummVM when building with SDL2.
I'm blaming the screenmode some games use, because most of the games work fine
I don't do much porting, but have seen both sides and to build it static is the way to go imho.
Games will still run even when people updated their dreaded .so's (or being forced to by OS updates...hahahahaha, well, thats not going to happen anytime soon anyway)
Does shifting issue happen only with fullscreen? Could it be caused by SDL2 centering the window on that particular screenmode? If you take serial logs it should contain some screenmode debug as well.
Regarding libraries, I suppose there are three possibilities:
1) release without libs but inform people about dependencies 2) release with libs in sobjs/ directory 3) link statically if licenses allow, and be prepared to rebuild whenever a bug is fixed in some dependency lib
Ignore MickJT and Raziel link dynamically, at least untill SDL 2 is mature because else you wil be forever having to rebuild as bugs are found and fixed.
That is one of the points of dynamic linking.
The pixel shift thing sounds like a perfect example of this....
If there are dependent libs that don't come with the system just provide information on where to find them in the readme.
If you're going to link dynamically, then please include all of the .so files inside of a "SObjs" directory. It'll get used automatically, so you don't have to put them in SYS:SObjs/
Future versions of libraries may have different numbers, and may break compatibility too. broadblues is right in saying that SDL2 improvements in the future can be benefited from, without having to re-link the game again.
Hi thanks. I will try it. However I cant access GoogleDrive from Amiga as OWB is not a supported browser...
It works with odyssey. Just use the url preferenses to spoof as something else than odyssey when accessing https://drive.google.com/ (i have it set to chrome 32)
Does shifting issue happen only with fullscreen? Could it be caused by SDL2 centering the window on that particular screenmode? If you take serial logs it should contain some screenmode debug as well.
Only in fullscreen, yes And yes, that SDL2 seems to center it sounds logical
What exactly would you need and what serial debug setting should i use?
Do you mean to put all the used so in the bin folder of the game?
That would work too, but it's not as tidy. You can make a directory called "SObjs" where the game binary is and put all of the required .so files in there. When you run the game, it will automatically load them from the SObjs directory.