Comments (4)
ok - i ran a diff between the folders and it came up with the following:
imhex-1.32.2-Windows-Portable-x86_64]$ git diff --name-status ../../Program\ Files/ImHex/ .
A ./PORTABLE
A ./config/achievements.json
A ./config/settings.json
M ../../Program Files/ImHex/workspaces/default.hexws
starting from the bottom, copying in the portable's files into the installed-dir:
-
workspaces/default.hexws
- relaunch: still crashes -
both settings files - relaunch: still crashes
-
PORTABLE
- relaunch: works, no crash -
restore
workspaces/default.hexws
- relaunch: works -
remove settings files - relaunch: works
finally:
- remove
PORTABLE
- remove
%localappdata%\imhex
=> app launches. no crash
Doing a diff in the localappdata imhex:
turns out its the config/settings.json
file ; quite a bit of differences to be fair - so i think it has to do wtih a deprecated setting causing the crash (i can probably do more research) - but really the settings loader might handle outdated entries better.
if i had to guess it is items like (old) "hex.builtin.setting.general.auto_load_patterns": 1
vs (new) "hex.builtin.setting.general.auto_load_patterns": true
from imhex.
Hey! Could you send me your settings.json file by any chance? Definitely sounds like an upgrade issue from these old versions. Should be very easy to fix if I can reproduce it
from imhex.
of the breaking one, here goes; i forget the actual version that created this (or rather the version i had running before the latest install - though i have an installer that is imhex-1.21.2-win64.msi
which is likely the one)
{
"hex.builtin.setting.folders": {
"hex.builtin.setting.folders": [],
"hex.builtin.setting.folders.description": []
},
"hex.builtin.setting.font": {
"hex.builtin.setting.font.custom_font_enable": false,
"hex.builtin.setting.font.custom_font_info": null,
"hex.builtin.setting.font.font_antialias": true,
"hex.builtin.setting.font.font_bold": false,
"hex.builtin.setting.font.font_italic": false,
"hex.builtin.setting.font.font_path": "",
"hex.builtin.setting.font.font_size": 13,
"hex.builtin.setting.font.load_all_unicode_chars": false
},
"hex.builtin.setting.general": {
"hex.builtin.setting.general.auto_backup_time": 0,
"hex.builtin.setting.general.auto_load_patterns": 1,
"hex.builtin.setting.general.context_menu_entry": 0,
"hex.builtin.setting.general.network_interface": false,
"hex.builtin.setting.general.save_recent_providers": true,
"hex.builtin.setting.general.server_contact": 2,
"hex.builtin.setting.general.show_tips": 1,
"hex.builtin.setting.general.sync_pattern_source": 0,
"hex.builtin.setting.general.upload_crash_logs": true
},
"hex.builtin.setting.hex_editor": {
"hex.builtin.setting.hex_editor.advanced_decoding": 1,
"hex.builtin.setting.hex_editor.ascii": 1,
"hex.builtin.setting.hex_editor.byte_padding": 0,
"hex.builtin.setting.hex_editor.bytes_per_row": 16,
"hex.builtin.setting.hex_editor.char_padding": 0,
"hex.builtin.setting.hex_editor.grey_zeros": 1,
"hex.builtin.setting.hex_editor.highlight_color": 1623228544,
"hex.builtin.setting.hex_editor.sync_scrolling": false,
"hex.builtin.setting.hex_editor.uppercase_hex": 1,
"hex.builtin.setting.hex_editor.visualizer": "hex.builtin.visualizer.hexadecimal.8bit"
},
"hex.builtin.setting.interface": {
"hex.builtin.setting.interface.color": 0,
"hex.builtin.setting.interface.force_borderless_window_mode": false,
"hex.builtin.setting.interface.fps": 60,
"hex.builtin.setting.interface.language": "en-US",
"hex.builtin.setting.interface.layout_locked": false,
"hex.builtin.setting.interface.multi_windows": true,
"hex.builtin.setting.interface.pattern_data_row_bg": false,
"hex.builtin.setting.interface.restore_window_pos": false,
"hex.builtin.setting.interface.scaling": 0,
"hex.builtin.setting.interface.scaling_factor": 0.0,
"hex.builtin.setting.interface.show_resource_usage": false,
"hex.builtin.setting.interface.wiki_explain_language": "en"
},
"hex.builtin.setting.proxy": {
"hex.builtin.setting.proxy.enable": false,
"hex.builtin.setting.proxy.url": ""
}
}
from imhex.
Thank you!
I made a bunch of changes to the settings interface now so it can ignore and default-initialize settings values that it doesn't understand instead of just crashing. This will be fixed in the next release (or the nightly that's being built right now if you'd like to use that)
from imhex.
Related Issues (20)
- [Bug] shouldRender produces unexpected behavior in 3D visualizer HOT 1
- [Bug] [Wasm] Failed to resolve import std/core
- [Bug] ImHex not starting on Windows HOT 2
- [Bug] Export contains pre-transformed data HOT 2
- [Bug] Crash when selecting "Open File..." on Ubuntu 22.04 HOT 4
- [Feature] Add native support for other floating point types HOT 3
- Enhancing Release Note Generation through Automation
- [Bug] The first step of interactive tutorial only shows on EN or DE interface.
- [Bug] High CPU usage in background HOT 4
- [Bug] Failed to start if any children directory under /usr/share/fonts has no permission for other user
- [Bug] Can not remove a patch
- [Bug] imhex run exit
- [Bug] Slice buffer node range excludes "To" index
- [Feature] Support for two's complement encoded integers in the Data Processor
- [Feature] Display pattern data even on failure (best effort) HOT 1
- [Bug] Requested file dialog returned an error: D-Bus file dialog interaction was ended abruptly with response code 2. HOT 1
- [Feature] vertical selection
- [Bug] Unable to enter hexadecimal as alignment HOT 1
- [Bug] ImHex crach when try to open a file HOT 2
- [Feature] base58 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imhex.