This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DllImport("user32.dll")] | |
static extern IntPtr GetDC(IntPtr hwnd); | |
[DllImport("user32.dll")] | |
static extern Int32 ReleaseDC(IntPtr hwnd, IntPtr hdc); | |
[DllImport("user32.dll")] | |
static extern bool IsProcessDPIAware(); | |
[DllImport("gdi32.dll")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); | |
var sjis = Encoding.GetEncoding("shift_jis"); | |
using var br = new BinaryReader(File.OpenRead(@"C:\Users\Mia\Desktop\ConquestData\Jinkei.dat")); | |
using var tw = new StreamWriter(File.Create(@"C:\Users\Mia\Desktop\out.txt")); | |
var len = br.BaseStream.Length; | |
int count = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Difference between NA (before), and EU (after)--> | |
<changelist> | |
<type name="Messages"> | |
<object name="Block_2_Msg_43"> | |
<property name="Text"> | |
<before>Sort by kingdom</before> | |
<after_>Sort by Pokédex No.</after_> | |
</property> | |
</object> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var config = new WrenConfig | |
{ | |
Write = (vm, text) => Console.Write(text), | |
Error = (v, type, module, line, msg) => Console.Write($"{type} in module '{module}' on line '{line}', details: {msg}") | |
}; | |
using var vm = new WrenVM(config); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var config = new WrenConfig | |
{ | |
Write = (vm, text) => Console.Write(text), | |
Error = (v, type, module, line, msg) => Console.Write($"{type} in module '{module}' on line '{line}', details: {msg}") | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local total = 0 | |
local scenario = 0 | |
for sw in luanet.each(service.ScenarioWarrior:Retrieve(scenario):Enumerate()) do | |
if sw.GetScenarioPokemon(0) ~= 1100 then | |
local wid = sw.Warrior | |
local w = service.BaseWarrior:Retrieve(toInt(wid)) | |
while w.RankUp ~= WarriorId.NoWarrior do | |
w = service.BaseWarrior.Retrieve(toInt(w.RankUp)) | |
end | |
total = total + w.Capacity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open XPlot.Plotly; | |
open RanseiLink.Core.Models; | |
open System; | |
printfn "Loading EVE --------------------------" | |
let eve64 = new EVE(@"C:\Users\Mia\Desktop\00000064.eve") | |
let eve65 = new EVE(@"C:\Users\Mia\Desktop\00000065.eve") | |
let intIdx = 16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); | |
var sjis = Encoding.GetEncoding("shift_jis"); | |
using var br = new BinaryReader(File.OpenRead(@"C:\Users\Mia\Desktop\ConquestData\Bushou.dat")); | |
using var tw = new StreamWriter(File.Create(@"C:\Users\Mia\Desktop\out.txt")); | |
var len = 0x1770; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require("lualinq") | |
require("util") | |
local modelService = using(service.Pokemon:Disposable()) | |
local row = 2 | |
local col = 24 | |
local len = 8 | |
local groups = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text; | |
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); | |
var sjis = Encoding.GetEncoding("shift_jis"); | |
using var br = new BinaryReader(File.OpenRead(@"C:\Users\Mia\Desktop\ConquestData\Scenario.dat")); | |
using var tw = new StreamWriter(File.Create(@"C:\Users\Mia\Desktop\out.txt")); | |
var len = br.BaseStream.Length; | |
int count = 0; |
NewerOlder