Game packing method and device

Through the combination of parameter configuration files and game engine, the complex and inefficient multi-platform game package output operation is solved, and efficient multi-platform package output and version management is achieved.

CN119806670APending Publication Date: 2025-04-11SUZHOU XIANFENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411796602.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

During the release of multi-platform games, developers need to perform complex and inefficient independent package out operations, and there are duplicate operations and efficiency problems when managing and uploading resource files from different platforms.

Method used

By obtaining the parameter configuration file, the file contains the upload address of the resource file and the upload address of the code file. The game engine uses the game engine to generate the package output files of each platform based on the configuration file, and adjust the package output process through the configuration file to reduce manual operations.

Benefits of technology

It improves the flexibility and efficiency of multi-platform package delivery, reduces manual management and upload operations, and enhances the efficiency of version control and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806670A_ABST
    Figure CN119806670A_ABST
Patent Text Reader

Abstract

The invention discloses a game package output method and device. The method comprises the steps of obtaining a first parameter configuration file; the first parameter configuration file comprises a first uploading address of a first resource file and a second uploading address of a platform corresponding to a first code file; through a game engine, according to the platform corresponding to the first parameter configuration file, converting an original game file and generating a first package output file corresponding to the platform; the package output file comprises the first resource file and the first code file corresponding to the platform; submitting the first resource file to a public server through the first uploading address; and submitting the first code file to the corresponding platform through the second uploading address. By means of the method and device, the flexibility and efficiency of game package output can be improved, and the error rate caused by manual package output is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game development, and in particular to a game output method and device. Background Art

[0002] As the mobile game market continues to expand, the process of game development and release has become increasingly complex, especially when releasing on multiple platforms.

[0003] Different platforms (such as Android, iOS, PC, etc.) have different requirements for game construction and resource configuration, requiring developers to perform independent package operations for different platforms, but there are also some repeated operations between different platforms, which leads to reduced efficiency, especially in the case of rapid iteration and frequent version updates. At the same time, in the process of multi-platform release, each release version package (such as .apk file, .ipa file, etc.) includes not only the game code file, but also the resource files of different platforms (such as pictures, audio, video, etc.). The storage path and upload method of resource files on different platforms are often different, and resource files on different platforms need to be managed and uploaded.

[0004] Therefore, how to efficiently perform multi-platform package output operations and accurately manage and upload these package output files has become a technical problem that needs to be solved. Summary of the invention

[0005] The present application provides a game package output method and device to solve the technical problem of how to efficiently perform multi-platform package output operations and accurately manage and upload these package output files.

[0006] In order to solve the above technical problems, in a first aspect, an embodiment of the present application provides a game packet output method, comprising:

[0007] Obtain a first parameter configuration file; the first parameter configuration file includes a first upload address of a first resource file and a second upload address of a platform corresponding to a first code file;

[0008] By means of a game engine, according to the platform corresponding to the first parameter configuration file, the original game file is converted and a first output file corresponding to the platform is generated; the output file includes the first resource file and the first code file corresponding to the platform;

[0009] The first resource file is submitted to the public server through the first upload address; and the first code file is submitted to the corresponding platform through the second upload address.

[0010] Compared with the prior art, the embodiments of the present application have the following beneficial effects: by configuring the parameter configuration file, when faced with rapid iterations of multi-platform game versions and frequent version updates, the package output process can be adjusted by simply modifying the configuration file, without the need to manually output packages for each platform independently through the game engine, thereby improving the flexibility and efficiency of package output; in addition, by modifying the upload address in the parameter configuration file, the manual operation of multiple different file management and upload processes on one platform is reduced, thereby improving the efficiency of file upload; at the same time, the parameter configuration file allows managers to clearly trace each package output and upload behavior, thereby improving the efficiency of subsequent version control and management.

[0011] In some embodiments of the first aspect of the present application, the converting, by the game engine, the original game file and generating a first outbound file corresponding to the platform according to the first parameter configuration file corresponding to the platform includes:

[0012] Input the first parameter configuration file and the original game file into the game engine, and obtain a second output file output by the game engine; the second output file includes a second resource file and a second code file corresponding to the platform;

[0013] Compare the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file;

[0014] Obfuscate the second code file to obtain the corresponding first code file.

