Jump to content

GUI CVM - Coordinating Various Mods


Recommended Posts

Customization Settings

- Keys
https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
change only 'key = ...' lines
one [Key] section can have multiple 'key = ' lines

XBUTTON2 is the mouse 5th button, used for moving forward in a browser's history
VK_RBUTTON is the mouse right click button

sections you can customize:
[Key DisplayGUI]
[Key SwitchTab]
[Key Click]

the 'Key Click' will be used by all mods that use this API,
and this is the only ini file that needs to be edited

 

- GUI images
you can replace the default images used for the main gui, or leave them empty

[Resource_MenuTitle-BG]
[Resource_Menu_Tab_Outfit]
[Resource_Menu_Tab_Outfit-Unselected]
[Resource_Menu_Tab_Style]
[Resource_Menu_Tab_Style-Unselected]
[Resource_MainGUI-BG]
[Resource_MainGUI_SlotRow1-BG]
[Resource_MainGUI_SlotRow2-BG]
[Resource_MainGUI_SlotRow3-BG]
[Resource_MainGUI_SlotRow4-BG]
[Resource_SubGUI-BG]

 

- Cursor images
the first two are placeholders, but should be initialized with the 'Default' images
[Resource_Cursor]
[Resource_CursorDown]

these all need to have images, or you won't see a cursor or pointer
[Resource_CursorDefault]
[Resource_CursorDefaultDown]
[Resource_CursorPointer]
[Resource_CursorPointerDown]

 

in the [Constants] section

- click type: you may choose one of two click types

$clickType
1 = click on key up - when the key is released
0 = repeat delayed clicks while the key is pressed

$clickRepeatDelay
the number of frames to wait before a click is repeated

- gui button sizes
these values are for 'draw_2D.hlsl' coordinates
bottom-left is -1,-1; center is 0,0; top-right is 1,1

the length of X coordinates are stretched,
setting the width and height to the same value will draw a stretched image

width: {pixel width} / (1920/2)
    116 / 960 = 0.121
height: {pixel height} / (1080/2)
    116 / 540 = 0.215
$btnW = Button Width
$btnH = Button Height

$marginX = margin left-right
$marginY = margin top-bottom

I think you get the idea, there are comments in the 'main-gui.ini' for the rest

 

Edited by krunkDunk
Link to comment

I'll work on some tutorials after the holidays.

For the time being if you are attempting to make a compatible GUI by copy/pasting, you need to choose a unique mod $id

I think we should use the same method as Minazuki, a 7 digit number.

example: $id = 1234001

'1234' is unique to each modder

'001' a unique number for each of the modder's mods. A number that will increment as you create more mods

if you make a mod don't use other's IDs; I guess I'll keep a list of "4-digit modder IDs", send me a message so it's easy to update...

Spoiler
  • 3729 - Minazuki
  • 6969 - KrunkDunk
  • 4312 - look4love
  • 8713 - Lunatic Dawn

 

Edited by krunkDunk
Link to comment

Here is a simple example of a GUI for Honoka's Skin. In the future it should be improved to make sub menus for each creator's variants with nips, bush, and pussies...

Spoiler

1614869811_skinGUIHonoka.png.ca8fd44456d5433daca34deb0bac3959.png

[CVM] Skin_Selector Honoka.zip

add your preferred skins, and edit the [Resource_Skin...] sections accordingly

 

GUI Development Materials

Girl's Backgrounds for sub gui "main menu"

girls-BG.zip

 

skin creator's buttons

skins-Buttons.zip

 

Link to comment
  • 2 weeks later...
  • 3 weeks later...
  • 4 months later...
On 12/31/2021 at 9:08 PM, krunkDunk said:

Here is a simple example of a GUI for Honoka's Skin. In the future it should be improved to make sub menus for each creator's variants with nips, bush, and pussies...

  Reveal hidden contents

1614869811_skinGUIHonoka.png.ca8fd44456d5433daca34deb0bac3959.png

[CVM] Skin_Selector Honoka.zip 18.9 MB · 500 downloads

add your preferred skins, and edit the [Resource_Skin...] sections accordingly

 

GUI Development Materials

Girl's Backgrounds for sub gui "main menu"

girls-BG.zip 6.58 MB · 332 downloads

 

skin creator's buttons

skins-Buttons.zip 81.15 kB · 270 downloads

 

 

I'm sorry to ask, but has there been any updates on other girls' skins quickswitching through GUI CVM? It would be wonderful if you could switch between skins without disabling folders offscreen and pressing F10 every time...

Link to comment
2 hours ago, Nickhead said:

 

I'm sorry to ask, but has there been any updates on other girls' skins quickswitching through GUI CVM? It would be wonderful if you could switch between skins without disabling folders offscreen and pressing F10 every time...

 

I'm not working on anything at the moment, but it is on my mind.

Link to comment
  • 4 months later...
On 11/19/2022 at 4:47 AM, Tychedy said:

guicvm(1.3).zip    Gacha_Demist. 2022-09-08 (1.1.1).zip

I installed these two files and put them in the corresponding folders, but I still don't have the UI. But I can control the glass with number keys.


yeah with this mod was more user friendly. too bad there is no actual guide. ive given up on using it tbh.
i know that u can use ur own custom inputs and all but i shouldnt have to look through the .ini just to find the key binds and still not know how this mod works.
also, i wish there was an install guide so i know i installed all my mods right like for outfits and things cause how else are we supposed to know where they all go or if it even matters.

Link to comment
44 minutes ago, j_money1000 said:


yeah with this mod was more user friendly. too bad there is no actual guide. ive given up on using it tbh.
i know that u can use ur own custom inputs and all but i shouldnt have to look through the .ini just to find the key binds and still not know how this mod works.
also, i wish there was an install guide so i know i installed all my mods right like for outfits and things cause how else are we supposed to know where they all go or if it even matters.

 

Did you put "draw_2d.hlsl" to "ShaderFixes" folder ?

SS2.png

Link to comment
  • 2 months later...

love your efforts of "eliminating conflicts" between mods.

truly.

 

But the GUI is not a very good one  because when i installed it by the guide in this post it didn't worked.

and when i tried to get rid of it and get back to the hotkeys i found that it was literally POLLUTING my folders and files even it has been deleted.

It caused various problems and everything related to it have lost thier functions,including the Takao mod.Its shader and textures and even the hotkeys were all gone.1548194079_2023-07-08032821.png.747097ff8469fc9c1154c04b727504bc.png910864945_2023-07-08032507.png.e3aeb5c88b6ebbb052126e76dfc94d85.png808430105_2023-07-08032440.png.2d9413103766661983c0afcaaa80d10e.png

bro i dont know how it did that but before i installed the GUI everything was just fine.

 

So far seems that my only way to fix this is deleting everything including the game itself and download everything once more.

Oh hell no not again.

 

Any ideas to solve this mess?

屏幕截图 2023-07-08 032456.png

Edited by Y_M_CA
Link to comment
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use