Repository navigation
Releases: Invictus-potens/smt4-recomp
Release list
v0.1.1 beta
English | Português abaixo
Second beta of smt4-recomp: Shin Megami Tensei IV (3DS, USA) as a native Windows program, made by static recompilation. This project only exists thanks to fearkov's 3dsrecomp (the recompiler) and Zakuro (the runtime).
The download here is the launcher, not the game. The game program holds the game's code, so it's built on your PC from your own dump. The launcher does that for you.
What's new
- Launcher (
smt4-launcher.exe, attached): choose the folder with your game and it finds the ROM, checks the tools (and installs missing ones with winget), downloads this project, builds the game with a progress bar and starts it with a Play button. It holds no game code. - Easy Recruit cheat: every demon negotiation goes your way. Answers work, refusing or not having what the demon asks for still works, and it doesn't run off or take your gift and leave. It still asks for things. Turn it on or off from the cheat menu.
- Asset extractor (
tools/extract): textures to PNG, models, text, audio and video from your own copy, for modding. - Image mods: texture pack support documented in MODDING.md, with
scripts/fit_texture.pyto fit a new picture where the original one sits. - More than 10 hours played from a new game with no crash.
Getting started
- Download
smt4-launcher.exebelow and run it. - Choose the folder with your decrypted Shin Megami Tensei IV (USA)
.3ds(title ID00040000000E5C00). - Install whatever the launcher marks as missing (Git, Rust, 64-bit GCC, Python 3), then press Check again.
- Press Download, then Build the game. The first build takes 20 to 35 minutes; the PC stays usable.
- Press Play.
Prefer the command line? build.py still works as in v0.1.0; see the README.
Known limitations
- Still a beta. I'm playing it through to the end and testing every feature along the way, so expect rough edges.
- Built and tested on one Windows PC only. Linux hasn't been tried.
- The launcher is new: if a step fails, tick Show the log and include it in your report.
- Turning off 60 FPS doesn't bring the normal speed back: turn on 30 FPS (Enhancements) (fearkov/zakuro#17).
- Widescreen shows at the next area change, and 2D elements are slightly stretched with it.
- Texture packs need Vulkan with Draw the 3D on the GPU; if Zakuro falls back to software drawing, they're left out.
Please report problems in Issues, with what you were doing, your PC and %APPDATA%\zakuro\zakuro.log.
Credits
fearkov for 3dsrecomp and Zakuro, which do the heavy lifting; lucky for the 60/30 FPS codes; JourneyOver and the original authors for the community cheats; vgmstream for audio and video decoding in the extractor. Shin Megami Tensei IV is by Atlus. Not affiliated with Atlus, SEGA or Nintendo.
Português
Segundo beta do smt4-recomp: Shin Megami Tensei IV (3DS, EUA) como um programa nativo para Windows, feito por recompilação estática. Este projeto só existe graças ao 3dsrecomp (o recompilador) e ao Zakuro (o runtime), do fearkov.
O download aqui é o launcher, não o jogo. O programa do jogo contém o código do jogo, então ele é compilado no seu PC a partir do seu próprio dump. O launcher faz isso por você.
Novidades
- Launcher (
smt4-launcher.exe, anexado): escolha a pasta com o seu jogo e ele acha a ROM, confere as ferramentas (e instala as que faltam pelo winget), baixa este projeto, compila o jogo com barra de progresso e abre o jogo com o botão Play. Não contém código do jogo. - Cheat Easy Recruit: toda negociação com demônios dá certo. As respostas funcionam, recusar ou não ter o que o demônio pede ainda funciona, e ele não foge nem pega o presente e vai embora. Ele ainda pede coisas. Liga e desliga pelo menu de cheats.
- Extrator de assets (
tools/extract): texturas em PNG, modelos, texto, áudio e vídeo da sua própria cópia, para mods. - Mods de imagem: suporte a texture packs documentado no MODDING.md, com o
scripts/fit_texture.pypara encaixar uma imagem nova onde ficava a original. - Mais de 10 horas jogadas de um jogo novo, sem travamentos.
Como começar
- Baixe o
smt4-launcher.exeabaixo e abra. - Escolha a pasta com o seu
.3dsdescriptografado de Shin Megami Tensei IV (EUA) (title ID00040000000E5C00). - Instale o que o launcher marcar como faltando (Git, Rust, GCC de 64 bits, Python 3) e clique em Check again.
- Clique em Download e depois em Build the game. A primeira compilação leva de 20 a 35 minutos; o PC continua usável.
- Clique em Play.
Prefere a linha de comando? O build.py continua funcionando como na v0.1.0; veja o README em português.
Limitações conhecidas
- Ainda é beta. Estou jogando até o final e testando cada recurso pelo caminho, então espere arestas.
- Compilado e testado em um único PC com Windows. Linux não foi testado.
- O launcher é novo: se algum passo falhar, marque Show the log e inclua o log no relato.
- Desligar o 60 FPS não volta a velocidade normal: ligue o 30 FPS (Enhancements) (fearkov/zakuro#17).
- O widescreen aparece na próxima troca de área, e os elementos 2D ficam levemente esticados com ele.
- Texture packs precisam de Vulkan com Draw the 3D on the GPU; se o Zakuro cair para o desenho por software, eles ficam de fora.
Relate problemas em Issues, com o que você estava fazendo, seu PC e o %APPDATA%\zakuro\zakuro.log.
Créditos
fearkov pelo 3dsrecomp e pelo Zakuro, que fazem o trabalho pesado; lucky pelos códigos de 60/30 FPS; JourneyOver e os autores originais pelos cheats da comunidade; vgmstream pela decodificação de áudio e vídeo no extrator. Shin Megami Tensei IV é da Atlus. Sem ligação com a Atlus, a SEGA ou a Nintendo.
v0.1.0 beta
English | Português abaixo
First public beta of smt4-recomp: Shin Megami Tensei IV (3DS, USA) as a native Windows program, made by static recompilation with 3dsrecomp and Zakuro.
There is no download here, on purpose. The program holds the game's code, so you build it yourself from your own dump of the game. The build takes one command; see below.
What's in it
- The game's ARM code recompiled to C and running natively, with Zakuro as the runtime.
- Widescreen 16:9 and 21:9: a wider 3D scene, not a stretched picture (needs Zakuro's Top screen shape setting to match).
- Multipliers x2, x3 and x5 for Macca, hero EXP, demon EXP and App Points, picked from the cheat menu while playing.
- Community cheats (max Macca, App Points, items, hero stats), plus Zakuro's built-in 60 FPS and 30 FPS enhancements.
build.py: one command from your ROM to the program. It checks your tools and ROM, recompiles the game, builds the program and adds the cheats to Zakuro's cheats file without touching the ones already there.
Building
You need Windows 10/11 64-bit, Rust (GNU toolchain), 64-bit MinGW-w64 GCC, git, Python 3 and your own decrypted dump of Shin Megami Tensei IV (USA), title ID 00040000000E5C00.
git clone --branch v0.1.0 https://github.com/Invictus-potens/smt4-recomp
cd smt4-recomp
python build.py "C:\path\to\Shin Megami Tensei IV (USA).3ds"
The first build takes 20 minutes or more (--low-priority keeps the PC usable meanwhile). Full instructions, recommended settings and controls are in the README.
Known limitations
- Beta: played from a new game through the opening hours with no crash. The rest of the game hasn't been played on it yet.
- Built and tested on one Windows PC only. Linux should work but hasn't been tried.
- On a new machine, a little more code runs in Zakuro's interpreter on the first build than on one where Zakuro has run the game before. It works; it's just slightly less optimized.
- Turning off 60 FPS doesn't bring the normal speed back: turn on 30 FPS (Enhancements). Zakuro leaves a cheat's writes in place when it's turned off (fearkov/zakuro#17).
- Widescreen shows at the next area change, and 2D elements (HUD, menus) are slightly stretched with it.
Please report problems in Issues, with what you were doing, your PC and %APPDATA%\zakuro\zakuro.log (zakuro.previous.log if you've opened it again since).
Credits
fearkov for 3dsrecomp and Zakuro; lucky for the 60/30 FPS codes; JourneyOver and the original authors for the community cheats. Shin Megami Tensei IV is by Atlus. Not affiliated with Atlus, SEGA or Nintendo.
Português
Primeiro beta público do smt4-recomp: Shin Megami Tensei IV (3DS, EUA) como um programa nativo para Windows, feito por recompilação estática com o 3dsrecomp e o Zakuro.
Não há download aqui, de propósito. O programa contém o código do jogo, então você compila a partir do seu próprio dump. A compilação é um comando só; veja abaixo.
O que tem
- O código ARM do jogo recompilado para C e rodando nativamente, com o Zakuro como runtime.
- Widescreen 16:9 e 21:9: uma cena 3D mais larga, não uma imagem esticada (precisa da opção Top screen shape do Zakuro no mesmo formato).
- Multiplicadores x2, x3 e x5 de Macca, EXP do herói, EXP dos demônios e App Points, escolhidos no menu de cheats durante o jogo.
- Cheats da comunidade (Macca no máximo, App Points, itens, atributos do herói), além dos enhancements de 60 FPS e 30 FPS embutidos no Zakuro.
build.py: um comando da ROM até o programa. Confere as ferramentas e a ROM, recompila o jogo, compila o programa e acrescenta os cheats ao arquivo de cheats do Zakuro sem mexer nos que já estão lá.
Compilando
Você precisa de Windows 10/11 64 bits, Rust (toolchain GNU), MinGW-w64 GCC de 64 bits, git, Python 3 e seu próprio dump descriptografado de Shin Megami Tensei IV (EUA), title ID 00040000000E5C00.
git clone --branch v0.1.0 https://github.com/Invictus-potens/smt4-recomp
cd smt4-recomp
python build.py "C:\caminho\para\Shin Megami Tensei IV (USA).3ds"
A primeira compilação leva 20 minutos ou mais (--low-priority deixa o PC usável enquanto isso). Instruções completas, configurações recomendadas e controles estão no README em português.
Limitações conhecidas
- Beta: jogado de um jogo novo até as primeiras horas, sem travamentos. O resto do jogo ainda não foi jogado nele.
- Compilado e testado em um único PC com Windows. No Linux deve funcionar, mas não foi testado.
- Numa máquina nova, um pouco mais de código roda no interpretador do Zakuro no primeiro build do que numa em que o Zakuro já rodou o jogo. Funciona; só fica um pouco menos otimizado.
- Desligar o 60 FPS não volta a velocidade normal: ligue o 30 FPS (Enhancements). O Zakuro deixa na memória o que um cheat escreveu quando ele é desligado (fearkov/zakuro#17).
- O widescreen aparece na próxima troca de área, e os elementos 2D (HUD, menus) ficam levemente esticados com ele.
Relate problemas em Issues, com o que você estava fazendo, seu PC e o %APPDATA%\zakuro\zakuro.log (o zakuro.previous.log, se você abriu o jogo de novo depois).
Créditos
fearkov pelo 3dsrecomp e pelo Zakuro; lucky pelos códigos de 60/30 FPS; JourneyOver e os autores originais pelos cheats da comunidade. Shin Megami Tensei IV é da Atlus. Sem ligação com a Atlus, a SEGA ou a Nintendo.