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.

Oreowa Unity Sprites

Featured Replies

Can anyone help me with these sprites from the game Oreowa? They seem to use a sprite atlas but I have no idea how to turn the bytes into an actual file (I kind of forgot how I converted the integers to a file, and I also want the method of how it was done out there)oreowa.zip

Solved by calmevening

  • Author

this is what I get converting the integers in the .json file to hex

by the way, the .json was initially a monobehavior just to clarify

it's not really a spine .atlas or anything I actually recognize, idk what this is

also some source code from the game, might be useful
from Assembly-CSharp.dll\OREOWAOreowaUguiFlowChartItem.cs

public void Init(AdvEngine engine, AdvFlowData data, SpriteAtlas spriteAtlas, int groupNumber)
{
//IL_006d: Unknown result type (might be due to invalid IL or missing references)
this.engine = engine;
atlas = spriteAtlas;
gourpNumber = groupNumber;
Data = data;
sceneObject.SetActive(false);
imageObject.SetActive(false);
selectionObject.SetActive(false);
selectionItemObject.SetActive(false);
selectionItem3LObject.SetActive(false);
buttonObject = null;
buttonActiveObject = null;
((Component)this).transform.localPosition = Vector3.zero;
for (int i = 1; i <= 7; i++)
{
GameObject gameObject = ((Component)selectionObject.transform.Find($"Active{i}")).gameObject;
gameObject.SetActive(false);
}
switch (data.Type)
{
case "Scene":
InitScene();
break;
case "Image":
case "Line":
InitImage();
break;
case "SelectionStart":
InitSelection(isStart: true);
break;
case "SelectionEnd":
InitSelection(isStart: false);
break;
case "SelectionItem":
InitSelectionItem();
break;
}
IsRead = this.engine.SystemSaveData.ReadData.CheckReadLabel(data.FlowPoint.Replace("*", string.Empty));
((Component)this).gameObject.SetActive(true);
if (!IsRead)
{
((Component)this).gameObject.SetActive(false);
}
}
private void InitImage()
{
//IL_0063: Unknown result type (might be due to invalid IL or missing references)
imageObject.SetActive(true);
Sprite sprite = atlas.GetSprite(Data.File);
Image component = imageObject.GetComponent<Image>();
component.sprite = sprite;
((Graphic)component).SetNativeSize();
imageObject.transform.localPosition = new Vector3(Data.X, Data.Y * -1f);
}

 

monobehavior stuff.zip

Edited by calmevening

Create an account or sign in to comment

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.