Virtues Last Reward 3DS

From GameBrew
Virtues Last Reward
Vlrhackingtools2.png
General
Authorlucaboy
TypeHack Utilities
Version2016
LicenseMixed
Last Updated2016/04/29
Links
Download
Website

This is a collection of tools for editing the text, the textures and the fonts of the game Zero Escape: Virtue's Last Reward for Nintendo 3DS.

User guide

FAQ

Q. How can I extract the files from the game?

Follow the tutorial.

Q. Is there any way to fix the save bug?

No, but you can use the homebrew VLR Safe Launcher.

Q. Where can I find the text files?'

The text is inside the LUA files (in RomFS/script/language).

You'll have to open these file with the tool VLR Text Editor.

Q. Can I use characters like à, á, è, é, ì, í, ò, ó, ù, ú, ü, ñ etc.?

You can use any character that is encodable through UTF-8, but first you have to make sure that the character you want to use is already present inside the fonts (the .dat files in RomFS/fonts), if not, you'll have to edit the font files to add it (using the tool VLR Font Editor).

The developers of Virtue's Last Reward have implemented an "automatic word wrapping" function in the game, but if the word at the end of a line contains a no-standard ASCII character, that word could be split. However, if only the last character of the word is a no-standard ascii character, there wouldn't be any problem.

Q. Is there any way to fix this issue?

You simply have to add manually a new line (the best way) or you have to replace the glyph of an unused ASCII character (the fastest way).

Example: The "{" character isn't used in the game, so you could replace its glyph with the "ò" glyph (using the tool VLR Font Editor). After that, you'll have to replace the "ò" with "{" in the text (using the tool VLR Text Editor).

Q. How can I open the .pack/.packs files?

Use VLR Graphics Toolset to extract/repack them.

Q. Can I change the size of a texture and reconvert it?

Yes, you can do it without any problem (using the tool VLR Graphics Toolset).

Q. When I try to reconvert a texture I get the error "The number of mipmaps is missing"/"The compression value is missing", how can I fix it?

Probably you've renamed the file; make sure the name has the following format "name.etc.x.yyy... .png", where:

  • x is 0 or 1 (it would be 1 only for the textures packed in the .zip archives in RomFS/minigame).
  • yyy is a three-digits integer number between 001 and Min(Max(1, ceil(log2(Min(height, width))) - 2), 255) (it would be different from 001 only for the textures inside the .zip/.pack archives in RomFS/scenes).

Q. How can I properly edit a pre-rendered texture (a PNG file inside the "archive" or the "evcg" folder)?

Mini Tutorial (using Adobe Photoshop):

  • Open the PNG file.
  • Double-click on the main layer to unlock it.
  • Edit the image.
  • Select Layer > Flatten Image.
  • Save the image.

Related links

Screenshots

vlrhackingtools3.png

vlrhackingtools4.png

vlrhackingtools5.png

Changelog

VLR Text Editor v2.7

  • Written in Visual C# (it requires Microsoft .NET Framework 3.5).
  • Open, edit and save the LUA files of Virtue's Last Reward.
  • Drag and Drop support.
  • Integration with Microsoft Translator.
  • Line Numbers for the TextBox (thanks to Dino Chiesa for the code).
  • "Proofread" (allows you to compare two files).
  • "Safe Mode" (prevents from editing the "<E>" tags).
  • There is a little "Easter Egg"... Will you be able to find it?

VLR Graphics Toolset v0.3.1

  • Written in Ansi-C++.
  • Supports the loading of multiple files.
  • Drag and Drop support.
  • Decompresses and recompresses the textures compressed with the ETC1 compression (thanks to Rich Geldreich for "rg_etc1").
  • Decompresses and recompresses the textures compressed with the ETC1A4 compression.
  • Deswizzles and reswizzles the textures swizzled with the Z-order (with a simple, but efficient algorithm).
  • Supports the mipmaps creation (with a very basic "resampling" function).
  • Decodes and encodes the textures to "PNG" format (thanks to Lode Vandevenne for the "LodePng" library).
  • Unpacks and repacks the "PACK" archives (thanks to Marc Alexander Lehmann for the "LibLZF" library).
  • An awesome icon (thanks to hexzyle).
  • There is a little "Easter Egg"... Will you be able to find it?

VLR Font Editor v1.4

  • Written in Visual C# (it requires Microsoft .NET Framework 3.5).
  • Open, edit and save the fonts of Virtue's Last Reward.
  • Drag and Drop support.
  • Extract and replace the glyphs (thanks to Igor Pavlov for the LZMA SDK).
  • Recalculates automatically the better values when you replace a glyph.
  • Add new characters.
  • Prevents from adding an already existing character.
  • There is a little "Easter Egg"... Will you be able to find it?

External links

Advertising: