Method and device for detecting action resource configuration information, electronic equipment and medium

文档序号:190003 发布日期:2021-11-02 浏览:42次 中文

阅读说明:本技术 动作资源配置信息的检测方法、装置、电子设备及介质 (Method and device for detecting action resource configuration information, electronic equipment and medium ) 是由 王达 于 2021-08-02 设计创作,主要内容包括:本发明实施例公开了一种动作资源配置信息的检测方法、装置、电子设备及介质,其中,该方法包括:在目标引擎的编辑器的启动过程中,加载预先构建的动作检测钩子文件;基于所述动作检测钩子文件对待检测的目标动作资源的配置信息进行检测;基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。本发明实施例的技术方案,能够在目标引擎的编辑器的启动过程中对待检测的目标动作资源的配置信息进行自动化检测,能够在目标动作资源出现问题时发现的更为及时,有效避免由于目标动作资源的配置问题而导致需要对游戏重新进行打包的情况,优化了编辑器启动流程,提升了用户体验。(The embodiment of the invention discloses a method, a device, electronic equipment and a medium for detecting action resource configuration information, wherein the method comprises the following steps: loading a pre-constructed action detection hook file in the starting process of an editor of a target engine; detecting the configuration information of the target action resource to be detected based on the action detection hook file; and determining whether to continue to execute the operation of opening the editor of the target engine based on the detection result. According to the technical scheme of the embodiment of the invention, the configuration information of the target action resource to be detected can be automatically detected in the starting process of the editor of the target engine, the problem of the target action resource can be found more timely, the situation that the game needs to be packaged again due to the configuration problem of the target action resource is effectively avoided, the starting process of the editor is optimized, and the user experience is improved.)

1. A method for detecting action resource configuration information is characterized by comprising the following steps:

loading a pre-constructed action detection hook file in the starting process of an editor of a target engine;

detecting the configuration information of the target action resource to be detected based on the action detection hook file;

and determining whether to continue to execute the operation of opening the editor of the target engine based on the detection result.

2. The method according to claim 1, wherein the detecting the configuration information of the target action resource to be detected based on the action detection hook file comprises:

and acquiring a configuration file corresponding to the target action resource to be detected based on the optimization detection class in the action detection hook file, and detecting the switch state of an action optimization switch in the configuration file, wherein the action optimization switch is used for determining whether to execute the operation of data compression on the target action resource.

3. The method of claim 2, wherein the detecting the switch state of the action-optimizing switch in the profile comprises:

and detecting the on-off state of the action optimization switch in the configuration file based on a preset keyword corresponding to the action optimization switch and a state parameter corresponding to the on-off state of the action optimization switch.

4. The method of claim 2, wherein determining whether to continue executing the operation of opening the editor of the target engine based on the detection result comprises:

and if the switch state of the action optimization switch is in the closed state, changing the switch state of the action optimization switch from the closed state to the open state based on the optimization updating class in the action detection hook file.

5. The method of claim 2, wherein determining whether to continue executing the operation of opening the editor of the target engine based on the detection result comprises:

and if the on-off state of the action optimization switch is the on state, continuing to execute the operation of starting the editor of the target engine.

6. The method of claim 1, further comprising:

loading a native code library of the target engine;

the loading of the pre-built action detection hook file comprises:

and when the loading of the native code library of the target engine is finished, loading a pre-constructed action detection hook file.

7. The method of claim 1, wherein the action detection hook file is a dynamic link library file or a tab file.

8. An apparatus for detecting motion resource configuration information, comprising:

the hook file loading module is used for loading a pre-constructed action detection hook file in the starting process of an editor of the target engine;

the mapping detection module is used for detecting the configuration information of the target action resource to be detected based on the action detection hook file;

and the opening operation execution module is used for determining whether to continue executing the operation of opening the editor of the target engine based on the detection result.

9. An electronic device, characterized in that the electronic device comprises:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement the method of detection of action resource configuration information as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of detecting action resource configuration information according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of computer application, in particular to a method and a device for detecting action resource configuration information, electronic equipment and a medium.

Background

The motion of each game display object in the game screen is one of the important factors that affect the display effect of the game screen. In order to enrich the game display effect, under different game scenes and different control modes, each game display object usually has different action displays. This requires game developers to match the corresponding action resources for various actions during the development process.

