[Scummvm-tracker] [ScummVM :: Bugs] #16320: DEVTOOLS: "director-generate-xobj-stub.py" is incorrectly stubbing xlibs

ScummVM :: Bugs trac at scummvm.org
Wed Oct 29 10:08:58 UTC 2025


#16320: DEVTOOLS: "director-generate-xobj-stub.py" is incorrectly stubbing xlibs
----------------------------+-------------------------------
Reporter:  VictorVVictoria  |       Owner:  (none)
    Type:  defect           |      Status:  new
Priority:  high             |   Component:  Engine: Director
 Version:                   |  Resolution:
Keywords:                   |        Game:
----------------------------+-------------------------------
Description changed by VictorVVictoria:

Old description:

> With the changes to the xlib \ xtra file structure, the script is now
> incorrectly stubbing xlibs
>
> 1. the stub files are being directly saved to the xlibs folder, not one
> of  alphabetic folders (for example, adtools is saved to /xlibs/ not
> /xlibs/a/)
>
> 2. Stubs are not getting added to "lingo-object.cpp" correctly, when I
> tried to stub adtools, it should added at least one of these lines to
> "lingo-object"
>
> #include "director/lingo/xlibs/a/adtools.h"
> #include "director/lingo/xlibs/adtools.h"
>
> but it adds nether one.
>
> Currently if want to stub an xlib, you have to do some manual edits and
> that defeats the purpose of the script.

New description:

 With the changes to the xlib \ xtra file structure, the script is now
 incorrectly stubbing xlibs

 1. the stub files are being directly saved to the xlibs folder, not one of
 the alphabetic folders (for example, adtools is saved to /xlibs/ when it
 should be saved to /xlibs/a/)

 2. Stubs are not getting added to "lingo-object.cpp" correctly, when I
 tried to stub adtools, it should add at least one of these lines to
 "lingo-object"

 #include "director/lingo/xlibs/a/adtools.h"
 #include "director/lingo/xlibs/adtools.h"

 but it adds nether one.

 Currently if want to stub an xlib, you have to do some manual edits and
 that defeats the purpose of the script.

--
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16320#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list