Hacking [release] MSX inject for windows

jose1209

Well-Known Member
OP
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
VC MSX INJECT

it injects MSX ROM files with choosen ID and name. once correctly installed, just click 1.bat , type the base rom to use , and chose las 5 id digits. and take the result in FINAL dir.


i started with a small batch, and complete to make the inject more easy.
hope this is usefull.

thanks to all people who contribute to help WIIU users. special thank to ASPER and he's msx tread.

the file given is clean, that mean you have to find the copyrighted material and Key.


VERSION 0.9

This one will be the last except big bug to correct.

REQUIRED:
A WII U
A CFW

Nuspacker, install in the directory of extraction of the injector msx, nuspacker: in the directory /nuspacker
********* DO NOT FORGET THE COMMON KEY WHICH MUST BE IN THE FILE encryptKeyWith ********
Search on google

See here for nuspacker
Https://gbatemp.net/threads/nuspacker-pack-files-into-installable-packages.447689/


some roms msx; msx1 or msx2 no matter, test both bases if it does not work with one it will work with the other or not at all!
The name of the roms will be the name of the icon in the WIIU! Therefore reduce to maximum and remove SPACES AND PARENTHESES AND OTHER HOOKS
The number of roms to treat don' matter. I treated more than one hundred in 1 shot.
To be placed in the ROM directory.

Google is your friend for looking for msx and rom

Https://gbatemp.net/threads/libiosuhax-ppc-ipc-library-for-communication-to-dev-iosuhax.449296/ <ftpeverywhere or tree2sd for you to see

It requires the two bases msx goemon and nemesis2. The best way is to install the two games on the wii and reptrieve them with ftpiiuverywhere for example
after this:

Place them successively in the directories:
\Basegoemon and \basenemesis
Delete from each directory:
\ Meta \ iconTex.tga
\ Meta \ bootDrcTex.tga
\ Meta \ bootTvTex.tga
\ Meta \ meta.xml
\ Code \ app.xml

To be moved to the root of each base the file msx.pkg dumped from the rom and rename to romvide.pkg
\Content\msx\msx.pkg
The \content\msx\directory must not contain msx.pkg

How to make msx.pkg empty?
Https://gbatemp.net/threads/wiiu-fi...e-possible-rom-injection.450910/#post-6948358



OK everything is in place, run 1.bat answer 2 questions.

Nemesis or goemon. 1 or 2

Nemesis rather games MSX1
Goemon rather games msx2

Second question the last 5 digits of id!
**** Important **** use a FREE ID otherwise it will overwrite an already installed game

10195861 drwxr-xr-x 1 0 0 0 Jan 04 1970
10195865 drwxr-xr-x 1 0 0 0 Jan 04 1970
10195870 drwxr-xr-x 1 0 0 0 Jan 04 1970
10195878 drwxr-xr-x 1 0 0 0 Jan 04 1970
10198a00 drwxr-xr-x 1 0 0 0 Jan 04 1970
10199300 drwxr-xr-x 1 0 0 0 Jan 04 1970
10199500 drwxr-xr-x 1 0 0 0 Jan 04 1970

For example here between 10199300 and 10199500 I have about 200 id free!

If you enter the second question 99301 and you have 10 roms, then you will have the ids ...
0005000010199302
0005000010199303
0005000010199304
Etc ...
0005000010199311

How to use scripts.
Run 1.bat and retrieve the result in the final directory.


It is mainly script msdos ...
a special thank to the usual posters of gbatemp
And especially in this specific case, ASPER and its post
Https://gbatemp.net/threads/wiiu-first-official-msx-virtual-console-possible-rom-injection.450910/


If you want to personalize the icons and launch screen the tga2base directory, the files are in .TGA format

Respect the original format of the tga file! Otherwise you will have a corrupt one icon
therefore have the id of the game just copy the modified tga files in IDGAME/meta








VIDEO:
https://filetrip.net/embed?Ebkb4roeW3

Download

https://www.sendspace.com/file/a5lo3x
 
  • Like
Reactions: asper and markehmus

thekarter104

Well-Known Member
Member
Joined
Mar 28, 2013
Messages
1,984
Trophies
1
XP
3,006
Country
United States
Thanks!

I requested MSX Donkey Kong a while ago on the you know site, they said that the Donkey Kong MSX ROM is in a format which is unsupported by injecting, is that true?
 