In the process of implementing the invention, the inventor finds that the storage mode of the action resources is generally stored in the form of floating point numbers, the action resources often participate in game packaging, and the action resources occupy a large amount of memory resources, so that the memory in the bag body is often expanded.

At present, only when a game is packed, a game developer may find the problem, the problem is found to have hysteresis, and the game developer needs to manually solve the problem and then packs the game again, so that the working efficiency is influenced.

Disclosure of Invention

The embodiment of the invention provides a method, a device, electronic equipment and a medium for detecting configuration information of an action resource, which are used for optimizing the starting process of an engine editor and realizing automatic detection of the configuration information of the target action resource in the starting process of the editor of a target engine.

In a first aspect, an embodiment of the present invention provides a method for detecting action resource configuration information, including:

loading a pre-constructed action detection hook file in the starting process of an editor of a target engine;

detecting the configuration information of the target action resource to be detected based on the action detection hook file;

and determining whether to continue to execute the operation of opening the editor of the target engine based on the detection result.

In a second aspect, an embodiment of the present invention further provides an apparatus for detecting action resource configuration information, where the apparatus includes:

the hook file loading module is used for loading a pre-constructed action detection hook file in the starting process of an editor of the target engine;

the mapping detection module is used for detecting the configuration information of the target action resource to be detected based on the action detection hook file;

and the opening operation execution module is used for determining whether to continue executing the operation of opening the editor of the target engine based on the detection result.

In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:

one or more processors;

a storage device for storing one or more programs,

when the one or more programs are executed by the one or more processors, the one or more processors implement the method for detecting the action resource configuration information provided by any embodiment of the invention.

In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for detecting the action resource configuration information provided in any embodiment of the present invention.

According to the technical scheme of the embodiment of the invention, the pre-constructed action detection hook file is loaded in the starting process of the editor of the target engine, the configuration information of the target action resource to be detected is detected based on the action detection hook file, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on the detection result of the configuration information, so that the automatic detection of the configuration information of the target action resource to be detected in the starting process of the editor of the target engine is realized, the situation that the game needs to be packaged again due to the configuration problem of the target action resource can be found more timely when the target action resource has a problem, the starting process of the editor is optimized, and the user experience is improved.

Drawings

In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.

Fig. 1 is a schematic flowchart of a method for detecting action resource configuration information according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating another method for detecting configuration information of an action resource according to an embodiment of the present invention;

fig. 3 is a flowchart illustrating a method for detecting action resource configuration information in an application scenario according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an apparatus for detecting motion resource allocation information according to an embodiment of the present invention;

fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

Fig. 1 is a flowchart illustrating a method for detecting action resource configuration information according to an embodiment of the present invention, where the method may be performed by an apparatus for detecting action resource configuration information, the apparatus may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement the method for detecting action resource configuration information according to the embodiment of the present invention.

As shown in fig. 1, the method of the embodiment may specifically include:

s101, loading a pre-constructed action detection hook file in the starting process of an editor of a target engine.

In a specific implementation, the target engine comprises a gaming application that currently requires development or updating by developers. The updating process of the editor of the target engine comprises a target engine basic configuration initialization stage, an all-code compiling stage, an engine system resource importing stage, a data file importing stage and an editor starting stage. The action detection hook file can be pre-constructed in the whole code compiling stage.

Optionally, the action detection hook file is a dynamic link library file or a tag file. Illustratively, the action detection hook file comprises an EnginePreEntryHook.dll file.

In an embodiment of the present invention, the starting process of the editor of the target engine may include the following steps: 1. initializing a basic configuration of a target engine; 2. compiling all codes of the target engine; 3. importing project resources of a target engine; 4. and importing a numerical value file of the target engine.

Wherein all codes of the compiled target engine include: the target engine's native code library, the target engine's plug-in layer code, the target engine's project engineering's full code, and the target engine's third party library software development kit library or third party plug-in library code. Project resources of the target engine may include resources such as character models, building models, weapon models, maps, actions, bones, prefab preforms, and so on. The value file of the target engine can be a file describing a model basic value, an action related value or a scene related value; such as model height values, weapon appearance values, weapon firing values, character motion speed values, special effect time values, scene transparency values, and the like.

