Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Virtues Last Reward 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = Virtues Last Reward | image = https://dlhb.gamebrew.org/3dshomebrew/VirtuesLastReward.jpg|250px | type = Hack Utilities | version = | licence...")
 
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = Virtues Last Reward
|title=Virtues Last Reward
| image = https://dlhb.gamebrew.org/3dshomebrew/VirtuesLastReward.jpg|250px
|image=Vlrhackingtools2.png
| type = Hack Utilities
|description=Virtues Last Reward ROM hacking tools.
| version =
|author=lucaboy
| licence = Mixed
|lastupdated=2016/04/29
| author = lucaboy
|type=Hack Utilities
7,727 21 4
|version=2016
| website = https://gbatemp.net/threads/release-virtues-last-reward-rom-hacking-tools.415208/
|license=Mixed
| download = https://dlhb.gamebrew.org/3dshomebrew/VirtuesLastReward.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/vlr_rom_hacking.rar
| source = https://dlhb.gamebrew.org/3dshomebrew/VirtuesLastReward.rar
|website=https://gbatemp.net/threads/release-virtues-last-reward-rom-hacking-tools.415208/
}}
}}
<youtube>jfiLxNXfP2I</youtube>
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.


Here is a collection of tools that i've developed to edit the text, the textures and the fonts of the game &quot;Zero Escape: Virtue's Last Reward&quot; for Nintendo 3DS:
==User guide==
https://goo.gl/yXmbS2 (last update: 04/29/2016).
===FAQ===
'''Q. How can I extract the files from the game?'''


<div class="bbCodeBlock bbCodeQuote">
Follow the tutorial.


<div class="quote">
'''Q. Is there any way to fix the save bug?'''


* Italian translation: http://romhacking.it/forums/index.php?topic=1983.0
No, but you can use the homebrew [[VLR_Safe_Launcher_3DS|VLR Safe Launcher]].


''Q. Where can I find the text files?'''


</div>
The text is inside the LUA files (in RomFS/script/language).
<div class="quoteExpand">


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


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


</div>
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).
<div class="messageTextEndMarker">


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.


</div>
'''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===
* [https://romhacking.it/forums/index.php?topic=1983.0 Italian tranaslation] - By lucaboy.
* [https://citra-emu.org/ Citra] - Nintendo 3DS Emulator.
* [https://gbatemp.net/threads/tutorial-how-to-decrypt-extract-rebuild-3ds-cia-cxi-files.383055 How to Decrypt, Extract & Rebuild 3DS|CIA|CXI Files] Tutorial by Aisa81.
* [https://gbatemp.net/threads/tutorial-how-to-decrypt-extract-rebuild-a-cia.388677 How to Decrypt, Extract & Rebuild a CIA] - Tutorial by Asia81.
* [[Mobiclip_Decoder_3DS|Mobiclip Decoder]] - Mobiclip decoder is a decoder for the mobiclip video codec used by Nintendo.
* [http://hcs64.com/vgmstream.html vgmstream] - A library for playing a wide variety of prerendered audio formats used in video games.
* [https://tcrf.net/Virtue%27s_Last_Reward_(Nintendo_3DS) The Cutting Room Floor] - Virtual's Last Reward - Unused content.
 
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrews/vlrhackingtools3.png
 
https://dlhb.gamebrew.org/3dshomebrews/vlrhackingtools4.png
 
https://dlhb.gamebrew.org/3dshomebrews/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 [http://hexzyle.deviantart.com 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==
* GBAtemp - https://gbatemp.net/threads/release-virtues-last-reward-rom-hacking-tools.415208

Latest revision as of 13:54, 6 July 2024

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: