Views: 20,068,892 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-27-24 12:58 PM |
Guest: |
Main - Posts by NWPlayer123 |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3501/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
https://dl.dropboxusercontent.com/u/56043942/Programs/texextract.py
Here you go, made in 10 minutes, python 2, texextract.py file.jpc, have fun. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3502/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Splitwirez No, this just dumps all the textures to Also, Ctrl (or Cmd) + S to save it as a file. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3503/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Splitwirez lol how little you know ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3504/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Yami Yeah, I've been writing scripts for a lot of stuff, it seems text is now standardized to MSBT (which SMG1/2 uses, haven't looked at SM3DL), maps are BYAML still, everything else is BF***, so pretty standardized and they have a good engine made. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3505/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Splitwirez They can very easily, it's all controlled by BCSV files. I was working on a repacker last night, it's mostly finished, but I'm having a really weird Heisenbug. Posted by Rainbow Mario Once a release an official version, sure. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3506/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
1) You either find the string in the DOL (difficult with Shift-JIS strings which is what those probably are) or guess it yourself, and then hash it manually using the hash.py script I made in PyTools.
2) Can you upload it and send me it? I'll debug it in Netbeans to see what's going on. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3507/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
The BMD (or ARC, either works) that's crashing Whitehole. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3508/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
PyJPC v0.2 by NWPlayer123Download Links: PyJPC v0.1: Download PyJPC v0.2: Download This a tool that allows for the extraction/repacking of JPC files. If you feed it a JPC file (as the only input), it extracts it into a folder named the same as the file. Particles.jpc > /Particles. Inside is all the JPA files from the archive, with their various TEX1 sections added. It should be noted that the format does not match up with games like Super Mario Sunshine. It has 0xAB(«) padding. Sections in SMS are padded to 16 bytes automatically, and padding is not in the JPC file. There are two additional sections that are not used in normal JPA files - TDB1 which details information about what TEX1 entry to use and more (currently unknown), and then NWP1 which is a custom section I made to store the initial data from JPC entries, more details on the Wiki page. To generate an order for the JPA/TEX1 entries it uses ParticleData.bcsv and /TEX1/TEX1DATA.bcsv - you can edit them to add, delete, or rearrange files. Have fun! ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3509/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Yes, if the number of arguments doesn't equal 2 (PyJPC.py file.jpc) it'll print debug. So if you have it set up correctly (forgot to note it only needs python 2) you can drag-and-drop a JPC or a folder on it. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3510/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Any and all, 2.0-2.7.4 or whatever the latest is ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3511/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
The textures are only a small part of the JPA file, the rest is just as significant. If you want to edit the JPAs generated, you can edit all of them except the TEX1 section, which is read from the /TEX1/*.tex1 files. So if you want to edit the textures for particles, edit those files, otherwise, edit the sections in the JPA. If you wanna turn a .tex1 into a .bti, just delete the first 32 (0x20) bytes. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3512/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Yes, in this case the words are interchangable. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3513/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
then look at the name of the BTI, find the TEX1 file with the same name, then add those 32 bytes I mentioned (it has the "TEX1", the size of the file, the /name/ of the file, and a bit of padding)
EDIT: I can write a simple script if you want. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3514/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Splitwirez It's like that for a reason. You all are the ones who asked for an extractor/packer, so here you go. You still have to figure out what to do with it If you can't then this is of no use to you. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3515/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
v0.2 is up, now it generates "proper" JPA files with a JEFFjpa1 header (which it ignores when repacking, just makes it easier to read) and TEX1conv which converts a file between .tex1 and .bti. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3516/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
There, fixed ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3517/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Posted by Luigi It is now Posted by Rainbow Mario Yes ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3518/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Correct. You can also add or remove TEX1 files by editing the bcsv in that folder (wouldn't advise removing, you'd need to find all JPA files that use it and change them, possible but time consuming if you don't know what you're doing). You can also add/remove JPA files with ParticleData.bcsv, it's a little easier but not by much because of changing order. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3519/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
Then you're doing something wrong (or using the wrong version of python). It should at the very least print "PyJPC v0.1 by NWPlayer123" (whoops forgot to update that too) since that's literally the first thing it's told to do. ____________________ "I hate playing musical chats" ~ Quote of the month |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3520/3604 EXP: 14207450 Next: 201436 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 days ago |
It should work with any Python 2 version (I could probably make it python 3 compatible by changing xrange > range, I'll try that in a bit) ____________________ "I hate playing musical chats" ~ Quote of the month |
Main - Posts by NWPlayer123 |
Page rendered in 0.048 seconds. (2048KB of memory used) MySQL - queries: 23, rows: 141/141, time: 0.015 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |