YZF_Sudoku

Programs which generate, solve, and analyze Sudoku puzzles

Re: YZF_Sudoku

Postby ghfick » Mon May 18, 2020 3:10 pm

Up to version 608, YZF_Sudoku will run with wine on Macs and Linux boxes. However, if one attempts to use "Open Puzzle File", there is trouble. One does get a dialogue box showing the current directory and any text files listed there. But as soon as you click on one of the .txt files, YZF_Sudoku crashes. Even if you attempt to copy and paste, when you try to paste, YZF_Sudoku crashes. You can use ''Find All Steps" followed by clicking the 'All Possible Steps' tab, to see alternate next moves.
Now, with 609 and 610, the same crashing occurs as with 608. Unfortunately, if you attempt to use "Find All Steps" followed by clicking the "All Possible Steps" tab, YZF_Sudoku will usually freeze [but not all the time?]. If YZF_Sudoku freezes, the lower dialogue box flickers and sometimes YZF_Sudoku remains frozen or sometimes it will continue after a wait of 30 seconds or longer. If YZF remains frozen, the only thing you can do is use 'Force Quit' . Also, with 609 and 610, if you attempt to use the "Preferences" tab to view or revise the step order, you then cannot use 'Auto Solve' or 'Find All Steps' as in both cases an odd error message appears.
For all versions [608, 609, 610] puzzle generation [using the box with the red + sign] works well.
Manual entry of a puzzle is imperfect too. As you try to enter a given in a cell, YZF will sometimes attempt to place an incorrect given. Then you must click to remove the incorrect given to set the desired given.
btw Cut/Copy and Paste do work well with both Sudoku Explainer [SE] and XSudo using wine. In fact, SE and XSudo work 'flawlessly' with wine [as far as I can tell]
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby yzfwsf » Tue May 19, 2020 2:20 am

ghfick wrote:Manual entry of a puzzle is imperfect too. As you try to enter a given in a cell, YZF will sometimes attempt to place an incorrect given. Then you must click to remove the incorrect given to set the desired given.

Because I don't have Linux or Mac, I can't test the clipboard and read files. However, for manual input, if there is an error, it should be that the correct candidate area is not clicked.You can also use the combination of direction key and number to replace the mouse function. The clues can be keyed in by number key, the clues can be deleted by delete key, and the candidates state can be toggled by Ctrl + number key and Use the arrow keys to switch hotspot cells.
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby ghfick » Tue May 19, 2020 6:33 pm

Nice feature. I had not noticed that you could click on a particular candidate in a cell to enter it as a given/clue.
Clearly not an 'imperfection'. Thanks.
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby yzfwsf » Wed May 20, 2020 1:06 am

ghfick wrote:btw Cut/Copy and Paste do work well with both Sudoku Explainer [SE] and XSudo using wine. In fact, SE and XSudo work 'flawlessly' with wine [as far as I can tell]

SE is a Java application, XSUDO uses QT GUI framework, Notepad + + uses GTK framework, so they can run correctly in wine, and my solver is developed using Windows native API, maybe I need to learn GTK
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby ghfick » Wed May 20, 2020 10:54 pm

Right. The original SE is a Java application as are the revised by Sunnie and Tarek. HoDoKu is a Java application too. An advantage of Java applications is that they seem to run on almost all machines. To my knowledge, there is no Java for tablets though. I will attempt to determine the requirements for an .exe to run within Wine. Right now, all I know is that some do and some don't.
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby ghfick » Wed May 20, 2020 11:04 pm

I would be helpful to know why 608 runs well [apart of cut/copy/paste] while 609 and 610 have many issues [with Wine]. It may be selfish of me, but I would rather steps are added to 608 without the added features in 609 and 610. I remain solely interested in 'regular' Sudoku and not Sukaku. I really like to use 'All Possible Steps' as a strong learning tool for me. I can appreciate that you may not want to return to 608. Your work is so fine but I do not think I could ever return to MSWindows.
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby yzfwsf » Wed May 20, 2020 11:22 pm

