Views: 19,856,685 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
03-29-24 01:06 PM |
Guest: |
0 users reading PyJPC v0.2 Release Thread (Technical Details Inside) | 1 bot |
Main - Archived forums - SMG hacking tools development - PyJPC v0.2 Release Thread (Technical Details Inside) | Hide post layouts | New reply |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3508/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 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 |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 576/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Wow, full release! I can't wait to play around with this. Does the script print the command syntax (or whatever it's called) somehow? If not, it'd be nice to see that stuff listed somewhere. Even in a readme, or in this thread...
Posted by NWPlayer123 Not hard to tell where you got that name xD |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3509/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 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 |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 578/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by NWPlayer123 Oh, drag and drop. That's a lot easier. Python 2...does that include 2.6 or 2.7? |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3510/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 days ago |
Any and all, 2.0-2.7.4 or whatever the latest is ____________________ "I hate playing musical chats" ~ Quote of the month |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 582/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by NWPlayer123 Oh, okay. Glad to know I don't have to install a 4th version of Python |
KoopaTroopaMan |
| ||
Member Normal user Level: 67 Posts: 844/1217 EXP: 2566970 Next: 25902 Since: 03-26-14 Last post: 2638 days ago Last view: 1358 days ago |
Yay now we finally can edit particles!
If I know right, to extract you have to type PyJPC.py Particles.jpc and to repack you have to drag and drop the folder on PyJPC.py? |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 123 Posts: 3430/4661 EXP: 20825299 Next: 405967 Since: 07-07-12 Last post: 1322 days ago Last view: 335 days ago |
or drag and drop the JPC itself into the program. ____________________ a |
KoopaTroopaMan |
| ||
Member Normal user Level: 67 Posts: 847/1217 EXP: 2566970 Next: 25902 Since: 03-26-14 Last post: 2638 days ago Last view: 1358 days ago |
I just get TEX1 files. How do I edit them? |
SunakazeKun |
| ||
Boss Bass Normal user Level: 74 Posts: 730/1551 EXP: 3652295 Next: 1249 Since: 06-15-14 From: Germany Last post: 2259 days ago Last view: 2232 days ago |
Posted by Rainbow Mario Editing the effects actually was possible, but pyJPC just makes it possible to edit/create/add new textures! Youtube | Github | Neo Mario Galaxy | Super Mario Galaxy & Super Mario 3D Land Modding |
KoopaTroopaMan |
| ||
Member Normal user Level: 67 Posts: 848/1217 EXP: 2566970 Next: 25902 Since: 03-26-14 Last post: 2638 days ago Last view: 1358 days ago |
Textures? Wait, I thought particles was just animating images. texextract gives BTI files, that can be edited. So should the BTIs be repacked to TEX1 IN the JPC file? |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3511/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 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 |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 588/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by Rainbow Mario Textures are images, loosely speaking. |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3512/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 days ago |
Yes, in this case the words are interchangable. ____________________ "I hate playing musical chats" ~ Quote of the month |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 589/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by NWPlayer123 *runs around cheering like an insane moron who just saw his favorite sports team win some major thing* I FINALLY GOT SOMETHING RIGHT! YESSS!!! |
KoopaTroopaMan |
| ||
Member Normal user Level: 67 Posts: 849/1217 EXP: 2566970 Next: 25902 Since: 03-26-14 Last post: 2638 days ago Last view: 1358 days ago |
Posted by NWPlayer123 I already got all BTI files from TexExtract. I want to convert them to TEX1 and then put in the JPC file. |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 110 Posts: 3513/3604 EXP: 14159604 Next: 249282 Since: 07-07-12 From: Colorado Last post: 3075 days ago Last view: 1232 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 |
Splitwirez |
| ||
Otherwise known as rob55rod. Should probably get back to SMG2 at some point... Level: 68 Posts: 590/1207 EXP: 2607249 Next: 121551 Since: 08-28-13 From: ._______________. Last post: 1935 days ago Last view: 1545 days ago |
Posted by NWPlayer123 Uh...not sure if it's my place to say this, but... ...PLEASE DO THAT!!!!! All this hex editing is way beyond me. |
KoopaTroopaMan |
| ||
Member Normal user Level: 67 Posts: 850/1217 EXP: 2566970 Next: 25902 Since: 03-26-14 Last post: 2638 days ago Last view: 1358 days ago |
Yes do a script. It would help me a lot and a lot of other people. |
Jesse |
| ||
Member Normal user Level: 53 Posts: 494/688 EXP: 1120929 Next: 36190 Since: 09-05-13 Last post: 2351 days ago Last view: 1912 days ago |
its literally dumping some hex lines into a file. Its not as hard as curing cancer or something like that. |
Main - Archived forums - SMG hacking tools development - PyJPC v0.2 Release Thread (Technical Details Inside) | Hide post layouts | New reply |
Page rendered in 0.029 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 233/233, time: 0.010 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |