Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
98 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 98

more...

Headlines

 
  Register To Post  

« 1 2 3 4 (5) 6 »
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@walkero

What???

Which one?
I have libpixman-1.so in sobjs:

But even then...why does it work the first time (for me) but not any time after that?

Also...shouldn't that library, if it's .so, be provided together with the binary, or in case of a static library, compiled into the binary itself with no need to install it?

I'm heavily confused...

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Just can't stay away
Just can't stay away


See User information
@Raziel

Quote:
Which one? I have libpixman-1.so in sobjs:

No no, you need the shared Amiga library version from os4depot.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@trixie

So, it was running for me purely by accident???
Oh boy...

Will check it out tomorrow, thank you for the heads up.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@trixie
@walkero

Thank you, that actually fixed it.

Now i wonder, did i miss this dependency somewhere?
I haven't read the whole thread...

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Site Builder
Site Builder


See User information
@Raziel
Yeap, it is mentioned at
https://www.amigans.net/modules/xforum ... id=111358#forumpost111358

Don't worry, I missed that too.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
It didn't even occur to me that he could be missing the library, since the Player worked sometimes. I never though libraries can phase in an out of existence, but I guess only Amiga makes it possible *shrug*

edit: For the next version I'll check if I can link a static version of pixman to the executable to avoid confusion. It looks like shared libraries work in mysterious ways.


Edited by BSzili on 2021/11/16 15:33:59
This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

OK, i give up on this

I played a game perfectly fine this afternoon.

When i got back here 3 hours later, the same game, together with *every* other, refuse to start anymore.

I'm getting this dreaded
assertion "fs" failed: file "src/filesystem.cpp", line 189
again.

edit:

sigh...

It seems as if games, started from within a .zip file, does NOT store their save data automatically (Probably writing into a .zip file is not uspported/broken. One *must* give an *available* save path to make the player not complain/silently quit on loading the game data.

I wish there was a better user documentation.


Edited by Raziel on 2021/11/16 19:12:20
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
I think BeWorld fixed some issue with ZIP files, I'll check it later.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
I applied the ZIP fix from upstream, and replaced pixman with the static library and uploaded a new archive.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

Nice, saving to .zip archives work.

But i get reproducable freezes now, some minutes into the game (any game).

Audio/Music keeps playing but the whole input is frozen.
I can't switch fullscreen/window, I can't even switch back to workbench.
Keyboard reset is also not possible anymore.
It looks as if input is affected system-wide..

Nothing in the log (where is the log?) and no crash as far as I can see.

I'll try tomorrow if I can catch a serial.

Thank you for the new version

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

I get a window on exit telling me

The process terminated without freeing all the memory that it placed onto the task memory list.
This memory will now be freed automatically.

Process: "EasyRPG-Player"
Function: "Internal_RunCommand()"

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
Same here, but I have no idea where it's coming from. The Player never used RunCommand, and I certainly didn't add it now either.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

Quote:

It didn't even occur to me that he could be missing the library, since the Player worked sometimes. I never though libraries can phase in an out of existence, but I guess only Amiga makes it possible *shrug*

edit: For the next version I'll check if I can link a static version of pixman to the executable to avoid confusion. It looks like shared libraries work in mysterious ways.


If the library was bundled with different app and installled in the apps directory instead if LIBS: then the library will magically appear on the internal library list once that app has been run, but not other times.

Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

Quote:

Same here, but I have no idea where it's coming from. The Player never used RunCommand, and I certainly didn't add it now either.


Internal_RunCommand() is the eventual destination of any function that runs some external code via the shell eg System[Tags]() RunCommand() Execute() et al

Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
@broadblues
That makes sense, but I'm still none the wiser why RunCommand appeared in the Player, which AFAIK doesn't start any other executables. All I did way replacing the pixman library with the static version, and backported a fix to the filesystem code.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

Hmm I wonder if that message is comming from the instance of Internal_RunCommand() that laucnhed EasyRPG itself.


At a guess it might occur if objects were allocated with AllocSysObject() or AllocDoSObject() and not Free with the corresponding Free#?Object() function.

Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
Ah, I see. The player only uses the C library for file I/O, so it's hard to guess which function allocates some system object down the line. The leak could also affect other platforms, so hopefully it'll be fixed in 0.7.1.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Home away from home
Home away from home


See User information
@BSzili

Version 0.8 released, did you try to compile a binary for OS4?

Go to top
Re: EasyRPG Player
Quite a regular
Quite a regular


See User information
I no longer have a dev environment set up for NG, but I'm happy help out anyone who'd like to build it.

This is just like television, only you can see much further.
Go to top
Re: EasyRPG Player
Just can't stay away
Just can't stay away


See User information
@BSzili

I take it you're using the libpixman-1 static library that gets built as part of pixman-1.library?

If so, the reason that you are getting the error message when running the program from CLI and exiting is that I use there AllocTaskMemEntry() to implement LTS (local thread storage). The reason I do it this way is that this type of memory gets automatically freed on task/process exit and is easily accessible from the tc_MemEntry list in the Task/Process structure.

The only minor problem is that when a program is started from CLI it is run on the context of the existing CLI process, which then complains if the program returns with this memory allocation still in the tc_MemEntry list. In the shared library I've currently fixed it by adding a call to tls_fast_path_cache_free() in the library Close() function.

For a static build you should be able to fix it by adding a destructor function like so:
void tls_fast_path_cache_free(void);

__attribute__((destructor)) static void _cleanup_pixman(void)
{
    
/* Free TLS data */
    
tls_fast_path_cache_free();
}

Go to top

  Register To Post
« 1 2 3 4 (5) 6 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project