Hello There, Guest! Register

Terraria [NPEB01270]
#1
Mod edit 2017-01-22: Now completely playable, on screen keyboard is implemented.

Reaches to gameplay (in tutorial). When you try to create a character, outputs:
Code:
·F {PPU[0x70000000] Thread (main_thread) [0x005a5020]} class std::runtime_error thrown: Unimplemented
(in file C:\rpcs3\rpcs3\Emu\Cell\Modules\cellOskDialog.cpp:53)

Tested in 2d9e02b.

Core

PPU: Interpreter (fast)
SPU: Interpreter (fast)

LLE Modules
- libresc.prx
- librtc.prx
- libspurs_jq.prx
- libsre.prx

Graphics

- Vulkan
- 1280x720
- Auto (Frame limit)
- VSync

Audio

- XAudio2

Note: With this configuration, it appears:
Code:
·F {SPU[0x39] Thread (audiCellSpursKernel3) [0x00818]} class std::runtime_error thrown: Unknown STOP code: 0x0 (Out_MBox is empty)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1387)

Click on Resume and emulation continues.
Desktop: Intel Core i7-6700K, Nvidia GeForce GTX 970 (OpenGL, DirectX12 & Vulkan), Windows 10
Laptop: Intel Core i7-7700HQ, Nvidia GeForce GTX 1060 (OpenGL, DirectX12 & Vulkan), Windows 10
Reply
#2
It needs the OSK (On Screen Keyboard) for entering a character name. That is the keyboard provided by the PS3 OS.

It would probably not be too difficult to hack together something that just returns "hello world" back to the game but not sure how a real implementation would look like... Probably just displaying a normal text field with wxwidgets I guess.

Also, nice frame rate there even with the interpreters.
Reply
#3
(01-11-2017, 02:54 PM)ssshadow Wrote: It needs the OSK (On Screen Keyboard) for entering a character name. That is the keyboard provided by the PS3 OS.

It would probably not be too difficult to hack together something that just returns "hello world" back to the game but not sure how a real implementation would look like... Probably just displaying a normal text field with wxwidgets I guess.

Also, nice frame rate there even with the interpreters.

I've created a file called OskDialog.cpp, which contains only the GUI of text dialog. At least, basics.

Edit: I also created OskDialog.h, which you can find both files in my GitHub's
repository.
Desktop: Intel Core i7-6700K, Nvidia GeForce GTX 970 (OpenGL, DirectX12 & Vulkan), Windows 10
Laptop: Intel Core i7-7700HQ, Nvidia GeForce GTX 1060 (OpenGL, DirectX12 & Vulkan), Windows 10
Reply
#4
Great, I was actually planning to attempt something simple to get Nier going but looks like you are going to do it properly with a GUI and everything. Keep it up!

If you want I can attempt to do something about the "backend" cellOskDialog.cpp but you may be able to do a better job.
Reply
#5
(01-13-2017, 03:34 PM)ssshadow Wrote: Great, I was actually planning to attempt something simple to get Nier going but looks like you are going to do it properly with a GUI and everything. Keep it up!

If you want I can attempt to do something about the "backend" cellOskDialog.cpp but you may be able to do a better job.

Yes, it's better that you do that.
Desktop: Intel Core i7-6700K, Nvidia GeForce GTX 970 (OpenGL, DirectX12 & Vulkan), Windows 10
Laptop: Intel Core i7-7700HQ, Nvidia GeForce GTX 1060 (OpenGL, DirectX12 & Vulkan), Windows 10
Reply
#6
I can happily say that with cellOsk now stubbed this game looks to be 100 % completely perfectly emulated, in fact with the LLVM PPU recompiler it goes even further than that as it actually has drastically faster loading times than a real PS3 (!). Yes, perfect and stable 60 fps at 1920x1080 with faster loading times than a real PS3. Not bad :p

So this thread can be moved to playable now.

Settings: PPU and SPU recompiler, 1920x1080 OpenGL and LLE libresc, libsre, libspurs_jq.
Reply
#7
I want to improve a few more things but it's getting there:

Reply
#8
(01-19-2017, 11:21 PM)ssshadow Wrote: I want to improve a few more things but it's getting there:
Great !
is OSK Complete Working ?
Reply
#9
(01-19-2017, 11:39 PM)aakh1361 Wrote:
(01-19-2017, 11:21 PM)ssshadow Wrote: I want to improve a few more things but it's getting there:
Great !
is OSK Complete Work ?

There are a lot of "useless" functions like adding custom dictionaries, changing the color of the OSK window and so on. These can be ignored in practice for now at least. In fact I think everything not implemented now can be ignored, not that there is any way to test.

There is also some character encoding hell going on so non latin characters just become garbage in game. This is more important.
Reply
#10
Not all games support all languages (in fact most don't), but special Latin characters like åäöèáü... work in Terraria and I can get at least Russian, Japanese, traditional & simplified Chinese in Nier. Would like to test other languages like Thai, Hindi or Arabic (which is even right to left) but no games seem to support them.

I would really like to play a game with ?_? as my character name...


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)