PC Engine games injections into Valis

cucholix

00000780 00000438
OP
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
It’s possible inject PCE games into Valis: The Fantasm Soldier. The game uses the same file structure found into Wii VC releases, it’s: game code into a .bin + .ogg audiotracks + .hcd file (similar to a cue file but not the same).

I managed to inject Castlevania Rondo of Blood, it runs fullspeed, with working saving feature and rewind.

https://streamable.com/5iszqk
 
Last edited by cucholix,

cucholix

00000780 00000438
OP
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
Please be kind to share a step-by-step guide how to do it. ^_^
1. Dump your copy of Valis: The Fantasm Soldier (or other PCE game released on eShop), the dump must contain all the files from exefs and romfs.
2. Search a game you want to inject, it must be from Wii VC in wad format.
3. Download ShowMiiWads, enable editing features.
4. Open ShowMiiWads and select File then Open folder containing the wad.
5. The game will display in the app, select it and right click on it, select Extract -> To folder.
6. It will output a folder with the wad files extracted.
7. Select Tools -> Unpack U8 Archive -> 00000005.app (in the recently created folder)
8. Now go 00000005_app_OUT you will see a single .bin file if the game is NOT CD, and if it's CD it will contain hcd, bin, ogg files.
9. Replace the files (bin, ogg, hcd) from your game into romfs and rename the files to match Valis ones.
10. Launch the game.
11. ???
12. Profit!

You can practically edit everything in the game UI as it only uses .png as assets.
I don't have the romfs files with me right now, so I probably missed something... There's a config.ini file in romfs IIRC, you must edit it and put the name of the injected game.
 