[0015] Compared with the prior art, the above embodiment has the following beneficial effects: after the game engine generates the second resource file and the second code file of the corresponding platform according to the original game file, the above two files need to be processed. First, if the second resource file is directly uploaded to the public server, not only will the transmission efficiency be low, but a large amount of duplicate data will appear on the public server, wasting storage space. Therefore, by comparing the difference between the second resource file and the third resource file output by the game engine in the previous version, only uploading the first resource file of the difference part effectively improves the data transmission efficiency and the utilization rate of public server resources. In addition, in order to improve the security of the game project, by obfuscating the code of the second code file, the code is converted into a form that is functionally equivalent but difficult to read and understand, which effectively improves the security of the game project.

[0016] In some embodiments of the first aspect of the present application, comparing the second resource file with a third resource file of a second output file of a previous version output by the game engine to obtain the first resource file includes:

[0017] Obtain binary files of the second resource file and the third resource file;

[0018] Compare the differences between the binary files of the second resource file and the third resource file to obtain the first resource file;

[0019] The second resource file is updated to the third resource file.

[0020] Compared with the prior art, the above embodiment has the following beneficial effects: by binary calculation, the second resource file and the third resource file are subjected to difference calculation, thereby improving the efficiency of obtaining the first resource file; at the same time, the third resource file is promptly replaced with the second resource file after the difference calculation, thereby preventing errors in the difference calculation during the subsequent packet output process.

[0021] In some embodiments of the first aspect of the present application, the first parameter configuration file further includes a third code file corresponding to the platform; inputting the first parameter configuration file and the original game file into the game engine to obtain a second output file output by the game engine includes:

[0022] Sequentially traverse each of the first parameter configuration files stored in the packet output manager;

[0023] The third code file currently traversing the first parameter configuration file is executed to control the game engine to package the original game file into the second code file corresponding to the platform.

[0024] Compared with the prior art, the above embodiment has the following beneficial effects: through the package manager, the package output operation is performed according to all the first parameter configuration files configured by the user, ensuring that when generating platform-specific package output files, the special requirements of different platforms can be met, and at the same time, the game packages of multiple platforms can be completed at one time without the need to manually operate each platform separately, thereby improving the automation level and efficiency of the package output operation.

[0025] In some embodiments of the first aspect of the present application, submitting the first code file to the corresponding platform through the second upload address includes:

[0026] When the first code file is generated for the first time, the first code file is added to the original game file.

[0027] Compared with the prior art, the above embodiment has the following beneficial effects: the code file generated for the first time is usually a key file involving new functions or new platform support. The code file generated for the first time is automatically added to the original game file, ensuring the integrity of the code and preventing release failure or incomplete version due to omissions.

[0028] In a second aspect, the embodiment of the present application further provides a game packet output device, including: a parameter configuration module, a packet output module and a file submission module;

[0029] The parameter configuration module is used to obtain a first parameter configuration file; the first parameter configuration file includes a first upload address of a first resource file and a second upload address of a platform corresponding to a first code file;

[0030] The output module is used to convert the original game file and generate a first output file corresponding to the platform through the game engine according to the first parameter configuration file corresponding to the platform; the output file includes the first resource file and the first code file corresponding to the platform;

[0031] The file submission module is used to submit the first resource file to the public server through the first upload address; and submit the first code file to the corresponding platform through the second upload address.

[0032] In some embodiments of the second aspect of the present application, the converting, by the game engine, the original game file and generating a first outbound file corresponding to the platform according to the first parameter configuration file corresponding to the platform includes:

[0033] Input the first parameter configuration file and the original game file into the game engine, and obtain a second output file output by the game engine; the second output file includes a second resource file and a second code file corresponding to the platform;

[0034] Compare the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file;

[0035] Obfuscate the second code file to obtain the corresponding first code file.

[0036] In some embodiments of the second aspect of the present application, comparing the second resource file with a third resource file of a second output file of a previous version output by the game engine to obtain the first resource file includes:

[0037] Obtain binary files of the second resource file and the third resource file;

[0038] Compare the differences between the binary files of the second resource file and the third resource file to obtain the first resource file;

[0039] The second resource file is updated to the third resource file.

[0040] In some embodiments of the second aspect of the present application, the first parameter configuration file further includes a third code file corresponding to the platform; inputting the first parameter configuration file and the original game file into the game engine to obtain a second output file output by the game engine includes:

[0041] Sequentially traverse each of the first parameter configuration files stored in the packet output manager;

[0042] The third code file currently traversing the first parameter configuration file is executed to control the game engine to package the original game file into the second code file corresponding to the platform.

[0043] In some embodiments of the second aspect of the present application, submitting the first code file to the corresponding platform through the second upload address includes:

[0044] When the first code file is generated for the first time, the first code file is added to the original game file. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A flowchart of a game packet output method provided in some embodiments of the present application;

[0046] Figure 2 Another flowchart of a game packet output method provided in some embodiments of the present application is shown;

[0047] Figure 3 A schematic diagram of one of the interfaces of a system for applying a game packet extraction method provided in some embodiments of the present application;

[0048] Figure 4 A schematic diagram of the structure of a game packet output device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0049] Since different platforms (such as Android, iOS, PC, etc.) have different requirements for game construction and resource configuration, developers need to perform independent package operations for different platforms, but there are also some repeated operations between different platforms, which leads to reduced efficiency, especially in the case of rapid iteration and frequent version updates. At the same time, in the process of multi-platform release, each release version package (such as .apk file, .i pa file, etc.) includes not only the game code file, but also the resource files of different platforms (such as pictures, audio, video, etc.). The storage path and upload method of resource files on different platforms are often different, and resource files on different platforms need to be managed and uploaded.

[0050] In order to solve the above technical problems, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] Embodiment 1

[0052] Please refer to Figure 1 , a game packet output method provided in an embodiment of the present application, including S10 to S30, specifically:

[0053] S10: Obtain a first parameter configuration file; the first parameter configuration file includes a first upload address of a first resource file and a second upload address of a platform corresponding to a first code file.

[0054] Preferably, in some embodiments of the present application, the first parameter configuration file includes: an ID (APP ID) corresponding to the game application and the package name to be packaged, a first upload address of the first resource file (i.e., a public server address, where the public server stores public game resources, such as pictures, sound effects, models and other resources), and a second upload address of the platform corresponding to the first code file or a warehouse address in the version control system for submitting and managing the first code file; wherein the APP ID and package name are different on different platforms, and the second upload address is linked to the code server of the corresponding platform.

[0055] refer to Figure 3 , which is a schematic diagram of one of the interfaces of a system for applying a game package output method provided in some embodiments of the present application. The user generates a first parameter configuration file by selecting a package name corresponding to the file to be packaged and selecting a platform corresponding to the package output, including but not limited to IOS, WeChat and Android.

[0056] Preferably, in some embodiments of the present application, the first parameter configuration file also includes the platform selected by the user for which the package needs to be generated. For example, if the user selects three platforms with the same package name, the first parameter configuration files for the three platforms are generated accordingly.

[0057] Preferably, in some embodiments of the present application, the first parameter configuration file also includes the address of a resource server corresponding to each platform, and the resource server is used to store non-public game resources required for different platforms. The non-public game resources are only applicable to the corresponding platform and cannot be used for all platforms.

[0058] S20: Through the game engine, according to the platform corresponding to the first parameter configuration file, the original game file is converted and a first output file corresponding to the platform is generated; the output file includes the first resource file and the first code file corresponding to the platform.

[0059] Preferably, in some embodiments of the present application, the game engine includes but is not limited to Unity, Unreal Engine, Cocos2d, Godot, and GameMaker Studio 2, and the embodiments of the present application preferably use the Cocos2d game engine.

[0060] Further, in some embodiments of the present application, the process of converting the original game file and generating a first outbound file corresponding to the platform through the game engine according to the platform corresponding to the first parameter configuration file includes:

[0061] Input the first parameter configuration file and the original game file into the game engine, and obtain a second output file output by the game engine; the second output file includes a second resource file and a second code file corresponding to the platform;

[0062] Compare the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file;

[0063] Obfuscate the second code file to obtain the corresponding first code file.

[0064] After the game engine generates the second resource file and the second code file of the corresponding platform according to the original game file, the above two files need to be processed. First, if the second resource file is uploaded directly to the public server, not only will the transmission efficiency be low, but a large amount of duplicate data will appear on the public server, wasting storage space. Therefore, by comparing the difference between the second resource file and the third resource file output by the game engine in the previous version, only uploading the first resource file of the difference part effectively improves the data transmission efficiency and the utilization rate of public server resources. In addition, in order to improve the security of the game project, the code of the second code file is obfuscated and converted into a form that is functionally equivalent but difficult to read and understand, which effectively improves the security of the game project.

[0065] Preferably, in some embodiments of the present application, code obfuscation refers to a technique of modifying the code to make it more difficult to understand, with the purpose of preventing the code from being reverse engineered, decompiled or reverse analyzed, improving the security of the code, and increasing the difficulty of cracking, which is usually performed through the following steps: replacing variable and function names with meaningless short letters or numbers; changing the execution order of the code or adding invalid code branches or loop structures without affecting the code function; deleting comments and blank characters in the code; encrypting or encoding sensitive strings in the code, etc.

[0066] Further, in some embodiments of the present application, the first parameter configuration file also includes a third code file corresponding to each platform; the step of inputting the first parameter configuration file and the original game file into the game engine to obtain a second output file output by the game engine includes:

[0067] Sequentially traverse each of the first parameter configuration files stored in the packet output manager;

[0068] The third code file currently traversing the first parameter configuration file is executed to control the game engine to package the original game file into the second code file corresponding to the platform.

[0069] Through the package manager, package output operations are performed according to all the first parameter configuration files configured by the user, ensuring that the special requirements of different platforms can be met when generating platform-specific package output files. At the same time, game packages for multiple platforms can be completed at one time without the need to manually operate each platform separately, thereby improving the automation level and efficiency of package output operations.

[0070] Preferably, in some embodiments of the present application, the first parameter configuration file also includes a third code file corresponding to each platform. Since each platform calls a different interface, copies a different folder address, and receives a different message when the packet is completed, it is necessary to generate corresponding packet logic execution codes, i.e., third code files, for different platforms.

[0071] Preferably, reference Figure 3 When the user selects the platform to be packaged through the interface and generates the corresponding first configuration file, the package manager stores all the first configuration files, and automatically executes the corresponding third code file according to the platform selected by the user in the first configuration file, and controls the game engine to package the original game file into the second resource file and the second code file according to other configuration data in the first configuration file. This enables the package operation of multiple platforms and multiple channels to be completed at one time, improving the efficiency of package production.

[0072] Further, in some embodiments of the present application, the step of comparing the second resource file with a third resource file of a second output file of a previous version output by the game engine to obtain the first resource file includes:

[0073] Obtain binary files of the second resource file and the third resource file;

[0074] Compare the differences between the binary files of the second resource file and the third resource file to obtain the first resource file;

[0075] The second resource file is updated to the third resource file.

[0076] Through binary calculation, the second resource file and the third resource file are differentially calculated, thereby improving the efficiency of obtaining the first resource file; at the same time, the third resource file is promptly replaced with the second resource file after the differential calculation, thereby preventing errors in the differential calculation during the subsequent package output process.

[0077] Preferably, in some embodiments of the present application, since the number of resources of the project is relatively large, in order to speed up the uploading of resources, it is necessary to extract different resource files and put them into the remote address server folder, thereby improving the uploading speed. Specifically, the first resource file can be obtained by the following steps:

[0078] Use Python's built-in file operation functions to read the binary data of the file, read the binary data corresponding to the third resource file and the second resource, and compare the differences between the binary data of the two to generate the first resource file. Put the first resource file into a temporary folder, and then overwrite the third resource file with the second resource file. At the same time, generate the version number corresponding to this package (the purpose is to record the current file version and the online version to achieve version differentiation). At the same time, create a timestamp-named folder in the remote server (such as a public server or a resource server corresponding to each platform), and put the first resource file and the generated version number into it.

[0079] S30: submitting the first resource file to the public server through the first upload address; submitting the first code file to the corresponding platform through the second upload address.

[0080] Further, in some embodiments of the present application, submitting the first code file to the corresponding platform through the second upload address includes:

[0081] When the first code file is generated for the first time, the first code file is added to the original game file.

[0082] The code files generated for the first time are usually key files involving new functions or new platform support. For the code files generated for the first time, they are automatically added to the original game files to ensure the integrity of the code and prevent release failure or incomplete version due to omissions.

[0083] Preferably, in some embodiments of the present application, some non-public game resources are uploaded to the corresponding resource server through the resource server address of the corresponding platform, and the non-public game resources are generated together with the second resource file and the second code file generated by the game engine.

[0084] In order to better illustrate the above embodiment, refer to Figure 2 The WeChat platform is used as an example to illustrate the package delivery process, specifically:

[0085] S40: Before the package is output, a platform to which the package needs to be output is selected, and information in a configuration file required for the package to be output is modified.

