Freesweeper - a new cross-platform clone
Freesweeper - a new cross-platform clone
Current version is Release 10.
Current version for i386 architecture
Current version for amd64 architecture
Current version for Windows
There is a need for an official clone with a native Linux version, and this program is written to fill this niche.
It uses Qt library, here are the DLLs for Windows version. Put them in the same directory.
Videos are saved as .fsvf (which is in fact Arbiter's AVF with different checksums) and as RawVF.
There is a luck feature, which can be discussed here.
Please try this program and report bugs, attaching the diagnostics file (it can be found in ~/.freesweeper/ on Linux and in the Freesweeper directory on Windows).
Current version for i386 architecture
Current version for amd64 architecture
Current version for Windows
There is a need for an official clone with a native Linux version, and this program is written to fill this niche.
It uses Qt library, here are the DLLs for Windows version. Put them in the same directory.
Videos are saved as .fsvf (which is in fact Arbiter's AVF with different checksums) and as RawVF.
There is a luck feature, which can be discussed here.
Please try this program and report bugs, attaching the diagnostics file (it can be found in ~/.freesweeper/ on Linux and in the Freesweeper directory on Windows).
Last edited by Cryslon on Sun Apr 27, 2014 1:51 pm, edited 17 times in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Bravo! Now I will no longer need to play using WINE.
There are some mouse handling issues I can look into, but they seem to be minor. More serious is that I can only seem to save to RawVF and I don't think the auto-save or history is working. Also, the counters window was cleared somehow, perhaps because of a segfault caused by trying to drag a video onto the window. Finally, once when I was testing out video replay the board data got corrupted somehow; I'll attach the video.
Nice job, Cryslon. I would be even more thrilled if it wasn't for the bittersweet fact that I had also been working on a cross-platform clone; an old dream of mine which I was actually working on in February. Another project got in the way in March, but I was hoping to start on it again. Actually, first I was planning on adding a RawVF player to MSX so we could finally have one, but you have beaten me to the punch there as well! This reminds me of the time when I updated Arbiter only to find afterward that you had already done it.
There are some mouse handling issues I can look into, but they seem to be minor. More serious is that I can only seem to save to RawVF and I don't think the auto-save or history is working. Also, the counters window was cleared somehow, perhaps because of a segfault caused by trying to drag a video onto the window. Finally, once when I was testing out video replay the board data got corrupted somehow; I'll attach the video.
Nice job, Cryslon. I would be even more thrilled if it wasn't for the bittersweet fact that I had also been working on a cross-platform clone; an old dream of mine which I was actually working on in February. Another project got in the way in March, but I was hoping to start on it again. Actually, first I was planning on adding a RawVF player to MSX so we could finally have one, but you have beaten me to the punch there as well! This reminds me of the time when I updated Arbiter only to find afterward that you had already done it.
- Attachments
-
- bugvideo.rawvf.zip
- (956 Bytes) Downloaded 746 times
Re: Freesweeper - a new cross-platform clone
Yes, this version doesn't allow to save protected videos manually.CBright wrote:I can only seem to save to RawVF
Could you please describe how to reproduce the segfault on dragging? I haven't managed that.I don't think the auto-save or history is working. Also, the counters window was cleared somehow, perhaps because of a segfault caused by trying to drag a video onto the window.
You can find the default counters and autosave files in /usr/share/freesweeper. Copy them into ~/.freesweeper.
What do you mean when saying that history doesn't work? F9 doesn't work, or it shows empty history, or what?
Wow, looks really weird.Finally, once when I was testing out video replay the board data got corrupted somehow;
Thank you for testing. Oh, and i forgot to mention that FS saves diagnostics (in ~/.freesweeper/diagnostics). Please send this file if you encounter something weird again.
SorryI had also been working on a cross-platform clone; an old dream of mine which I was actually working on in February. This reminds me of the time when I updated Arbiter only to find afterward that you had already done it.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Weird, it seems to sometimes crash when I drag a rawvf file very quickly onto the window. It acts like the file was rejected but it leaves "ghosts" over the gameboard. And the counters aren't cleared on a crash; perhaps they just never got installed to the right place. Auto-save is now working, but I can't play the saved videos, or even avf ones; nothing shows up when I select "AVF".Cryslon wrote:Could you please describe how to reproduce the segfault on dragging? I haven't managed that.
I'm getting a "Couldn't open history file" error.Cryslon wrote:What do you mean when saying that history doesn't work? F9 doesn't work, or it shows empty history, or what?
It happened again, so I've attached the files in question. It seems only the rawvf was corrupted.Cryslon wrote:Please send this file if you encounter something weird again.
My own fault for taking so long. I think I'll at least finish it to the point of saving videos so my effort wasn't completely in vain. I was planning on using rawvf actually, with 3 extensions:Cryslon wrote:Sorry
1. A "checksum" option field
2. Negative time to allow events before timer starts
3. Adding something like "(lmr)" at the end of event lines, where the letters which appear specify the state of the mouse buttons at that event
Perhaps we could discuss if these could be added to the format...
- Attachments
-
- fsweepbug.zip
- (5.41 KiB) Downloaded 725 times
Re: Freesweeper - a new cross-platform clone
Yes, this is a bug. Fixed in the new version.CBright wrote:the counters aren't cleared on a crash; perhaps they just never got installed to the right place.
fsvf's are showed now. Are you able to watch rawvf's?Auto-save is now working, but I can't play the saved videos, or even avf ones; nothing shows up when I select "AVF".
Make sure you have the rights to write to ~/freesweeper.history.I'm getting a "Couldn't open history file" error.
This shouldn't happen in the new version.It seems only the rawvf was corrupted.
Please reproduce the segfault on dragging and send me the diagnostics.
Your RawVF extensions are imo fine.
Last edited by Cryslon on Mon May 21, 2012 6:23 pm, edited 1 time in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Yes, and now watching AVFs work. I noticed in Kamil's 7.27 Int WR there is a depressed square in the upper-right corner which doesn't get refreshed.Cryslon wrote:fsvf's are showed now. Are you able to watch rawvf's?
That can't be it; I can see the file is being updated, and the time ranking works.Cryslon wrote:Make sure you have the rights to write to ~/freesweeper.history.
OK, I've attached the diagnostics.Cryslon wrote:Please reproduce the segfault on dragging and send me the diagnostics.
By the way, I noticed mouse movements off of the board are not recorded, which can make video playback near the edges kind of jerky. Also, when you move off of the board the internal mouse state seems to be reset (e.g., click and drag off the board and back).
Also, sometimes the smiley button isn't updated on the game end; I've attached an example video.
- Attachments
-
- bugs.zip
- (1.92 KiB) Downloaded 704 times
Re: Freesweeper - a new cross-platform clone
I figured out that the history file error only occurs on the Density tab, which is maybe not implemented yet? The "Overview" table also doesn't seem to work, but the reason the graphs weren't working is because they default to Exp and I only play Int.
By the way, I don't know if there's anything you can do about this but I changed the mouse cursor in Ubuntu and for some reason when playing freesweeper it switches back to the default cursor! Annoying, since the whole reason I switched was because I found the default one was inaccurate for sweeping.
By the way, I don't know if there's anything you can do about this but I changed the mouse cursor in Ubuntu and for some reason when playing freesweeper it switches back to the default cursor! Annoying, since the whole reason I switched was because I found the default one was inaccurate for sweeping.
Re: Freesweeper - a new cross-platform clone
Let there be bump!
Since only Curtis is interested, maybe this thread should be moved to the "Minesweeper Versions" subforum.
Segfaults on drag&drop should now be gone.
Since only Curtis is interested, maybe this thread should be moved to the "Minesweeper Versions" subforum.
Segfaults on drag&drop should now be gone.
The reason is a missing mouse move event in Arbiter's AVF. I wrote a quick fix (not sure if every possible scenario is covered), this video works as it should now.CBright wrote:I noticed in Kamil's 7.27 Int WR there is a depressed square in the upper-right corner which doesn't get refreshed.
I changed this.I noticed mouse movements off of the board are not recorded, which can make video playback near the edges kind of jerky. Also, when you move off of the board the internal mouse state seems to be reset (e.g., click and drag off the board and back).
Fixed. Thanks for all your reports.Also, sometimes the smiley button isn't updated on the game end; I've attached an example video.
Ah, now i understand. As you can see, the whole history program is a mess trying to pretend it's Clone, and i'm not going to do anything with that because i hate writing interfaces.CBright wrote:I figured out that the history file error only occurs on the Density tab, which is maybe not implemented yet? The "Overview" table also doesn't seem to work, but the reason the graphs weren't working is because they default to Exp and I only play Int.
The code doesn't contain anything related to cursors. And on my Ubuntu cursors work normally.I changed the mouse cursor in Ubuntu and for some reason when playing freesweeper it switches back to the default cursor!
Last edited by Cryslon on Tue Oct 16, 2012 11:00 am, edited 1 time in total.
Re: Freesweeper - a new cross-platform clone
Can you make a version that will run natively on Mac too? I don't personally use that OS but I think it would be very useful for people who do (once FS becomes official anyway).
NF player. Best scores 1-10-39.
Re: Freesweeper - a new cross-platform clone
OK, looks good, except now if you chord with a right click the smiley gets stuck in the guessing state. Also, I've attached a video that I saved that fsweep says is invalid.
Other things: I can only see the rightmost 3 digits on the y axis labels of the cloud graph. Also, I think 3BV should be in the default list; Time vs. 3BV seems like the most natural thing to plot.
And a suggestion: If you do implement the overview table, I think a good thing to add would be the total # of finished games. I'd like to know what my win rate is.
Other things: I can only see the rightmost 3 digits on the y axis labels of the cloud graph. Also, I think 3BV should be in the default list; Time vs. 3BV seems like the most natural thing to plot.
And a suggestion: If you do implement the overview table, I think a good thing to add would be the total # of finished games. I'd like to know what my win rate is.
- Attachments
-
- corrupt.avf
- (17.48 KiB) Downloaded 668 times
Re: Freesweeper - a new cross-platform clone
Is there some way to get the windows dll files without having to sign up to some hosting site?
The number of minesweeper boards:
Exp: 140055249834355336357264746443955277014822625680974475320364702381803619892657792049596418323789908370400 (1.4e104)
Int: 13115156192346373485000211099954895788134532256 (1.3e46) &
Beg: 18934455246 (1.9e10)
Exp: 140055249834355336357264746443955277014822625680974475320364702381803619892657792049596418323789908370400 (1.4e104)
Int: 13115156192346373485000211099954895788134532256 (1.3e46) &
Beg: 18934455246 (1.9e10)
Re: Freesweeper - a new cross-platform clone
Works like a charm, thanks
Re: Freesweeper - a new cross-platform clone
Here's a video where a button gets stuck in the pressed state. Also, I noticed if you click and drag off the board the first cell you pass when you come back isn't animated.
I was able to fix the cursor issue: I needed to update ~/.icons/default/index.theme in addition to /usr/share/icons/default/index.theme.
I was able to fix the cursor issue: I needed to update ~/.icons/default/index.theme in addition to /usr/share/icons/default/index.theme.
- Attachments
-
- bug.rawvf.zip
- (2.37 KiB) Downloaded 689 times
Re: Freesweeper - a new cross-platform clone
Fixed.CBright wrote:OK, looks good, except now if you chord with a right click the smiley gets stuck in the guessing state.
I can only see the rightmost 3 digits on the y axis labels of the cloud graph.
I noticed if you click and drag off the board the first cell you pass when you come back isn't animated.
I'm unable to design the thing. The default list is too large; i made 3bv the default value of the custom counter instead.Also, I think 3BV should be in the default list; Time vs. 3BV seems like the most natural thing to plot.
There was a bug with the overview table which prevented it to work if you haven't finished a beg game. It is fixed; should work now.If you do implement the overview table
This was due to incorrect processing of rilian clicks, fixed now, but the event counts as a left click.Here's a video where a button gets stuck in the pressed state.
Last edited by Cryslon on Tue Oct 16, 2012 11:00 am, edited 1 time in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
I've installed a cross-compiler and made a new version for Windows. Unfortunately, the DLLs used by the cross-compiler's output are different from the previous ones. The new DLLs can be downloaded here.
Last edited by Cryslon on Tue Oct 16, 2012 11:00 am, edited 2 times in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Looking good Cryslon!
However, there is a problem playing events with negative time; here's an example.
Also, I think fsweep has 3BV limits, correct? I'd like an option to turn them off. Probably a deal-breaker for me.
However, there is a problem playing events with negative time; here's an example.
Actually, Date vs. Time might be an even more natural thing to plot. IIRC clone can do that; does fsweep have that as well?Cryslon wrote:I'm unable to design the thing. The default list is too large; i made 3bv the default value of the custom counter instead.
Also, I think fsweep has 3BV limits, correct? I'd like an option to turn them off. Probably a deal-breaker for me.
Re: Freesweeper - a new cross-platform clone
I registered just to say thanks very much for undertaking this project, it's kind of amazing to me that there's never been a good clone available for Linux.
Any chance to get 64bit binaries or the source for compiling? I'd prefer not to have to install all those 32bit dependencies.
Any chance to get 64bit binaries or the source for compiling? I'd prefer not to have to install all those 32bit dependencies.
Re: Freesweeper - a new cross-platform clone
I'm not sure what you have in mind, and i'm not able to run Clone to see what it can do.CBright wrote:Actually, Date vs. Time might be an even more natural thing to plot. IIRC clone can do that; does fsweep have that as well?
Yes, it has.Also, I think fsweep has 3BV limits, correct? I'd like an option to turn them off. Probably a deal-breaker for me.
I don't think the option to turn them off is a good idea, because i think a video played in classic mode should be always legal. Why do you want to turn them off?
Do these work?aclark wrote:Any chance to get 64bit binaries or the source for compiling? I'd prefer not to have to install all those 32bit dependencies.
Last edited by Cryslon on Tue Oct 16, 2012 11:01 am, edited 1 time in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Great! Thanks!Cryslon wrote:Do these work?
Re: Freesweeper - a new cross-platform clone
A new version is ready.
I fixed the negative time bugs and added support for the Shift and Ctrl keys. I tried to imitate the behavior of MSX, but of course there may be bugs.
I also release the source, but i must warn you it's awful.
I fixed the negative time bugs and added support for the Shift and Ctrl keys. I tried to imitate the behavior of MSX, but of course there may be bugs.
I also release the source, but i must warn you it's awful.
- Attachments
-
- FS-src.zip
- Freesweeper release 6, source (without the functions handling AVF)
- (146.82 KiB) Downloaded 751 times
Last edited by Cryslon on Wed Jul 31, 2013 8:38 pm, edited 1 time in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
The x-axis records the date the record was recorded on (so the points are horizontally ordered by shade). By the way, I still can't see the first digit of the y-axis labels.Cryslon wrote:I'm not sure what you have in mind, and i'm not able to run Clone to see what it can do.CBright wrote:Actually, Date vs. Time might be an even more natural thing to plot. IIRC clone can do that; does fsweep have that as well?
Personally, I like to play boards from the true 3BV distribution. I guess I'm in the minority here though.Cryslon wrote:I don't think the option to turn them off is a good idea, because i think a video played in classic mode should be always legal. Why do you want to turn them off?
I believe only shift is supposed to activate chording — MSX used to treat ctrl like shift, but that was a bug. Oh, and I noticed the smiley doesn't update after chording before the game starts unless you use the middle button.Cryslon wrote:I fixed the negative time bugs and added support for the Shift and Ctrl keys. I tried to imitate the behavior of MSX, but of course there may be bugs.
Also, I'm getting segfaults when trying to open a video using "Load video..." on an empty board.
- Attachments
-
- diagnostics.zip
- (1.17 KiB) Downloaded 713 times
Re: Freesweeper - a new cross-platform clone
fixedthe smiley doesn't update after chording before the game starts unless you use the middle button.
To make a full-functional RawVF player, i've added density mode. These problems should be gone.I'm getting segfaults when trying to open a video using "Load video..." on an empty board.
Well, since this program is unlikely to ever become an official clone, and since anyway it's very probable that in the very near future all submissions will be automatically checked for 3bv limits (or are they already?), i've decided to add the option. A line "IgnoreBBBVLimits = 1" in ~/.freesweeper/freesweeper.settings enables it.I like to play boards from the true 3BV distribution.
Hope now these bugs are gone.I still can't see the first digit of the y-axis labels.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
I release a new version mainly designed to be a better minesweeper video player. Some new things:
- viewing Clone, Vienna and MSX videos with use of rawvf programs (mvr2rawvf is available only for Windows - and i hope Curtis doesn't object to including it in the package - on Linux you have to install wine and put mvf2rawvf.exe in /usr/bin/ manually to watch MVR)
- skins - skins for MSX are supported, for stuff not included in MSX skins there's a more stupid format, see default.fshskin in the Windows package or the data archive
- UPK mode
- board editing mode
- options that were available through manual editing may be accessed through GUI
Last edited by Cryslon on Sun Feb 02, 2014 12:49 pm, edited 4 times in total.
Go IRC! (try mibbit)
Re: Freesweeper - a new cross-platform clone
Hi,
The download link for the QT DLLs is broken... I'd really like to try it, it sounds pretty awesome, but also don't want to download all of QT4...
The download link for the QT DLLs is broken... I'd really like to try it, it sounds pretty awesome, but also don't want to download all of QT4...
Don't anthropomorphize computers - they don't like it.