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] Processing Advanced Data Information fails HOT 1
- [Bug] Import menu disabled on read-only files HOT 2
- [Bug] Auto-load supported pattern not working anymore
- [Feature] Reload file button HOT 2
- [Feature] Selection size HOT 1
- Add exception stacktraces HOT 1
- [Bug] Scroll position when moving or selecting bytes down in hex editor using arrow keys HOT 3
- [Bug] "Save As..." Modifies Both the New File and the Original File HOT 1
- [Bug] Data loss, because confirmation dialog logic is inverted
- [Bug] Invalid loop sized array segfault
- [Bug] Endian pragma ignored HOT 3
- [Bug] Bookmarks highlighting is not updating
- [Feature] Open file from CMD and auto go to offset
- [Feature] LZ4 Compressed Bytes HOT 3
- [Bug] Denying server contact in initial wizard still keeps crash reports uploads enabled HOT 1
- [Bug] Setting base address causes Data Inspector and copying issues
- [Bug] Ctrl+G results selection lost after closing GoTo window with Escape
- [Bug] Export selection to file processes for ever at full CPU load.
- [Bug] Why can't I JUMP to a FUCKING address
- [Bug] The "parent" keyword isn't always parsed in patterns HOT 4
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.