Page 1 of 1

Could someone help me about compile not64 source

Posted: Thu Aug 17, 2017 12:59 am
by xjsxjs197
Hello everyone

I'm a chinese, Please forgive me for my poor English.
Thanks very much for extrems's new version not64 !
I want to compile not64 source for support chinese name display.
But there are several compilation problems that I can't solve, I'm looking forward to someone's help.
I also sended mail to extrems's address(metaradil@gmail.com), however, no response......

1: r4300/ppc/Wrappers.h
__asm__("li %0,%1@sdarel" : "=r" (offset) : "U" (&symbol));

r4300/ppc/MIPS-to-PPC.c:2909:2: error: impossible constraint in 'asm'
The compiler doesn't recognize the meaning of "U"

2: r4300/ppc/MIPS-to-PPC.c
static const float two52two31 = 0x1p52 + 0x1p31;

relocation truncated to fit: R_PPC_SDAREL16 against `.LANCHOR0'
If append [__attribute__((section(".sbss")))], can solve this problem...

I used many different versions of devkitPPC(R23--R28), but no one can successful compilation...
I can't find devkitRice(not libogc-rice) on the Internet.
Would you please send me devkitRice? Or Help me compile the code properly?

Re: Could someone help me about compile not64 source

Posted: Thu Aug 17, 2017 3:04 am
by emu_kidid
You're better off just commenting parts until it compiles with off the shelf devkitPPC/libOGC-rice then submit a PR for your translation efforts.

Re: Could someone help me about compile not64 source

Posted: Thu Aug 17, 2017 6:20 am
by xjsxjs197
emu_kidid wrote:You're better off just commenting parts until it compiles with off the shelf devkitPPC/libOGC-rice then submit a PR for your translation efforts.
Thank you for your answer .
I only use the most original source(https://github.com/Extrems/Not64/archive/20161209.zip) and devkitPPC/libOGC .
The undefined error of many variables is not a major problem.
The following error is the main problem.

r4300/ppc/Wrappers.h
__asm__("li %0,%1@sdarel" : "=r" (offset) : "U" (&symbol));

r4300/ppc/MIPS-to-PPC.c:2909:2: error: impossible constraint in 'asm'

What special settings are needed in the Makefile.menu2_wii file? -mcpu ?

Re: Could someone help me about compile not64 source

Posted: Thu Aug 17, 2017 7:05 am
by emu_kidid
xjsxjs197 wrote:
emu_kidid wrote:You're better off just commenting parts until it compiles with off the shelf devkitPPC/libOGC-rice then submit a PR for your translation efforts.
Thank you for your answer .
I only use the most original source(https://github.com/Extrems/Not64/archive/20161209.zip) and devkitPPC/libOGC .
The undefined error of many variables is not a major problem.
The following error is the main problem.

r4300/ppc/Wrappers.h
__asm__("li %0,%1@sdarel" : "=r" (offset) : "U" (&symbol));

r4300/ppc/MIPS-to-PPC.c:2909:2: error: impossible constraint in 'asm'

What special settings are needed in the Makefile.menu2_wii file? -mcpu ?
It won't work without devkitRice changes because using the small data area like that is not safe in devkitPPC. Comment that line and just don't use the dynarec in Not64. Also, why not use the latest source?

Re: Could someone help me about compile not64 source

Posted: Tue Aug 22, 2017 8:24 am
by xjsxjs197
Thank you for your answer .
The latest source requires the latest libogc-rice that must be compiled by devkitRice......
Without devkitRice, Not64 cannot be compiled properly...

I have succeeded compiled wii64 source for support chinese name display.
That is a happy thing.

Thank you very much.

Re: Could someone help me about compile not64 source

Posted: Mon Jun 11, 2018 4:32 pm
by Butterhands
Hi I want to compile Not64 with my added checksum for my hacked Cruis'n World but I installed Devkit pro but I don't know how compile it to have a working DOL file.

What are the instructions to type in MSYS2?

Re: Could someone help me about compile not64 source

Posted: Mon Jun 11, 2018 8:45 pm
by Streetwalker
You can't compile not64 without Extrems' custom toolchain which he doesn't release.

Re: Could someone help me about compile not64 source

Posted: Mon Jun 11, 2018 9:15 pm
by Butterhands
Darn... There is a way instead to extract an uncompressed DOL from it's DOL? Otherwise I don't know how add another checksum to it's emulator or update the existing and my hacked Cruis'n World rom can't load the savegame and play the cutscenes, 'cause need of a savetype set to 16 kilobit eeprom. And this is possible only if I update the checksum in the DOL, I can do it with WII64, but WII64 is slower, don't allow to map the analog with the D-PAD and sometimes my car make a turbo boost itself like if I'm pressing the gas button twice. And this could be boring and could ruin the race if something goes wrong due to this. I need to fix Not64... Unfortunately Cruis'n World in the N64 is different by the original arcade and my work in progress is a work that it's trying to make a more arcade closer rom. I have the savestates but is boring and however can't help to see the cutscenes.