L-Leite / cso2-launcher

A custom launcher for CSO2
MIT License
113 stars 56 forks source link

GFX console? #94

Closed organnerx closed 5 months ago

organnerx commented 3 years ago

@L-Leite hello. I see that you have implemented Source console. That's nice. I want to point out that there is already a CSO2 console in game built in GFX file. It is also fully designed and animated. Have you tested it? Does it even work or it was not used by Nexon? I think it can be opened by modifying GFX file or by patching the engine. You can take a look at it if you want to. Screenshot of GFX: usually scripts that starts with "CSO..." are related to old UI. And there are 2 of them. So I think the console was created for old UI (CSOConsoleApp) and for new UI (systemConsoleApp). unknown

L-Leite commented 3 years ago

CSOConsole is a debug console for the scaleform UI, it allows you test and profile some UI components with it you can enable it by editing the P-Code of CSO2UI::setupUI with JPEXS decompiler: move the call to this.uiConsole.fnConsoleOpen(); out of the if(Extensions.isGFxPlayer) statement it looks like this: screenshot

ADVABonnie commented 3 years ago

@L-Leite I think this console is perfectly included in the game

Valen7789 commented 3 years ago

@L-Leite First of all, a million thanks for getting this version of the console working. very comfortable and beautiful for my eyes. already leaving the compliments. seeing what @organnerx posted, would there be the possibility of "converting" the Source console using ScaleformUI? I say this as a possibility to fix the problem that the console is under the UI of CSO2 20200923033720_1

organnerx commented 3 years ago

@Valen7789 I do not think it will worth the amount of time spent on creating a complex thing like this one. It requires both GFX editing and game patching, a really hard thing to do. @L-Leite Thanks for showing us how that UI console looks like

ADVABonnie commented 3 years ago

CSOConsole is a debug console for the scaleform UI, it allows you test and profile some UI components with it you can enable it by editing the P-Code of CSO2UI::setupUI with JPEXS decompiler: move the call to out of the statement it looks like this:this.uiConsole.fnConsoleOpen();``if(Extensions.isGFxPlayer) screenshot

And how do I need to enable it if I just changed it 0