Hi ghfick:
Can you copy and paste inside the solver? You can copy it first, then let the program generate a new puzzle, and then paste it, so as to confirm whether the function is normal?
Thanks.

ghfick wrote:I would be helpful to know why 608 runs well [apart of cut/copy/paste] while 609 and 610 have many issues [with Wine]. It may be selfish of me, but I would rather steps are added to 608 without the added features in 609 and 610. I remain solely interested in 'regular' Sudoku and not Sukaku. I really like to use 'All Possible Steps' as a strong learning tool for me. I can appreciate that you may not want to return to 608. Your work is so fine but I do not think I could ever return to MSWindows.

Since I don't have a relevant test environment, and now the solver has about 20000 lines of code, it's not easy to find the problem.
Last edited by yzfwsf on Wed May 20, 2020 11:30 pm, edited 1 time in total.
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby ghfick » Wed May 20, 2020 11:30 pm

I tried Copy Givens. Then I generated a new puzzle. Then I tried Paste. I got :

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00332d35).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:100f GS:000f
EIP:00332d35 ESP:0145edb8 EBP:0145edd0 EFLAGS:00010216( R- -- I -A-P- )
EAX:0034abec EBX:01147988 ECX:00000000 EDX:00000000
ESI:00000000 EDI:00000000
Stack dump:
0x0145edb8: 7ffb0000 7ffb01bc 01147988 00487d4d
0x0145edc8: 0001005e 00000000 0145eddc 00334c4a
0x0145edd8: 00000000 0145ee00 0040bae2 00000000
0x0145ede8: 01148ae0 00000001 01147988 0041302b
0x0145edf8: 0145f658 01147988 0145f668 004130ed
0x0145ee08: 0145f658 01147988 00000000 00000000
0201: sel=100f base=7ffb0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x00332d35 in wsfsolver (+0x2d35) (0x0145edd0)
1 0x00334c4a in wsfsolver (+0x4c49) (0x0145eddc)
2 0x0040bae2 in yzf_sudoku (+0xbae1) (0x0145ee00)
3 0x004130ed in yzf_sudoku (+0x130ec) (0x0145f668)
4 0x004a6600 in yzf_sudoku (+0xa65ff) (0x0145f698)
5 0x7bc74dea call_thread_func+0x89() in ntdll (0x0145f718)
6 0x7bc727d2 call_thread_entry_point+0x11() in ntdll (0x0145f738)
7 0x7bc7d92c start_thread+0xcb() in ntdll (0x0145ff88)
8 0x963bfa26 _pthread_body+0x89() in libsystem_pthread.dylib (0x0145ffa8)
9 0x963bf99c _pthread_start+0x9a() in libsystem_pthread.dylib (0x0145ffc8)
10 0x963bcf96 thread_start+0x21() in libsystem_pthread.dylib (0x0145ffec)
0x00332d35: movsbl 0x0(%edi),%eax
Modules:
Module Address Debug info Name (260 modules)
PE 330000- 35a000 Export wsfsolver
PE 400000- f14000 Export yzf_sudoku
PE 10000000-1005a000 Deferred skfrdll
PE 40001000-401b6000 Deferred libwine.1.0.dylib
ELF 41a82000-41aff000 Deferred advapi32<elf>
\-PE 41a90000-41ae5000 \ advapi32
ELF 41d0a000-41d63000 Deferred vbscript<elf>
\-PE 41d10000-41d56000 \ vbscript
ELF 41f0d000-41f28000 Deferred version<elf>
\-PE 41f10000-41f26000 \ version
ELF 41f28000-41fae000 Deferred shlwapi<elf>
\-PE 41f30000-41f87000 \ shlwapi
ELF 41fae000-41ff4000 Deferred winspool<elf>
\-PE 41fb0000-41fea000 \ winspool
ELF 44111000-44231000 Deferred comctl32<elf>
\-PE 44120000-44207000 \ comctl32
ELF 44231000-4438b000 Deferred user32<elf>
\-PE 44240000-44342000 \ user32
ELF 4438b000-444af000 Deferred gdi32<elf>
\-PE 44390000-44442000 \ gdi32
ELF 444af000-445b8000 Deferred comdlg32<elf>
\-PE 444c0000-44596000 \ comdlg32
ELF 445b8000-4481c000 Deferred shell32<elf>
\-PE 445c0000-447d7000 \ shell32
ELF 4481c000-448ba000 Deferred gdiplus<elf>
\-PE 44820000-44893000 \ gdiplus
ELF 448ba000-449f7000 Deferred oleaut32<elf>
\-PE 448c0000-449a2000 \ oleaut32
ELF 449f7000-44b43000 Deferred ole32<elf>
\-PE 44a00000-44afe000 \ ole32
ELF 44b43000-44bd7000 Deferred rpcrt4<elf>
\-PE 44b50000-44bb3000 \ rpcrt4
ELF 44bd7000-44c89000 Deferred msvcrt<elf>
\-PE 44be0000-44c62000 \ msvcrt
PE 44c89000-44d10000 Deferred libfreetype.6.dylib
PE 44d10000-44d41000 Deferred libpng16.16.dylib
ELF 44d41000-44d67000 Deferred imm32<elf>
\-PE 44d50000-44d61000 \ imm32
ELF 44d67000-44e0a000 Deferred winemac<elf>
\-PE 44d70000-44de1000 \ winemac
ELF 44e82000-44ebe000 Deferred uxtheme<elf>
\-PE 44e90000-44eb6000 \ uxtheme
ELF 44ec7000-44eec000 Deferred msftedit<elf>
\-PE 44ed0000-44ee0000 \ msftedit
ELF 46e1f000-46e66000 Deferred usp10<elf>
\-PE 46e30000-46e60000 \ usp10
ELF 7ac00000-7ac87000 Deferred riched20<elf>
\-PE 7ac10000-7ac69000 \ riched20
ELF 7b800000-7ba78000 Deferred kernel32<elf>
\-PE 7b810000-7ba3b000 \ kernel32
ELF 7bc00000-7bcec000 Stabs ntdll<elf>
\-PE 7bc10000-7bcb0000 \ ntdll
ELF 7bf00000-82001000 Deferred <wine-loader>
PE 90010000-90015000 Deferred libcache.dylib
PE 90015000-9002c000 Deferred liblinearalgebra.dylib
PE 9002c000-90067000 Deferred mediakit
PE 90067000-90110000 Deferred libcorestorage.dylib
PE 90110000-9011a000 Deferred diskarbitration
PE 9011a000-9011e000 Deferred libpam.2.dylib
PE 9011e000-90123000 Deferred libgif.dylib
PE 90123000-90126000 Deferred libquarantine.dylib
PE 90126000-90523000 Deferred coregraphics
PE 90523000-90547000 Deferred libjpeg.dylib
PE 90548000-90549000 Deferred libenergytrace.dylib
PE 9055b000-90568000 Deferred libcsfde.dylib
PE 90568000-9057a000 Deferred libbsm.0.dylib
PE 9057a000-90598000 Deferred libcrfsuite.dylib
PE 90d1c000-90f3b000 Deferred libicucore.a.dylib
PE 90f3b000-91027000 Deferred libvmisc.dylib
PE 91027000-910a7000 Deferred iokit
PE 912cf000-912dd000 Deferred speechsynthesis
PE 912dd000-912e7000 Deferred libcopyfile.dylib
PE 912e7000-912f1000 Deferred libsystem_networkextension.dylib
PE 912f1000-91349000 Deferred hiservices
PE 91349000-913bd000 Deferred ats
PE 913bd000-913c1000 Deferred libextension.dylib
PE 913c1000-913d5000 Deferred sharing
PE 913d5000-913e0000 Deferred libsystem_notify.dylib
PE 91d3a000-91d40000 Deferred libmacho.dylib
PE 91e3c000-91f56000 Deferred desktopservicespriv
PE 91f56000-91f97000 Deferred applejpeg
PE 91f97000-91fa4000 Deferred libkxld.dylib
PE 91fa8000-91fdf000 Deferred corevideo
PE 920a1000-920ac000 Deferred carbonsound
PE 920ad000-920d1000 Deferred libc++abi.dylib
PE 9214b000-9214e000 Deferred libcgxtype.a.dylib
PE 92152000-921e7000 Deferred performanceanalysis
PE 92238000-92251000 Deferred libsparseblas.dylib
PE 92251000-9225b000 Deferred libgfxshared.dylib
PE 92b22000-92b2e000 Deferred libchinesetokenizer.dylib
PE 92b2e000-92b55000 Deferred multitouchsupport
PE 92b55000-92baf000 Deferred ae
PE 92bba000-92bce000 Deferred libcmph.dylib
PE 92bce000-92bdc000 Deferred libbz2.1.0.dylib
PE 92c89000-92c8a000 Deferred applicationservices
PE 92c96000-92ca2000 Deferred libcommoncrypto.dylib
PE 92ca2000-92e28000 Deferred uifoundation
PE 92e79000-92e7c000 Deferred libradiance.dylib
PE 92e7c000-92ff6000 Deferred audiotoolbox
PE 935de000-93609000 Deferred libdispatch.dylib
PE 93609000-93610000 Deferred libsystem_platform.dylib
PE 937b7000-93911000 Deferred libblas.dylib
PE 93911000-93b4b000 Deferred libfosl_dynamic.dylib
PE 93b4b000-93c3c000 Deferred diskimages
PE 93c3c000-93c40000 Deferred libsystem_sandbox.dylib
PE 93c40000-93c41000 Deferred audiounit
PE 93c41000-93d93000 Deferred coreui
PE 93d93000-93d99000 Deferred print
PE 93d99000-93d9b000 Deferred libremovefile.dylib
PE 93d9b000-93e03000 Deferred libcorecrypto.dylib
PE 93e03000-93e2a000 Deferred libpng.dylib
PE 93f61000-93fd4000 Deferred corewlan
PE 93fd4000-94088000 Deferred iobluetooth
PE 94088000-94127000 Deferred colorsync
PE 94127000-94128000 Deferred liblaunch.dylib
PE 9418d000-941dd000 Deferred opencl
PE 941dd000-941de000 Deferred veclib
PE 941de000-942ca000 Deferred unorm8_bgra.dylib
PE 94686000-9491f000 Deferred security
PE 9491f000-9497b000 Deferred printcore
PE 9497b000-9497d000 Deferred liblangid.dylib
PE 9497d000-9498f000 Deferred libsystem_trace.dylib
PE 9498f000-949f3000 Deferred systemconfiguration
PE 949f3000-94a95000 Deferred ink
PE 94a95000-94aac000 Deferred libcompression.dylib
PE 94e6b000-94e8a000 Deferred libresolv.9.dylib
PE 94e8a000-94ea2000 Deferred libmarisa.dylib
PE 950a4000-950ce000 Deferred librip.a.dylib
PE 9511a000-95164000 Deferred sharedfilelist
PE 95165000-9516f000 Deferred applesrp
PE 9516f000-95172000 Deferred loginsupport
PE 95172000-951b2000 Deferred libglimage.dylib
PE 9521a000-95220000 Deferred libcompiler_rt.dylib
PE 95228000-9529e000 Deferred searchkit
PE 9529e000-952ac000 Deferred speechrecognitioncore
PE 952ac000-9539e000 Deferred libiconv.2.dylib
PE 9539e000-953b4000 Deferred libcginterfaces.dylib
PE 953b4000-9544a000 Deferred libsystem_c.dylib
PE 9544a000-9544d000 Deferred libsystem_secinit.dylib
PE 9544d000-95542000 Deferred libxml2.2.dylib
PE 95574000-95673000 Deferred launchservices
PE 956df000-956ef000 Deferred libxar.1.dylib
PE 956ef000-95b22000 Deferred facecore
PE 95b22000-95b66000 Deferred metal
PE 95b66000-95b91000 Deferred libsystem_info.dylib
PE 95bf0000-95c24000 Deferred libsystem_m.dylib
PE 95c24000-95cc5000 Deferred qd
PE 95cc5000-95dc6000 Deferred libfontparser.dylib
PE 95dc6000-95dc7000 Deferred libsystem_blocks.dylib
PE 95dd4000-95dec000 Deferred libsystem_coretls.dylib
PE 95ded000-95df4000 Deferred ioaccelerator
PE 95df4000-95edb000 Deferred unorm8_rgba.dylib
PE 95edb000-95f19000 Deferred debugsymbols
PE 95f1d000-95f22000 Deferred libheimdal-asn1.dylib
PE 95f22000-95f54000 Deferred dictionaryservices
PE 95f54000-95f5e000 Deferred commonauth
PE 95f5e000-96063000 Deferred libjp2.dylib
PE 96066000-96098000 Deferred coreservicesinternal
PE 963ab000-963bc000 Deferred langanalysis
PE 963bc000-963c5000 Stabs libsystem_pthread.dylib
PE 963c5000-96405000 Deferred navigationservices
PE 96da8000-96df1000 Deferred libfontregistry.dylib
PE 97362000-97382000 Deferred generationalstorage
PE 97382000-97387000 Deferred iosurface
PE 97393000-9743f000 Deferred languagemodeling
PE 9743f000-97453000 Deferred libsasl2.2.dylib
PE 97453000-9745c000 Deferred coredaemon
PE 9745c000-974c0000 Deferred osservices
PE 974c0000-9758a000 Deferred discrecording
PE 975fb000-9762f000 Deferred gss
PE 9762f000-97ac4000 Deferred corefoundation
PE 97ac4000-97ac7000 Deferred efilogin
PE 97ac7000-97b09000 Deferred libauto.dylib
PE 97b09000-97bf9000 Deferred libcrypto.0.9.8.dylib
PE 97bf9000-97c50000 Deferred libcups.2.dylib
PE 97c50000-97c59000 Deferred libsystem_dnssd.dylib
PE 97c59000-97e2d000 Deferred imageio
PE 97e2d000-97e31000 Deferred help
PE 97e31000-97e86000 Deferred coreaudio
PE 97e8d000-97ef9000 Deferred corewifi
PE 97ef9000-97f56000 Deferred libtiff.dylib
PE 97f56000-98012000 Deferred backup
PE 98012000-9801b000 Deferred fsevents
PE 98025000-982c9000 Deferred libmecabra.dylib
PE 982c9000-982ca000 Deferred libopenscriptingutil.dylib
PE 982ca000-982ce000 Deferred libcorefscache.dylib
PE 982ce000-982cf000 Deferred accelerate
PE 982cf000-982d3000 Deferred libutil.dylib
PE 982d3000-98faf000 Deferred appkit
PE 98fb2000-98fb6000 Deferred libscreenreader.dylib
PE 98fb6000-98fbf000 Deferred netfs
PE 98fc2000-99036000 Deferred datadetectorscore
PE 9914e000-99150000 Deferred trustevaluationagent
PE 9917e000-99193000 Deferred corebluetooth
PE 991a1000-991a2000 Deferred libkeymgr.dylib
PE 991ec000-991ef000 Deferred securityhi
PE 991ef000-9954b000 Deferred libobjc.a.dylib
PE 9954b000-9954c000 Deferred libmetal_timestamp.dylib
PE 9954c000-995de000 Deferred coresymbolication
PE 99632000-99636000 Deferred libdyld.dylib
PE 99636000-9965f000 Deferred iconservices
PE 9966b000-9967a000 Deferred opengl
PE 9967a000-99694000 Deferred kerberos
PE 99694000-9973c000 Deferred metadata
PE 9973c000-997b7000 Deferred heimdal
PE 9992d000-9997d000 Deferred libcurl.4.dylib
PE 999e7000-99b0d000 Deferred coretext
PE 99b0d000-99b17000 Deferred findmydevice
PE 99b17000-99b24000 Deferred crashreportersupport
PE 99b26000-99b55000 Deferred libarchive.2.dylib
PE 99b55000-99b57000 Deferred libsystem.b.dylib
PE 99b57000-99b5e000 Deferred libunwind.dylib
PE 99b5e000-99bb3000 Deferred symbolication
PE 99bb3000-99f8e000 Deferred liblapack.dylib
PE 99f8e000-99faf000 Deferred libsystem_kernel.dylib
PE 99fb2000-99ff6000 Deferred libglu.dylib
PE 99ff6000-9a01a000 Deferred apple80211
PE 9a01a000-9a03d000 Deferred protectedcloudstorage
PE 9a048000-9a071000 Deferred libxpc.dylib
PE 9a071000-9a0c7000 Deferred htmlrendering
PE 9a0c7000-9a0d6000 Deferred libz.1.dylib
PE 9a1fe000-9a1ff000 Deferred carbon
PE 9a213000-9a27d000 Deferred libsystem_network.dylib
PE 9a27d000-9a27f000 Deferred libdiagnosticmessagesclient.dyli
PE 9a27f000-9a282000 Deferred libsystem_configuration.dylib
PE 9a282000-9a7b1000 Deferred vimage
PE 9a7e1000-9a7fc000 Deferred liblzma.5.dylib
PE 9a7fc000-9a819000 Deferred openscripting
PE 9a857000-9a871000 Deferred libsystem_malloc.dylib
PE 9a889000-9a8a5000 Deferred cfopendirectory
PE 9a903000-9a91d000 Deferred libsystem_asl.dylib
PE 9a92a000-9a936000 Deferred netauth
PE 9a936000-9abf2000 Deferred rawcamera
PE 9abf2000-9ac03000 Deferred libgl.dylib
PE 9b25c000-9b5e0000 Deferred foundation
PE 9b5e0000-9b723000 Deferred libvdsp.dylib
PE 9b723000-9b728000 Deferred commonpanels
PE 9b728000-9b72e000 Deferred tcc
PE 9b72e000-9b737000 Deferred libcldcpuengine.dylib
PE 9b737000-9b91a000 Deferred quartzcore
PE 9bbad000-9bbd8000 Deferred libxslt.1.dylib
PE 9bbd8000-9bc15000 Deferred remoteviewservices
PE 9bc15000-9bed2000 Deferred coredata
PE 9bed2000-9c29a000 Deferred hitoolbox
PE 9c29a000-9c4be000 Deferred coreimage
PE 9c4be000-9c4c1000 Deferred libsystem_coreservices.dylib
PE 9c4c1000-9c4c5000 Deferred libcorevmclient.dylib
PE 9c4c5000-9c4c8000 Deferred libcvmspluginsupport.dylib
PE 9c4c8000-9c4cf000 Deferred speechrecognition
PE 9cec3000-9cec4000 Deferred libunc.dylib
PE 9cec4000-9cfeb000 Deferred libsqlite3.dylib
PE 9cfeb000-9cff9000 Deferred opendirectory
PE 9e14f000-9e3de000 Deferred cfnetwork
PE 9e5f8000-9e5f9000 Deferred coreservices
PE 9e5f9000-9e600000 Deferred imagecapture
PE 9e600000-9e8fc000 Deferred carboncore
PE 9e8fc000-9e973000 Deferred securityfoundation
PE 9ec1b000-9ec72000 Deferred libc++.1.dylib
PE 9ed2d000-9ed31000 Deferred servicemanagement
PE 9ed31000-9ed6c000 Deferred ldap
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\Users\gordon\Documents\sudoku\yzf\YZF_Sudoku_608\YZF_Sudoku.exe
0000002b 0 <==
00000009 0
0000000e services.exe
0000001e 0
0000001d 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000018 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001f 0
0000001b 0
00000021 explorer.exe
00000025 0
00000024 0
00000023 0
00000022 0
System information:
Wine build: wine-1.8-rc4
Platform: i386
Version: Windows XP
Host system: Darwin
Host version: 15.3.0
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby yzfwsf » Wed May 20, 2020 11:33 pm

Can you copy puzzle from solver and then paste them in other programs?
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby yzfwsf » Thu May 21, 2020 8:59 am

1.Fix bug of extend rectangle technique in sukaku.
2.Modify the method of opening the puzzle file. Now use the standard library function of C language to see if it can run correctly in Wine. The clipboard does not find an effective method. It is estimated that a cross platform framework needs to be replaced.

Please download the two files at the same time and put them in the same directory, remove ". 7z" at the end of each file name, and then decompress them.Replace old version exe file.
YZF_Sudoku.610v2.001.7z
(256 KiB) Downloaded 184 times
YZF_Sudoku.610v2.002.7z
(149.67 KiB) Downloaded 215 times
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby denis_berthier » Thu May 21, 2020 1:46 pm

ghfick wrote:Up to version 608, YZF_Sudoku will run with wine on Macs and Linux boxes.

Except that wine doesn't work on the latest MacOS, i.e. Catalina. The main reason seems to be that Wine is 32-bit and Catalina is 64-bit only.
denis_berthier
2010 Supporter
 
Posts: 4238
Joined: 19 June 2007
Location: Paris

Re: YZF_Sudoku

Postby ghfick » Thu May 21, 2020 7:05 pm

I tried 'Copy Givens' and 'Copy Values' in 608. In both cases, HoDoKu correctly 'sees' this when one pastes. [as does 'Phil's Folly!]
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

