diff --git a/.vscode/launch.json b/.vscode/launch.json index 9f57746..dd8dffe 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -23,6 +23,29 @@ "text": "-gdb-set disassembly-flavor intel" } ] + }, + { + "name": "Release", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build-release/anm2ed", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing" + }, + { + "description": "Set disassembly flavor to Intel", + "text": "-gdb-set disassembly-flavor intel" + } + ] } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index dff56b4..98e27be 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -12,6 +12,15 @@ "problemMatcher": [ "$gcc" ] + }, + { + "label": "build-release", + "type": "shell", + "command": "cmake -S . -B build-release -DCMAKE_BUILD_TYPE=Release && cmake --build build-release --target anm2ed", + "group": "build", + "problemMatcher": [ + "$gcc" + ] } ] -} \ No newline at end of file +} diff --git a/README.md b/README.md index 5348735..8cfeff9 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,37 @@ # Anm2Ed -![Preview](https://shweetz.net/files/projects/anm2ed/screenshot.png) +![Preview](https://shweetz.net/files/projects/anm2ed/preview2.png) A reimplementation of *The Binding of Isaac: Rebirth*'s proprietary animation editor. Manipulates the XML-based ".anm2" format, used for in-game tweened animations. ## Features - Extended version of the original proprietary Nicalis animation editor -- Smooth [Dear ImGui](https://github.com/ocornut/imgui) interface; docking, dragging and dropping, etc. You might be familiar with it from (Repentogon). +- Smooth [Dear ImGui](https://github.com/ocornut/imgui) interface; docking, dragging and dropping, etc. You might be familiar with it from [Repentogon](https://repentogon.com/). +- Greatly polished in many areas, to assist with all your animating needs - New features + - Additional hotkeys/shortcuts (rebindable!) + - Additional wizard options + - Broadened sound support - Can output .webm, .mp4 or *.png sequence (wih FFmpeg) - Cutting, copying and pasting - - Additional wizard options - - Robust snapshot (undo/redo) system - - Additional hotkeys/shortcuts (rebindable!) - Onionskinning + - Robust snapshot (undo/redo) system + - Selecting multiple frames at a time - Settings that will preserve on exit (stored in %APPDATA% on Windows or ~/.local/share on Linux) - - Broadened sound support ### Note: Rendering Animations -You will need FFmpeg installed! Get it from [here](https://ffmpeg.org/download.html), and point to the downloaded ffmpeg executable within the program! +You will need FFmpeg installed to output GIF/video! Get it from [here](https://ffmpeg.org/download.html), and point to the downloaded ffmpeg executable within the program! -## Dependencies -Download these from your package manager: -- SDL3 - ## Build -### Windows - -Visual Studio is recommended; make sure your installation has "Desktop development with C++" and ".NET desktop development" workloads. - -Install and configure [vcpkg](https://vcpkg.io/en/). - -Build should be straightforward from there. - -### Linux - After cloning and enter the repository's directory, make sure to initialize the submodules: ```git submodule update --init --recursive``` -Then: +### Windows +Visual Studio is recommended for build. + +### Linux ``` mkdir build diff --git a/workshop/metadata.xml b/workshop/metadata.xml index 489c749..90116ac 100644 --- a/workshop/metadata.xml +++ b/workshop/metadata.xml @@ -8,41 +8,38 @@ [h2]Anm2Ed[/h2] -[img]https://files.catbox.moe/3bj6za.png[/img] +[img]https://shweetz.net/files/projects/anm2ed/preview2.png[/img] A reimplementation of [i]The Binding of Isaac: Rebirth[/i]'s proprietary animation editor. Manipulates the XML-based ".anm2" format, used for in-game tweened animations. [h2]Features[/h2] [list] [*] Extended version of the original proprietary Nicalis animation editor -[*] Smooth [url=https://github.com/ocornut/imgui]Dear ImGui[/url] interface; docking, dragging and dropping, etc. You might be familiar with it from [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3127536138]Repentogon[/url]. -[*] New to this editor: +[*] Smooth [Dear ImGui](https://github.com/ocornut/imgui) interface; docking, dragging and dropping, etc. You might be familiar with it from [Repentogon](https://repentogon.com/). +[*] Greatly polished in many areas, to assist with all your animating needs +[*]New features: [list] -[*] Can output .webm. .mp4 or *.png sequence (with FFmpeg) -[*] Cutting, copying and pasting frames/animations -[*] Additional wizard options -[*] Robust snapshot (undo/redo) system [*] Additional hotkeys/shortcuts (rebindable!) +[*] Additional wizard options +[*] Broadened sound support +[*] Can output .webm, .mp4, spritesheet, or *.png sequence (wih FFmpeg) +[*] Cutting, copying and pasting [*] Onionskinning +[*] Robust snapshot (undo/redo) system +[*] Selecting multiple frames at a time [*] Settings that will preserve on exit (stored in %APPDATA% on Windows or ~/.local/share on Linux) -[/list] -[/list] - -[h3]Note: Difference from Nicalis editor[/h3] -Layers/nulls are handled differently (in their own window) and are not on the timeline! Add a layer/null in the Layers/Nulls window, and then add a LayerAnimation/NullAnimation in the timeline! [h3]Note on Rendering Animations[/h3] You will need FFmpeg installed! Get it from [url=https://ffmpeg.org/download.html]here[/url] and point to the downloaded ffmpeg executable within the program! [h2]Download (Windows)[/h2] https://github.com/ShweetsStuff/anm2ed/releases -Extract with 7z and run .exe. Check that you have the latest [url=https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170]Microsoft C++ redistributable[/url] (if you play a lot of games on Steam, you likely will have it). Alternatively, if you have subscribed to the mod, you can find the latest release inside the "resources" folder. Once downloaded, you can put it wherever you want. [h3]Happy animating![/h3] [img]https://files.catbox.moe/4auc1c.gif[/img] - 1.3 + 2.0 Public