Puzzle of Mystralia

Advanced game related topics
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

@SPH

It looks like a nice little game. :)
I can see it's made for Windows only, but you included the source in the download, so, unless you are intending to convert it to work with Linux, would you mind if I tried to do it?
I'm very much a beginner, but I'm curious to see if I can work it out? (I have started on it already this morning). ;)

Regards,
Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Puzzle of Mystralia

Post by SPH »

moulder61 wrote: Thu Jul 18, 2024 11:53 am @SPH

It looks like a nice little game. :)
I can see it's made for Windows only, but you included the source in the download, so, unless you are intending to convert it to work with Linux, would you mind if I tried to do it?
I'm very much a beginner, but I'm curious to see if I can work it out? (I have started on it already this morning). ;)

Regards,
Moulder.
No problem

It's yours

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

Thanks SPH, :)

So far I've got it from what looked like an icon in the top left corner of the screen to actually getting the title screen showing and being able to click on continue to get into the game. 8)
Not sure whether I can actually finish it, but I managed to get "Lady's Garden" converted successfully, so I have some hope. ;)

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

Hi SPH,

I managed to get it working quite well in Linux!
At the moment, just hovering over the continue or reset buttons, without clicking, on the title page will start the game.
Also, the normal cursor is displayed as well as your custom one.
There's more work to do so I'll keep at it but at least it's playable on Linux now. 8)

Moulder.

Image
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

OK, I fixed the title screen issue. You have to click to enter now.

Image

There are still 2 cursors, but there is an issue with hiding the cursor in Linux. The way to hide it is by using ExamineMouse(), but that ties up the mouse unless you use ReleaseMouse(#True) afterwards. But then the cursor reappears!
Maybe there are some decent programmers on here that know how to get around it?
An alternative might be to not use the custom cursor possibly?
Anyway, I think it's working well enough to share with the 3 Linux people on here. ;)
Assuming you've downloaded the game zip and extracted it, just drop the .pb file in the main folder.
https://u.pcloud.link/publink/show?code ... UUiRjickV0

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Puzzle of Mystralia

Post by SPH »

good job linuxien :idea:

W10 or W11 ?

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

I was quite pleased with myself for getting it working in Linux. :) It's a nice game.
No one seems to have downloaded the code yet so maybe it's only me that's using Linux? :lol:
I'm not sure whether you are asking me W10 or W11?
I don't use Windows, but if I did it would be XP or 7. In a VM. I'd have to be desperate though. ;)

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Puzzle of Mystralia

Post by SPH »

Excuse me, I am too used to asking if the tester is in W10 or W11 because I encounter a problem on W11: the backup does not work

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

I'm not much of a programmer, but I kind of made it my mission to try to get some of the code on here that's written for Windows to work in Linux. I'm more interested in games than other applications and it would be nice to see some good games written in PB.
From my hunting around, mostly in the forums, there don't seem to be very many? Especially free games. The best free one I've seen and that works in Linux is "SnakeZ" by Mr.L so I'd like to do something to add to that short list if I can. :) Converting "Puzzle of Mystralia" was good practice and as I mentioned previously I converted "Lady's Garden" which was about 20 years old, but that's copyrighted so I don't have permission to share that one. I say "converted" loosely, it was more of a tweak really, the code stayed largely the same.
I'm working(slowly!) on a couple of original projects, one is a fruit machine and the other a puzzle/platform game, so maybe one day I can put them on here, but I would only be writing them to work in Linux because I don't use Windows any more so I can't test them on that platform. If anyone wants to "convert" them eventually, they can. :P

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
spacebuddy
Enthusiast
Enthusiast
Posts: 356
Joined: Thu Jul 02, 2009 5:42 am

Re: Puzzle of Mystralia

Post by spacebuddy »

Has anyone ported this to Mac OS/X

:D
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Puzzle of Mystralia

Post by SPH »

spacebuddy wrote: Tue Jul 23, 2024 4:18 pm Has anyone ported this to Mac OS/X

:D
No. But if you want, your welcome ! :wink:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

spacebuddy wrote: Tue Jul 23, 2024 4:18 pm Has anyone ported this to Mac OS/X
If you try to port it yourself but get stuck, my modifications to get it to work in Linux may or may not help. :)

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

I improved the Linux version slightly, mainly an issue with 2 cursors showing.
I did it a while ago but forgot to upload it. It looks a bit better now. :)

If anyone is interested here's the new link:

https://u.pcloud.link/publink/show?code ... 2TPkpdhOj7

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Puzzle of Mystralia

Post by SPH »

Thx you 👌

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Puzzle of Mystralia

Post by moulder61 »

@SPH

The link I sent you with the other image tweaks etc was just for your use. That should have included the updated Linux source file?
I wasn't sure I should be distributing your work so this is just the updated version of the Linux source file for everyone else.
Thanks for a good little game. I've managed to get to level 48 so far. :)

Moulder.

Image
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Post Reply