Re: YZF_Sudoku

Postby eleven » Fri May 22, 2020 10:09 am

yzfwsf wrote:2.Modify the method of opening the puzzle file. Now use the standard library function of C language to see if it can run correctly in Wine. The clipboard does not find an effective method. It is estimated that a cross platform framework needs to be replaced.

Hi yzfwsf,

as i said, reading the file has not been a problem before, but handling the puzzle string in it.

Backtrace:
=>0 0x004c5af7 Grade@12+0x54b() in yzf_sudoku (0x0033dec8)
1 0x004c9501 Grade@12+0x3f54() in yzf_sudoku (0x0033def8)
2 0x00488651 EntryPoint+0x87190() in yzf_sudoku (0x0033e2f0)

Same, if i "Save givens" and then open the file with the candidates grid. It is read correctly, but crashes, when pressing the Ok button.
Attachments
file_read.png
file_read.png (7 KiB) Viewed 915 times
eleven
 
Posts: 3173
Joined: 10 February 2008

Re: YZF_Sudoku

Postby yzfwsf » Sat May 23, 2020 2:28 pm

eleven wrote:Same, if i "Save givens" and then open the file with the candidates grid. It is read correctly, but crashes, when pressing the Ok button.


Hi all:
Remove the regular expression library dependency and replace it with string processing function. I think it's possible to copy and paste in wine now. Please test it. I'm looking forward to your successful message. Thank you
Hi Gordon: please download again.

Please download the two files at the same time and put them in the same directory, remove ". 7z" at the end of each file name, and then decompress them.Replace old version exe file.


YZF_Sudoku610V4.7z.001.7z
(256 KiB) Downloaded 233 times
YZF_Sudoku610V4.7z.002.7z
(139.66 KiB) Downloaded 180 times
Last edited by yzfwsf on Sat May 23, 2020 6:40 pm, edited 1 time in total.
yzfwsf
 
Posts: 921
Joined: 16 April 2019

Re: YZF_Sudoku

Postby ghfick » Sat May 23, 2020 4:59 pm

Success when the missing given is a dot/period .
For example :
9..7..6..75.....8...6..8....4..3......78...5.......4....96...7...847.56......2..1

If the missing given is zero 0, 610V4 incorrectly places.
For example :
900700600750000080006008000040030000007800050000000400009600070008470560000002001
Both 81 digit strings are in common use.
ghfick
 
Posts: 233
Joined: 06 April 2016
Location: Calgary, Alberta, Canada youtube.com/@gordonfick

PreviousNext

Return to Software