Hacking Change tilesets for reggie and new super mario bros wii games to have multiple level environments

SammyJouhari

Well-Known Member
OP
Newcomer
Joined
Aug 26, 2016
Messages
49
Trophies
0
Age
25
XP
199
Country
Canada
So basically I want to make it so I can have many level types in one (Grassland, snow, ice, underwater, underground 3 types, beach, lava, volcano, etc.) 4 in each area
looking on the XML in reggie if I copy paste so that pa0 - pa3 all share the same sprites and I pick 3 or 4 for each area
so it is possible?
Screenshot (5).png
Screenshot (4).png
 

ChasicalRadical

Member
Newcomer
Joined
Jul 31, 2019
Messages
9
Trophies
0
Age
37
XP
42
Country
United States
I cant really answer your question (Sorry) but how did you manage to load a Newer smbw file using Reggie Next? I try opening the 01-01.arc.LH file but nothing happens?
 

YoYoBoBo

Member
Newcomer
Joined
Jun 19, 2018
Messages
6
Trophies
0
Age
21
XP
80
Country
United States
For the main thread I have no idea, sorry :(.
I cant really answer your question (Sorry) but how did you manage to load a Newer smbw file using Reggie Next? I try opening the 01-01.arc.LH file but nothing happens?
There is one method which is to decompress the LH file into an arc which Reggie will happily open.

You can use LHTOOL.py which RoadRunnerWWC added commandline support. Search on google "lhtool.py" and click the on link with "RoadRunnerWWC" in it (should be the first link).

Right click on the "Raw" button, click "Save link as", go to where the LH file is, and it should auto save as "lhtool.py". Otherwise type that manually and save.

This requires that you have a version of Python 2 installed and have added it to your path (gives you that option in installation). If you are familar with using python in command prompt don't bother reading the rest you good.

If you have that done, open up command prompt (possibly may need to open the admin version). To simplify things, cd to the folder where the LH file is (type "cd [folder location]"). The command to decompress is "[path to python.exe] [path to lhtool.py] -d [path to file you want to decompress] [path to the decompressed file]." Since you already cd to the folder of the LH file, and since you already placed lhtool.py in that folder, you should be able to just type the file names instead of the paths. If python 2 is the only version of python you have, you may also be able to type "python" instead of the location to python.exe.

So the structure, if you cd to the folder that has both the lh file and lhtool.py, is "[path to python.exe] lhtool.py -d yourfile.LH decompressedfile.arc" Or it can be "python lhtool.py -d yourfile.LH decompressedfile.arc"


You can also use ntcompress which can be found by searching "ntcompress" on google and clicking on the link that says "Editing Tools".

However, to use ntcompress you need to make a batch file first which is real simple. Voila, a guide that consists of making a txt file and copying a line of code can be found by again googling ntcompress and clicking on the result "Notes:Newer Super Mario Bros. Wii - Hiccup".

The benefit of ntcompress is that you can also compress arc files to LH(woo!).


You can also just use Reggie Next lol. Go to File -> Change Game and select Newer Super Mario Bros Wii. Then choose open by file, go to the dropdown menu in the lower right corner that says "NSMBW Level Archives (*.arc)" and change it to "Compressed Level Archives (*arc.LH)". The benefit of this method is that its exactly what you want to do and super duper easy.


Now why did I put the simplest solution at the bottom? Because the other stuff is useful for NSMBW. I've found that knowing how to use the basics of python lets you use the source of a ton of NSMBW programs (which a lot of them only have the source to use), and ntcompress happens to be super useful for compressing arc files.

--------------------- MERGED ---------------------------

Oh and once you decompress the file you can open it quite easily.
 

ChasicalRadical

Member
Newcomer
Joined
Jul 31, 2019
Messages
9
Trophies
0
Age
37
XP
42
Country
United States
For the main thread I have no idea, sorry :(.

There is one method which is to decompress the LH file into an arc which Reggie will happily open.

You can use LHTOOL.py which RoadRunnerWWC added commandline support. Search on google "lhtool.py" and click the on link with "RoadRunnerWWC" in it (should be the first link).

Right click on the "Raw" button, click "Save link as", go to where the LH file is, and it should auto save as "lhtool.py". Otherwise type that manually and save.

This requires that you have a version of Python 2 installed and have added it to your path (gives you that option in installation). If you are familar with using python in command prompt don't bother reading the rest you good.

If you have that done, open up command prompt (possibly may need to open the admin version). To simplify things, cd to the folder where the LH file is (type "cd [folder location]"). The command to decompress is "[path to python.exe] [path to lhtool.py] -d [path to file you want to decompress] [path to the decompressed file]." Since you already cd to the folder of the LH file, and since you already placed lhtool.py in that folder, you should be able to just type the file names instead of the paths. If python 2 is the only version of python you have, you may also be able to type "python" instead of the location to python.exe.

So the structure, if you cd to the folder that has both the lh file and lhtool.py, is "[path to python.exe] lhtool.py -d yourfile.LH decompressedfile.arc" Or it can be "python lhtool.py -d yourfile.LH decompressedfile.arc"


You can also use ntcompress which can be found by searching "ntcompress" on google and clicking on the link that says "Editing Tools".

However, to use ntcompress you need to make a batch file first which is real simple. Voila, a guide that consists of making a txt file and copying a line of code can be found by again googling ntcompress and clicking on the result "Notes:Newer Super Mario Bros. Wii - Hiccup".

The benefit of ntcompress is that you can also compress arc files to LH(woo!).


You can also just use Reggie Next lol. Go to File -> Change Game and select Newer Super Mario Bros Wii. Then choose open by file, go to the dropdown menu in the lower right corner that says "NSMBW Level Archives (*.arc)" and change it to "Compressed Level Archives (*arc.LH)". The benefit of this method is that its exactly what you want to do and super duper easy.


Now why did I put the simplest solution at the bottom? Because the other stuff is useful for NSMBW. I've found that knowing how to use the basics of python lets you use the source of a ton of NSMBW programs (which a lot of them only have the source to use), and ntcompress happens to be super useful for compressing arc files.

--------------------- MERGED ---------------------------

Oh and once you decompress the file you can open it quite easily.
Thanks I apprecitate it!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ButterScott101 @ ButterScott101: +1