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

Gateshark2NTR 3DS

From GameBrew
Revision as of 11:46, 22 Haziran 2024 by HydeWing (talk | contribs)
Gateshark2NTR
Sharkgate2ntr2.png
General
AuthorNanquitas
TypeHack Utilities
Version1.1
LicenseMixed
Last Updated2016/08/07
Links
Download
Website

Gateshark2NTR is a program that will allow you to convert a Gateshark's cheats text file in a plugin usable with NTR.

Note: This is no longer supported, consider using CTRPluginFramework 3DS with Action Replay support instead of using a converter. With it you can simply load your text files with cheats.

User guide

Requirements:

  • DevKitPRO. Install this and be sure to add "c:\devkitPro\msys\bin" to the PATH Environment Variable
  • You also need to have the VCRedist 2015 installed.

There are 3 ways to pass the file:

  • Drag & Drop the file on the soft's icon.
  • Launch the soft and a window will appear to select the file.
  • Pass the file as an argument through a shell.

This soft support all the codes used by gateway and even more.

Complete STD AR/Gateway codes

Custom Codes

Config

The soft can use a config file in order to set some preference:

#builder_name: Nanquitas;
#name_auto: 1;
#folder_auto: 1;
#log: 0;
#debug: 1;

List of options and their meaning:

  • builder_name - Will permit you to enter the name that will be used by the converter automatically for the splash menu.
  • name_auto - Set to 1 by default. If disabled the soft will ask you to enter a name for the resulting file.
  • folder_auto - Set to 1 by default, if the name of the input file is recognized as a titleID, the program will automatically create the folder tree like: plugin > ID folder > plugin.plg.
  • log - Set to 0 by default. Create a traceback file with various info. Mainly used to debug the program.
  • debug - Set to 0 by default. If activated, the plugin will have the Debug Menu enabled. This menu can be shown with L + Start and shows various infos. This menu also have a logger.

Log infos

This code can only be effective if you compiled the plugin in a debug mode. Else it'll have no effect. More infos on the logger and the log code:

LOG0X00Y ZZZZZZZZ
X = Type
Y = Mode
ZZZZZZZZZ = Value

Type:

  • INFO - Color green.
  • WARNING - Color orange.
  • DEBUG - Color grey.
  • ERROR - Color red.
    • The ERROR type also have the particularity to shows the debug Menu on it's own right when an error's log is thrown.
    • That's mean if you set an error log, every time that the log is thrown, the debug menu will pause the game and be shown.

Mode:

  • Print value as text.
  • Print the value stocked at ZZZZZZZZ: "*(0x12345678): 11111111".
  • Print the address and value stocked as Z: "*(0x12345678): *(11111111): 22222222".
  • Print the value stocked in offset register.
  • Print the value stocked in data register.
  • Print the sum of offset + Z.

Creating a spoiler

You can organize the menu with some spoiler.

[++Spoiler text++]//<-- Will open a spoiler
[--]//<-- Will close a spoiler

You can open a spoiler inside another spoiler but only for "two level":

[cheats]
[+Spoiler+]
->cheats
->[+Spoiler inside Spoiler+]
--->[cheats]
->[+a second spoiler inside the first one+]
--->[cheats]

You can't do:

[cheats]
[+Spoiler+]
->cheats
->[+Spoiler inside Spoiler+]
--->[cheats]
--->[+a spoiler inside the second one which is himself in the first one+]
----->[cheats]

Doing the second option will only create another spoiler below the second.

Creating a note

You can also create a note for a cheat, which can be shown by pressing Y in the menu.

You can declare a note with: {This is a note}

Note that the \n means going to the next line. By using it twice, you can jump a line.

It's the only format character this function supports.

Troubleshoot

If when you start the program you have this error: The program can't start because VCRUNTIME140.dll is missing from your computer.

Try reinstalling the program to fix this problem.

Then install the VCRedist 2015 I linked higher.

Screenshots

sharkgate2ntr3.png

Changelog

V1.1 2016/08/07

  • Add Mask support for 16 bits conditionals codes (thanks to @itsRyan for noticing it).
  • Add value truncation for the (wrong) writes codes, avoid warnings on compilation.

V1.0.1 2016/08/03

  • Bug correction.

Credits

  • @cell9 for the CFW NTR.
  • @chronoss for being the main beta tester. He did a really great job, and many of improvement are here because of him
  • A lot of people all over the web, particularly people helping in the 3DS Scene.

External links

Advertising: