Code Monkey home page Code Monkey logo

imguiredux's People

Contributors

user-grinch avatar x87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

imguiredux's Issues

Title bar width

It seems that the title bar width is not taken into account when automatic resizing is enabled, which trims long headers.
изображение

DE support?

Will you add support for GTA:SA Definitive Edition?

Cursor not appearing

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!

Strange resizing behaviour

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!

please release as zip archive

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

Game freezing with long tabs names

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:
изображение

Colour picker resets

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.

GTA:SA - DE problem with CollapsingHeader and Selectable

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();
}

Add setting slider's value in script

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!

Add support for Turkish

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! :)

reVC crashes after the 2nd alt-tabbing

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.

Support more games?

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.