[Beta] Super Mario World Port

rodrigues14

Well-Known Member
Newcomer
Joined
Nov 30, 2009
Messages
75
Trophies
1
XP
902
Country
Brazil
C:/smw/src/types.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
4 | #pragma warning(disable: 4244)
linking smw.elf
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: main.o: in function `main':
main.c:(.text.startup.main+0xe68): undefined reference to `SmasSpcPlayer_Create'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.o: in function `SnesInit':
common_cpu_infra.c:(.text.SnesInit+0x25c): undefined reference to `kSmbllGameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x260): undefined reference to `kSmbllGameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x288): undefined reference to `kSmb1GameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x28c): undefined reference to `kSmb1GameInfo'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/libnx/switch_rules:81: /c/smw/src/platform/switch/smw.elf] Error 1
make: *** [Makefile:167: bin] Error 2



can someone help ?
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
8,435
Trophies
4
Age
46
Location
At my chair.
XP
29,971
Country
Colombia
C:/smw/src/types.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
4 | #pragma warning(disable: 4244)
linking smw.elf
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: main.o: in function `main':
main.c:(.text.startup.main+0xe68): undefined reference to `SmasSpcPlayer_Create'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.o: in function `SnesInit':
common_cpu_infra.c:(.text.SnesInit+0x25c): undefined reference to `kSmbllGameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x260): undefined reference to `kSmbllGameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x288): undefined reference to `kSmb1GameInfo'
C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.2.0/../../../../aarch64-none-elf/bin/ld.exe: common_cpu_infra.c:(.text.SnesInit+0x28c): undefined reference to `kSmb1GameInfo'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/libnx/switch_rules:81: /c/smw/src/platform/switch/smw.elf] Error 1
make: *** [Makefile:167: bin] Error 2



can someone help ?
I just ran the process to build the Switch version using MSYS2's MinGW and ran fine, use the next set of commands:

Bash:
pacman -Syuu --needed --noconfirm git make devkit-env pkg-config switch-dev switch-sdl2 switch-tools switch-pkg-config mingw-w64-x86_64-python
cd ~
git clone --recursive https://github.com/snesrev/smw

You need to copy a legal aquiered Super Mario World rom with CRCs:

SHA = cdd3c8c37322978ca8669b34bc89c804 *Super Mario World (1991)(Nintendo)(US).sfc
MD5 = 6b47bb75d16514b6a476aa0c73a683a2a4c18765 *Super Mario World (1991)(Nintendo)(US).sfc

that need to be on the path and name ~/smw/smw.sfc

Bash:
cd ~/smw
#On PR 31 there are some changes needed to the Switch build work
git fetch origin pull/31/head
git checkout -b pr31 FETCH_HEAD
#Before build you need to create assets
python assets/restool.py

#Build Process
cd ~/smw/src/platform/switch
make -j$(nproc)
Post automatically merged:

The key point is you need the PR32, maybe @Lywx could merge it on the repository
 
Last edited by impeeza,
  • Love
Reactions: rodrigues14

rodrigues14

Well-Known Member
Newcomer
Joined
Nov 30, 2009
Messages
75
Trophies
1
XP
902
Country
Brazil
I just ran the process to build the Switch version using MSYS2's MinGW and ran fine, use the next set of commands:

Bash:
pacman -Syuu --needed --noconfirm git make devkit-env pkg-config switch-dev switch-sdl2 switch-tools switch-pkg-config mingw-w64-x86_64-python
cd ~
git clone --recursive https://github.com/snesrev/smw

You need to copy a legal aquiered Super Mario World rom with CRCs:

SHA = cdd3c8c37322978ca8669b34bc89c804 *Super Mario World (1991)(Nintendo)(US).sfc
MD5 = 6b47bb75d16514b6a476aa0c73a683a2a4c18765 *Super Mario World (1991)(Nintendo)(US).sfc

that need to be on the path and name ~/smw/smw.sfc

Bash:
cd ~/smw
#On PR 31 there are some changes needed to the Switch build work
git fetch origin pull/31/head
git checkout -b pr31 FETCH_HEAD
#Before build you need to create assets
python assets/restool.py

