Need help with Android export using expansion files

erestorpat

Villager
Member
Joined
Jan 16, 2016
Messages
17
Reaction score
1
First Language
french
Greetings all,


I know there are a lot of topics about people asking for help using expansion files with Android and we never had any clear answers yet so... here are some questions I have that would probably solve my current issues :


I managed to find that a specific file in RPG Maker MV is linking the game to its graphics and audio files : rpg_manager.js


Now, I would like to know how I could either :

  • Download Graphics and Audio files to the mobile device without an expansion file (by downloading on a webserver);
  • Download Graphics and Audio files from expansion file and extract it on the mobile device (I don't recommend since it takes twice as much space as it would usually);
  • Download Graphics and Audio files from expansion file and read directly in the expansion file.

I found this thread talking about a way to unzip an expansion file but I don't know where I could put these informations. I lack skills in programming Android and prefer creating Android apps that do not require OBB files. However, I know, too, that there is another command line we can use to read files inside an expansion (OBB) file which is :


// Get a ZipResourceFile representing a specific expansion file
ZipResourceFile expansionFile = new ZipResourceFile(filePathToMyZip);


Code:
// Get an input stream for a known file inside the expansion file ZIPs
[COLOR=rgb(102,0,102)]InputStream[/COLOR][COLOR=rgb(0,0,0)] fileStream [/COLOR][COLOR=rgb(102,102,0)]=[/COLOR][COLOR=rgb(0,0,0)] expansionFile[/COLOR][COLOR=rgb(102,102,0)].[/COLOR][COLOR=rgb(0,0,0)]getInputStream[/COLOR][COLOR=rgb(102,102,0)]([/COLOR][COLOR=rgb(0,0,0)]pathToFileInsideZip[/COLOR][COLOR=rgb(102,102,0)]);[/COLOR]

Can anyone please help me out?!


Last time I tried modifying the rpg_manager.js path to my Graphics and Audio and now, I get this error in RPG Maker :


Error


Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file://sdcard/Android/obb/<package-name>/<main-expansion>.obb/img/titles1/Title.png'


Of course, replace <package-name> and <main-expansion>.obb by the real names they have.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top