Method and terminal for extracting special effect resources

By using a combination method of special effect recording tools, observers and extraction tools in digital game development, the problem of inefficient acquisition of special effect resources is solved, and the efficiency and accuracy of resource acquisition are achieved.

CN119701332APending Publication Date: 2025-03-28FUJIAN TQ DIGITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311272141.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In digital game development, the inefficient acquisition of special effects resources leads to extended development cycles, increased workloads and prone to errors.

Method used

By starting the special effect recording tool, perform the desired special effect operations and record the special effect title information, use the special effect observer to display and verify the information, and finally use the special effect extraction tool to reversely obtain the configuration file and resource path information.

Benefits of technology

It significantly reduces the time and workload of manually searching and locateing resources, reduces errors and omissions, and thus improves the efficiency of resource acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119701332A_ABST
    Figure CN119701332A_ABST
Patent Text Reader

Abstract

The invention discloses a method for extracting special effect resources and a terminal. The method comprises the following steps: starting a special effect recording tool; executing the expected special effect operation and controlling a special effect recording tool to record and obtain corresponding special effect title information; comparing and analyzing the special effect title information by using a special effect observer, and if a comparison result meets an expected requirement, entering the next step; and reversely acquiring the configuration file and the resource path information of the special effect title information by using a special effect extraction tool. According to the method, the special effect recording tool is started, the expected special effect operation is executed, the corresponding special effect title information is recorded, the obtained information is compared and analyzed by utilizing the special effect observer, and finally the required configuration file and resource path information are reversely obtained by utilizing the special effect extraction tool. According to the method, the time and workload of manual searching and resource positioning are greatly reduced, errors and omission are reduced, and the resource acquisition efficiency is obviously improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method and a terminal for extracting special effect resources. Background Art

[0002] In the digital game industry, in order to continue to attract players and keep them active, developers continue to introduce new gameplay and subsequent game activities to the game. These new gameplay and activities often require rich visual effects to enhance the gaming experience. With the iteration of gameplay, the update frequency of these special effect resources also increases. If completely new special effect resources are produced for each activity or update, the development cycle will become longer, the workload will increase, and the development team will face tremendous pressure.

[0003] In order to solve this problem, considering that many special effects resources have a certain degree of versatility or can be reused with a small amount of modification, it is crucial to extract and upgrade existing special effects resources. This can not only save production costs and time, but also ensure the consistency and unity of resources and improve work efficiency.

[0004] However, current resource search and reuse face huge challenges. Finding the specific resources you need in a large amount of code and configuration is a tedious and time-consuming task. Developers first need to locate specific functions or modules in the huge code base, and then go deep into the configuration files layer by layer. After multiple layer etchings, they can find the abnormal resources called. This search method is not only inefficient, but also prone to errors. Incorrect resource search may cause developers to use the wrong effect, thus affecting the overall quality of the game and the player experience. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and a terminal for extracting special effect resources, so as to solve the problem of inefficient acquisition of special effect resources.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A method for extracting special effect resources, comprising the steps of:

[0008] S1. Start the special effects recording tool;

[0009] S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information;

[0010] S3, using a special effect viewer to display the special effect according to the special effect title information, and if the display result meets the expected requirements, proceed to the next step;

[0011] S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

[0012] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0013] A terminal for extracting special effect resources includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor completes the following steps when executing the computer program:

[0014] S1. Start the special effects recording tool;

[0015] S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information;

[0016] S3, using a special effect viewer to display the special effect according to the special effect title information, and if the display result meets the expected requirements, proceed to the next step;

[0017] S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

[0018] The beneficial effect of the present invention is to provide a method and terminal for extracting special effect resources, by starting a special effect recording tool, executing a desired special effect operation and recording corresponding special effect title information, using a special effect viewer to display the acquired information, and finally using a special effect extraction tool to reversely acquire the required configuration file and resource path information. This method will greatly reduce the time and workload of manual search and location of resources, while reducing errors and omissions, thereby significantly improving the efficiency of resource acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of a method for extracting special effect resources in an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of a terminal for extracting special effect resources in an embodiment of the present invention;

[0021] Description of labels:

[0022] 1. A terminal for extracting special effect resources; 2. A memory; 3. A processor. DETAILED DESCRIPTION

[0023] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0024] Please refer to Figure 1 as well as Figure 2 , a method for extracting special effect resources, comprising the steps of:

[0025] S1. Start the special effects recording tool;

[0026] S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information;

