Add importing guide
This commit is contained in:
		
							parent
							
								
									0c5216e44b
								
							
						
					
					
						commit
						675fe1533a
					
				@ -20,6 +20,7 @@ $path = strtok($_SERVER["REQUEST_URI"], '?');
 | 
			
		||||
				<a class="nav-link dropdown-toggle<?=((substr($path, 0, 6) == "/guide" || substr($path, 0, 25) == "/asset-replacements-guide") ? " active" : ""); ?>" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><?=loc("guides");?></a>
 | 
			
		||||
				<ul class="dropdown-menu">
 | 
			
		||||
					<li><a class="dropdown-item<?=(substr($path, 0, 6) == "/guide" ? " active" : ""); ?>" href="/guide<?=$ext;?>"><?=loc("setup");?></a></li>
 | 
			
		||||
					<li><a class="dropdown-item<?=(substr($path, 0, 7) == "/import" ? " active" : ""); ?>" href="/import<?=$ext;?>"><?=loc("import");?></a></li>
 | 
			
		||||
					<li><a class="dropdown-item<?=(substr($path, 0, 25) == "/asset-replacements-guide" ? " active" : ""); ?>" href="/asset-replacements-guide<?=$ext;?>"><?=loc("arep");?></a></li>
 | 
			
		||||
				</ul>
 | 
			
		||||
			</li>
 | 
			
		||||
 | 
			
		||||
@ -49,6 +49,14 @@
 | 
			
		||||
    "arep.5": "[UNTRANSLATED] You are now free to modify the image however you want. Just take care that the file has the same name, dimensions/resolution, and format/encoding as seen before.",
 | 
			
		||||
    "arep.6": "[UNTRANSLATED] To build your assets, run <code>pluto build.pluto</code> within the warframe-cache-tools directory.",
 | 
			
		||||
    "arep.7": "[UNTRANSLATED] Finally, to get the assets into the game, you can copy the <code>content (managed)</code> folder from warframe-cache-tools into the OpenWF folder of your client. The Bootstrapper will automatically patch the game to use your modified content, and if you ever wanna stop using it, you can simply remove the client's <code>content (managed)</code> folder.",
 | 
			
		||||
    "import": "[UNTRANSLATED] Importing",
 | 
			
		||||
    "import.title": "[UNTRANSLATED] Importing Guide | OpenWF",
 | 
			
		||||
    "import.intro": "[UNTRANSLATED] This guide will go over how to get your inventory data from live servers and import it in SpaceNinjaServer.",
 | 
			
		||||
    "import.export.title": "[UNTRANSLATED] Exporting Your Inventory From Live",
 | 
			
		||||
    "import.export.alecaframe": "[UNTRANSLATED] If you use AlecaFrame, you already have an encrypted version of your inventory. You can use <a href=\"https://sainan.github.io/alecaframe-inventory-parser/\" target=\"_blank\">this tool</a> to help you locate and decrypt it.",
 | 
			
		||||
    "import.export.helper": "[UNTRANSLATED] Alternatively, you can use |warframe-api-helper| to get a fresh copy by running it while the game is running & logged in on live. It will store it in <code>inventory.json</code>.",
 | 
			
		||||
    "import.import.title": "[UNTRANSLATED] Importing Your Inventory To SpaceNinjaServer",
 | 
			
		||||
    "import.import.desc": "[UNTRANSLATED] Now that you have your inventory, open the SpaceNinjaServer WebUI and locate the \"Import\" tab. You can simply paste the entire thing in the textbox and press the \"Submit\" button.",
 | 
			
		||||
    "contribute": "[UNTRANSLATED] Contribute",
 | 
			
		||||
    "contribute.title": "[UNTRANSLATED] Contributing to OpenWF",
 | 
			
		||||
    "contribute.code": "[UNTRANSLATED] Code",
 | 
			
		||||
 | 
			
		||||
@ -49,6 +49,14 @@
 | 
			
		||||
    "arep.5": "You are now free to modify the image however you want. Just take care that the file has the same name, dimensions/resolution, and format/encoding as seen before.",
 | 
			
		||||
    "arep.6": "To build your assets, run <code>pluto build.pluto</code> within the warframe-cache-tools directory.",
 | 
			
		||||
    "arep.7": "Finally, to get the assets into the game, you can copy the <code>content (managed)</code> folder from warframe-cache-tools into the OpenWF folder of your client. The Bootstrapper will automatically patch the game to use your modified content, and if you ever wanna stop using it, you can simply remove the client's <code>content (managed)</code> folder.",
 | 
			
		||||
    "import": "Importing",
 | 
			
		||||
    "import.title": "Importing Guide | OpenWF",
 | 
			
		||||
    "import.intro": "This guide will go over how to get your inventory data from live servers and import it in SpaceNinjaServer.",
 | 
			
		||||
    "import.export.title": "Exporting Your Inventory From Live",
 | 
			
		||||
    "import.export.alecaframe": "If you use AlecaFrame, you already have an encrypted version of your inventory. You can use <a href=\"https://sainan.github.io/alecaframe-inventory-parser/\" target=\"_blank\">this tool</a> to help you locate and decrypt it.",
 | 
			
		||||
    "import.export.helper": "Alternatively, you can use |warframe-api-helper| to get a fresh copy by running it while the game is running & logged in on live. It will store it in <code>inventory.json</code>.",
 | 
			
		||||
    "import.import.title": "Importing Your Inventory To SpaceNinjaServer",
 | 
			
		||||
    "import.import.desc": "Now that you have your inventory, open the SpaceNinjaServer WebUI and locate the \"Import\" tab. You can simply paste the entire thing in the textbox and press the \"Submit\" button.",
 | 
			
		||||
    "contribute": "Contribute",
 | 
			
		||||
    "contribute.title": "Contributing to OpenWF",
 | 
			
		||||
    "contribute.code": "Code",
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										23
									
								
								import.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								import.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
<?php require "_components/loc.php"; ?>
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
	<title><?=loc("import.title")?></title>
 | 
			
		||||
	<meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
 | 
			
		||||
</head>
 | 
			
		||||
<body data-bs-theme="dark">
 | 
			
		||||
	<?php require "_components/navbar.php"; ?>
 | 
			
		||||
	<div class="container mt-3">
 | 
			
		||||
		<p><?=loc("import.intro")?></p>
 | 
			
		||||
		<h2><?=loc("import.export.title")?></h2>
 | 
			
		||||
		<ul>
 | 
			
		||||
			<li><?=loc("import.export.alecaframe");?></li>
 | 
			
		||||
			<li><?=str_replace("|warframe-api-helper|", '<a href="https://github.com/Sainan/warframe-api-helper/releases/latest/download/warframe-api-helper.exe">warframe-api-helper</a>', loc("import.export.helper"));?></li>
 | 
			
		||||
		</ul>
 | 
			
		||||
		<h2><?=loc("import.import.title")?></h2>
 | 
			
		||||
		<p><?=loc("import.import.desc")?></p>
 | 
			
		||||
	</div>
 | 
			
		||||
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user