Could someone help me about compile not64 source

All Wii64 related discussions here
Post Reply
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Could someone help me about compile not64 source

Post by xjsxjs197 » Thu Aug 17, 2017 12:59 am

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?
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Could someone help me about compile not64 source

Post by emu_kidid » Thu Aug 17, 2017 3:04 am

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.
Image
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Re: Could someone help me about compile not64 source

Post by xjsxjs197 » Thu Aug 17, 2017 6:20 am

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 ?
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Could someone help me about compile not64 source

Post by emu_kidid » Thu Aug 17, 2017 7:05 am

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?
Image
xjsxjs197
Posts: 8
Joined: Wed Aug 16, 2017 1:32 pm

Re: Could someone help me about compile not64 source

Post by xjsxjs197 » Tue Aug 22, 2017 8:24 am

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.
Butterhands
Posts: 56
Joined: Wed Jul 03, 2013 3:21 pm

Re: Could someone help me about compile not64 source

Post by Butterhands » Mon Jun 11, 2018 4:32 pm

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?
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Could someone help me about compile not64 source

Post by novenary » Mon Jun 11, 2018 8:45 pm

You can't compile not64 without Extrems' custom toolchain which he doesn't release.
Butterhands
Posts: 56
Joined: Wed Jul 03, 2013 3:21 pm

Re: Could someone help me about compile not64 source

Post by Butterhands » Mon Jun 11, 2018 9:15 pm

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.
Post Reply