Taking the starting of the game engine editor as an example, the starting step of the game engine editor comprises the following steps: engine native code library compilation, such as the UnityEngine series dll compilation; inserted EnginePreEntryHook.dll file; engine plug-in level code compilation, such as the dll compilation of the package and plugin families; code compilation for game engineering, such as dll compilation for Project series; and compiling a third-party SDK library or a third-party plug-in library, such as compiling sound effects wwise and games SDK.

Optionally, in the starting process of the editor of the target engine, that is, when the stage of starting the editor of the target engine is entered, the pre-constructed action detection hook is loaded to complete detection of the configuration information of the target action resource to be detected.

S102, detecting the configuration information of the target action resource to be detected based on the action detection hook file.

Optionally, after the action detection hook file is loaded, the configuration information of the target action resource to be detected is triggered to be detected. Specifically, the target action resource to be detected can be preset in the action detection hook file, and detection is performed according to the configuration information corresponding to the set target action resource detection during trigger detection. The configuration information of the action resources can be uniformly stored in the configuration file of the action resources. For example, the configuration information may include at least one of an action name, an action identifier, an action data amount, and a status of an action optimization option of the action resource.

Specifically, the target action resource to be detected may be an action data resource for representing a target game action of a target game character in the target engine, and the target action resource may include at least one type. For example, the target action resource includes a kicking, raising, turning, lying down, or vacating type of action resource in the game. When a plurality of target action resources need to be detected, the configuration information corresponding to each target action resource in the configuration file can be detected in sequence.

S103, determining whether to continue executing the operation of opening the editor of the target engine based on the detection result.

In a specific implementation, whether to continue to execute the operation of opening the editor of the target engine may be determined based on a detection result of the action detection hook file on the configuration information of the target action resource.

Specifically, when the detection result meets the preset requirement of the editor for starting the target engine, the operation of starting the editor for starting the target engine is correspondingly executed; and when the detection result does not meet the preset requirement of the editor for starting the target engine, the configuration information of the target action resource needs to be modified, the configuration information is modified into the standard configuration information of the target action resource meeting the preset requirement, and then the operation for starting the editor of the target engine is executed based on the modified configuration information.

According to the technical scheme of the embodiment of the invention, the pre-constructed action detection hook file is loaded in the starting process of the editor of the target engine, the configuration information of the target action resource to be detected is detected based on the action detection hook file, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on the detection result of the configuration information, so that the automatic detection of the configuration information of the target action resource to be detected in the starting process of the editor of the target engine is realized, the situation that the game needs to be packaged again due to the configuration problem of the target action resource can be found more timely when the target action resource has a problem, the starting process of the editor is optimized, and the user experience is improved.

Example two

Fig. 2 is a schematic flow chart of another method for detecting configuration information of an action resource according to an embodiment of the present invention, where this embodiment optionally detects, based on any optional technical solution in the embodiment of the present invention, configuration information of a target action resource to be detected based on an action detection hook file, and includes: and acquiring a configuration file corresponding to the target action resource to be detected based on the optimization detection class in the action detection hook file, and detecting the switch state of an action optimization switch in the configuration file, wherein the action optimization switch is used for determining whether to execute the operation of data compression on the target action resource. Optionally, the method further includes: loading a native code library of a target engine; loading a pre-built action detection hook file, comprising: and when the loading of the native code library of the target engine is finished, loading the pre-constructed action detection hook file. The same or corresponding terms as those in the above embodiments are not explained in detail herein.

As shown in fig. 2, the method of the embodiment may specifically include:

s201, in the starting process of the editor of the target engine, loading a native code library of the target engine.

In a specific implementation, after the basic configuration of the target engine is initialized during the starting process of the editor of the target engine, the native code library of the target engine is loaded first to provide a development basic environment for the editor of the target engine. Illustratively, the native code library comprises a code library compiled by the UnityEngine series dll. The native code library of the target engine can be repeatedly applied to a development or update scene of the target engine, so that the later management and maintenance of research and development personnel are facilitated, and the development or update efficiency of the target engine is improved.

S202, when the loading of the native code library of the target engine is finished, loading a pre-constructed action detection hook file.

Optionally, on the basis of completing loading of the native code library of the target engine, loading a pre-constructed action detection hook file, so as to fully utilize code resources of the loaded native code library, simplify construction of the action detection hook file as much as possible, and prepare for using the action detection hook file in advance.

S203, acquiring a configuration file corresponding to the target action resource to be detected based on the optimized detection class in the action detection hook file, and detecting the on-off state of the action optimization switch in the configuration file.

In a specific implementation, the configuration information of the target action resource to be detected includes a switch state of the action optimization switch. The action optimization switch is used for determining whether to execute the operation of data compression on the target action resource. The switch states of the motion optimizing switch include an on state and an off state. Specifically, when the motion optimization switch of the target motion resource is turned on, data compression operations such as motion compression and fixed point compression can be performed on the target motion resource. When the action optimization switch of the target action resource is turned off, optimization operations such as compression and the like on the target action resource are not executed, the original data mode of the target action resource is maintained, and the problems that the target action resource occupies a large amount of memory resources and the memory in the bag body is prone to swelling and the like when the action data resource is stored in a floating point mode are considered, so that the on-off state of the action optimization switch in the configuration file needs to be detected.

Optionally, the configuration file corresponding to the target action resource to be detected may be acquired based on the optimized detection class in the action detection hook file. For example, when the development environment of the target engine is C # language, the optimization detection class may include PEAnimationOptChecking.

For example, the configuration file may include a meta file in which the switch states of the action optimizing switches of the target action resource are stored. It should be noted that the configuration file stores the action resources and the action optimization switches in a one-to-one correspondence relationship.

Optionally, detecting the switch state of the action optimizing switch in the configuration file includes: and detecting the switch state of the action optimization switch in the configuration file based on the preset keywords corresponding to the action optimization switch and the state parameters corresponding to the switch state of the action optimization switch.

Specifically, the action optimization switch of which the switch state needs to be detected is determined in the configuration file through the preset keyword corresponding to the action optimization switch of the target action resource to be detected, and the switch state of the action optimization switch is detected.

In the embodiment of the invention, one action optimization switch can be set for all target action resources to be detected, and different action optimization switches can also be set for different target action resources respectively. Considering that the configuration file includes not only the information of the action optimization switch but also possibly other information related to the target action resource, the information related to the action optimization switch may be determined by a preset keyword corresponding to the action optimization switch, that is, a preset keyword of the action optimization switch.

For example, the preset keyword corresponding to the action optimization switch of the target action resource may be set as an "action optimization switch" or a "data compression switch", the configuration file may be detected, and when the keyword of the "action optimization switch" or the "data compression switch" is detected, it may be determined that the item is the action optimization switch corresponding to the target action resource, for which the switch state needs to be detected, and then the switch state corresponding to the preset keyword is detected.

The action optimization switch can be in an on state and an off state, and the switch state of the action optimization switch can be represented by the state parameter, so that the switch state of the action optimization switch can be determined by the state parameter corresponding to the switch state of the action optimization switch. Specifically, the status parameter may include at least one of a number, a symbol, a letter, and a graphic. For example, a parameter "0" may be set to indicate that the switch state of the motion optimization switch is off; the setting parameter "1" indicates that the on/off state of the motion optimizing switch is on. And S204, determining whether to continue executing the operation of opening the editor of the target engine based on the detection result.

Optionally, determining whether to continue to perform the operation of opening the editor of the target engine based on the detection result includes: and if the switch state of the action optimization switch is in the closed state, changing the switch state of the action optimization switch from the closed state to the open state based on the optimization updating class in the action detection hook file.

Specifically, the detection result of the motion optimization switch includes being in an on state and being in an off state. When the on-off state of the action optimization switch is the off state, in order to ensure that the editor of the target engine can be started smoothly, the on-off state of the action optimization switch needs to be changed from the off state to the on state based on the optimization update class in the action detection hook file.

Optionally, determining whether to continue to perform the operation of opening the editor of the target engine based on the detection result includes: and if the switch state of the action optimization switch is the opening state, continuing to execute the operation of opening the editor of the target engine.

Specifically, when the switch state of the action optimization switch is the on state, it indicates that the action optimization function of the target action resource is already on, and the subsequent operation of starting the editor of the target engine can be continuously executed without modifying the switch state.

According to the above example, when the state parameter corresponding to the switch state of the motion optimization switch is detected to be '1', the starting operation of the editor of the target engine is further executed; and when detecting that the state parameter corresponding to the switch state of the action optimization switch is '0', calling an optimization updating class in the action detection hook file to change the state parameter of the switch state of the action optimization switch from '0' to '1', and continuously executing the starting operation of the editor of the target engine.

