Views: 22,896,716 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
10-07-24 10:58 AM |
Guest: |
0 users reading Editor development | 1 bot |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
Skelux |
| ||
Banned Level: 28 Posts: 58/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
Jolly Roger Bay (Inside Ship)
Edit: I forgot to mention one thing. If I replace all the strings from the credits with blank space, the dialog file becomes bigger, so how can it be that the original is replaced? Edit 2: I recompiled r45 and edited one string, but CCC did not freeze. I may have just accidentally changed something, I'll add in all the strings and see how it goes. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 86/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Posted by Skelux Can you try the latest one? I made a mistake with shrinking entries, forgot that lengthDif was negative, so I was adding it instead of subtracting, meaning that smaller entries were doubling the size of an entry. |
Skelux |
| ||
Banned Level: 28 Posts: 59/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
False alarm, it's still not working, I was just editing the french text. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 87/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Does it happen every time any string is read in CCC? Does it read an unedited version fine? If so, what if you edit an entry not referenced by CCC?
I put a sign in JRB Ship reading an edited string 0 and it displayed. |
Skelux |
| ||
Banned Level: 28 Posts: 60/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
Simply editing any string with r44+ makes the level crash on entry (white screen). If I open it again after this in r42 and save any one string, the level will cease crashing on entry. Also, removing 90% of objects in the level prevents it from crashing even after being edited in r44. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 88/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
The difference I can see is that r42 pads the end of each entry with zeroes because it overestiamtes the new string length, meaning offsets are shifted forward as well but I don't see how that would crash it.
I noticed the end of the file has nine FF bytes that r42 removes, r44+ doesn't and after saving r44's version with r42 they are removed. Can you try manually removing them and testing if your level crashes? |
Skelux |
| ||
Banned Level: 28 Posts: 61/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
It made no difference. Where is the address 0x08 into the file supposed to point to? It looks like it was supposed to point to the end of the file, but it's off by about 0x1000+ only in my star road rom. I tried correcting it but it made no difference.
Edit 1: I found msg_data_eng.bin in the rom's file table and setting it to end halfway through the file made CCC work, so It is again looking like a size issue. I am starting to suspect that a whole heap of padding has ended up in there somehow, but it is definitely not at the end of the file (not much of it, anyway). |
Fiachra |
| ||
Local moderator Level: 65 Posts: 89/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Mega-Mario's Documentation:
0x08 is the entire file size. I simply read it and add/subtract the difference in length of the new string, same with DAT1 + 0x04. I may add the option to import/export strings from TXT/XML to help with situations like this. |
Skelux |
| ||
Banned Level: 28 Posts: 62/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
I finally fixed it, there was an error in the compression caused by me continually resetting the dialog file and changing things, making the file decompress to a very large size. I reverted everything correctly this time, edited some strings and it worked.
Since that is resolved, I'll tell you that strings with special commands such as this one do not compile correctly: Save now? [0xFE]5200[0xFE]5202 Save and continue [0xFE]5202 Save and play mini-games [0xFE]5202 Continue, don't save |
Fiachra |
| ||
Local moderator Level: 65 Posts: 90/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Hooray!
I know, I'm actually working on that at the minute. |
Skelux |
| ||
Banned Level: 28 Posts: 63/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
Also, this: http://www3.mediafire.com/convkey/2f64/dak3bg325hjcwni9g.jpg
I'll work on finding some more useful patches to add to the list now. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 91/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
OK, will merge 3 and 4 again. (In the meantime setting param. 4 to F4 should work).
Thanks. |
Skelux |
| ||
Banned Level: 28 Posts: 64/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
Do you know where I can find Yoshi's model? I had an idea for making Bowser playable with working animations. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 92/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Posted by Skelux Yoshi's and other players' models are in ARCHIVE/arc0.narc/data/Player. |
Skelux |
| ||
Banned Level: 28 Posts: 65/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
---All Minigames Unlocked---
EUR: ROM 0x13644 to 0xFF00A0E3 US: ROM 0x13520 to 0xFF00A0E3 US 1.1: ROM 0x13598 to 0xFF00A0E3 JAP: ROM 0x13598 to 0xFF00A0E3 I am trying to swap run and walk so you hold Y to walk, but so far I've only got this: 0209D51C - Button Activator 1 (EUR) 022EC79C - Button Activator 2 (EUR) |
Fiachra |
| ||
Local moderator Level: 65 Posts: 93/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
OK, thanks, I'll add that to the list.
Would this AR code be helpful (EUR)? I'll start a new thread where patches can be posted. Rev. 47 (16/04/2013) - Improved/fixed and much easier handling of special characters within text editor - Import and export text strings to XML |
Skelux |
| ||
Banned Level: 28 Posts: 66/148 EXP: 118508 Next: 12830 Since: 11-27-12 Last post: 3787 days ago Last view: 2247 days ago |
The most recent revision crashes when you open Lethal Lava Land, unless it's just me. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 96/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Posted by Skelux It works fine for me. Have you edited the level at all? |
AdrienTD |
| ||
Micro-Goomba Normal user Level: 9 Posts: 3/12 EXP: 2697 Next: 465 Since: 03-28-13 Last post: 2551 days ago Last view: 2551 days ago |
Posted by Fiachra Me too. When I open Lethal Lava Land, an exception dialog displays that the program was trying to read a non existent file in the ROM. The problem was in the code that renders the puzzle tiles. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 97/1065 EXP: 2282677 Next: 52951 Since: 12-15-12 From: Ireland Last post: 2325 days ago Last view: 274 days ago |
Should be fine now. I had made changes to LevelObject.cs and then reverted back but forgot to commit the changes. |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
Page rendered in 0.027 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 234/234, time: 0.013 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |