A resource file loading method and device

A resource file and file technology, applied in the computer field, can solve problems that affect the development speed, game quality, limit the repeated adjustment of the game, and fail to test experimental data, etc.

Active Publication Date: 2018-09-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this cold-start resource file loading solution, when the configuration of the resource file is changed, you need to check the loading effect of the modified resource file, and you have to exit the game program. This workflow limits the repeated adjustment of the game and cannot be tested. More experimental data seriously affects the development speed and final game quality

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A resource file loading method and device
  • A resource file loading method and device
  • A resource file loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention provide a resource file loading method and device, which are used to realize hot loading of resource files, and complete the resource file loading process without exiting the running program.

[0026] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0027] The terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well as any variations...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for loading resource files. The method and device are used for achieving hot loading on the resource files, and the resource files can be loaded without withdrawing from an operating program. The method for loading the resource files includes the steps that a resource catalog needing to be monitored is registered in a catalog monitoring list, wherein the resource catalog comprises at least one resource file; the resource catalogs in the catalog monitoring list are subjected to file status change monitoring; when it is detected that the first resource file in the catalog monitoring list is changed, a file updating storage path of the first resource file and a file name of the first resource file are acquired according to the monitoring result corresponding to the catalog monitoring list; the updated first resource file is loaded in a memory according to the file updating storage path and the file name, and the updated first resource file is used for replacing a first resource file, obtained before updating, in a resource file mapping table.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a resource file loading method and device. Background technique [0002] In the game development process, the existing game resource processing workflow is that when an artist or planner modifies a file, let the running game exit, recreate a resource file (usually occupying hundreds of megabytes of storage space), and then recreate the resource file. Running the entire game, this workflow method wastes a lot of time and affects the speed of game development. For example, in the current cold loading implementation, all resource files are loaded when the game starts, and then used throughout the game life cycle. When the resource files are modified, the game needs to exit, pack the resource files again, and then restart the game server and load All resource files. In this cold-start resource file loading solution, when the configuration of the resource file is changed, you need...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
CPCG06F9/44521
Inventor 王洪
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products