According to the technical scheme, the on-off state of the action optimization switch is detected based on the optimization detection class in the action detection hook file, so that action compression can be performed on target action resources, the memory space occupied by the action resources is reduced, the starting process of the engine editor is optimized, and automatic detection of the configuration information of the target action resources in the starting process of the editor of the target engine is realized.

EXAMPLE III

The above embodiment corresponding to the detection method of the action resource configuration information is described in detail, and in order to make the technical solution of the method further clear to those skilled in the art, a specific application scenario is given below.

Fig. 3 is a flowchart illustrating a method for detecting action resource configuration information in an application scenario according to an embodiment of the present invention; as shown in FIG. 3, the engine is a gaming application that currently needs to be developed or updated by a developer. The development or update process of the editor of the engine comprises an engine basic configuration initialization stage, an all-code compiling stage, an engine system resource importing stage, a data file importing stage and an editor starting stage.

After the engine base configuration is initialized, the code compilation is completed. In the code compiling process, an action detection hook file is constructed in advance. Specifically, code compilation includes engine native code library compilation, such as UnityEngine series dll compilation; dll file of the inserted EnginePreEntryHook, i.e., dll compilation of PreEntryHook. Illustratively, a c # language is adopted to make an engineering EnginePreEntryhook, and a corresponding EnginePreEntryhook. dll file is generated, wherein the time of the compiling process only needs about 30 s.

Optionally, the structured enginepreentryhook.dll is stored under an EngineDll directory in the game project and is separated from dlls in other engines for independent maintenance. Further, mapping to an EnginePreEntryHook.dll file under an EngineDll folder in the game project based on the received updated EnginePreEntryHook.

In a specific implementation, a C # plug-in library detection class PEAnimationOptChecking is written in the enginereentryhook project and is used for calling an action file and detecting whether an optimization switch of the action file is turned on or not. The action file is a configuration file corresponding to the action resource to be detected.

Specifically, in the process of starting the editor of the engine, when the loading of the native code library of the engine is completed, the inserted enginepreentryhook. The method can be used for acquiring the configuration file corresponding to the action resource to be detected based on the pre-written C # plug-in library detection type PEAnimationOptchecking.

The configuration file comprises a meta file, and the switch state of the action optimization switch of the target action resource is stored in the configuration file.

The detection of the configuration file comprises at least one of the detection of whether fixed point optimization is started or not and the detection of whether action file compression is started or not. When the optimization of the fixed point number is started or not, the on-off state of the fixed point number optimization switch in the configuration file is detected, if the fixed point number optimization switch is in the on state, the starting operation of an editor of the engine is continuously executed, and if the fixed point number optimization switch is not started, the configuration file is rewritten, and the fixed point number optimization switch is automatically started. When detecting whether the action file compression is started, detecting the switch state of the action compression optimization switch in the configuration file, if the action compression optimization switch is in the start state, continuing to execute the start operation of an editor of the engine, and if the action compression optimization switch is not started, rewriting the configuration file and automatically starting the action compression optimization switch.

According to the technical scheme, the on-off state of the action optimization switch is detected based on the optimization detection class in the hook file, action compression of action resources is guaranteed, the memory space occupied by the action resources is reduced, the starting process of the engine editor is optimized, and automatic detection of configuration information of the action resources in the starting process of the engine editor is achieved.

Example four

Fig. 4 is a schematic structural diagram of a device for detecting motion resource configuration information according to an embodiment of the present invention, where the device for detecting motion resource configuration information according to the embodiment of the present invention may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement a method for detecting motion resource configuration information according to an embodiment of the present invention. The device may specifically comprise:

the hook file loading module 10 is used for loading a pre-constructed action detection hook file in the starting process of an editor of a target engine;

the mapping detection module 11 is configured to detect configuration information of a target action resource to be detected based on the action detection hook file;

and an opening operation executing module 12 for determining whether to continue to execute the operation of opening the editor of the target engine based on the detection result.

On the basis of any optional technical scheme in the embodiment of the present invention, the map detection module 11 includes:

and the configuration file obtaining unit is used for obtaining a configuration file corresponding to the target action resource to be detected based on the optimization detection class in the action detection hook file, and detecting the switch state of an action optimization switch in the configuration file, wherein the action optimization switch is used for determining whether to execute the data compression operation on the target action resource.

