|
|
|
dj_skual
|
Posted on 12-16-13, 07:53 pm
blarg
|
 Shyguy Normal user
Posts: 53/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
ok, i got sources to compile 
will test tomorow if it's working...
@kamek, what had you commented about the heapbar? and what had you changed about physics?
|
|
joietyfull
|
Posted on 12-16-13, 08:14 pm
blarg
|
Banned until 03-30-14, 12:16 pm: Abusing CSS and deliberately not complying to a staff order
Posts: 699/875
Since: 04-23-11
Last post: 3 days
Last view: 6 hours
|
You need the knowledge of C++ to do any changes.
BTW, when you want to change the HUD (the "heapbar") you can simply use Koopatlas. That's a simpler way to determine the color. Otherwise, you also can try to do it the more difficult way around. _________________________
|
|
Kinnay
|
Posted on 12-16-13, 08:17 pm
blarg
|
 Sledge Brother Normal user
Posts: 1326/1854
Since: 01-04-13
Last post: 14 hours
Last view: 2 hours
|
For the heapbar I put a # before the line with heapbar in NewerProjectKP.yaml.
For the physics I did exactly what Tempus said, I changed levelspecial.cpp at the lines where there's a comment //low gravity. I'm not exactly sure atm what values I used, because I'm not on the mac right now, I did it by trial and error until I was happy. _________________________
|
|
Tempus
|
Posted on 12-16-13, 09:43 pm
blarg
|
 Snifit Global moderator
Posts: 240/285
Since: 12-31-09
Last post: 10 days
Last view: 4 days
|
Seriously, don't make an exe of Kamek. If people can't double click ONE python installer, and run a one line command from cmd, then they really have no business fiddling around with the Newer source code.
This is NOT some nice tool where you can pop up a beautiful window and drag some things around the screen to make nice things happen in game. This is source code (messy source code), written in C++ and PPC ASM, linked into the game dynamically via a script called Kamek via a series of yaml files, and compiled with a custom llvm/clang. Getting the Kamek script to run is one of the EASIEST parts of the whole process - people who want an 'exe' for it are completely misunderstanding what source code is, and shouldn't be encouraged in their ignorance.
The difficulty with setting up and compiling the source code on windows is due to the difficulty of patching, compiling, and running llvm/clang on windows, which must be done through a program called cygwin, which is notoriously fickle. If you want to get this running on windows, that is the step to overcome.
|
|
MarioMiner
|
Posted on 12-17-13, 02:37 am
blarg
|
 Melon Bug The Minecrafter!
Posts: 386/733
Since: 11-03-13
Last post: 2 days
Last view: 2 days
|
Seriously, don't make an exe of Kamek. If people can't double click ONE python installer, and run a one line command from cmd, then they really have no business fiddling around with the Newer source code.
This is NOT some nice tool where you can pop up a beautiful window and drag some things around the screen to make nice things happen in game. This is source code (messy source code), written in C++ and PPC ASM, linked into the game dynamically via a script called Kamek via a series of yaml files, and compiled with a custom llvm/clang. Getting the Kamek script to run is one of the EASIEST parts of the whole process - people who want an 'exe' for it are completely misunderstanding what source code is, and shouldn't be encouraged in their ignorance.
The difficulty with setting up and compiling the source code on windows is due to the difficulty of patching, compiling, and running llvm/clang on windows, which must be done through a program called cygwin, which is notoriously fickle. If you want to get this running on windows, that is the step to overcome.
I can maybe do something very simple using Kamek. 
Did I do something wrong again.
|
|
dj_skual
|
Posted on 12-17-13, 12:17 pm
blarg
|
 Shyguy Normal user
Posts: 54/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
ok, i got to compile sources, but if i replace the 18 NewerRes files, i got a code dump after the save is created
here, you can see the code dump:
https://drive.google.com/file/d/0B6h8xuTOOS2ZOHBIWExYVWZ0c00/edit?usp=sharing
hope some one could tell me where i'm wrong
|
|
Mario64
|
Posted on 12-17-13, 12:22 pm
blarg
|
 Green Birdo Most Posts on Forum YSMBM Team Leader + XML Creator
