Open XMDS opened 5 months ago
i tested imgui redux in gta definitive edition trilogy. it only works in san andreas definitive edition. it does not work in vice city and III definitive editions. please add support for these games.
Here's the code I'm using. it's the same code I used in san andreas definitive where it worked. but when i use the same code in vice city or 3 definitive edition, it does not work. the menu is running in the background i can tell, but i can't see it... because i cannot move until i press the insert (toggle menu) button.
/// <reference path=".config/vc.d.ts" />
import { ImGuiCol, KeyCode } from './.config/enums';
import { ImGuiCond, ImGuiStyleVar } from './.config/enums';
var ShowMenu = true;
while (true)
{
wait(0)
ImGui.BeginFrame("imgui_menu");
ImGui.SetCursorVisible(ShowMenu);
if (ShowMenu)
{
ImGui.SetNextWindowSize(900, 1200, ImGuiCond.FirstUseEver);
ImGui.Begin("Grand Theft Auto: Vice City - The Definitive Edition", ShowMenu, 0, 0, 0, 0);
let tab = ImGui.Tabs("TabBar", "Main,Weapon,Vehicle,Credits")
if (tab == 0)
{
}
if (tab == 1)
{
}
if (tab == 2)
{
}
if (tab == 3)
{
}
ImGui.End();
}
ImGui.EndFrame();
if (Pad.IsKeyPressed(KeyCode.Insert)) {
while (Pad.IsKeyPressed(KeyCode.Insert)) {
wait(0);
}
ShowMenu = !ShowMenu;
}
}
Edit: the menu seems to be drawing now in gta 3 after i rolled back my Nvidia driver to 552.44. it's the older nvidia driver that was released in May 2024. the menu is still a bit buggy, but at least it draws and i can see it
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)