#Build Process
cd ~/smw/src/platform/switch
make -j$(nproc)
Post automatically merged:

The key point is you need the PR32, maybe @Lywx could merge it on the repository
THANK YOU
Post automatically merged:

Compile now working but game not open and is the exactly rom you post

Name: smw.sfc
CRC-32: b19ed489
MD5: cdd3c8c37322978ca8669b34bc89c804
SHA-1: 6b47bb75d16514b6a476aa0c73a683a2a4c18765
SHA-256: 0838e531fe22c077528febe14cb3ff7c492f1f5fa8de354192bdff7137c27f5b
SHA-512: c9207d07474c3ee3ef6b0882fd1200f670642cc2bc4c3563a74c714c4d124412eda86155f6a87c973304f87580d66ed8b666826be5d6349177efd1cbee790db4
 
Last edited by rodrigues14,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
8,435
Trophies
4
Age
46
Location
At my chair.
XP
29,971
Country
Colombia
THANK YOU
Post automatically merged:

Compile now working but game not open and is the exactly rom you post

Name: smw.sfc
CRC-32: b19ed489
MD5: cdd3c8c37322978ca8669b34bc89c804
SHA-1: 6b47bb75d16514b6a476aa0c73a683a2a4c18765
SHA-256: 0838e531fe22c077528febe14cb3ff7c492f1f5fa8de354192bdff7137c27f5b
SHA-512: c9207d07474c3ee3ef6b0882fd1200f670642cc2bc4c3563a74c714c4d124412eda86155f6a87c973304f87580d66ed8b666826be5d6349177efd1cbee790db4
Remember to copy the files
  • smw_assets.dat
  • smw.ini
  • smw.nro
to SDMC:/switch/smw folder
 
  • Love
Reactions: rodrigues14

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv3 @ K3Nv3:
    And dehydrated cat jerky
    +1
  • BigOnYa @ BigOnYa:
    My wifeys aunt gave her some gold coins in her will when she passed last year, and the tax man was gonna tax her a gift tax on it, but our accountant said if she sells the gold and put that money into a 5 year CD, it will be untaxable. So she did, and now IRS saying they want a income tax on the gold coin sale. Damn taxman always greedy.
    +1
  • K3Nv3 @ K3Nv3:
    Might need to get some injection shots for tmj so that's lovely still bothering me
  • BigOnYa @ BigOnYa:
    That sucks, sorry to hear.
  • perspex @ perspex:
    can i get a job in game dev by learning on my own online or do I need like a 3 yr degree or something for it?
  • perspex @ perspex:
    also im 29, not the youngest student thats for sure...
  • Veho @ Veho:
    Sure.
    +1
  • Veho @ Veho:
    You have to have something to show, like a portfolio.
    +1
  • perspex @ perspex:
    makes sense...
  • K3Nv3 @ K3Nv3:
    That's one erotic bug
  • Veho @ Veho:
    Ribbed.
  • RedColoredStars @ RedColoredStars:
    Hard pass. Princess is WAY too extra. lol
  • RedColoredStars @ RedColoredStars:
    Drunk women are gross. Well, drunk anyone is gross. So unattractive.
  • Veho @ Veho:
    And yet you were so focused on her you missed the key part of the video.
  • Veho @ Veho:
    THE SLAP
  • Nobodynamedshriek @ Nobodynamedshriek:
    Looking for proof for the deletedf satire nintendo youtuber known as "Dude101" or "The...ect long username...YoutubeDude101"
  • Nobodynamedshriek @ Nobodynamedshriek:
    anyone who knows him, could help me since people dont believe that the channel existed
  • Skelletonike @ Skelletonike:
    good afternoon
  • Skelletonike @ Skelletonike:
    I bloody hate FSC.
  • NoNamida @ NoNamida:
    any one know if ppsspp can work with one piece romance dawn for TEXTURES ? lol every time i change text with the way how it loads it go buggy
  • CoolMe @ CoolMe:
    Nope
    CoolMe @ CoolMe: Nope