Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

[PS1] Rittai Ninja Katsugeki - Tenchu - Shinobi Gaisen .CAD files

Featured Replies

  • Author
  • Localization

angel333119, posted Sun Dec 25, 2022 10:12 pm (74743)


I need help to understand how the pointers logic works in this files.

Can someone help me please?
  • Author
  • Localization

rabatini, posted Mon Dec 26, 2022 12:31 pm (74752)


angel333119 wrote:
I need help to understand how the pointers logic works in this files.

Can someone help me please?


The pointer is the begin offset of a string in little endian.



Image
  • Author
  • Localization

angel333119, posted Mon Dec 26, 2022 8:51 pm (74755)


rabatini wrote:
angel333119 wrote:
I need help to understand how the pointers logic works in this files.

Can someone help me please?


The pointer is the begin offset of a string in little endian.


Como sei que voce e brasileiro, vou explicar em portugues. Quero entender a logica dos ponteiros pra fazer uma ferramenta de extracao e insercao dos textos, pra isso preciso entender a logica de onde ler os ponteiros, que ao que parece, em cada arquivo pode estar em local diferente.

Nao consegui entender a logica, e e o que preciso entender, e sim, olhando o offset do texto da pra saber o valor do ponteiro e encontrar ele, porem, preciso automatizar isso, e essa e a questao... Quando os ponteiros vem em blocos antes ou depois do texto e bem simples de fazer a leitura, porem nesses arquivos nem parece haver uma logica entre os ponteiros... Por isso preciso de ajuda...

Uma coisa que notei, mas ainda nao confirmei, e que todo ponteiro e de 16bits e quase sempre tem o byte 0x0800 antes do valor do ponteiro... mas eu preciso confirmar se isso se aplica a todos os arquivos.

English by google translate

As I know you are Brazilian, I will explain in Portuguese. I want to understand the logic of the pointers to make a text extraction and insertion tool, for that I need to understand the logic of where to read the pointers, which apparently, in each file can be in a different location.

I couldn't understand the logic, and that's what I need to understand, and yes, looking at the text offset I can know the value of the pointer and find it, however, I need to automate this, and that's the question... When the pointers come in blocks before or after the text it is very simple to read, but in these files there doesn't even seem to be a logic between the pointers... That's why I need help...

One thing I've noticed, but haven't confirmed yet, is that every pointer is 16bit and almost always has the 0x0800 byte before the pointer value... but I need to confirm that this applies to all files.



EDIT:

Thanks to the help of rabatini, I managed to find a logic to extract and insert the texts in the files.

Image
Image
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.