Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication2
- {
- class Program
- {
- static string currentFolder = Directory.GetCurrentDirectory();
- static void Main(string[] args)
- {
- using (var fs = new FileStream(currentFolder + "\\zmha.bin", FileMode.Open, FileAccess.ReadWrite))
- {
- fs.Position = 0xE0;
- fs.WriteByte(Convert.ToByte(0x98));
- fs.Position = 0xDF;
- fs.WriteByte(Convert.ToByte(0x96));
- fs.Position = 0xDE;
- fs.WriteByte(Convert.ToByte(0x7F));
- Console.WriteLine("You should now have 9,999,999 Rupees!");
- Console.ReadLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement