public void onCreate() {
			File f = new File(ModManager.getPath("modd://__vanilla/images/logo/1.png"));
			if (!f.exists()) {
				GuiYesNo gui = new GuiYesNo("Open Terraria Rewrite needs to access resources from the original Terraria in order to continue. Do you want to do it now?");
				gui.create();
				
				if (gui.getValue()) {
					try {
						String pathSteam = System.getProperty("os.name").startsWith("Windows") ? WinRegistry.readString(WinRegistry.HKEY_CURRENT_USER,"Software\\Valve\\Steam","SteamPath") : null;
						if (pathSteam == null || !new File(pathSteam).exists()) {
							pathSteam = System.getProperty("os.name").startsWith("Mac OS X") ? "/Library/Application Support/Steam" : null;
							if (pathSteam == null || !new File(pathSteam).exists()) {
								new GuiMessage("Couldn't find Steam install directory. Please specify the directory in which Terraria is installed (Steam\\steamapps\\common\\Terraria).").create();
								
								JFileChooser chooser = new JFileChooser();
								chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
								chooser.setAcceptAllFileFilterUsed(false);
								if (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
									File dir = new File(chooser.getSelectedFile(),"Content");
									if (dir.exists() && dir.isDirectory() && new File(dir.getParentFile(),"Terraria.exe").exists()) {
										copyOriginalResources(dir);
										return;
									}
								}
							} else {
								File dir = new File(new File(new File(new File(pathSteam,"steamapps"),"common"),"Terraria"),"Content");
								if (dir.exists() && dir.isDirectory() && new File(dir.getParentFile(),"Terraria.exe").exists()) {
									copyOriginalResources(dir);
									return;
								}
							}
						} else {
							File dir = new File(new File(new File(new File(pathSteam,"steamapps"),"common"),"Terraria"),"Content");
							if (dir.exists() && dir.isDirectory() && new File(dir.getParentFile(),"Terraria.exe").exists()) {
								copyOriginalResources(dir);
								return;
							}
						}
					} catch (Exception e) {App.getApp().handle(e);}
				}
			}
			
			new GuiMessage("Couldn't access Terraria resources. Exiting.").create();
			App.stop();
		}