[0027] S3, using a special effect viewer to display the special effect according to the special effect title information, and if the display result meets the expected requirements, proceed to the next step;

[0028] S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

[0029] From the above description, it can be seen that the beneficial effect of the present invention is to provide a method for extracting special effect resources, by starting a special effect recording tool, executing the desired special effect operation and recording the corresponding special effect title information, using a special effect viewer to display the acquired information, and finally using a special effect extraction tool to reversely acquire the required configuration file and resource path information. This method will greatly reduce the time and workload of manual search and location of resources, while reducing errors and omissions, thereby significantly improving the efficiency of resource acquisition.

[0030] Among them, the expected special effect operation is a necessary operation to obtain the expected special effect; since the corresponding file of the special effect cannot be located and extracted initially, you can only execute the corresponding operation or run the process until this special effect is triggered. For example, if you want to obtain the 10-star copy clearance reward special effect, you need to guide the process, open the copy, complete the 10-star copy and pass the customs successfully, until the reward is triggered to activate the special effect.

[0031] Furthermore, the special effect extraction tool includes a special effect model acquisition module, a special effect map acquisition module and a special effect combination module;

[0032] The special effect model acquisition module can be used to obtain the path of recording special effect model resources;

[0033] The special effect map acquisition module can be used to obtain the path of recording special effect map resources;

[0034] The special effect combination module may be used to combine special effect information and generate an extraction path for the combined special effect information.

[0035] From the above description, it can be seen that in order to extract special effects information and screen out invalid information, the special effects extraction tool includes three modules: a special effects model acquisition module, a special effects map acquisition module and a special effects combination module, wherein the special effects model acquisition module and the special effects map acquisition module respectively obtain the path of the special effects model resources and the path of the special effects map resources; the special effects combination module is used to combine the resource paths obtained by the first two modules and generate a valid extraction path.

[0036] Furthermore, the step S4 is specifically as follows:

[0037] S41, using the special effect model acquisition module to parse the special effect model configuration file according to the special effect title information, and obtain the path of recording the special effect model resource;

[0038] S42, using the special effect map acquisition module to parse the special effect map configuration file according to the special effect title information, and obtain the path of recording the special effect map resource;

[0039] S43, controlling the special effect combination module to combine the path for recording the special effect model resource and the path for recording the special effect map resource, and generating an extraction path and a configuration file for special effect information.

[0040] From the above description, it can be seen that the operating principle of the special effects extraction tool is as follows: first, the special effects title information is parsed, and the paths of the special effects model resources and special effects map resources are obtained and recorded respectively; then, the obtained path resources are combined through the special effects combination module to generate a valid special effects information extraction path and a special effects information configuration file, thereby ensuring that the special effects resources can operate normally when running along the special effects information extraction path.

[0041] Furthermore, the step S2 is specifically as follows:

[0042] S21, executing the desired special effect operation;

[0043] S22: Control the special effect recording tool to obtain the code running during the execution of the expected special effect operation, and extract the special effect title information corresponding to the code.

[0044] From the above description, we can know that the specific way to obtain the special effect title information is: when the expected special effect operation is performed, the corresponding node information will pop up in the background, including model, action, special effect, picture, sound effect, visual effect and other information, and then the special effect title information is intercepted through code filtering, and the obtained special effect title information can be printed and exported to the tool UI panel.

[0045] Furthermore, the step S3 is specifically as follows:

[0046] S31, inputting the special effect title information into the special effect viewer;

[0047] S32, controlling the special effect viewer to load and preview the configuration file set of the special effect title information;

[0048] S33: Compare the preview result with the expected demand for consistency. If the comparison result meets the expected demand, proceed to the next step; otherwise, return to step S2.

[0049] From the above description, it can be seen that in order to determine whether the extracted special effect resource is the expected resource, the special effect observer is controlled to process the extracted special effect title information. The specific processing method is as follows:

[0050] Control the special effects observer to load the configuration file set of the special effects title information. This step does not need to be screened out. It is only necessary to completely load the configuration file of the special effects title information and preview it, and then manually observe whether the loaded special effects meet the expected special effects. If not, return to step S2 to re-acquire the special effects title information.

[0051] A terminal 1 for extracting special effect resources includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, the following steps are performed:

[0052] S1. Start the special effects recording tool;

[0053] S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information;

[0054] S3, using a special effect viewer to display the special effect according to the special effect title information, and if the display result meets the expected requirements, proceed to the next step;

[0055] S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

