public void load_media() {
		if (applet_started()) {
			byte abyte0[] = null;
			try {
				abyte0 = unpack_archive("media" + Revision.media + ".jag", "2d graphics", 20);
			} catch (IOException ioexception) {
				System.out.println("Load error:" + ioexception);
			}
			cu.pg(abyte0, Data.get_file_position("inv1.tga", abyte0), lu, true, false);
			cu.ng(abyte0, Data.get_file_position("inv2.tga", abyte0), lu + 1, true, 1, 6, false);
			cu.pg(abyte0, Data.get_file_position("bubble.tga", abyte0), lu + 9, true, false);
			cu.pg(abyte0, Data.get_file_position("runescape.tga", abyte0), lu + 10, true, false);
			cu.ug(abyte0, Data.get_file_position("splat.tga", abyte0), lu + 11, true, 3, false);
			cu.ng(abyte0, Data.get_file_position("icon.tga", abyte0), lu + 14, true, 4, 2, false);
			cu.pg(abyte0, Data.get_file_position("hbar.tga", abyte0), lu + 22, false, false);
			cu.pg(abyte0, Data.get_file_position("hbar2.tga", abyte0), lu + 23, true, false);
			cu.pg(abyte0, Data.get_file_position("compass.tga", abyte0), lu + 24, true, false);
			cu.ug(abyte0, Data.get_file_position("scrollbar.tga", abyte0), ku, true, 2, false);
			cu.ug(abyte0, Data.get_file_position("corners.tga", abyte0), ku + 2, true, 4, false);
			cu.ug(abyte0, Data.get_file_position("arrows.tga", abyte0), ku + 6, true, 2, false);
			cu.ng(abyte0, Data.get_file_position("buttons.tga", abyte0), lu + 25, true, 1, 2, false);
			du = oj(Data.ln("hbar.tga", 0, abyte0));
			int i1 = Config.zhb;
			for (int k1 = 1; i1 > 0; k1++) {
				int i2 = i1;
				i1 -= 30;
				if (i2 > 30)
					i2 = 30;
				cu.ng(abyte0, Data.get_file_position("objects" + k1 + ".tga", abyte0), pw + (k1 - 1) * 30,
						true, 10, (i2 + 9) / 10, false);
			}

			cu.ug(abyte0, Data.get_file_position("projectile.tga", abyte0), nu, true, Config.mlb, false);
			return;
		}
		byte abyte1[] = new byte[0x186a0];
		draw_loading_progress(20, "Loading 2d graphics");
		try {
			Data.read_fully("../gamedata/media/inv1.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu, true, false);
			Data.read_fully("../gamedata/media/inv2.tga", abyte1, 0x186a0);
			cu.ng(abyte1, 0, lu + 1, true, 1, 6, false);
			Data.read_fully("../gamedata/media/bubble.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu + 9, true, false);
			Data.read_fully("../gamedata/media/runescape.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu + 10, true, false);
			Data.read_fully("../gamedata/media/splat.tga", abyte1, 0x186a0);
			cu.ug(abyte1, 0, lu + 11, true, 3, false);
			Data.read_fully("../gamedata/media/icon.tga", abyte1, 0x186a0);
			cu.ng(abyte1, 0, lu + 14, true, 4, 2, false);
			Data.read_fully("../gamedata/media/hbar.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu + 22, false, false);
			du = oj(abyte1);
			Data.read_fully("../gamedata/media/hbar2.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu + 23, true, false);
			Data.read_fully("../gamedata/media/compass.tga", abyte1, 0x186a0);
			cu.pg(abyte1, 0, lu + 24, true, false);
			Data.read_fully("../gamedata/media/scrollbar.tga", abyte1, 0x186a0);
			cu.ug(abyte1, 0, ku, true, 2, false);
			Data.read_fully("../gamedata/media/corners.tga", abyte1, 0x186a0);
			cu.ug(abyte1, 0, ku + 2, true, 4, false);
			Data.read_fully("../gamedata/media/arrows.tga", abyte1, 0x186a0);
			cu.ug(abyte1, 0, ku + 6, true, 2, false);
			Data.read_fully("../gamedata/media/buttons.tga", abyte1, 0x186a0);
			cu.ng(abyte1, 0, lu + 25, true, 1, 2, false);
			int j1 = Config.zhb;
			for (int l1 = 1; j1 > 0; l1++) {
				int j2 = j1;
				j1 -= 30;
				if (j2 > 30)
					j2 = 30;
				Data.read_fully("../gamedata/media/objects" + l1 + ".tga", abyte1, 0x186a0);
				cu.ng(abyte1, 0, pw + (l1 - 1) * 30, true, 10, (j2 + 9) / 10, false);
			}

			Data.read_fully("../gamedata/media/projectile.tga", abyte1, 0x186a0);
			cu.ug(abyte1, 0, nu, true, Config.mlb, false);
			return;
		} catch (IOException _ex) {
			System.out.println("ERROR: in raw media loader");
		}
	}