Compare commits

..

4 Commits
v1.0 ... main

Author SHA1 Message Date
Michael Hinrichs 3413cd7c73 cleanup
Remove unused using. Simplify "Remove".
2025-10-02 14:26:30 -05:00
Michael Hinrichs 9752e5a457 update from .net5.0 to .net6.0. 2024-08-14 16:47:11 -03:00
NintenHero a2465fd219
Update README.md 2024-06-01 16:07:04 -05:00
Michael Hinrichs 6815393b01 Damit, i forgot to switch the reader to the other file 2024-05-22 13:14:08 -05:00
3 changed files with 8 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<RootNamespace>Linkrealms_Extractor</RootNamespace> <RootNamespace>Linkrealms_Extractor</RootNamespace>
</PropertyGroup> </PropertyGroup>

View File

@ -1,5 +1,4 @@
//Written for Linkrealms. https://steamcommunity.com/app/402450/ //Written for Linkrealms. https://steamcommunity.com/app/402450/
using System;
using System.IO; using System.IO;
namespace Linkrealms_Extractor namespace Linkrealms_Extractor
@ -9,7 +8,7 @@ namespace Linkrealms_Extractor
static void Main(string[] args) static void Main(string[] args)
{ {
string path = Path.GetDirectoryName(args[0]); string path = Path.GetDirectoryName(args[0]);
path = path.Remove(path.IndexOf("\\resources")); path = path[..path.IndexOf("\\resources")];
BinaryReader br = new(File.OpenRead(Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + ".idx")); BinaryReader br = new(File.OpenRead(Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + ".idx"));
System.Collections.Generic.List<Subfile> data = new(); System.Collections.Generic.List<Subfile> data = new();
@ -26,6 +25,7 @@ namespace Linkrealms_Extractor
}); });
} }
br = new(File.OpenRead(Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + ".pak"));
foreach (Subfile file in data) foreach (Subfile file in data)
{ {
br.BaseStream.Position = file.start; br.BaseStream.Position = file.start;

View File

@ -1,4 +1,5 @@
# Linkrealms-Extractor # Linkrealms Extractor
Extracts the resources from Linkrealms idx/pak files. Drag either one onto the application, and it will read both the idx file for file names and locations, and the pak file of the same name for the file data. Extracts the resources from Linkrealms idx/pak files. Drag either one onto the application,</br>
<br> and it will read both the idx file for file names and locations, and the pak file of the same name for the file data.
Unfortunately, the game is no longer avalible for purchase on steam. If you have it in your library, you can still reinstall it.
Unfortunately, the game is no longer avalible for purchase on steam. If you have it in your library,</br>you can still reinstall it with steam://install/402450.