[0056] From the above description, it can be seen that as a method for extracting special effect resources, the operating terminal starts the special effect recording tool, executes the desired special effect operation and records the corresponding special effect title information, uses the special effect viewer to display the acquired information, and finally uses the special effect extraction tool to reversely obtain the required configuration file and resource path information. This method will greatly reduce the time and workload of manual search and location of resources, while reducing errors and omissions, thereby significantly improving the efficiency of resource acquisition.

[0057] Furthermore, the special effect extraction tool includes a special effect model acquisition module, a special effect map acquisition module and a special effect combination module;

[0058] The special effect model acquisition module can be used to obtain the path of recording special effect model resources;

[0059] The special effect map acquisition module can be used to obtain the path of recording special effect map resources;

[0060] The special effect combination module may be used to combine special effect information and generate an extraction path for the combined special effect information.

[0061] From the above description, it can be seen that in order to extract special effects information and screen out invalid information, the special effects extraction tool includes three modules: a special effects model acquisition module, a special effects map acquisition module and a special effects combination module, wherein the special effects model acquisition module and the special effects map acquisition module respectively obtain the path of the special effects model resources and the path of the special effects map resources; the special effects combination module is used to combine the resource paths obtained by the first two modules and generate a valid extraction path.

[0062] Furthermore, the step S4 is specifically as follows:

[0063] S41, using the special effect model acquisition module to parse the special effect model configuration file according to the special effect title information, and obtain the path of recording the special effect model resource;

[0064] S42, using the special effect map acquisition module to parse the special effect map configuration file according to the special effect title information, and obtain the path of recording the special effect map resource;

[0065] S43, controlling the special effect combination module to combine the path for recording the special effect model resource and the path for recording the special effect map resource, and generating an extraction path and a configuration file for special effect information.

[0066] From the above description, it can be seen that the operating principle of the special effects extraction tool is as follows: first, the special effects title information is parsed, and the paths of the special effects model resources and special effects map resources are obtained and recorded respectively; then, the obtained path resources are combined through the special effects combination module to generate a valid special effects information extraction path and a special effects information configuration file, thereby ensuring that the special effects resources can operate normally when running along the special effects information extraction path.

[0067] Furthermore, the step S2 is specifically as follows:

[0068] S21, executing the desired special effect operation;

[0069] S22: Control the special effect recording tool to obtain the code running during the execution of the expected special effect operation, and extract the special effect title information corresponding to the code.

[0070] From the above description, we can know that the specific way to obtain the special effect title information is: when the expected special effect operation is performed, the corresponding node information will pop up in the background, including model, action, special effect, picture, sound effect, visual effect and other information, and then the special effect title information is intercepted through code filtering, and the obtained special effect title information can be printed and exported to the tool UI panel.

[0071] Furthermore, the step S3 is specifically as follows:

[0072] S31, inputting the special effect title information into the special effect viewer;

[0073] S32, controlling the special effect viewer to load and preview the configuration file set of the special effect title information;

[0074] S33: Compare the preview result with the expected demand for consistency. If the comparison result meets the expected demand, proceed to the next step; otherwise, return to step S2.

[0075] From the above description, it can be seen that in order to determine whether the extracted special effect resource is the expected resource, the special effect observer is controlled to process the extracted special effect title information. The specific processing method is as follows:

[0076] Control the special effects observer to load the configuration file set of the special effects title information. This step does not need to be screened out. It is only necessary to completely load the configuration file of the special effects title information and preview it, and then manually observe whether the loaded special effects meet the expected special effects. If not, return to step S2 to re-acquire the special effects title information.

[0077] The present invention provides a method and terminal for extracting special effect resources, which are mainly used for extracting special effects related to art resources in the field of electronic games. The following is a specific description in conjunction with an embodiment:

[0078] Please refer to Figure 1 , Embodiment 1 of the present invention is: a method for extracting special effect resources, comprising the steps of:

[0079] S1. Start the special effects recording tool;

[0080] S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information;

[0081] S3, using a special effect observer to compare and analyze the special effect title information, if the comparison result meets the expected requirements, proceed to the next step;

[0082] S4. Use a special effect extraction tool to reversely obtain the configuration file and resource path information of the special effect title information.

[0083] That is, in this embodiment, by starting the special effect recording tool, executing the desired special effect operation and recording the corresponding special effect title information, using the special effect observer to compare and analyze the acquired information, and finally using the special effect extraction tool to reversely acquire the required configuration file and resource path information. This method will greatly reduce the time and workload of manual search and location of resources, while reducing errors and omissions, thereby significantly improving the efficiency of resource acquisition.