[0086] S50: Generate package code files and some public resource files through Cocos2d.

[0087] S60: Before submitting the code file to the WeChat platform, a code obfuscation operation is performed, and a difference file of the public resource file is generated.

[0088] S70: Submit the code file by calling the upload interface of the project submission of the WeChat developer tool; and submit the public resource file by calling the upload interface of svn.

[0089] In summary, a game packet output method provided by an embodiment of the present application has the following beneficial effects: by configuring a parameter configuration file, when faced with rapid iteration of multi-platform game versions and frequent version updates, the packet output process can be adjusted by modifying the configuration file only, without the need to manually output packets for each platform independently through the game engine, thereby improving the flexibility and efficiency of packet output; in addition, by modifying the upload address in the parameter configuration file, the manual operation of multiple different file management and upload processes on one platform is reduced, thereby improving the efficiency of file upload; at the same time, the parameter configuration file can enable managers to clearly trace each packet output and upload behavior, thereby improving the efficiency of subsequent version control and management.

[0090] Embodiment 2

[0091] refer to Figure 4 , which is a game packet output device provided in an embodiment of the present application, includes: a parameter configuration module 11, a packet output module 12 and a file submission module 13.

[0092] Further, in some embodiments of the present application, the parameter configuration module 11 is used to obtain a first parameter configuration file; the first parameter configuration file includes a first upload address of a first resource file and a second upload address of a first code file corresponding to a platform; the outbound package module 12 is used to convert the original game file through a game engine according to the platform corresponding to the first parameter configuration file and generate a first outbound package file corresponding to the platform; the outbound package file includes the first resource file and the first code file corresponding to the platform; the file submission module 13 is used to submit the first resource file to a public server through the first upload address; and submit the first code file to the corresponding platform through the second upload address.

[0093] Further, in some embodiments of the present application, the game engine converts the original game file and generates a first out-of-package file corresponding to the platform according to the platform corresponding to the first parameter configuration file, including: inputting the first parameter configuration file and the original game file into the game engine to obtain a second out-of-package file output by the game engine; the second out-of-package file includes a second resource file and a second code file corresponding to the platform; comparing the second resource file with the third resource file of the previous version of the second out-of-package file output by the game engine to obtain the first resource file; and obfuscating the second code file to obtain the corresponding first code file.

[0094] Further, in some embodiments of the present application, the comparing the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file includes: obtaining binary files of the second resource file and the third resource file; comparing the differences between the binary files of the second resource file and the third resource file to obtain the first resource file; and updating the second resource file to the third resource file.

[0095] Furthermore, in some embodiments of the present application, the first parameter configuration file also includes a third code file corresponding to each platform; the first parameter configuration file and the original game file are input into the game engine to obtain a second out-of-package file output by the game engine, including: sequentially traversing each of the first parameter configuration files stored in the out-of-package manager; executing the third code file currently traversing the first parameter configuration file to control the game engine to out-package the original game file into the second code file corresponding to the platform.

[0096] Further, in some embodiments of the present application, submitting the first code file to the corresponding platform through the second upload address includes: when the first code file is generated for the first time, adding the first code file to the original game file.

[0097] It can be understood that the above-mentioned device embodiment corresponds to the method embodiment of the present invention. A game packet output device provided by the embodiment of the present invention can implement any method embodiment of the present invention, that is, the game packet output method provided in Example 1.

[0098] In summary, a game packet output device provided by an embodiment of the present application has the following beneficial effects: by configuring a parameter configuration file, when faced with rapid iterations of multi-platform game versions and frequent version updates, the packet output process can be adjusted by simply modifying the configuration file, without the need to manually output packets for each platform independently through the game engine, thereby improving the flexibility and efficiency of packet output; in addition, by modifying the upload address in the parameter configuration file, the manual operation of multiple different file management and upload processes on one platform is reduced, thereby improving the efficiency of file upload; at the same time, the parameter configuration file can enable managers to clearly trace each packet output and upload behavior, thereby improving the efficiency of subsequent version control and management.

[0099] Embodiment 3

[0100] Based on the above-mentioned embodiments of the game packet output method, another embodiment of the present application provides a game packet output terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the game packet output method of any embodiment of the present application is implemented.

[0101] Exemplarily, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the game package output device.

[0102] The game packet output device may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The game packet output terminal device may include, but is not limited to, a processor and a memory.

