Game deployment for Mac...

Sarafin

Villager
Member
Joined
Aug 9, 2016
Messages
25
Reaction score
1
First Language
English
Primarily Uses
Hey again,


It's been a while... I tried deploying a demo of my game (still under construction) for a game making workshop I'm involved in, and unfortunately I was foolish and did not test the deployed game before testing it on another Mac.  (I own a desktop, and so could not transport my machine to the workshop.)  After two screens, the game cuts out with an error saying that the game can't load one of the songs I use for the BGM.  When I deployed the game, I clicked the box that cuts all files that are not used for the final game (can't recall what that box is called/says).  Maybe I should not have clicked that when deploying?  Any advice?  The file is being used, so I am a wee bit confused.


On another computer right now - will have to take any of your advice and apply it later, when I am back at home.  I can't find any tutorials on this, so I thought I would ask the forums about it.


-Saraƒin
 

Dad3353

Veteran
Veteran
Joined
Mar 9, 2016
Messages
421
Reaction score
110
First Language
English
Primarily Uses
The system that excludes unused files (to reduce the deployed version's size...) can only keep files that have been declared to the system. Any MV files will have been declared,but many plugins do not declared their dependant resources to the system, and are therefore not included in the deployment. The first question, then, would be... Do you use any plugins that may need these music files..? Any music used by a Map will have been declared, but music used by a plugin will probably be unknown to the system, and therefore excluded.


A work-around..? Yes, there is one. As resources used by a Map are declared, the trick would be to create a dummy Map,  never displayed, simply as a 'place-holder' for Events (never triggered...) which refer to these otherwise undeclared resources. This could be BGM files, but also any graphics that are used only by plugins, and would be missing, too.


Of course, another possibility is to not tick that box and deploy the whole shebang (a technical term...), but the resulting deployment could be excessively large, in that case.


Hope this helps; subject to correction, completion and/or contradiction by others.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
another option here is the filename and filepath - the game will only load files that conform to networking rules, but especially if your development computer is a windows computer, that OS has overrides to make files available if they do not follow networking rules.


The result would always be that it works on a Windows computer but fails after deployment to a non-Windows OS because it suddenly couldn't find the files without those Win-Overrides.


Solution: rename all files to follow networking rules before deployment
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top