user-grinch / imguiredux Goto Github PK
View Code? Open in Web Editor NEWImGui bindings for CLEO5 & CLEORedux
License: GNU General Public License v3.0
ImGui bindings for CLEO5 & CLEORedux
License: GNU General Public License v3.0
I'm downloading ImGuiRedux with the CLEO Redux installer (see cleolibrary/CLEO-Redux#37) and unzip the archive using Windows methods. It does not support 7z and I would like to minimize the dependencies.
see https://github.com/ThirteenAG/zip-release
Also if possible can you make an extra tag named x86-latest
which will be a duplicate of the most recent version. ThirteenAG made it for Ultimate ASI Loader and it's convenient to have as a permanent link
https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/tag/x64-latest
A small but unpleasant issue with colour picker resetting to black. And it seems the same can happen to some sliders. For instance, I have several sliders to set the player's position, and the user can choose to use input instead for greater precision, and when I set a value via input and then return to sliders mode again, the value keeps resetting every time I move a slider.
On behalf of Bloodriver I would like to ask to add support for Turkish letters if it is possible, so he could introduce Turkish translations for scripts.
And thank you for ImGui! :)
When using bottom left or right grabs to resize the ImGui window and dragging it to the corresponding corner, the window may go beyond the display borders. This is not a critical bug, as workarounds like resetting the window position in script exist, but it would be really nice if you manage to fix it. Thanks!
I use cleo redux to run other games. When I use the imgui command, it always does not display the interface. I can see in cleo.log that the command is indeed run, but it just does not display. This happens in multiple games (dx11 or dx12)
I've noticed that tooltip automatically adds ##FrameName##
at the end of the text for some reason:
Perhaps the reason is somewhere here, in this function.
I checked multiple times with CLEO Redux on and off, with and without every of the plugins and managed to find out that, unfortunately, with ImGui plugin reVC crashes. You can switch to another window and back again once, but on the second attempt to return to the game window it crashes, leaving no trace in the log or any other error message.
The crash is not present when the game is windowed or when the plugin is deleted.
I used to have three tabs in my menu: On foot, In vehicle, About
. Then I added General
tab as the last but one, but the game started to freeze without any log. When I use the previous tabs names or On foot, In vehicle, General
, everything works fine, including the new tab's content, but having four of them breaks the game.
Also, when I turned off auto-resizing in ImGui.Begin
, the game stopped freezing, which makes me think the issue is connected to ImGui figuring out the window size.
This is the screenshot of how the menu looks like before the freezing occurs:
Hi,
I tried to use ImGui and the collapsing header and selectable are not working for me.
I debugged and logged returning values:
18:40:25 [INFO] ["cheat-m"] wait(0)
18:40:25 [INFO] ["cheat-m"] 000000: IMGUI_BEGIN_FRAME
18:40:25 [INFO] ["cheat-m"] 000005: IMGUI_SET_CURSOR_VISIBLE
18:40:25 [INFO] ["cheat-m"] 000009: IMGUI_SET_NEXT_WINDOW_SIZE
18:40:25 [INFO] ["cheat-m"] 000019: IMGUI_BEGIN
18:40:25 [INFO] ["cheat-m"] 000084: IMGUI_COLLAPSING_HEADER
18:40:25 [INFO] ["cheat-m"] { "collapsingHeader": 7597125509927150000 }
18:40:25 [INFO] ["cheat-m"] 000008: IMGUI_SELECTABLE
18:40:25 [INFO] ["cheat-m"] 000012: IMGUI_SELECTABLE
18:40:25 [INFO] ["cheat-m"] { "selectable1": 7311146993788545000, "selectable2": 7311146993788545000 }
18:40:25 [INFO] ["cheat-m"] 000012: IMGUI_END
18:40:25 [INFO] ["cheat-m"] 000000: IMGUI_END_FRAME
18:40:25 [INFO] ["cheat-m"] wait(0)
So I can click the collapsing header and it's not closing anything at all because it always returns some weird numbers.
I've installed CLEO Redux 1.2.2:
Setup type:
Full
Selected components:
CLEO Redux
API files (unselect if you prefer to download the latest API files during the first game run)
Extensions
IniFiles 1.2
Dylib 2.0
ImGuiRedux (by Grinch_)
MemoryOperations (by ThirteenAG)
Input 1.3
Events 1.1
File Loaders
*.txt, *.text (Text files)
*.ide (Item Definition files)
Ultimate ASI Loader (by ThirteenAG)
Test script:
/// <reference path='../.config/sa.d.ts' />
import { ImGuiCond } from '../.config/enums';
CLEO.debug.trace(true);
while (true) {
wait(0);
ImGui.BeginFrame('gui');
ImGui.SetCursorVisible(true);
ImGui.SetNextWindowSize(500, 500, ImGuiCond.FirstUseEver);
ImGui.Begin('GTA: SA - Definitive Edition', true, false, false, false, false);
const collapsingHeader = ImGui.CollapsingHeader('Test 1');
log({ collapsingHeader });
if (collapsingHeader) {
const selectable1 = ImGui.Selectable('1', false);
const selectable2 = ImGui.Selectable('2', false);
log( { selectable1, selectable2 });
}
ImGui.End();
ImGui.EndFrame();
}
At times, the ImGui cursor does not appear. The only way to fix this now is to restart the game completely. If it's possible to fix this, I will be grateful!
Will you add support for GTA:SA Definitive Edition?
If it is possible, it would be nice to have an option to set a slider's current (not initial) value right in the code. It could be useful to reset a slider, for example. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.