Last edited by cucholix,

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,189
Trophies
0
Age
47
XP
3,684
Country
Kazakhstan
@cucholix
Thank you!.. But have a question about step 9: eventually I've got those 2 lists of files:
Code:
27/04/2023  02:17 PM             1,218 VALIS.hcd
27/04/2023  02:17 PM           296,644 VALIS_01.ogg
27/04/2023  02:17 PM        11,594,500 VALIS_02.bin
27/04/2023  02:17 PM           902,111 VALIS_03.ogg
27/04/2023  02:17 PM           960,198 VALIS_04.ogg
27/04/2023  02:17 PM           758,003 VALIS_05.ogg
27/04/2023  02:17 PM           875,932 VALIS_06.ogg
27/04/2023  02:17 PM           884,636 VALIS_07.ogg
27/04/2023  02:17 PM           905,997 VALIS_08.ogg
27/04/2023  02:17 PM           909,917 VALIS_09.ogg
27/04/2023  02:17 PM           155,469 VALIS_10.ogg
27/04/2023  02:17 PM               456 VALIS_10.txt
27/04/2023  02:17 PM           187,135 VALIS_11.ogg
27/04/2023  02:17 PM           201,933 VALIS_12.ogg
27/04/2023  02:17 PM           216,250 VALIS_13.ogg
27/04/2023  02:17 PM           107,264 VALIS_14.ogg
27/04/2023  02:17 PM           187,608 VALIS_15.ogg
27/04/2023  02:17 PM           701,457 VALIS_16.ogg
27/04/2023  02:17 PM           696,468 VALIS_17.ogg
27/04/2023  02:17 PM         1,125,078 VALIS_18.ogg
27/04/2023  02:17 PM               687 VALIS_18.txt
27/04/2023  02:17 PM           688,898 VALIS_19.ogg
27/04/2023  02:17 PM           580,364 VALIS_20.ogg
27/04/2023  02:17 PM           559,160 VALIS_21.ogg
27/04/2023  02:17 PM         2,194,034 VALIS_22.ogg
27/04/2023  02:17 PM         2,995,573 VALIS_23.ogg
27/04/2023  02:17 PM         1,330,210 VALIS_24.ogg
27/04/2023  02:17 PM         1,416,793 VALIS_25.ogg
27/04/2023  02:17 PM           262,397 VALIS_26.ogg
27/04/2023  02:17 PM           357,613 VALIS_27.ogg
27/04/2023  02:17 PM            91,226 VALIS_28.ogg
27/04/2023  02:17 PM           757,595 VALIS_29.ogg
Code:
27/04/2023  02:16 PM               133 config.ini
27/04/2023  02:16 PM             4,528 home.csv
27/04/2023  02:16 PM             3,168 home_nosave.csv
27/04/2023  02:16 PM               990 KMCD3005.hcd
27/04/2023  02:16 PM        11,033,820 KMCD3005_02.bin
27/04/2023  02:16 PM           847,593 KMCD3005_03.ogg
27/04/2023  02:16 PM           536,673 KMCD3005_04.ogg
27/04/2023  02:16 PM           770,356 KMCD3005_05.ogg
27/04/2023  02:16 PM           727,542 KMCD3005_06.ogg
27/04/2023  02:16 PM           507,949 KMCD3005_07.ogg
27/04/2023  02:16 PM         1,498,721 KMCD3005_08.ogg
27/04/2023  02:16 PM           815,771 KMCD3005_09.ogg
27/04/2023  02:16 PM         1,350,793 KMCD3005_10.ogg
27/04/2023  02:16 PM           795,914 KMCD3005_11.ogg
27/04/2023  02:16 PM         1,182,264 KMCD3005_12.ogg
27/04/2023  02:16 PM         1,170,607 KMCD3005_13.ogg
27/04/2023  02:16 PM         1,867,346 KMCD3005_14.ogg
27/04/2023  02:16 PM         1,206,469 KMCD3005_15.ogg
27/04/2023  02:16 PM         1,634,346 KMCD3005_16.ogg
27/04/2023  02:16 PM           691,861 KMCD3005_17.ogg
27/04/2023  02:16 PM           745,588 KMCD3005_18.ogg
27/04/2023  02:16 PM           916,474 KMCD3005_19.ogg
27/04/2023  02:16 PM         1,969,441 KMCD3005_20.ogg
27/04/2023  02:16 PM         2,102,374 KMCD3005_21.ogg
27/04/2023  02:16 PM           734,646 LZ77_html.arc
27/04/2023  02:16 PM            14,677 Opera.arc
27/04/2023  02:16 PM            43,264 savedata.tpl
27/04/2023  02:16 PM           393,216 syscard3P.pce
27/04/2023  02:16 PM               134 TITLE.TXT
So I need to manually rename all the Valis ROMFS filenames into Castlevania ROMFS filenames, or just copy-and-paste Castlevania files into VALIS romfs folder for Switch?..
Sorry for being such a dumb. :)
 
Last edited by mathew77,

cucholix

00000780 00000438
OP
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
@cucholix
Thank you!.. But have a question about step 9: eventually I've got these 2 lists of files:
Code:
27/04/2023  02:17 PM             1,218 VALIS.hcd
27/04/2023  02:17 PM           296,644 VALIS_01.ogg
27/04/2023  02:17 PM        11,594,500 VALIS_02.bin
27/04/2023  02:17 PM           902,111 VALIS_03.ogg
27/04/2023  02:17 PM           960,198 VALIS_04.ogg
27/04/2023  02:17 PM           758,003 VALIS_05.ogg
27/04/2023  02:17 PM           875,932 VALIS_06.ogg
27/04/2023  02:17 PM           884,636 VALIS_07.ogg
27/04/2023  02:17 PM           905,997 VALIS_08.ogg
27/04/2023  02:17 PM           909,917 VALIS_09.ogg
27/04/2023  02:17 PM           155,469 VALIS_10.ogg
27/04/2023  02:17 PM               456 VALIS_10.txt
27/04/2023  02:17 PM           187,135 VALIS_11.ogg
27/04/2023  02:17 PM           201,933 VALIS_12.ogg
27/04/2023  02:17 PM           216,250 VALIS_13.ogg
27/04/2023  02:17 PM           107,264 VALIS_14.ogg
27/04/2023  02:17 PM           187,608 VALIS_15.ogg
27/04/2023  02:17 PM           701,457 VALIS_16.ogg
27/04/2023  02:17 PM           696,468 VALIS_17.ogg
27/04/2023  02:17 PM         1,125,078 VALIS_18.ogg
27/04/2023  02:17 PM               687 VALIS_18.txt
27/04/2023  02:17 PM           688,898 VALIS_19.ogg
27/04/2023  02:17 PM           580,364 VALIS_20.ogg
27/04/2023  02:17 PM           559,160 VALIS_21.ogg
27/04/2023  02:17 PM         2,194,034 VALIS_22.ogg
27/04/2023  02:17 PM         2,995,573 VALIS_23.ogg
27/04/2023  02:17 PM         1,330,210 VALIS_24.ogg
27/04/2023  02:17 PM         1,416,793 VALIS_25.ogg
27/04/2023  02:17 PM           262,397 VALIS_26.ogg
27/04/2023  02:17 PM           357,613 VALIS_27.ogg
27/04/2023  02:17 PM            91,226 VALIS_28.ogg
27/04/2023  02:17 PM           757,595 VALIS_29.ogg
Code:
27/04/2023  02:16 PM               133 config.ini
27/04/2023  02:16 PM             4,528 home.csv
27/04/2023  02:16 PM             3,168 home_nosave.csv
27/04/2023  02:16 PM               990 KMCD3005.hcd
27/04/2023  02:16 PM        11,033,820 KMCD3005_02.bin
27/04/2023  02:16 PM           847,593 KMCD3005_03.ogg
27/04/2023  02:16 PM           536,673 KMCD3005_04.ogg
27/04/2023  02:16 PM           770,356 KMCD3005_05.ogg
27/04/2023  02:16 PM           727,542 KMCD3005_06.ogg
27/04/2023  02:16 PM           507,949 KMCD3005_07.ogg
27/04/2023  02:16 PM         1,498,721 KMCD3005_08.ogg
27/04/2023  02:16 PM           815,771 KMCD3005_09.ogg
27/04/2023  02:16 PM         1,350,793 KMCD3005_10.ogg
27/04/2023  02:16 PM           795,914 KMCD3005_11.ogg
27/04/2023  02:16 PM         1,182,264 KMCD3005_12.ogg
27/04/2023  02:16 PM         1,170,607 KMCD3005_13.ogg
27/04/2023  02:16 PM         1,867,346 KMCD3005_14.ogg
27/04/2023  02:16 PM         1,206,469 KMCD3005_15.ogg
27/04/2023  02:16 PM         1,634,346 KMCD3005_16.ogg
27/04/2023  02:16 PM           691,861 KMCD3005_17.ogg
27/04/2023  02:16 PM           745,588 KMCD3005_18.ogg
27/04/2023  02:16 PM           916,474 KMCD3005_19.ogg
27/04/2023  02:16 PM         1,969,441 KMCD3005_20.ogg
27/04/2023  02:16 PM         2,102,374 KMCD3005_21.ogg
27/04/2023  02:16 PM           734,646 LZ77_html.arc
27/04/2023  02:16 PM            14,677 Opera.arc
27/04/2023  02:16 PM            43,264 savedata.tpl
27/04/2023  02:16 PM           393,216 syscard3P.pce
27/04/2023  02:16 PM               134 TITLE.TXT
So I need to manually rename all the Valis ROMFS filenames into Castlevania ROMFS filenames, or just copy-and-paste Castlevania files into VALIS romfs folder for Switch?..
Sorry for being such a dumb. :)
Just rename the KMCD3005.hcd to VALIS.hcd, and keep the Castlevania files intact (without renaming).
Only ogg/bin/hcd are needed.
 
Last edited by cucholix,
  • Like
Reactions: mathew77

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Deeze nuts