[0084] Specifically, the special effects recording tool is determined according to the game engine type (unity, UE, C3 or S3); the expected special effects operation is a necessary operation to obtain the expected special effects; because the corresponding files of the special effects cannot be located and extracted initially, you can only execute the corresponding operations or run the process until the special effects are triggered. For example, if you want to obtain the 10-star copy clearance reward special effects, you need to guide the process, open the copy, complete the 10-star copy and pass the customs successfully, until the reward is triggered to activate the special effects.

[0085] Please refer to Figure 1 , Embodiment 2 of the present invention is: on the basis of Embodiment 1, the special effect extraction tool includes a special effect model acquisition module, a special effect map acquisition module and a special effect combination module;

[0086] The special effect model acquisition module can be used to obtain the path of recording special effect model resources;

[0087] The special effect map acquisition module can be used to obtain the path of recording special effect map resources;

[0088] The special effect combination module can be used to combine special effect information and generate an extraction path for the combined special effect information.

[0089] That is, in this embodiment, in order to extract special effects information and screen out invalid information, the special effects extraction tool includes three modules: a special effects model acquisition module, a special effects map acquisition module and a special effects combination module, wherein the special effects model acquisition module and the special effects map acquisition module respectively acquire the path of the special effects model resources and the path of the special effects map resources; the special effects combination module is used to combine the resource paths acquired by the first two modules and generate a valid extraction path.

[0090] Step S4 is specifically as follows:

[0091] S41, using the special effect model acquisition module to parse the special effect model configuration file according to the special effect title information, and obtain the path of recording the special effect model resource;

[0092] S42, using the special effect map acquisition module to parse the special effect map configuration file according to the special effect title information, and obtain the path of recording the special effect map resource;

[0093] S43, controlling the special effect combination module to combine the path for recording the special effect model resource and the path for recording the special effect map resource, and generating an extraction path and a configuration file for special effect information.

[0094] Specifically, the operating principle of the special effects extraction tool is as follows: first, the special effects title information is parsed, and the paths of the special effects model resources and special effects map resources are obtained and recorded respectively; then, the obtained path resources are combined through the special effects combination module to generate a valid special effects information extraction path and a special effects information configuration file, thereby ensuring that the special effects resources can operate normally when running along the special effects information extraction path.

[0095] Here are some examples:

[0096] Take the game in C3 engine - Moyu project as an example:

[0097] 3deffectobj.ini (parsed by the special effect model acquisition module) records the special effect model resource path;

[0098] 3dtexture.ini (parsed by the special effect map acquisition module) records the special effect map resource path,

[0099] 3deffect.ini (parsed by the special effects combination module) collects special effects combination information, including special effects title information, model, texture, number of overlay layers, priority display, number of loops, scaling ratio and other parameters.

[0100] When the client is loaded later, the configuration and resource path information can be obtained through the 3deffect.ini combined information configuration, and then extracted.

[0101] Please refer to Figure 1 , Embodiment 3 of the present invention is: Based on Embodiment 1, step S2 is specifically as follows:

[0102] S21, executing the desired special effect operation;

[0103] S22. Control the special effect recording tool to obtain the code running during the execution of the expected special effect operation, and extract the corresponding special effect title information in the code.

[0104] That is, in this embodiment, the specific method of obtaining the special effect title information is: when the expected special effect operation is performed, the corresponding node information will pop up in the background, including model, action, special effect, picture, sound effect, visual effect and other information, and then the special effect title information is intercepted through code filtering, and the obtained special effect title information can be subsequently printed and exported to the tool UI panel.

[0105] Please refer to Figure 1 , Embodiment 4 of the present invention is: Based on Embodiment 1, step S3 is specifically as follows:

[0106] S31, inputting special effect title information in the special effect viewer;

[0107] S32, controlling the special effect viewer to load and preview the configuration file set of the special effect title information;

[0108] S33: Compare the preview result with the expected demand for consistency. If the comparison result meets the expected demand, proceed to the next step; otherwise, return to step S2.

[0109] From the above description, it can be seen that in order to determine whether the extracted special effect resource is the expected resource, the special effect observer is controlled to process the extracted special effect title information. The specific processing method is as follows:

[0110] Control the special effects observer to load the configuration file set of the special effects title information. This step does not need to be screened out. It is only necessary to completely load the configuration file of the special effects title information and preview it, and then manually observe whether the loaded special effects meet the expected special effects. If not, return to step S2 to re-acquire the special effects title information.

