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
23
XP
178
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
35
XP
22
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
19
XP
60
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
35
XP
22
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!
 
General chit-chat
Help Users
  • JuanBaNaNa @ JuanBaNaNa:
    MEXICAN PIZZA!? What are the toppings? Chorizo, Onion, Beans and Jalapenos?
    Gift
  • AncientBoi @ AncientBoi:
    Chicharones, ceviche, pito, cane asada
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    I don't know but the ones at Taco Bell used to be good lol
    Gift
  • KenniesNewName @ KenniesNewName:
    I could easily down 3 of those pizza
    Gift
  • JuanBaNaNa @ JuanBaNaNa:
    So you guys don't know what's in a Mexican pizza but still eat it? A bit weird if you ask me. "What's the white part there? Just swallow. OK"
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Hey girls do it all the time lol
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Do they now?
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Well my fiancee does lol
    Gift
  • Dark_Phoras @ Dark_Phoras:
    You'd expect her to know the second time :x
    Gift
  • Gift
  • KenniesNewName @ KenniesNewName:
    BioShock the collection free on epic
    Gift
  • linuxares @ linuxares:
    but iuh... Epic
    Gift
  • KenniesNewName @ KenniesNewName:
    Every game is free some how 🤔
    Gift
  • KenniesNewName @ KenniesNewName:
    I recommend Chinese clones =0
    Gift
  • Elodain @ Elodain:
    Epic can suck a fat one.
    Gift
  • KenniesNewName @ KenniesNewName:
    Yes how dare a company give free stuff
    Gift
  • T @ trimesh:
    I'm not a great fan of Epic, but the level of hostility some people seem to have for them is surprising
    Gift
  • KenniesNewName @ KenniesNewName:
    I am slightly annoyed I just bought bioshock on steam but it was like $8
    Gift
  • mthrnite @ mthrnite:
    I've catered for Epic before, pretty cool folks.
    Gift
  • T @ trimesh:
    I think I already have it - but it's a good game so IMO the more people that can play it the better
    Gift
  • KenniesNewName @ KenniesNewName:
    I guess it's not a huge bad thing to have a game on different platforms just in case of hacks :tpi:
    Gift
  • T @ trimesh:
    My biggest issue with Epic was the incredibly disingenuous way they dealt with Apple and the app Store - I happen to think that Apple are the classic evil corporation, so it takes a lot to be even more cunty than them - but Epic managed it..
    Gift
  • KenniesNewName @ KenniesNewName:
    People build over hatred for companies but a huge majority still buy their products or take what's free
    Gift
  • T @ trimesh:
    I don't actually hate them - if anything I was just amused to discover that they had actually managed to make Apple look like they were in the right - it takes serious levels of assholishness to do that
    Gift
  • KenniesNewName @ KenniesNewName:
    If I have an enjoyable time using something that's all that should matter
    Gift
    KenniesNewName @ KenniesNewName: If I have an enjoyable time using something that's all that should matter