Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
75 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 75

more...

Support us!

Headlines

Forum Index


Board index » All Posts (Capehill)




Re: ScummVM OS4 3.0.0git
Just can't stay away
Just can't stay away


@Thematic

What kind of dependency problem?

You can get old SDL2 shared objects from Github and install it to ScummVM:SOBJS/, or maybe you could create a link from ScummVM:SOBJS/ to the current libSDL2 so.

Go to top


Re: ShaderNova 1.1
Just can't stay away
Just can't stay away


Version 1.2 is available: https://os4depot.net/?function=showfil ... phics/misc/shadernova.lha

Changes:

Quote:

- Allow window overlapping.
- Optimize context clearing.
- Optimize rastport initialization.
- Refactor some code.
- Add Brighten, Darken, Negative and Border shaders.
- Fix Wobbler shader breaking after some time.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@smarkusg

Interesting, I don't remember seeing this game before.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@Petrol

VRAM is very slow to read when compared to RAM, at least on many our systems.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@FlynnTheAvatar

I think ScanVars is used.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@FlynnTheAvatar

I was expecting to see GetVar on Snoopy log but there wasn't one. When renderer is created, it should check the given hints.

In any case, this example seems to work differently for me, it defaults to compositing as expected. And setting different drivers from SDL3 prefs works correctly here. Checked also using testsprite --info render.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@FlynnTheAvatar

Do you have "opengl" as render driver? If so, please use compositing (default), opengles2 or software.

MiniGL support was removed from renderer subsystem. Main problem is that it doesn't support frame buffer objects.

Go to top


Re: SDL3
Just can't stay away
Just can't stay away



Go to top


Re: Flare enough
Just can't stay away
Just can't stay away


@Maijestro

Looks like there is some NULL pointer check missing somewhere related to image handling. I don't want to upload crashing things to OS4Depot. Better wait for 1.15 or try to fix the bug.

Which gfx card you have? Radeon RX here, and it gives 300+ FPS. Your FPS is too slow. Maybe you are using SW rendering?

Go to top


Re: Flare enough
Just can't stay away
Just can't stay away


@Maijestro

Yes, Newlib was used. Different C libs shouldn't be mixed.

By the way, you can enable FPS counter using Interface menu. (show_fps on config)

Go to top


Re: GCC 11, atomic_bool and linker errors
Just can't stay away
Just can't stay away


@MickJT

Thanks, works! For some reason -latomic was not required on Linux (gcc13). Maybe there are implementation differences.

Go to top


GCC 11, atomic_bool and linker errors [SOLVED by -latomic]
Just can't stay away
Just can't stay away


I'm trying to compile something like:

// gcc atomic.cpp -Wall -athread=native -std=c++20

#include <atomic>

int main()
{
    
std::atomic_bool ab false;

    
ab true;
    
ab.notify_one();

    
ab.wait(false);

    return 
0;
}


But it gives linker errors. Issue seems to be functionality added in C++20 (wait and notify_one). Wondering if this is some known issue and should I report it somewhere.


Edited by Capehill on 2025/12/4 20:31:41
Go to top


Re: Flare enough
Just can't stay away
Just can't stay away


@Maijestro

Please try https://capehill.kapsi.fi/flare/

It's the latest code, tested very quickly. I have no plans for this, no time. It just compiles out of box so there is no reason not to have it.

@smarkusg

Please release a debug version of your binary, it could help to investigate crash issue on some systems.

Go to top


Re: Flare enough
Just can't stay away
Just can't stay away


@walkero

This is not pretty but worked in 2024.

SRC\
  Animation
.cpp               AnimationManager.cpp \
  AnimationMedia
.cpp          AnimationSet.cpp \
  AStarContainer
.cpp          AStarNode.cpp \
  Avatar
.cpp                  Camera.cpp \
  CampaignManager
.cpp         CombatText.cpp \
  CursorManager
.cpp           DeviceList.cpp \
  EffectManager
.cpp           EnemyGroupManager.cpp \
  EngineSettings
.cpp          Entity.cpp \
  EntityBehavior
.cpp          EntityManager.cpp \
  EventManager
.cpp            FileParser.cpp \
  FogOfWar
.cpp                FontEngine.cpp \
  GameSlotPreview
.cpp         GameState.cpp \
  GameStateConfig
.cpp         GameStateCutscene.cpp \
  GameStateLoad
.cpp           GameStateNew.cpp  \
  GameStatePlay
.cpp           GameStateTitle.cpp \
  GameSwitcher
.cpp            GetText.cpp \
  Hazard
.cpp                  HazardManager.cpp \
  IconManager
.cpp             InputState.cpp \
  ItemManager
.cpp             ItemStorage.cpp \
  Loot
.cpp                    LootManager.cpp \
  main
.cpp                    Map.cpp \
  MapCollision
.cpp            MapParallax.cpp \
  MapRenderer
