Hacking Nintendont Themes and Custom Mods

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
what about Carbonic?

35c4yme.jpg
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
JoostinOnline anyway to make it so text can be changed in nintendon-t itself, like something in the options menu to change the text to basic colors like red,white,black,blue,green
it would be useful for the custom themes
or even have a secondary branch of nintendon-t that is only for custom themes that has this feature but it still gets updated with the nintendon-t master branch so no commits with the custom themes get mixed in to the official nintendon-t, possibly could use something like orphis.buildbot.net to keep the custom theme branch up to date with the newest commits from nintendon-t while retaining the themes.

Unless themes can be coded to be installed the same way you did it for powercheck
I don't want to be rude, but I'm getting tired of saying this. Custom theme support isn't ever going to be supported. I'll give suggestions for other people to make it work easier, but that's it. I'm struggling to make ends meat at home, so I don't have a ton of free time.
 
  • Like
Reactions: Acidflare

NicoCP

Well-Known Member
Newcomer
Joined
Aug 7, 2013
Messages
49
Trophies
0
Age
31
XP
74
Country
Argentina
Well... I failed to make my custom mod :P

Some strange thing happens:
If I try to edit the position of some of the verbose loading info, when I load Nintendont and it shows the list of games available, it seems to doesn't read the names that are on titles.txt. I just can't understand why that happens! I mean, I only touched the position of some text of the loading screen :wtf:

For example, if I change on main.c:
PrintFormat(DEFAULT_SIZE, BLACK, MENU_POS_X, MENU_POS_Y + 20*16, "Init CARD...");

To this:
PrintFormat(DEFAULT_SIZE, WHITE, MENU_POS_X + 47 * 6 - 8, MENU_POS_Y + 20*18+5, "Init CARD...");

Then it doesn't show the names correctly xD
I tested recompiling it many times, also with different SD cards, and always happens the same.

Those values that I put are because I wanted the text below some logo on the screen (on Y), and centered (on X).

Also, the same happens if I had another if like this:
if(STATUS_LOADING == 11) {
PrintFormat(DEFAULT_SIZE, WHITE, MENU_POS_X, MENU_POS_Y + 20*18+5, "Done!");
}

What I wanted to accomplish was something like this:
Initial screen:
backgroundInit.png
Loading game screen: (here all the loading text would print on the same line, below the logo)
backgroundLoading.png
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Well... I failed to make my custom mod :P

Some strange thing happens:
If I try to edit the position of some of the verbose loading info, when I load Nintendont and it shows the list of games available, it seems to doesn't read the names that are on titles.txt. I just can't understand why that happens! I mean, I only touched the position of some text of the loading screen :wtf:

For example, if I change on main.c:
PrintFormat(DEFAULT_SIZE, BLACK, MENU_POS_X, MENU_POS_Y + 20*16, "Init CARD...");

To this:
PrintFormat(DEFAULT_SIZE, WHITE, MENU_POS_X + 47 * 6 - 8, MENU_POS_Y + 20*18+5, "Init CARD...");

Then it doesn't show the names correctly xD
I tested recompiling it many times, also with different SD cards, and always happens the same.

Those values that I put are because I wanted the text below some logo on the screen (on Y), and centered (on X).

Also, the same happens if I had another if like this:
if(STATUS_LOADING == 11) {
PrintFormat(DEFAULT_SIZE, WHITE, MENU_POS_X, MENU_POS_Y + 20*18+5, "Done!");
}

What I wanted to accomplish was something like this:
Initial screen:
backgroundInit.png
Loading game screen: (here all the loading text would print on the same line, below the logo)
backgroundLoading.png

can you relink the screenies, dropbox links don't appear as images unless you put them in public folder
Where I find Nintendont source code? how download it? Do I need devkit pro?
checkout link for the source is on google code page, devkitpro is needed to compile, sliksvn or tortoisesvn to checkout
 

OriginalHamster

UStealthy
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
checkout link for the source is on google code page, devkitpro is needed to compile, sliksvn or tortoisesvn to checkout
Thanks, now that I think I have another problem XD, is there anyway to include UStealth + new background?
I use this page to get latest boot.dol with UStealth enabled but they are binaries, and don't contain source code.

I'd wish this theme:
5dw1g8.jpg
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country

Acidflare