Posts: 1557/2229
Since: 04-21-12
Last post: 1 hour
Last view: 23 min.
|
I can maybe do something very simple using Kamek. 
Did I do something wrong again.  Yes. Didn't you hear what he said? You don't know how to use Kamek, so just stop with that stuff. _________________________
Mario64:
Leader of You Super Mario Bros. Me, YSMBMSS, YSMBAA, and the Admin of the YSMBM Forums - PM me with XML Troubles or small problems!
All My Hack's Logos
My Youtube Channel - Subscribe for tuts and cool videos!
Newer on Piano Project with kinoko - Newer's songs written on Piano!
All the songs that we've arranged for piano in Newer
You Super Mario Bros. Me Summer Special - My first mini-hack!
Join my new Blargboard forum! http://ysmbmforums.bugs3.com/Blargboard-master/
[redbox]:not([redbox=""]):before{color:#ffffff;font-size:16px;font-family:x-files;content:" "attr(redbox)": ";}div[redbox]:not([redbox=""]):before{display:block;}[redbox]{color:#ffffff !important;background-color:rgba(86,0,0,255) !important;font-size:115%;border:1px solid red;margin-left:3em;margin-top:1em;margin-bottom:1em;padding:5px;quotes: "\201C" "\201D" "\2018" "\2019" "\00AB" "\00BB" "\0039" "\003A";}[redbox] [redbox]{margin:5px !important;padding:3px;font-size:100%;}
[greenbox]:not([greenbox=""]):before{color:#ffffff;font-size:16px;font-family:x-files;content:" "attr(greenbox)": ";}div[greenbox]:not([greenbox=""]):before{display:block;}[greenbox]{color:#ffffff !important;background-color:rgba(0,86,0,0.33) !important;font-size:115%;border:1px solid green;margin-left:3em;margin-top:1em;margin-bottom:1em;padding:5px;quotes:"\201C" "\201D" "\2018" "\2019" "\00AB" "\00BB" "\0039" "\003A";}[greenbox] [greenbox]{margin:5px !important;padding:3px;font-size:100%;}
[bluebox]:not([bluebox=""]):before{color:#ffffff;font-size:16px;font-family:x-files;content:" "attr(bluebox)": ";}div[bluebox]:not([bluebox=""]):before{display:block;}[bluebox]{color:#ffffff !important;background-color:rgba(0,0,86,0.33) !important;font-size:115%;border:1px solid blue;margin-left:3em;margin-top:1em;margin-bottom:1em;padding:5px;quotes:"\201C" "\201D" "\2018" "\2019" "\00AB" "\00BB" "\0039" "\003A";}[bluebox] [bluebox]{margin:5px !important;padding:3px;font-size:100%;}
[yellowbox]:not([yellowbox=""]):before{color:#ffffff;font-size:16px;font-family:x-files;content:" "attr(yellowbox)": ";}div[yellowbox]:not([yellowbox=""]):before{display:block;}[yellowbox]{color:#ffffff !important;background-color:rgba(249,255,73,0.33) !important;font-size:115%;border:1px solid yellow;margin-left:3em;margin-top:1em;margin-bottom:1em;padding:5px;quotes:"\201C" "\201D" "\2018" "\2019" "\00AB" "\00BB" "\0039" "\003A";}[yellowbox] [yellowbox]{margin:5px !important;padding:3px;font-size:100%;}
|
|
joietyfull
|
Posted on 12-17-13, 03:19 pm
blarg
|
Banned until 03-30-14, 12:16 pm: Abusing CSS and deliberately not complying to a staff order
Posts: 700/875
Since: 04-23-11
Last post: 3 days
Last view: 6 hours
|
I can maybe do something very simple using Kamek. 
Did I do something wrong again.  Tempus directly said that the usage of Kamek or especially of an executable is completely useless, if you even don't know how to start the python script.
EDIT:
700th!! _________________________
|
|
Kinnay
|
Posted on 12-17-13, 04:43 pm
blarg
|
 Sledge Brother Normal user
Posts: 1333/1854
Since: 01-04-13
Last post: 14 hours
Last view: 2 hours
|
ok, i got to compile sources, but if i replace the 18 NewerRes files, i got a code dump after the save is created
here, you can see the code dump:
https://drive.google.com/file/d/0B6h8xuTOOS2ZOHBIWExYVWZ0c00/edit?usp=sharing
hope some one could tell me where i'm wrong I'm not a low level programming guy, so the error message doesn't tell me anything but did you change anything in the sources before compiling? If so, did it work before you modified the source code? _________________________
|
|
dj_skual
|
Posted on 12-17-13, 06:15 pm
blarg
|
 Shyguy Normal user
Posts: 55/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
i don't changed something in the sources. i want done a test to see if that work before try to play with code, and you can see in the picture than heapbar is left... it's sources as on the git, just modified makeNewerKP script to fit with my setup path.
|
|
Kinnay
|
Posted on 12-17-13, 07:06 pm
blarg
|
 Sledge Brother Normal user
Posts: 1336/1854
Since: 01-04-13
Last post: 14 hours
Last view: 2 hours
|
I don't know then. _________________________
|
|
Tempus
|
Posted on 12-17-13, 08:01 pm
blarg
|
 Snifit Global moderator
Posts: 241/285
Since: 12-31-09
Last post: 10 days
Last view: 4 days
|
Load via riifs or Dolphin with logging on, and note the entry address of the Newer code. Scroll down in the exception, and note the code address the stack trace stops at. Subtract the entry address from the stack trace, open the mapfile of your region, scroll to the bottom and find the function that corresponds to your offset. That will tell you where the crash occurred.
Of course, it's more likely that you're just missing some essential Newer resources - are you running the new bins directly from the Newer pack? If you modified nothing, everything will be required, so make sure that's all there.
|
|
Ninjifox
|
Posted on 12-17-13, 10:49 pm
blarg
|
 Lantern Ghost The laziest of foxes
Posts: 710/762
Since: 12-01-09
Last post: 33 days
Last view: 3 days
|
Oh, right.
The Message.arc file from Newer 1.0.2 doesn't work with this source code because we moved a bunch of stuff into it to support translations.
I've added our latest development Message.arc to the git repository (in the NewerResources folder). Skawo tells me it's not 100% complete/polished, but it should let you get the game running. _________________________
Taking a semi-hiatus from NSMBW hacking for now. Don't expect to see me around a ton...
|
|
Skawo
|
Posted on 12-17-13, 10:51 pm
blarg
|
 Sledge Brother Global moderator
Posts: 1757/1866
Since: 02-05-10
Last post: 13 days
Last view: 3 hours
|
Also, don't use it to make crappy translations or I will find you and eat you. With a spoon.
|
|
dj_skual
|
Posted on 12-18-13, 08:45 am
blarg
|
 Shyguy Normal user
Posts: 57/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
ok, i will update my gitclone!!! but why this is writing newer 1.0.2 when compiling sources instead of 1.0.3? Sources are 1.0.2? and what about the brokken final bowser battle?
Edit:
i've done a fresh install of NewerSMBW 1.0.3 on my sd card, then, tried with just my freshed compiled (with makeNewerKP) NewerRes files, but got the same code dump
(https://drive.google.com/file/d/0B6h8xuTOOS2ZOHBIWExYVWZ0c00/edit?usp=sharing)
so, tried with my compiled NewerRes files and new Message.arc file, but now, that dump while Nintendo warning screen
(https://drive.google.com/file/d/0B6h8xuTOOS2ZVDZCTWYyc1pKSzA/edit?usp=sharing)
but, i don't understand why Kamek64 doesn't have the problem about the Message.arc... so i think it's not the problem...
|
|
Kinnay
|
Posted on 12-18-13, 06:04 pm
blarg
|
 Sledge Brother Normal user
Posts: 1353/1854
Since: 01-04-13
Last post: 14 hours
Last view: 2 hours
|
I didn't test it on my Wii (1.0.3) but I only tested it with Dolphin (1.0.0), maybe that's the problem. Let's see what happens when I try on Wii.
edit:
Crashes on Wii after the press 2 to start screen, the weird thing is that NewerSMBW's version is 1.0.3, both the press 2 to start screen and version.txt say this, but the crash message says "Oops, Newer 1.0.2 has crashed.
edit2:
Tried Message.arc from github, but now it crashes at the strap screen, the crash message is different now. _________________________
|
|
dj_skual
|
Posted on 12-18-13, 10:51 pm
blarg
|
 Shyguy Normal user
Posts: 59/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
ok, you experiment exactly the same problem as me!!! so i'm not alone 
perhaps we done the same mistake, perhaps it's a problem in sources...
please, could a newerteam member test sources rev5 on a real wii?
thx a lot for all you help!!!
|
|
mario97328
|
Posted on 03-07-14, 09:54 am
blarg
|
 Red Koopa Normal user
Posts: 111/131
Since: 12-25-12
Last post: 6 hours
Last view: 5 hours
|
I was going to compile Newer in Cygwin. However, I failed...
$ python tools/kamek.py NewerProjectKP.yaml --no-rels --use-clang --gcc-type=/usr/local/devkitPPC/bin/powerpc-eabi --llvm-path=/usr/local/kamek-llvm/bin
Kamek 0.4 by Treeki
* Starting build
* Project will be built in: /cygdrive/c/cygwin64/build/Kamek/NewerASM
* ---
* Building for configuration: New Super Mario Bros. Wii
* Temp files for this configuration are in: /tmp/tmpvRnC_a
* ---
* Compiling modules
* Compiling prolog.yaml : ../src/prolog.S
powerpc-eabi-gcc.exe: error: /cygdrive/c/cygwin64/build/Kamek/processed/../src/prolog.S: No such file or directory
powerpc-eabi-gcc.exe: fatal error: no input files
compilation terminated.
BUILD FAILED!
compiler returned 1 - an error occurred while compiling /cygdrive/c/cygwin64/build/Kamek/processed/../src/prolog.S
Why is it? _________________________
Hello!
I make a world map and a stage!
When you want me to make a world map, please send PM!
It is my Youtube channel here!
http://www.youtube.com/user/mario97328
|
|
dj_skual
|
blarg
|
 Shyguy Normal user
Posts: 76/82
Since: 06-27-13
Last post: 7 days
Last view: 3 hours
|
u need to create manualy the folder "processed" if i remember well...
but i never got to compile Under cygwin... so i've installed linux on dual boot
|
|
SuperYoshi1000
|
Posted on 03-12-14, 11:21 am
blarg
|
 Porcupo The Yoshiteam leader
Posts: 226/303
Since: 09-22-13
Last post: 4 days
Last view: 2 hours
|
I have to compile it with the help of Kamek64.
However, the image is always such a bar, how can you delete them?
 _________________________
 Website RVLution Page YouTube
Join now!
[by]:not([by=""]):before{color:#000000;font-size:20px;font-family:x-files;content:" "attr(by)" ";}div[by]:not([by=""]):before{display:block;}[by]{color:#000000 !important;background-color: #008000 !important;font-size:115%;border:1px solid black;margin-left:3em;margin-top:1em;margin-bottom:1em;padding:5px;quotes:"\201C" "\201D" "\2018" "\2019" "\00AB" "\00BB" "\0039" "\003A";}[by] [by]{margin:5px !important;padding:3px;font-size:100%;}.code{display:block;background-color:#FFFFFF;margin-left:1em;border-width:1px;border-style:solid;border-color:#A0A0A0;outline-width:2px; outline-style:inset;outline-color:#303030;max-width:1000px;min-width:350px;min-height:50px;padding-left:4px;padding-right:4px;padding-top:5px;padding-bottom:5px;color:#707070;font-family:lucida console,courier new,x-files; white-space:-moz-pre-wrap!important;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;}.code:before{content:"CODE:";color:#000000;display:block;}.code cmt1{color:#83AD27;font-style:italic;}.code cmt2{color:#9A47FF;}.code stx{font-weight:bold;color:#000000;}.code ltr{color:#4444FF;}
.letter{color:#000000;display:block;padding-left:80px;padding-top:0px;font-size:225%;line-height:46px;font-family:andy;margin-left:1em;background-image:url(http://imageshack.com/a/img36/1825/6wdk.png);background-repeat:repeat-y;min-height:50px;min-width:231px;background-position:left;}
|
|
|
|
|