summaryrefslogtreecommitdiff
path: root/PE/pe-hack.lua
diff options
context:
space:
mode:
Diffstat (limited to 'PE/pe-hack.lua')
-rw-r--r--PE/pe-hack.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/PE/pe-hack.lua b/PE/pe-hack.lua
index f7a943a..0d67bdc 100644
--- a/PE/pe-hack.lua
+++ b/PE/pe-hack.lua
@@ -9,14 +9,14 @@ function mainpatch()
print "Identifying CD..."
if (dirent.id == "SLUS_006.62;1") then
print "CD is Parasite Eve CD1"
- pvd.volid = "PARASITE_EVE_FRANCAIS_CD1"
+ pvd.volid = "PE-FR-CD1"
slusname = "PE-FR.CD1"
fmvdir = "FMV1"
is_cd1 = true
is_cd2 = false
else
print "CD is Parasite Eve CD2"
- pvd.volid = "PARASITE_EVE_FRANCAIS_CD2"
+ pvd.volid = "PE-FR-CD2"
slusname = "PE-FR.CD2"
fmvdir = "FMV2"
is_cd1 = false
@@ -94,6 +94,7 @@ function do_img_file(slus, startsect, pesect)
for i = 1, 79, 1 do
if (files[i] ~= nil) then
if (type(files[i]) == "string") then
+ print("Putting file " .. files[i] .. " instead");
file = Input(files[i])
else
file = files[i](sect1[i], (sect1[i + 1] - sect1[i]) * 2048)
@@ -355,6 +356,8 @@ function buffer_pad(buffer)
end
files = {
+ [1] = "various.bin",
+ [2] = "menus.bin",
[10] = "font.tim",
[70] = "mainmenu.bin",
[72] = patch_map,