HomeBrew Beta Tester
Member
Joined
Aug 16, 2013
Messages
1,106
Trophies
0
Age
34
Location
Nether World
XP
268
Country
Canada
Abz are you custom theme dol files always kept up to date with the master source code of nintendon-t? I tested that them I requested that you made, love it but I want to know if there is a way you are able to keep the themed dol files up to date with the nintendon-t master source code? the only thing that comes to my mind about autobuilding the new sources with the themes would be http://orphis.buildbot.net.

PPSSPP the psp emulator uses orphis.buildbot.net to keep the newest beta builds updated without having to manually build, compile, upload. http://orphis.buildbot.net takes care of all of that for them, maybe we can use the same setup for the custom themed dol files.
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Abz are you custom theme dol files always kept up to date with the master source code of nintendon-t? I tested that them I requested that you made, love it but I want to know if there is a way you are able to keep the themed dol files up to date with the nintendon-t master source code? the only thing that comes to my mind about autobuilding the new sources with the themes would be http://orphis.buildbot.net.

PPSSPP the psp emulator uses orphis.buildbot.net to keep the newest beta builds updated without having to manually build, compile, upload. http://orphis.buildbot.net takes care of all of that for them, maybe we can use the same setup for the custom themed dol files.
updating the source might be a pain and should be done manually.
Another thing, newer builds are not always stable, and I like to update only when it's worth it
if you want the sources I can share them here but it's already in OP anyways
 

NicoCP

Well-Known Member
Newcomer
Joined
Aug 7, 2013
Messages
49
Trophies
0
Age
31
XP
74
Country
Argentina
Yeah, I'll try later maybe with other numbers (or put a single number and not a formula). I have to study for some finals now so I can't test it.

But it's strange that modifying some lines of code has an effect on other things totally unrelated... they're just prints xD
And it happens only with some of those prints: I managed to change the position of the "Init config..." but not the "Init CARD..." for example.
(What I mean is that it doesn't show the names found in the titles.txt if I change some of those prints)
Also, changing the background sometimes leads to the same issue.

Maybe I should give up and leave only the background :P
 

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States

NicoCP

Well-Known Member
Newcomer
Joined
Aug 7, 2013
Messages
49
Trophies
0
Age
31
XP
74
Country
Argentina
But I never touched those lines xD Except, BLACK to WHITE.

All the changes I made were:
  1. Changed all BLACK to WHITE in every PrintFormat (main.c, menu.c, loader.c, etc)
  2. On menu.c, changed to position of "Returning to laoder...", "No games found in %s:/games !", "No FAT device found, or missing %s dir!", and commented some lines of PrintInfo() function (leave only the Nintendont's version).
  3. On main.c, I carefully deleted all the if(STATUS_LOADING > ...).
  4. On main.c, I changed one by one the position of the verbose, to the bottom center: for example, if the call to the PrintFormat included "MENU_POS_X, MENU_POS_Y +20*7", I changed it to "MENU_POS_X, MENU_POS_Y +20*18+5". I compiled each time I made a change to these, and the titles on the game menu showed correctly (that is, show the names that are in titles.txt). BUT, when I changed: PrintFormat(DEFAULT_SIZE,WHITE,MENU_POS_X,MENU_POS_Y+20*14, "Init HID devices..."); to PrintFormat(DEFAULT_SIZE,WHITE,MENU_POS_X,MENU_POS_Y+20*18+5, "Init HID devices..."); those games showed like there was no titles.txt file! If I leave that PrintFormat unchanged, it works (but of course, it doesn't show the loading text where I wanted it :P)
I just don't understand why that happens. I'm only changing the vertical position of the text in the loading screen of a game, nothing to do with the game menu list :wacko:
Anybody can see the changes I made on this repository:
https://github.com/nicodiaz55/nintendont-mirror/commits/e72a1511ef52c2d5fd639310745e53935d317080
 

Acidflare

HomeBrew Beta Tester
Member
Joined
Aug 16, 2013
Messages
1,106
Trophies
0
Age
34
Location
Nether World
XP
268
Country
Canada
updating the source might be a pain and should be done manually.
Another thing, newer builds are not always stable, and I like to update only when it's worth it
if you want the sources I can share them here but it's already in OP anyways

So when the source code has had many improvements you intend to update the dols?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...