jose1209

Well-Known Member
OP
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
that's true, donkey kong is not a .ROM , was released by ocean software in tape
s-l225.jpg



you may try with retroarch.
 

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada
i been using this as a tga template , if anyone wants
bootTvTex.png
for custom TGA's that look half-assed official
mgs2 bootTvTex.png

EDIT:

also for ease and to decrypt with cdecrypt i edit this bat file called 2.bat with the bold

echo java -jar NUSPacker.jar -in "..\temporaire\%nom%%compteur%%demande%" -out "..\final\%nom%%compteur%%demande%" -encryptKeyWith wiiU common key >>finir.bat

(hope its obvious that the red needs to be the actual key)
 
Last edited by markehmus,
  • Like
Reactions: coolmario and asper

jose1209

Well-Known Member
OP
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
Thanks, the TGA templates are nice,

also for ease and to decrypt with cdecrypt i edit this bat file called 2.bat with the bold

echo java -jar NUSPacker.jar -in "..\temporaire\%nom%%compteur%%demande%" -out "..\final\%nom%%compteur%%demande%" -encryptKeyWith wiiU common key >>finir.bat

on the previous release it was like that, i asked to set the common key on the batch file. But nuspacker have already the correct option to use the KEY.

part of the readmefirst.txt

"Nuspacker, install in the directory of extraction of the injector msx, nuspacker: in the directory /nuspacker
********* DO NOT FORGET THE COMMON KEY WHICH MUST BE IN THE FILE encryptKeyWith ********"

once is set to nuspacker, even if anyone use nuspacker without the script, the files will be packed with the correct key.



i did try to translate the emulator menu (it's jap) unpacking "\content\Lyt\arcs" and trying to convert .BFLIM files, but only some small where converted so noway to translate the menus.

for now, the VC inject is the best emulator msx for the wiiu, but the keyboard is missing...
when in a game we have to type numbers or letters it's impossible. Athletic land load fine but it's impossible to start the game waits for 1,2,3,4 key... In the very good King's valley 2 game. the game loads fine, work. but you can't go to any level directly because you need to enter a code...
 

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada
on the previous release it was like that, i asked to set the common key on the batch file. But nuspacker have already the correct option to use the KEY.

part of the readmefirst.txt

"Nuspacker, install in the directory of extraction of the injector msx, nuspacker: in the directory /nuspacker
********* DO NOT FORGET THE COMMON KEY WHICH MUST BE IN THE FILE encryptKeyWith ********"

once is set to nuspacker, even if anyone use nuspacker without the script, the files will be packed with the correct key.

so we can just have a file ... like , lets say , ckey.bin in the nuspacker root directory and not need to add the "-encryptKeyWith wiiU common key" to your 2.bat ?

does the pics of the title or the typed out title look better? (see spoilercompared to last spoiler)
mgs22 bootTvTex.png
 

jose1209

Well-Known Member
OP
Member
Joined
Jul 2, 2007
Messages
117
Trophies
0
XP
698
Country
Burkina Faso
so we can just have a file ... like , lets say , ckey.bin in the nuspacker root directory and not need to add the "-encryptKeyWith wiiU common key" to your 2.bat ?

yes, the file is names like that ===> encryptKeyWith

from the nuspacker tread:

(optional! defaults values will be used if missing (or loaded from external file))-encryptionKey ; the key that is used to encrypt the package-encryptKeyWith ; the key that is used to encrypt the encryption key)

i prefere the second pic but it's my choice, mayby some other would prefere the 1rst.

for the icontex.tga i have a batch to make things easyer i symply make with photoshop, my tga files with the 5 digits in a dir , the batch buitd the dir path, [IDGAME/meta/incontex.tga]
once everything is set on the computer, i send and change the icontext.tga in 1 minute by FTP for several games. this can be done for the others tga.


Code:
for /f "tokens=1-2 delims=." %%a in ('dir /b .') do (

if %%a NEQ b md 10195%%a\meta\

copy %%a.tga 10195%%a\meta\iconTex.tga
)
 
  • Like
Reactions: markehmus
D

Deleted User

Guest
Wii U common key is in otp.bin, right?
Nice tool, going to do some MSX injects.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: downloading a couple of puyo puyo ds games