.cpp             Menu.cpp \
  MenuActionBar
.cpp           MenuActiveEffects.cpp \
  MenuBook
.cpp                MenuCharacter.cpp \
  MenuConfig
.cpp              MenuConfirm.cpp \
  MenuDevConsole
.cpp          MenuEnemy.cpp \
  MenuExit
.cpp                MenuGameOver.cpp \
  MenuHUDLog
.cpp              MenuInventory.cpp \
  MenuItemStorage
.cpp         MenuLog.cpp \
  MenuManager
.cpp             MenuMiniMap.cpp \
  MenuMovementType
.cpp        MenuNumPicker.cpp \
  MenuPowers
.cpp              MenuStash.cpp \
  MenuStatBar
.cpp             MenuTalker.cpp \
  MenuTouchControls
.cpp       MenuVendor.cpp \
  MessageEngine
.cpp           ModManager.cpp \
  NPC
.cpp                     NPCManager.cpp \
  PlatformAndroid
.cpp         PlatformEmscripten.cpp \
  PlatformGCW0
.cpp            PlatformIPhoneOS.cpp \
  PlatformLinux
.cpp           PlatformWin32.cpp \
  PowerManager
.cpp            QuestLog.cpp \
  RenderDevice
.cpp            SaveLoad.cpp \
  SDLFontEngine
.cpp           SDLHardwareRenderDevice.cpp \
  SDLInputState
.cpp           SDLSoftwareRenderDevice.cpp \
  SDLSoundManager
.cpp         Settings.cpp \
  SharedGameResources
.cpp     SharedResources.cpp \
  SoundManager
.cpp            StatBlock.cpp \
  Stats
.cpp                   Subtitles.cpp \
  TileSet
.cpp                 TooltipData.cpp \
  TooltipManager
.cpp          Utils.cpp \
  UtilsDebug
.cpp              UtilsFileSystem.cpp \
  UtilsParsing
.cpp            Version.cpp \
  Widget
.cpp                  WidgetButton.cpp \
  WidgetCheckBox
.cpp          WidgetHorizontalList.cpp \
  WidgetInput
.cpp             WidgetLabel.cpp \
  WidgetListBox
.cpp           WidgetLog.cpp \
  WidgetScrollBar
.cpp         WidgetScrollBox.cpp \
  WidgetSlider
.cpp            WidgetSlot.cpp \
  WidgetTabControl
.cpp        WidgetTooltip.cpp \
  XPScaling
.cpp

OBJS
=$(SRC:.cpp=.o)

all: $(OBJS)
    
g++ -o flare $(OBJS) -L. -lSDL2_image -ltiff -ljpeg -lwebp -lwebpdemux -lsharpyuv -lSDL2_ttf -lfreetype -lharfbuzz -lpng -lSDL2_mixer -lmodplug -lSDL2 -lz -lauto -lpthread -athread=native -lunix

%.o: %.cpp
    g
++ -$@ -$< -Wall -O3 -ISDK:local/newlib/include/SDL2

clean
:
    
delete $(OBJS)

Go to top


Re: Diamonds and Dust
Just can't stay away
Just can't stay away


@khayoz

Game is not moddable at the moment. Maybe I should do something about it later.

But a special level might be doable in shorter time.

Go to top


Re: Can't get Logitech F310 Gamepad to work with AmigaOne X5K
Just can't stay away
Just can't stay away


@AmigaSociety

I have F310, it works in 'D' mode. Have you tested this pad on some other system, Windows for example?

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


3.2.24 is available: https://github.com/AmigaPorts/SDL/releases/tag/v3.2.24-amigaos4

AmigaOS 4 changes:

Quote:

Set mouse focus on window activation: fixes issue with hidden mouse cursor
Add Spanish locale
Improve debug logging


Direct link: https://github.com/AmigaPorts/SDL/rele ... v3.2.24-amigaos4/SDL3.lha

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@smarkusg

Cool. I noticed that GL2 renderer can be now started with minor modifications, but unfortunately, there seem to be some texture coordinate issues and crashes later.

Go to top


Re: LiteXL v2.1.0 is released
Just can't stay away
Just can't stay away


@Maijestro et al.

Cheers!

I would like to mention that Profyler tool was very helpful when investigating this. https://os4depot.net/?function=showfil ... opment/debug/profyler.lha

Go to top


Re: SDL3
Just can't stay away
Just can't stay away


@Tuvok

SDL1, 2 and 3 are different and incompatible libraries.

So,

libSDL.so should point to libSDL-1.2.so.
libSDL2.so should point to libSDL2-2.x.y.so.
libSDL3.so should point to libSDL3-3.x.y.so.

If you have the AmigaOS 4 SDK installed, you can check which shared objects some binary is using by:

readelf -d binary_name

Go to top



TopTop
(1) 2 3 4 ... 89 »



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
6 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project