[Finding] - Debugline Commands

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
nonnex
Posts: 366
Joined: Wed, 28. Aug 13, 12:42
x4

[Finding] - Debugline Commands

Post by nonnex »

Here I'll collect commands for the DebugLine:

Commands found:

RELOADUI - (Reloads the UI. Helps when You get trouble with the UI, errors or get stuck in menues) @nonnex
DISABLEUI - (use careful, you'll have to kill the game) @UniTrader
RELOADMD - @UniTrader
RESETMD - @UniTrader
REFRESHMD - @UniTrader


... the search has just begun, but will be continued. If someone know more, please let me know.
Last edited by nonnex on Sat, 14. Dec 13, 22:03, edited 2 times in total.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

thats a beginning, this string is inside the ui/addons/gameoptions/gameoptions.xpl - maybe we can finde some more in this file? (could be a bit difficult since its mostly binary goo)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
nonnex
Posts: 366
Joined: Wed, 28. Aug 13, 12:42
x4

Post by nonnex »

You're right, I got that string directly from the Rebirth.exe. but also found that value in that one You have pointed to.

It must be more than that there.

My hope is to get some kind of "init" comand, or "reload extension". that would be nice because of runtime editing mods.

concerning the xpls, I can decompile them.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

just got a few more:

DISABLEUI (use careful, you'll have to kill the game)
RELOADMD
RESETMD
REFRESHMD
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
nonnex
Posts: 366
Joined: Wed, 28. Aug 13, 12:42
x4

Post by nonnex »

cooool! U'r fast *grrrr*. ;)
How found? Which method do U have used?
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

intuition & luck ;) i just needed an idea what kind of input it expects and then tried some logical variations ^^
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
nonnex
Posts: 366
Joined: Wed, 28. Aug 13, 12:42
x4

Post by nonnex »

Your expiriance with ES wordings is paying off. hehe.
My search is concentrated in reinitializing, especially extensions. How great would that be for mod dev! no m0ar quit and restart the game.
Checking changes by runtime would be awesome.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

well, i dont think something like that is included.. it would be awesome if it were, but since you have to restart the Game if you change the current extensions i dont think it is.. (or at least not for everything, MD and UI have reload options, aiscripts probably too... but map, object definitions and most of the other stuff probably needs a restart of the game to work properly)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
nonnex
Posts: 366
Joined: Wed, 28. Aug 13, 12:42
x4

Post by nonnex »

Well, extensions will be initialized by starting a new game or loading a saved one.

Lets see, In our case we want to reinitialize extensions. In my point of view i'ts just a matter of the right "entrypoint".
Theoreticaly it is possible by reloading the current state or step. In this case one of the steps is responsible for initializing/loading extensions, but I dunno which one of them. But not yet.

Even if we start from the "init" routine, it will be much more faster then manually restart the game.

btw: I wonder why the map needs most of the loading time ;)

see: progressbar.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<progressbar>
.
.
.
  <type name="savedgame" loaded="235">
    <step name="init" duration="0.223523"/>
    <step name="map" duration="5.80215"/>
    <step name="scripts" duration="0.372019"/>
    <step name="init2" duration="0.128947"/>
    <step name="map2" duration="2.13395"/>
    <step name="scripts2" duration="0.392245"/>
    <step name="patch" duration="1.25639"/>
    <step name="cutscenes" duration="0.0516157"/>
    <step name="scripts3" duration="0.331035"/>
    <step name="jobs" duration="2.17432"/>
  </type>
</progressbar>
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

[Help req] The ingame CLI - I have no idea how to use it :)

Post by YorrickVander »

As the title says. The in-game CLI appears to be potentially very useful, but I have no idea what I can actually do with it. Simply requesting a cue to run appears to do nothing.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks »

nonnex wrote: btw: I wonder why the map needs most of the loading time ;)
Thats a really good question. ^^
Probably its ment to be the universe, not just the "map".
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

lol search fail. ty uni :)
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

Return to “X Rebirth - Scripts and Modding”