-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added DLC items from TGA tables #49
base: master
Are you sure you want to change the base?
Conversation
Could you compile this into an executable? |
Functional on my side. I'm now digging into bosses event id's. er-save-editor.zip here is the executable @oospack |
fwiw I've gotten all the other event flags on a local branch (bosses/cookbooks/maps/graces), but I haven't figured out how to map event ids to offsets into the EventFlags array in the save file to get them working |
nice! If you still didn't figure it out, share it and I'll also take a look at it. btw, I submitted a PR #52 which includes this one and adds the ability to modify dlc related stats. We can continue on it and we will just have to figure this mapping out and the project will almost be complete for the DLC |
@0xRyN Am I just stupid or why does the executable crash when I try to open it? |
Idk, works for me have no idea why |
@0xRyN Happened to me as well. I don't have any knowledge of rust whatsoever. But I feel it's erroring out while fetching the icon.png file.
|
Yeah it's a problem with the icon, this line of code to be precise. I'm not a rust developer, so I don't know how to fix it. Running the .exe straight from the zip file works for me though #[derive(RustEmbed)]
#[folder = "icon/"]
struct Asset;
let image = Asset::get("icon.png").expect("Failed to get image data").data; // Exception here |
Hey, I converted the TGA tables for the DLC items so they can be modified here
I know you mentioned here that you'll need to think about how to gate DLC content to avoid people getting banned, but I figured somebody might find this useful in the meantime.