[0103] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The processor is the control center of the game packet device, and uses various interfaces and lines to connect the various parts of the entire game packet device. The memory may be used to store the computer program and / or module, and the processor implements various functions of the game packet device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, an internal memory, a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash memory card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0104] Embodiment 4

[0105] Based on the above-mentioned embodiments of the game output method, another embodiment of the present application provides a storage medium, wherein the storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the game output method of any embodiment of the present application.

[0106] In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0107] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A method for detecting a game error, characterized in that: include: Get a first parameter configuration file; The first parameter configuration file includes a first upload address of the first resource file and a second upload address of the platform corresponding to the first code file; By means of a game engine, according to the platform corresponding to the first parameter configuration file, the original game file is converted and a first output file corresponding to the platform is generated; the output file includes the first resource file and the first code file corresponding to the platform; The first resource file is submitted to the public server through the first upload address; and the first code file is submitted to the corresponding platform through the second upload address.

2. A method for out-of-game exploitation as claimed in claim 1, characterized in that: The method of converting the original game file and generating a first outbound file corresponding to the platform through the game engine according to the platform corresponding to the first parameter configuration file includes: Input the first parameter configuration file and the original game file into the game engine, and obtain a second output file output by the game engine; the second output file includes a second resource file and a second code file corresponding to the platform; Compare the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file; Obfuscate the second code file to obtain the corresponding first code file.

3. A method for out-of-game exploitation as claimed in claim 2, characterized in that: The step of comparing the second resource file with a third resource file of a second output file of a previous version output by the game engine to obtain the first resource file includes: Obtain binary files of the second resource file and the third resource file; Compare the differences between the binary files of the second resource file and the third resource file to obtain the first resource file; The second resource file is updated to the third resource file.

4. A method for out-of-game exploitation as claimed in claim 2, characterized in that: The first parameter configuration file also includes a third code file corresponding to the platform; The step of inputting the first parameter configuration file and the original game file into the game engine to obtain a second output file output by the game engine includes: Sequentially traverse each of the first parameter configuration files stored in the packet output manager; The third code file currently traversing the first parameter configuration file is executed to control the game engine to package the original game file into the second code file corresponding to the platform.

5. A method for out-of-game exploitation as claimed in claim 1, characterized in that: Submitting the first code file to the corresponding platform through the second upload address includes: When the first code file is generated for the first time, the first code file is added to the original game file.

6. A game packet output device, characterized in that: include: Parameter configuration module, package output module and file submission module; The parameter configuration module is used to obtain a first parameter configuration file; the first parameter configuration file includes a first upload address of a first resource file and a second upload address of a platform corresponding to a first code file; The output module is used to convert the original game file and generate a first output file corresponding to the platform through the game engine according to the first parameter configuration file corresponding to the platform; the output file includes the first resource file and the first code file corresponding to the platform; The file submission module is used to submit the first resource file to the public server through the first upload address; and submit the first code file to the corresponding platform through the second upload address.

7. A game packet output device as claimed in claim 6, characterized in that: The step of converting the original game file and generating a first output file corresponding to the platform through the game engine according to the platform corresponding to the first parameter configuration file includes: Input the first parameter configuration file and the original game file into the game engine, and obtain a second output file output by the game engine; the second output file includes a second resource file and a second code file corresponding to the platform; Compare the second resource file with the third resource file of the second output file of the previous version output by the game engine to obtain the first resource file; Obfuscate the second code file to obtain the corresponding first code file.

8. A game packet output device as claimed in claim 7, characterized in that: The step of comparing the second resource file with a third resource file of a second output file of a previous version output by the game engine to obtain the first resource file includes: Obtain binary files of the second resource file and the third resource file; Compare the differences between the binary files of the second resource file and the third resource file to obtain the first resource file; The second resource file is updated to the third resource file.

9. A game packet output device as claimed in claim 7, characterized in that: The first parameter configuration file also includes a third code file corresponding to the platform; The step of inputting the first parameter configuration file and the original game file into the game engine to obtain a second output file output by the game engine includes: Sequentially traverse each of the first parameter configuration files stored in the packet output manager; The third code file currently traversing the first parameter configuration file is executed to control the game engine to package the original game file into the second code file corresponding to the platform.

10. A game packet output device as claimed in claim 6, characterized in that: Submitting the first code file to the corresponding platform through the second upload address includes: When the first code file is generated for the first time, the first code file is added to the original game file.