Fix batch files and table files

This commit is contained in:
Kaisaan 2025-05-27 20:50:29 -04:00
parent 35d9c65761
commit 9364881cb4
3 changed files with 80 additions and 81 deletions

View File

@ -1,7 +1,7 @@
@echo off
echo Copy the original .iso next to this batch file and rename it to lostkefin.iso
echo Extracting iso...
isotool.py -m extract --iso lostkefin.iso --filelist filelist --files extracted
isotool.py -m extract --iso lostkefin.iso --filelist filelist.txt --files extracted
xcopy extracted translated /E /I /Y
echo Done!
::echo Dumping the (raw) script from DATA.BIN to multiple files...

View File

@ -2,6 +2,5 @@
armips patch.asm
echo Patching ISO. Please wait.
perl scripts\abcde\abcde.pl --multi-table-files -cm abcde::Atlas "translated\DATA.BIN" "scripts\translated.txt"
armips patch.asm
isotool.py -m insert --iso lostkefin.iso -o "Ys V - Lost Kefin, Kingdom of Sand [English Patched].iso" --filelist filelist.txt --files translated
pause

158
kefin.tbl
View File

@ -1629,9 +1629,9 @@ E84A=鍮
!2F=</>,2
!23=<[HASH]>,<@col>:1
23=[HASH]
!3B=<[CHAR]>,<@char>:1
3B=;
!FFFD=<[PAUSE]>,1
@ -1645,81 +1645,81 @@ E84A=鍮
FF=[END]\n
@col
7768=[WHITE]
6772=[GREEN]
626C=[BLUE]
7069=[PINK]
796C=[YELLOW]
7265=[RED]
@char
00=[Adol]
01=[Dogi]
02=[Niena]
03=[Terra]
04=[Massea]
05=[Stein]
06=[Dorman]
07=[Rizze]
08=[Javil]
09=[Effey]
0A=[King Kefin]
0B=[Alga]
0C=[Deios]
0D=[Noties]
0E=[Chase]
0F=[Aisha]
10=[Wilee]
11=[Muhaba]
12=[Baruq]
13=[Abyss]
14=[Karion]
15=[Blacksmith]
16=[Sailor]
17=[Butler]
18=[Maid]
19=[Foot Soldier]
1A=[Soldier]
1B=[Adventurer A]
1C=[Adventurer B]
1D=[Merchant A]
1E=[Merchant B]
1F=[Kobold]
20=[Desert Old Woman]
21=[Desert Old Man]
22=[Desert Woman]
23=[Desert Man A]
24=[Desert Man B]
25=[Desert Girl]
26=[Desert Boy]
27=[Kefin Man A]
28=[Kefin Man B]
29=[Kefin Woman A]
2A=[Kefin Woman B]
2B=[Rebel A]
2C=[Rebel B]
2D=[Man A]
2E=[Man B]
2F=[Woman]
30=[Villager Man A]
31=[Villager Man B]
32=[Villager Girl A]
33=[Villager Girl B]
34=[Old Woman]
35=[Old Man]
36=[Boy A]
37=[Boy B]
38=[Girl A]
39=[Dog]
3A=[Girl B]
3B=[Kidnapped Stein]
3C=[Noties & Deios]
40=[Beautiful Woman]
41=[Girl]
42=[Thug A]
43=[Thug B]
44=[Mysterious Voice]
45=[Mysterious Man]
46=[Big Man]
47=[Woman]
237768=[WHITE]
236772=[GREEN]
23626C=[BLUE]
237069=[PINK]
23796C=[YELLOW]
237265=[RED]
3B00=[Adol]
3B01=[Dogi]
3B02=[Niena]
3B03=[Terra]
3B04=[Massea]
3B05=[Stein]
3B06=[Dorman]
3B07=[Rizze]
3B08=[Javil]
3B09=[Effey]
3B0A=[King Kefin]
3B0B=[Alga]
3B0C=[Deios]
3B0D=[Noties]
3B0E=[Chase]
3B0F=[Aisha]
3B10=[Wilee]
3B11=[Muhaba]
3B12=[Baruq]
3B13=[Abyss]
3B14=[Karion]
3B15=[Blacksmith]
3B16=[Sailor]
3B17=[Butler]
3B18=[Maid]
3B19=[Foot Soldier]
3B1A=[Soldier]
3B1B=[Adventurer A]
3B1C=[Adventurer B]
3B1D=[Merchant A]
3B1E=[Merchant B]
3B1F=[Kobold]
3B20=[Desert Old Woman]
3B21=[Desert Old Man]
3B22=[Desert Woman]
3B23=[Desert Man A]
3B24=[Desert Man B]
3B25=[Desert Girl]
3B26=[Desert Boy]
3B27=[Kefin Man A]
3B28=[Kefin Man B]
3B29=[Kefin Woman A]
3B2A=[Kefin Woman B]
3B2B=[Rebel A]
3B2C=[Rebel B]
3B2D=[Man A]
3B2E=[Man B]
3B2F=[Woman]
3B30=[Villager Man A]
3B31=[Villager Man B]
3B32=[Villager Girl A]
3B33=[Villager Girl B]
3B34=[Old Woman]
3B35=[Old Man]
3B36=[Boy A]
3B37=[Boy B]
3B38=[Girl A]
3B39=[Dog]
3B3A=[Girl B]
3B3B=[Kidnapped Stein]
3B3C=[Noties & Deios]
3B40=[Beautiful Woman]
3B41=[Girl]
3B42=[Thug A]
3B43=[Thug B]
3B44=[Mysterious Voice]
3B45=[Mysterious Man]
3B46=[Big Man]
3B47=[Woman]