Skip to content

Commit 963f535

Browse files
committed
Download page shows file sizes in MB instead of KB
1 parent 06003e7 commit 963f535

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

content/download.dat

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
// official release
33
begin_section("Exult v1.12.0 - official release - 2025-05-11");
4-
add_extern_entry("exult-1.12.0.exe", "Exult for Windows installer (7/8/10/11)", 22255);
5-
add_extern_entry("exult-1.12.0.dmg", "Exult for macOS 10.12 - 15.x (64-bit intel/arm64)", 18142);
6-
add_extern_entry("exult-1.12.0.apk", "Exult for Android", 58647);
7-
add_extern_entry("exult-1.12.0.tar.gz", "Exult Sourcecode (.tar.gz)", 18708);
4+
add_extern_entry("exult-1.12.0.exe", "Exult for Windows installer (7/8/10/11)", 22);
5+
add_extern_entry("exult-1.12.0.dmg", "Exult for macOS 10.12 - 15.x (64-bit intel/arm64)", 18);
6+
add_extern_entry("exult-1.12.0.apk", "Exult for Android", 59);
7+
add_extern_entry("exult-1.12.0.tar.gz", "Exult Sourcecode (.tar.gz)", 19);
88
end_section();
99

1010
begin_section("Exult Studio and Tools v1.12.0 - official release - 2025-05-11");
11-
add_extern_entry("exult-studio-1.12.0.exe", "Exult Studio for Windows (7/8/10/11)", 68750);
12-
add_extern_entry("exult-studio-1.12.0.dmg", "Exult Studio for macOS 10.12 - 15.x (64-bit intel/arm64)", 65847);
13-
add_extern_entry("exult-tools-1.12.0.exe", "Exult Tools for Windows (7/8/10/11)", 21653);
14-
add_extern_entry("exult-tools-macOS-1.12.0.zip", "Exult Tools for macOS 10.12 - 15.x (64-bit intel/arm64)", 3651);
11+
add_extern_entry("exult-studio-1.12.0.exe", "Exult Studio for Windows (7/8/10/11)", 69);
12+
add_extern_entry("exult-studio-1.12.0.dmg", "Exult Studio for macOS 10.12 - 15.x (64-bit intel/arm64)", 66);
13+
add_extern_entry("exult-tools-1.12.0.exe", "Exult Tools for Windows (7/8/10/11)", 22);
14+
add_extern_entry("exult-tools-macOS-1.12.0.zip", "Exult Tools for macOS 10.12 - 15.x (64-bit intel/arm64)", 4);
1515
end_section();
1616

1717
// snapshots
@@ -41,19 +41,19 @@ end_section();
4141

4242
// all-in-one audio packs
4343
begin_section("All-In-One Audio Data packs (not required but recommended)");
44-
add_extern_entry("Exult_Audio_Installer.exe", "Installer for Windows", 44587);
45-
add_extern_entry("Exult_Audio_Installer.dmg", "Installer for macOS", 49816);
46-
add_extern_entry("exult_audio.zip", "Zipped all-in-one audio pack for manual installation", 48439);
44+
add_extern_entry("Exult_Audio_Installer.exe", "Installer for Windows", 45);
45+
add_extern_entry("Exult_Audio_Installer.dmg", "Installer for macOS", 50);
46+
add_extern_entry("exult_audio.zip", "Zipped all-in-one audio pack for manual installation", 48);
4747
end_section();
4848

4949
// one by one audio packs
5050
begin_section("Single Audio Data packs (not required if you use the above All-In-One pack)");
51-
add_extern_entry("jmsfx.zip", "Sound pack for Black Gate", 4667);
52-
add_extern_entry("sqsfxbg.zip", "Sound pack for Black Gate (Roland MT-32)", 6330);
53-
add_extern_entry("jmsfxsi.zip", "Sound pack for Serpent Isle", 6050);
54-
add_extern_entry("sqsfxsi.zip", "Sound pack for Serpent Isle (Roland MT-32)", 7834);
55-
add_extern_entry("U7MusicOGG_1of2.zip", "Ogg encoded Music files for Exult Part 1", 12030);
56-
add_extern_entry("U7MusicOGG_2of2.zip", "Ogg encoded Music files for Exult Part 2", 10860);
51+
add_extern_entry("jmsfx.zip", "Sound pack for Black Gate", 4);
52+
add_extern_entry("sqsfxbg.zip", "Sound pack for Black Gate (Roland MT-32)", 6);
53+
add_extern_entry("jmsfxsi.zip", "Sound pack for Serpent Isle", 6);
54+
add_extern_entry("sqsfxsi.zip", "Sound pack for Serpent Isle (Roland MT-32)", 8);
55+
add_extern_entry("U7MusicOGG_1of2.zip", "Ogg encoded Music files for Exult Part 1", 12);
56+
add_extern_entry("U7MusicOGG_2of2.zip", "Ogg encoded Music files for Exult Part 2", 11);
5757
//add_local_entry("exult-sfx-si_0.4_arm.ipk", "Zaurus SI sfx package");
5858
//add_local_entry("exult-sfx-bg_0.4_arm.ipk", "Zaurus BG sfx package");
5959
end_section();

download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function add_local_entry( $file, $desc )
8989
"DESCRIPTION" => $desc,
9090
"FILE_TIME" => date("H:i",filemtime("snapshots/$file")),
9191
"FILE_DATE" => date("Y-m-d",filemtime("snapshots/$file")),
92-
"SIZE" => ceil(filesize("snapshots/$file")/1024)
92+
"SIZE" => ceil(filesize("snapshots/$file")/(1024*1024))
9393
)
9494
);
9595
$tpl->parse("SECTION_ENTRIES",".s_entry");

templates/download_entry.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<td class="blank-column"></td>
33
<td><a href="http://prdownloads.sourceforge.net/exult/{FILENAME}">{DESCRIPTION}</a></td>
44
<td class="blank-column"><br /></td>
5-
<td class="right-aligned">{SIZE} KB</td>
5+
<td class="right-aligned">{SIZE} MB</td>
66
</tr>

templates/main_xhtml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</title>
99
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
1010
<link href="default.css" rel="stylesheet" type="text/css" />
11-
<link rel="icon" href="favicon.ico" type="image/x-icon" />
11+
<link rel="icon" href="favicon.png" type="image/png" sizes="96x96" />
1212
<link rel="icon" href="favicon.svg" type="image/svg+xml" />
1313
<link rel="icon" href="favicon.ico" type="image/x-icon" />
1414
</head>

templates/snapshot_entry.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<td class="blank-column"></td>
33
<td><a href="snapshots/{FILENAME}">{DESCRIPTION}</a></td>
44
<td class="blank-column"><br /></td>
5-
<td class="right-aligned">{SIZE} KB</td>
5+
<td class="right-aligned">{SIZE} MB</td>
66
<td class="blank-column"><br /></td>
77
<td>{FILE_DATE} {FILE_TIME}</td>
88
</tr>

0 commit comments

Comments
 (0)