Giter Site home page Giter Site logo

Saving Settings about kernal64 HOT 13 OPEN

abbruzze avatar abbruzze commented on June 6, 2024
Saving Settings

from kernal64.

Comments (13)

abbruzze avatar abbruzze commented on June 6, 2024

Thanks for your notification.
Could you please tell me which version number are you using and on which OS ?
If you're using Windows run k64.bat --shell and check if you see any error during loading. On Linux you should see any errors on the shell.
Try also to start from scratch deleting any old configuration file: go under your home directory and delete any *.config file generated by the emulator (e.g. C64.config, C128.config, etc.).

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

Using Kernal64 ver 1.8.2b2 on OSX Ventura.
No Errors on Shell. Try deleting thing as well....

from kernal64.

abbruzze avatar abbruzze commented on June 6, 2024

Unfortunately, OSX is the least tested environment.
Send me your C64.config after you have saved settings.

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

from kernal64.

abbruzze avatar abbruzze commented on June 6, 2024

Because there are no errors I need the C64.config file to try to reproduce on my laptop.

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

Archive.zip

from kernal64.

abbruzze avatar abbruzze commented on June 6, 2024

I used your C64.config file on my Windows machine.
The window size and position is in according to what is in the configuration (no zoom).
Auto-save option is enabled as well as write-on-disk option.
VIC palette is set to bright.

To skip configuration file the emulator must be run with --ignore-config-file or if while reading back the file an IOException raises (for example, if you don't have permissions to read).

Just to check this hypothesis I added a print out in case of error while reading config file.
In attachment the file kernal64.zip that must be renamed to kernal.jar and put in the lib directory.
When you restart the emulator check if the version is changed in 1.8.2b3.
kernal64.zip

Let me know.

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

it works once, but doesn't on retry?

Screenshot 2023-06-09 at 6 56 36 PM

from kernal64.

abbruzze avatar abbruzze commented on June 6, 2024

No errors on console, so it means it can read properly the config file.
Very strange indeed!
I would like to understand if the problem is for the window’s size/position only or for all the other options.
If you change, for example, the rendering type or the write on disk option, and save settings, what happen ? Are these options keep changed ?

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

Yes those options are saved and restored on load, its just the zoom and screen size that isn't...

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

Any word on this?

from kernal64.

abbruzze avatar abbruzze commented on June 6, 2024

Try disabling the custom look and feel and restore native one (even if looking at your snap, seems that l&f is native).
Edit k64.sh and modify this line:
$JAVA -server -Xms64M -Xmx128M -cp $CP -Djava.library.path=$LIB ucesoft.cbm.c64.C64 "$@"
like this:
$JAVA -server -Xms64M -Xmx128M -cp $CP -DnativeLF -Djava.library.path=$LIB ucesoft.cbm.c64.C64 "$@"

For now no other options, as I said I have no chance to debug on a Mac OS.

from kernal64.

bluecursor avatar bluecursor commented on June 6, 2024

I figured something out today with the latest beta release. That only the emulators that have a zoom option, doesn't use the coordinates saved in the config file. The k64 and kscpu64 are defaulted to use zoom 1 and the k20 is defaulted to zoom 2 so when you save k20 to zoom 1 it reopens back to zoom2.

k128 and kcbm2 have no issues.

May i suggest remove anything that deals with zoom option and remove it? or trace if zoom is ever activated on load?

from kernal64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.