From a62f8b244dff46b460d3c5ab56c803d815a91eaa Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Wed, 17 Apr 2024 21:15:12 -0700 Subject: [PATCH] trim year from conf in Win build --- bin/buildcache.js | 11 +++++++---- bin/makesorted.js | 7 +++++++ src/index/artwork.idx.a | 2 +- src/index/attract.idx.a | 2 +- src/index/cache00.idx.a | 2 +- src/index/cache01.idx.a | 2 +- src/index/cache10.idx.a | 2 +- src/index/cache11.idx.a | 2 +- src/index/coverfade.idx.a | 2 +- src/index/credits.idx.a | 2 +- src/index/decrunch.idx.a | 2 +- src/index/demo.idx.a | 2 +- src/index/dfx.idx.a | 2 +- src/index/dgr.fizzle.idx.a | 2 +- src/index/dhgr.idx.a | 2 +- src/index/dtitle.idx.a | 2 +- src/index/fx.idx.a | 2 +- src/index/gamehelp.idx.a | 2 +- src/index/gr.fizzle.idx.a | 2 +- src/index/gr.idx.a | 2 +- src/index/helptext.idx.a | 2 +- src/index/hgr0.idx.a | 2 +- src/index/hgr1.idx.a | 2 +- src/index/hgr2.idx.a | 2 +- src/index/hgr3.idx.a | 2 +- src/index/hgr4.idx.a | 2 +- src/index/hgr5.idx.a | 2 +- src/index/joystick.idx.a | 2 +- src/index/miniattract0.idx.a | 2 +- src/index/miniattract1.idx.a | 2 +- src/index/prelaunch.idx.a | 2 +- src/index/search00.idx.a | 4 ++-- src/index/search01.idx.a | 4 ++-- src/index/search10.idx.a | 4 ++-- src/index/search11.idx.a | 4 ++-- src/index/sfx.idx.a | 2 +- src/index/slideshow.idx.a | 2 +- src/index/title.idx.a | 2 +- src/index/xsingle.idx.a | 2 +- 39 files changed, 55 insertions(+), 45 deletions(-) diff --git a/bin/buildcache.js b/bin/buildcache.js index 37df818..60ee98c 100644 --- a/bin/buildcache.js +++ b/bin/buildcache.js @@ -26,22 +26,25 @@ while (!b.atendofstream) continue } + e = c.substr(c.indexOf("=") + 1) + e = e.substr(0, e.indexOf("/")) + if (c.substr(0, 2) == "00") { - f00.writeline(c.substr(c.indexOf("=") + 1)) + f00.writeline(e) } if (c.substr(0, 1) == "0") { - f01.writeline(c.substr(c.indexOf("=") + 1)) + f01.writeline(e) } if (c.substr(1, 1) == "0") { - f10.writeline(c.substr(c.indexOf("=") + 1)) + f10.writeline(e) } - f11.writeline(c.substr(c.indexOf("=") + 1)) + f11.writeline(e) } f11.close() diff --git a/bin/makesorted.js b/bin/makesorted.js index 34d3f70..5c7e202 100644 --- a/bin/makesorted.js +++ b/bin/makesorted.js @@ -20,6 +20,13 @@ while (!b.atendofstream) break } + e = d.indexOf("/") + + if (e > -1) + { + d = d.substr(0, e) + } + e = d.indexOf("=") if (e == -1) diff --git a/src/index/artwork.idx.a b/src/index/artwork.idx.a index 8a749ba..390f2e6 100644 --- a/src/index/artwork.idx.a +++ b/src/index/artwork.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2431112 + !be24 2428757 !le16 571 diff --git a/src/index/attract.idx.a b/src/index/attract.idx.a index deae228..340f06d 100644 --- a/src/index/attract.idx.a +++ b/src/index/attract.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2416462 + !be24 2414107 !le16 1404 diff --git a/src/index/cache00.idx.a b/src/index/cache00.idx.a index 7cd99da..878c89a 100644 --- a/src/index/cache00.idx.a +++ b/src/index/cache00.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2404417 + !be24 2402992 !le16 465 diff --git a/src/index/cache01.idx.a b/src/index/cache01.idx.a index 1a00fd7..aab959b 100644 --- a/src/index/cache01.idx.a +++ b/src/index/cache01.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2406974 + !be24 2405289 !le16 772 diff --git a/src/index/cache10.idx.a b/src/index/cache10.idx.a index 7694d98..c9b5a76 100644 --- a/src/index/cache10.idx.a +++ b/src/index/cache10.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2410029 + !be24 2408059 !le16 766 diff --git a/src/index/cache11.idx.a b/src/index/cache11.idx.a index a8f3111..59004c0 100644 --- a/src/index/cache11.idx.a +++ b/src/index/cache11.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2413985 + !be24 2411630 !le16 1148 diff --git a/src/index/coverfade.idx.a b/src/index/coverfade.idx.a index e168b49..d6f771f 100644 --- a/src/index/coverfade.idx.a +++ b/src/index/coverfade.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2431683 + !be24 2429328 !le16 306 diff --git a/src/index/credits.idx.a b/src/index/credits.idx.a index 4324a10..1ef2fcd 100644 --- a/src/index/credits.idx.a +++ b/src/index/credits.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2432333 + !be24 2429978 !le16 336 diff --git a/src/index/decrunch.idx.a b/src/index/decrunch.idx.a index c366c16..28afa3b 100644 --- a/src/index/decrunch.idx.a +++ b/src/index/decrunch.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2432669 + !be24 2430314 !le16 303 diff --git a/src/index/demo.idx.a b/src/index/demo.idx.a index 78c574f..067e555 100644 --- a/src/index/demo.idx.a +++ b/src/index/demo.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 1919545 + !be24 1918305 !le16 69 diff --git a/src/index/dfx.idx.a b/src/index/dfx.idx.a index 8236343..d0cdbb2 100644 --- a/src/index/dfx.idx.a +++ b/src/index/dfx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2420506 + !be24 2418151 !le16 1640 diff --git a/src/index/dgr.fizzle.idx.a b/src/index/dgr.fizzle.idx.a index 4ffa5c6..ccce22c 100644 --- a/src/index/dgr.fizzle.idx.a +++ b/src/index/dgr.fizzle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2432065 + !be24 2429710 !le16 67 diff --git a/src/index/dhgr.idx.a b/src/index/dhgr.idx.a index 65910c9..6c91228 100644 --- a/src/index/dhgr.idx.a +++ b/src/index/dhgr.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2430171 + !be24 2427816 !le16 889 diff --git a/src/index/dtitle.idx.a b/src/index/dtitle.idx.a index 5088d92..b4c31f1 100644 --- a/src/index/dtitle.idx.a +++ b/src/index/dtitle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2427901 + !be24 2425546 !le16 290 diff --git a/src/index/fx.idx.a b/src/index/fx.idx.a index 791899a..775746b 100644 --- a/src/index/fx.idx.a +++ b/src/index/fx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2417866 + !be24 2415511 !le16 2640 diff --git a/src/index/gamehelp.idx.a b/src/index/gamehelp.idx.a index 09de6f7..ccdacc8 100644 --- a/src/index/gamehelp.idx.a +++ b/src/index/gamehelp.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2422504 + !be24 2420149 !le16 1329 diff --git a/src/index/gr.fizzle.idx.a b/src/index/gr.fizzle.idx.a index 981ced0..f0d670e 100644 --- a/src/index/gr.fizzle.idx.a +++ b/src/index/gr.fizzle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2431989 + !be24 2429634 !le16 76 diff --git a/src/index/gr.idx.a b/src/index/gr.idx.a index faab18e..d4efae0 100644 --- a/src/index/gr.idx.a +++ b/src/index/gr.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2431060 + !be24 2428705 !le16 52 diff --git a/src/index/helptext.idx.a b/src/index/helptext.idx.a index eeed729..468524b 100644 --- a/src/index/helptext.idx.a +++ b/src/index/helptext.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2432132 + !be24 2429777 !le16 201 diff --git a/src/index/hgr0.idx.a b/src/index/hgr0.idx.a index 7ae6dee..686766f 100644 --- a/src/index/hgr0.idx.a +++ b/src/index/hgr0.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2428191 + !be24 2425836 !le16 402 diff --git a/src/index/hgr1.idx.a b/src/index/hgr1.idx.a index 6dd8560..e37eb12 100644 --- a/src/index/hgr1.idx.a +++ b/src/index/hgr1.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2428593 + !be24 2426238 !le16 192 diff --git a/src/index/hgr2.idx.a b/src/index/hgr2.idx.a index 2bda61c..a19ee4c 100644 --- a/src/index/hgr2.idx.a +++ b/src/index/hgr2.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2428785 + !be24 2426430 !le16 107 diff --git a/src/index/hgr3.idx.a b/src/index/hgr3.idx.a index da655d9..9571973 100644 --- a/src/index/hgr3.idx.a +++ b/src/index/hgr3.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2428892 + !be24 2426537 !le16 281 diff --git a/src/index/hgr4.idx.a b/src/index/hgr4.idx.a index 86a363a..fa3dc7b 100644 --- a/src/index/hgr4.idx.a +++ b/src/index/hgr4.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2429173 + !be24 2426818 !le16 713 diff --git a/src/index/hgr5.idx.a b/src/index/hgr5.idx.a index 3391eb8..9ad3642 100644 --- a/src/index/hgr5.idx.a +++ b/src/index/hgr5.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2429886 + !be24 2427531 !le16 285 diff --git a/src/index/joystick.idx.a b/src/index/joystick.idx.a index 9017699..d5243e0 100644 --- a/src/index/joystick.idx.a +++ b/src/index/joystick.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2432972 + !be24 2430617 !le16 2370 diff --git a/src/index/miniattract0.idx.a b/src/index/miniattract0.idx.a index cd58b65..cf52da2 100644 --- a/src/index/miniattract0.idx.a +++ b/src/index/miniattract0.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2425471 + !be24 2423116 !le16 777 diff --git a/src/index/miniattract1.idx.a b/src/index/miniattract1.idx.a index 67000c8..9077c55 100644 --- a/src/index/miniattract1.idx.a +++ b/src/index/miniattract1.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2426248 + !be24 2423893 !le16 556 diff --git a/src/index/prelaunch.idx.a b/src/index/prelaunch.idx.a index 8906f18..62ae951 100644 --- a/src/index/prelaunch.idx.a +++ b/src/index/prelaunch.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2415133 + !be24 2412778 !le16 1329 diff --git a/src/index/search00.idx.a b/src/index/search00.idx.a index ed2ac30..efc64fb 100644 --- a/src/index/search00.idx.a +++ b/src/index/search00.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2403005 - !le16 1412 + !be24 2401765 + !le16 1227 diff --git a/src/index/search01.idx.a b/src/index/search01.idx.a index abfb107..a35e144 100644 --- a/src/index/search01.idx.a +++ b/src/index/search01.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2404882 - !le16 2092 + !be24 2403457 + !le16 1832 diff --git a/src/index/search10.idx.a b/src/index/search10.idx.a index ad1a824..7e525f7 100644 --- a/src/index/search10.idx.a +++ b/src/index/search10.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2407746 - !le16 2283 + !be24 2406061 + !le16 1998 diff --git a/src/index/search11.idx.a b/src/index/search11.idx.a index 3c73677..c94be90 100644 --- a/src/index/search11.idx.a +++ b/src/index/search11.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2410795 - !le16 3190 + !be24 2408825 + !le16 2805 diff --git a/src/index/sfx.idx.a b/src/index/sfx.idx.a index 29e0348..33e766d 100644 --- a/src/index/sfx.idx.a +++ b/src/index/sfx.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2422146 + !be24 2419791 !le16 358 diff --git a/src/index/slideshow.idx.a b/src/index/slideshow.idx.a index 54d07f3..36e5c49 100644 --- a/src/index/slideshow.idx.a +++ b/src/index/slideshow.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2423833 + !be24 2421478 !le16 1638 diff --git a/src/index/title.idx.a b/src/index/title.idx.a index 28ce145..87dd710 100644 --- a/src/index/title.idx.a +++ b/src/index/title.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2426804 + !be24 2424449 !le16 1097 diff --git a/src/index/xsingle.idx.a b/src/index/xsingle.idx.a index 04a57d4..d32cba2 100644 --- a/src/index/xsingle.idx.a +++ b/src/index/xsingle.idx.a @@ -4,5 +4,5 @@ ; This file is automatically generated ; !byte 0 - !be24 2402381 + !be24 2401141 !le16 624