[0111] Please refer to Figure 2 , Embodiment 5 of the present invention is: a terminal 1 for extracting special effect resources, comprising a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3, wherein the processor 3 completes the steps in any of the terminals for extracting special effect resources in Embodiments 1 to 4 above when executing the computer program.

[0112] In summary, the present invention provides a method and terminal for extracting special effect resources, which starts a special effect recording tool, executes the desired special effect operation and records the corresponding special effect title information, uses a special effect observer to compare and analyze the acquired information, and finally uses a special effect extraction tool to reversely acquire the required configuration file and resource path information. This method will greatly reduce the time and workload of manual search and location of resources, while reducing errors and omissions, thereby significantly improving the efficiency of resource acquisition.

[0113] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for extracting special effect resources, characterized in that: Includes steps: S1. Start the special effects recording tool; S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information; S3, using a special effect viewer to display the special effect according to the special effect title information, and if the display result meets the expected requirements, proceed to the next step; S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

2. A method for extracting special effect resources according to claim 1, characterized in that: The special effect extraction tool includes a special effect model acquisition module, a special effect map acquisition module and a special effect combination module; The special effect model acquisition module can be used to obtain the path of recording special effect model resources; The special effect map acquisition module can be used to obtain the path of recording special effect map resources; The special effect combination module may be used to combine special effect information and generate an extraction path for the combined special effect information.

3. A method for extracting special effect resources according to claim 2, characterized in that: The step S4 is specifically as follows: S41, using the special effect model acquisition module to parse the special effect model configuration file according to the special effect title information, and obtain the path of recording the special effect model resource; S42, using the special effect map acquisition module to parse the special effect map configuration file according to the special effect title information, and obtain the path of recording the special effect map resource; S43, controlling the special effect combination module to combine the path for recording the special effect model resource and the path for recording the special effect map resource, and generating an extraction path and a configuration file for special effect information.

4. A method for extracting special effect resources according to claim 1, characterized in that: The step S2 is specifically as follows: S21, executing the desired special effect operation; S22: Control the special effect recording tool to obtain the code running during the execution of the expected special effect operation, and extract the special effect title information corresponding to the code.

5. The method for extracting special effect resources according to claim 1, characterized in that: The step S3 is specifically as follows: S31, inputting the special effect title information into the special effect viewer; S32, controlling the special effect viewer to load and preview the configuration file set of the special effect title information; S33: Compare the preview result with the expected demand for consistency. If the comparison result meets the expected demand, proceed to the next step; otherwise, return to step S2.

6. A terminal for extracting special effect resources, characterized in that: The invention comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are performed: S1. Start the special effects recording tool; S2, executing the desired special effect operation and controlling the special effect recording tool to record and obtain the corresponding special effect title information; S3, using a special effect observer to compare and analyze the special effect title information, if the comparison result meets the expected requirements, proceed to the next step; S4. Reversely obtain the configuration file and resource path information of the special effect title information using a special effect extraction tool.

7. A terminal for extracting special effect resources according to claim 6, characterized in that: The special effect extraction tool includes a special effect model acquisition module, a special effect map acquisition module and a special effect combination module; The special effect model acquisition module can be used to obtain the path of recording special effect model resources; The special effect map acquisition module can be used to obtain the path of recording special effect map resources; The special effect combination module may be used to combine special effect information and generate an extraction path for the combined special effect information.

8. A terminal for extracting special effect resources according to claim 7, characterized in that: The step S4 is specifically as follows: S41, using the special effect model acquisition module to parse the special effect title information and obtain the path of recording the special effect model resource; S42, using the special effect map acquisition module to parse the special effect title information and obtain a path for recording special effect map resources; S43, controlling the special effect combination module to combine the path for recording the special effect model resource and the path for recording the special effect map resource, and generating an extraction path and a configuration file for special effect information.

9. A terminal for extracting special effect resources according to claim 6, characterized in that: The step S2 is specifically as follows: S21, executing the desired special effect operation; S22: Control the special effect recording tool to obtain the code running during the execution of the expected special effect operation, and extract the special effect title information corresponding to the code.

10. A terminal for extracting special effect resources according to claim 6, characterized in that: The step S3 is specifically as follows: S31, inputting the special effect title information into the special effect viewer; S32, controlling the special effect viewer to load and preview the configuration file set of the special effect title information; S33: Compare the preview result with the expected demand for consistency. If the comparison result meets the expected demand, proceed to the next step; otherwise, return to step S2.