On the basis of any optional technical scheme in the embodiment of the present invention, the obtaining of the configuration file unit includes:

and the switch state detection unit is used for detecting the switch state of the action optimization switch in the configuration file based on the preset keywords corresponding to the action optimization switch and the state parameters corresponding to the switch state of the action optimization switch.

On the basis of any optional technical scheme in the embodiment of the present invention, the obtaining of the configuration file unit includes:

and the switch state changing unit is used for changing the switch state of the action optimization switch from the closed state to the open state based on the optimization updating class in the action detection hook file if the switch state of the action optimization switch is the closed state.

On the basis of any optional technical scheme in the embodiment of the present invention, the obtaining of the configuration file unit includes:

and the execution starting operation unit is used for continuing to execute the operation of starting the editor of the target engine if the switch state of the action optimization switch is the starting state.

On the basis of any optional technical scheme in the embodiment of the invention, the device further comprises:

the loading native code library module is used for loading a native code library of the target engine;

hook file loading module 10, comprising:

and the loading hook file unit is used for loading the pre-constructed action detection hook file when the loading of the native code library of the target engine is finished.

On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the action detection hook file is a dynamic link library file or a tag file.

The device can execute the method provided by any embodiment of the invention and is provided with a corresponding functional module for executing the method.

According to the technical scheme of the embodiment of the invention, the pre-constructed action detection hook file is loaded in the starting process of the editor of the target engine, the configuration information of the target action resource to be detected is detected based on the action detection hook file, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on the detection result of the configuration information, so that the automatic detection of the configuration information of the target action resource to be detected in the starting process of the editor of the target engine is realized, the situation that the game needs to be packaged again due to the configuration problem of the target action resource can be found more timely when the target action resource has a problem, the starting process of the editor is optimized, and the user experience is improved.

EXAMPLE five

Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 20 suitable for use in implementing embodiments of the present invention. The illustrated electronic device 20 is merely an example and should not be used to limit the functionality or scope of embodiments of the present invention.

As shown in fig. 5, the electronic device 20 is embodied in the form of a general purpose computing device. The components of the electronic device 20 may include, but are not limited to: one or more processors or processing units 201, a system memory 202, and a bus 203 that couples the various system components (including the system memory 202 and the processing unit 201).

Bus 203 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

Electronic device 20 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 20 and includes both volatile and nonvolatile media, removable and non-removable media.

The system memory 202 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)204 and/or cache memory 205. The electronic device 20 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 206 may be used to read from and write to non-removable, nonvolatile magnetic media. A magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 203 by one or more data media interfaces. Memory 202 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.

A program/utility 208 having a set (at least one) of program modules 207 may be stored, for example, in memory 202, such program modules 207 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 207 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.

The electronic device 20 may also communicate with one or more external devices 209 (e.g., keyboard, pointing device, display 210, etc.), with one or more devices that enable a user to interact with the electronic device 20, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 20 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 211. Also, the electronic device 20 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 212. As shown, the network adapter 212 communicates with other modules of the electronic device 20 over the bus 203. It should be understood that other hardware and/or software modules may be used in conjunction with electronic device 20, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

The processing unit 201 executes various functional applications and data processing by running a program stored in the system memory 202.

The electronic equipment provided by the invention can realize the following method: in the starting process of the editor of the target engine, the pre-constructed action detection hook file is loaded to detect the configuration information of the target action resource to be detected based on the action detection hook file, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on the detection result of the configuration information, so that the automatic detection of the configuration information of the target action resource to be detected in the starting process of the editor of the target engine is realized, the situation that the game needs to be packaged again due to the configuration problem of the target action resource can be found more timely when the target action resource has a problem, the starting process of the editor is optimized, and the user experience is improved.

EXAMPLE six

Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for detecting action resource configuration information, the method including:

the method and the device have the advantages that the pre-constructed action detection hook file is loaded in the starting process of the editor of the target engine, the configuration information of the target action resource to be detected is detected based on the action detection hook file, whether the operation of starting the editor of the target engine is continuously executed or not is determined based on the detection result of the configuration information, the automatic detection of the configuration information of the target action resource to be detected in the starting process of the editor of the target engine is realized, the situation that the game needs to be packaged again due to the configuration problem of the target action resource can be found more timely when the target action resource has a problem, the starting process of the editor is optimized, and the user experience is improved.

Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:着色器变体数量的检测方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!