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\TrSkill.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
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\Trainer.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
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\SpAbility.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
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\Skill.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
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; |
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\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
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
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
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}") | |
}; |
OlderNewer